---
title: Synchronous machines in power systems
heading: A generator behind a transformer and line, its power-angle curve and stability margin, the synchronizing power coefficient and the electromechanical oscillation it sets, load sharing between generators by governor droop, and the surge from synchronizing out of phase
eyebrow: S12 · Lesson 18 · Synchronous machines in power systems
xp: 50
---

::: hook
A generator in a power station never connects straight to an infinite bus. Between them are a step-up transformer and kilometers of line, whose reactance adds to the machine's own and lowers the power it can transfer. And the rotor isn't rigidly locked to the grid: it's held by a magnetic spring whose stiffness depends on the load angle, so it swings around its operating point at about a hertz whenever something disturbs it. This lesson puts the machine of lessons 10 to 17 into the system it serves.
:::

::: play
- The curves are a generator's real power against load angle when it reaches a 1 pu bus through an external reactance $X_e$ on the slider, for $E_f$ = 1.4 pu and $X_s$ = 1.0 pu: $P = E_fV\sin\delta/(X_s + X_e)$.
- The dashed line is the mechanical input, 0.8 pu. Where it crosses the curve's rising side is the operating point.
- More external reactance lowers the curve, pushing the operating point toward the 90° limit.
:::

```sim plot
view: graph
x: d = 0..180
y: P = 0..1.6
slider: X = 0..1 = 0.4
plot: 1.4*sin(d*pi/180)/(1 + X) | label: electrical power, pu
plot: 0.8 + 0*d | dashed | label: mechanical input
```

::: predict
## A 60 Hz generator with an inertia constant of 4 s runs at a load angle where its synchronizing power coefficient is 0.6 pu per radian. Disturbed, at about what frequency does its rotor swing?

- [ ] 60 Hz
- [ ] About 10 Hz
- [x] About 0.85 Hz
- [ ] About 0.01 Hz

::: reveal
The rotor behaves like a mass on a spring: the swing equation linearized at the operating point gives $\omega_n = \sqrt{\omega_sP_s/2H} = \sqrt{377 \times 0.6/8} = 5.32$ rad/s, 0.85 Hz. These electromechanical oscillations, between 0.1 and 2 Hz, are what power system stabilizers are built to damp.
:::
:::

::: nameit
## The power-angle curve with an external network

A generator with excitation voltage $E_f$ and synchronous reactance $X_s$, reaching an infinite bus V through a transformer and line of total reactance $X_e$, transfers
$$P = \frac{E_fV}{X_s + X_e}\sin\delta$$
with δ measured from the bus voltage. The external reactance lowers the peak and raises the angle for a given load.

## Synchronizing power

The slope of the curve at the operating angle, $P_s = \frac{dP}{d\delta} = \frac{E_fV}{X_s + X_e}\cos\delta$, is the restoring power per radian of rotor displacement. It falls to zero at 90°, where the steady-state stability limit lies.

## Swing

