ANN application for on-line power system security assessment