Dynamics and Stability of Power Systems