Text this: Simulation of an adaptive artificial neural network for power system security enhancement including control action