Application of artificial intelligence for optimal control of reactive power compensation in AC traction power supply systems | Synapse