A neural network-based method for voltage security monitoring