With inertia constant H (the rotor's kinetic energy at synchronous speed over its rating, in seconds), the rotor angle obeys
$$\frac{2H}{\omega_s}\frac{d^2\delta}{dt^2} = P_m - P_e$$
in per unit, with δ in electrical radians and $\omega_s$ the electrical synchronous speed. For small swings around the operating point, $\omega_n = \sqrt{\omega_sP_s/2H}$.

## Load sharing

Generators on the same system share a load change according to their governors' droops: a machine rated S with droop R (per unit change in frequency for a full-rating change in power) picks up $\Delta P = \frac{S}{R}\frac{\Delta f}{f_0}$. The frequency settles where the pickups add up to the load change.

## Synchronizing

Before closing its breaker, a generator must match the bus's voltage, frequency, phase sequence and phase angle. Closed with an angle error θ, the voltage difference $2V\sin(\theta/2)$ drives a surge through the subtransient reactance and the network, and a torque jolt on the shaft.
:::

::: example
## A generator with $E_f$ = 1.4 pu and $X_s$ = 1.0 pu delivers 0.8 pu through 0.4 pu of transformer and line reactance to a 1 pu bus. Find its load angle, maximum power and synchronizing power coefficient.

::: solution
1. **Maximum power.** The machine and network reactances add to 1.4 pu:
   $$\begin{aligned} P_\max &= \frac{1.4}{1.4} \\ &= 1.0\ \text{pu} \end{aligned}$$
2. **Load angle.** $\sin\delta = 0.8$, so δ = 53.1°.
3. **Synchronizing coefficient.**
   $$\begin{aligned} P_s &= 1.0 \times \cos 53.1° \\ &= 0.6\ \text{pu per radian} \end{aligned}$$
4. **Without the external reactance.** The peak would be 1.4 pu, δ only 34.8° and the coefficient 1.15: the network halves the machine's stiffness, which is why long lines limit how much power a remote plant can send.

**Answer:** δ = 53.1°, a maximum power of 1.0 pu, and a synchronizing power coefficient of 0.6 pu per radian.
:::
:::

::: example
## Two generators run in parallel on an island: A rated 500 MW with 5% droop and B rated 200 MW with 4% droop. The load steps up by 30 MW. How do they share it, and where does the frequency settle?

::: solution
1. **Each machine's share.** Each picks up power in proportion to S/R:
   $$\begin{aligned} \frac{S_A}{R_A} &= \frac{500}{0.05} \\ &= 10\,000 \\ \frac{S_B}{R_B} &= \frac{200}{0.04} \\ &= 5000 \end{aligned}$$
   MW per unit frequency, so A takes 20 MW and B 10 MW.
2. **Frequency drop.**
   $$\begin{aligned} \Delta f &= \frac{\Delta P_AR_A}{S_A} \times 60 \\ &= \frac{20}{500} \times 0.05 \times 60 \\ &= 0.12\ \text{Hz} \end{aligned}$$
   the same 0.12 Hz from B's numbers.
3. **Restoring 60 Hz.** Automatic generation control then restores 60 Hz by raising the governors' setpoints, sharing the 30 MW however the dispatch prefers.

**Answer:** A takes 20 MW and B takes 10 MW, and the frequency settles 0.12 Hz low.
:::
:::

::: example
## A generator is synchronized 10° out of phase with the bus, at equal voltages. Its subtransient reactance is 0.2 pu and the transformer adds 0.1 pu. How large is the current surge?

::: solution
1. **Voltage across the breaker.** At closing it's
   $$\begin{aligned} \Delta V &= 2 \times 1 \times \sin 5° \\ &= 0.174\ \text{pu} \end{aligned}$$
2. **Current surge.**
   $$\begin{aligned} I &= \frac{0.174}{0.3} \\ &= 0.58\ \text{pu} \end{aligned}$$
   more than half rated, plus a jolt of torque as the rotor is pulled 10° into line.
3. **In practice.** Synchronizers typically allow only a few degrees and close as the phase difference passes through zero.

**Answer:** the surge is 0.58 pu of current, more than half rated.
:::
:::

::: check
kind: parts
given: E = 1.2 | 1.5 | 1.8; X = 0.8 | 1.2; e = 0.2 | 0.5; q = 0.4 | 0.6 | 0.8; let P = q*E/(X + e)

## A generator ($E_f$ = {E} pu, $X_s$ = {X} pu) delivers {P} pu to a 1 pu bus through {e} pu of external reactance.

::: part
answer: asin(P*(X + e)/E)*180/pi
unit: °
tolerance: 0.5%

### What is its load angle?

::: misses
- [asin(P*X/E)*180/pi] Include the external reactance.
- [any] $\sin\delta = P(X_s + X_e)/(E_fV)$.
:::
:::

::: part
answer: E/(X + e)*cos(asin(P*(X + e)/E))
tolerance: 0.5%

### What is its synchronizing power coefficient, in pu per radian?

::: misses
- [any] $\frac{E_fV}{X_s + X_e}\cos\delta$.
:::
:::
:::

::: check
kind: parts
given: H = 2 | 4 | 7; S = 0.4 | 0.8 | 1.5; f = 50 | 60

## A {f} Hz generator with inertia constant {H} s has a synchronizing power coefficient of {S} pu per radian.

::: part
answer: sqrt(2*pi*f*S/(2*H))/(2*pi)
unit: Hz
tolerance: 0.5%

### At what frequency does its rotor swing?

::: misses
- [sqrt(2*pi*f*S/(2*H))] That's in radians per second.
- [any] $\sqrt{\omega_sP_s/2H}/2\pi$.
:::
:::
:::

::: check
kind: parts
given: a = 100 | 300 | 600; r = 0.04 | 0.05; b = 50 | 150; s = 0.03 | 0.06; L = 10 | 40; f = 50 | 60

## Two generators share a {L} MW load increase on an isolated {f} Hz system: one rated {a} MW with {r} droop, the other {b} MW with {s} droop.

::: part
answer: L*(a/r)/(a/r + b/s)
unit: MW
tolerance: 0.5%

### How much does the first pick up?

::: misses
- [L*a/(a + b)] Droop matters as well as rating.
- [any] In proportion to S/R.
:::
:::

::: part
answer: L/(a/r + b/s)*f
unit: Hz
tolerance: 0.5%

### By how much does the frequency fall?

::: misses
- [any] $\Delta f/f_0 = \Delta P/\sum(S/R)$.
:::
:::
:::

::: check
kind: parts
given: t = 5 | 10 | 20; d = 0.15 | 0.25; e = 0.05 | 0.15

## A generator is synchronized {t}° out of phase at equal voltages, with a subtransient reactance of {d} pu and {e} pu of transformer reactance.

::: part
answer: 2*sin(t/2*pi/180)
tolerance: 0.5%

### What voltage appears across the breaker as it closes, in per unit?

::: misses
- [any] $2V\sin(\theta/2)$.
:::
:::

::: part
answer: 2*sin(t/2*pi/180)/(d + e)
tolerance: 0.5%

### What current surge flows, in per unit?

::: misses
- [any] That voltage over the total reactance.
:::
:::
:::

::: check
kind: parts
given: E = 1.3 | 1.6; X = 1 | 1.4; e = 0.1 | 0.3 | 0.6

## A generator ($E_f$ = {E}, $X_s$ = {X} pu) feeds a 1 pu bus through {e} pu.

::: part
answer: E/(X + e)
tolerance: 0.5%

### What is the most power it can transfer?

::: misses
- [E/X] The external reactance is in series.
- [any] $E_fV/(X_s + X_e)$.
:::
:::
:::

::: check
kind: choice

## Why does adding a second parallel line between a power station and the grid let it deliver more power stably?

- [ ] It raises the generator's excitation
- [x] Two lines in parallel halve the external reactance, which raises the power-angle curve's peak and its synchronizing coefficient at a given load, moving the operating point away from the 90° limit
- [ ] It increases the generator's inertia
- [ ] It changes the frequency

::: misses
- [1] Excitation is set by the field, not the lines.
- [3] Inertia is the rotor's.
- [4] Frequency is the system's, unchanged.
:::
:::

::: check
kind: derivation
vars: E = 0.8..2.5, X = 0.3..2, e = 0..1, d = 1..85, H = 1..10, w = 300..400

## A generator with excitation E and reactance X feeds a 1 pu bus through e at load angle d degrees; its inertia constant is H and the electrical synchronous speed w.

::: step
answer: E/(X + e)*sin(d*pi/180)

### What power does it deliver?
:::

::: step
answer: E/(X + e)*cos(d*pi/180)

### What is its synchronizing coefficient?
:::

::: step
answer: sqrt(w*E/(X + e)*cos(d*pi/180)/(2*H))

### At what angular frequency does it swing?
:::

::: right
Right. A heavier load (larger angle) both brings the machine nearer its limit and slows its swing.
:::
:::

::: check
kind: python

## Write `swing(Pm, Pmax, H, f, d0, w0, T, dt)`: integrate $\frac{2H}{\omega_s}\ddot\delta = P_m - P_\max\sin\delta$ (δ in radians, w the speed deviation in electrical rad/s) by RK4 from (d0, w0) for T seconds, returning the lists of δ; and `swing_frequency(deltas, dt)`: the oscillation frequency from the mean spacing of its downward crossings of the mean.

```python starter
def swing(Pm, Pmax, H, f, d0, w0, T, dt):
    return [d0]

def swing_frequency(deltas, dt):
    return 0.0
```

```python solution
import math

def swing(Pm, Pmax, H, f, d0, w0, T, dt):
    ws = 2 * math.pi * f
    acc = lambda d: ws / (2 * H) * (Pm - Pmax * math.sin(d))
    d, w, out = d0, w0, [d0]
    for _ in range(int(round(T / dt))):
        k1d, k1w = w, acc(d)
        k2d, k2w = w + dt / 2 * k1w, acc(d + dt / 2 * k1d)
        k3d, k3w = w + dt / 2 * k2w, acc(d + dt / 2 * k2d)
        k4d, k4w = w + dt * k3w, acc(d + dt * k3d)
        d += dt / 6 * (k1d + 2 * k2d + 2 * k3d + k4d)
        w += dt / 6 * (k1w + 2 * k2w + 2 * k3w + k4w)
        out.append(d)
    return out

def swing_frequency(deltas, dt):
    m = sum(deltas) / len(deltas)
    t = [i * dt for i in range(1, len(deltas)) if deltas[i - 1] > m >= deltas[i]]
    return (len(t) - 1) / (t[-1] - t[0])
```

```python tests
import math
d0 = math.asin(0.8)
ds = swing(0.8, 1.0, 4, 60, d0 + 0.02, 0.0, 10, 1e-3)
f = swing_frequency(ds, 1e-3)
assert abs(f - 0.846) < 0.005, "A small swing: 0.85 Hz, as the linear formula says."
assert abs(max(ds) - (d0 + 0.02)) < 1e-3 and abs(min(ds) - (d0 - 0.02)) < 2e-3, "Undamped: it swings symmetrically."
big = swing(0.8, 1.0, 4, 60, d0 + 0.6, 0.0, 10, 1e-3)
assert swing_frequency(big, 1e-3) < 0.8, "Larger swings are slower: the spring softens toward 90°."
```

::: right
Right. The linear formula fits small swings; large ones are slower, and past the unstable equilibrium the machine slips a pole.
:::
:::

::: explain
## Why does a synchronous generator's rotor oscillate around its operating angle after a disturbance?

::: model
At its operating point the generator's electrical output balances its mechanical input. If the rotor moves ahead, the load angle grows and the electrical output rises along the power-angle curve, decelerating the rotor; if it falls behind, the output drops and the turbine accelerates it. That restoring effect acts like a spring whose stiffness is the slope of the power-angle curve, and the rotor's inertia is the mass, so the rotor overshoots and swings back and forth at a frequency set by the two, typically around a hertz. Damper windings and power system stabilizers dissipate the swing; without them it can grow until the machine loses synchronism.
:::
:::

::: practice
::: check
given: E = 1.2 | 1.6; X = 0.9 | 1.3; e = 0.2 | 0.4; q = 0.5 | 0.8; let P = q*E/(X + e)
answer: asin(P*(X + e)/E)*180/pi
unit: °
tolerance: 0.5%

## Load angle: $E_f$ = {E}, $X_s$ = {X}, $X_e$ = {e}, P = {P} pu?

::: misses
- [any] $\sin\delta = P(X_s + X_e)/E_f$.
:::
:::

::: check
given: H = 3 | 6; S = 0.5 | 1.2
answer: sqrt(377*S/(2*H))/(2*pi)
unit: Hz
tolerance: 0.5%

## Swing frequency, 60 Hz, H = {H} s, $P_s$ = {S} pu/rad?

::: misses
- [any] $\sqrt{\omega_sP_s/2H}/2\pi$.
:::
:::

::: check
given: a = 200 | 400; r = 0.05; b = 100 | 300; s = 0.04; L = 20 | 60
answer: L*(a/r)/(a/r + b/s)
unit: MW
tolerance: 0.5%

## Share of a {L} MW step: {a} MW at {r}, {b} MW at {s}?

::: misses
- [any] In proportion to S/R.
:::
:::
:::
