Text this: Application of ANN to real and reactive power allocation scheme