Simulation of instability in modern power systems and new control strategies to enhance the stability margin