Swing equation

A power system consists of a number of synchronous machines operating synchronously under all operating conditions. Under normal operating conditions, the relative position of the rotor axis and the resultant magnetic field axis is fixed. The angle between the two is known as the power angle, torque angle, or rotor angle. During any disturbance, the rotor decelerates or accelerates with respect to the synchronously rotating air gap magnetomotive force, creating relative motion. The equation describing the relative motion is known as the swing equation, which is a non-linear second order differential equation that describes the swing of the rotor of synchronous machine. The power exchange between the mechanical rotor and the electrical grid due to the rotor swing (acceleration and deceleration) is called Inertial response.

Derivation
A synchronous generator is driven by a prime mover. The equation governing the rotor motion is given by:


 * $$J\frac{d^2{\theta_\text{m}}}{dt^2} = T_a = T_\text{m} - T_\text{e}$$ N-m

Where:


 * $$J$$ is the total moment of inertia of the rotor mass in kg-m2
 * $$\theta_\text{m}$$ is the angular position of the rotor with respect to a stationary axis in (rad)
 * $$t$$ is time in seconds (s)
 * $$T_\text{m}$$ is the mechanical torque supplied by the prime mover in N-m
 * $$T_\text{e}$$ is the electrical torque output of the alternator in N-m
 * $$T_a$$ is the net accelerating torque, in N-m

Neglecting losses, the difference between the mechanical and electrical torque gives the net accelerating torque Ta. In the steady state, the electrical torque is equal to the mechanical torque and hence the accelerating power is zero. During this period the rotor moves at synchronous speed ωs in rad/s. The electric torque Te corresponds to the net air-gap power in the machine and thus accounts for the total output power of the generator plus I2R losses in the armature winding.

The angular position θ is measured with a stationary reference frame. Representing it with respect to the synchronously rotating frame gives:


 * $$\theta_\text{m} = \omega_\text{s}t + \delta_\text{m}$$

where, δm is the angular position in rad with respect to the synchronously rotating reference frame. The derivative of the above equation with respect to time is:


 * $$\frac{d\theta_\text{m}}{dt} = \omega_\text{s} + \frac{d\delta_\text{m}}{dt}$$

The above equations show that the rotor angular speed is equal to the synchronous speed only when dδm/dt is equal to zero. Therefore, the term dδm/dt represents the deviation of the rotor speed from synchronism in rad/s.

By taking the second order derivative of the above equation it becomes:


 * $$\frac{d^2\theta_\text{m}}{dt^2} = \frac{d^2\delta_\text{m}}{dt^2}$$

Substituting the above equation in the equation of rotor motion gives:


 * $$J\frac{d^2{\delta_\text{m}}}{dt^2} = T_a = T_\text{m} - T_\text{e}$$ N-m

Introducing the angular velocity ωm of the rotor for the notational purpose, $$\omega_\text{m} = \frac{dt}$$ and multiplying both sides by ωm,


 * $$J\omega_\text{m}\frac{d^2{\delta_\text{m}}}{dt^2} = P_a = P_\text{m} - P_\text{e}$$ W

where, Pm, Pe and Pa respectively are the mechanical, electrical and accelerating power in MW.

The coefficient Jωm is the angular momentum of the rotor: at synchronous speed ωs, it is denoted by M and called the inertia constant of the machine. Normalizing it as


 * $$H = \frac{\text{stored kinetic energy in mega joules at synchronous speed}}{\text{machine rating in MVA}} = \frac{J\omega_\text{s}^2}{2S_{\text{rated}}} $$ MJ/MVA

where Srated is the three phase rating of the machine in MVA. Substituting in the above equation


 * $$2H\frac{S_{\text{rated}}}{\omega_\text{s}^2}\omega_\text{m}\frac{d^2{\delta_\text{m}}}{dt^2} = P_\text{m} - P_\text{e} = P_a $$.

In steady state, the machine angular speed is equal to the synchronous speed and hence ωm can be replaced in the above equation by ωs. Since P$m$, P$e$ and P$a$ are given in MW, dividing them by the generator MVA rating Srated gives these quantities in per unit. Dividing the above equation on both sides by Srated gives

The above equation describes the behaviour of the rotor dynamics and hence is known as the swing equation. The angle δ is the angle of the internal EMF of the generator and it dictates the amount of power that can be transferred. This angle is therefore called the load angle.