Load Flow
The most-run calculation in the industry, and it needs iteration for one reason: what is specified is power, not current, which makes the equations non-linear.
Skip to the animationLoad flow finds every bus voltage and line flow for a given pattern of generation and demand — and it needs iteration because what is specified is power rather than current, which makes the equations non-linear.
Why it is non-linear
If bus currents were known, load flow would be one matrix inversion. But a load draws so many megawatts, not so many amps — and S = VI* puts the unknown voltage on both sides of the equation. There is no closed form, so iteration is a necessity rather than a convenience.
Three bus types
| Type | Known | Unknown | Typical of |
|---|---|---|---|
| PQ (load) | P and Q | |V| and δ | Most buses |
| PV (generator) | P and |V| | Q and δ | A generator whose AVR holds voltage |
| Slack | |V| and δ | P and Q | Exactly one, per system |
The slack bus exists because transmission losses cannot be known until the flows are solved, so one generator must be left free to absorb the difference. It also fixes the angle reference, since only angle *differences* are physically meaningful.
The two methods
| Gauss-Seidel | Newton-Raphson | |
|---|---|---|
| Convergence | Linear | Quadratic — the error roughly squares |
| Iterations | Grows with system size | 3–5, almost regardless of size |
| Cost per iteration | Very low | Builds and solves a Jacobian |
| Memory | Small | Large, but the Jacobian is very sparse |
| Used today | Rarely, for initialisation | Universally |
Sparse matrix techniques are what made Newton-Raphson affordable for large networks. Without them the Jacobian solve would dominate everything.
The decoupled approximation
Because X ≫ R on transmission lines, real power depends chiefly on the angle across a line and reactive power on the voltage magnitude. Dropping the cross terms and freezing the Jacobian gives the fast decoupled method — a few more iterations, each far cheaper, fast enough for real-time operation.
The same decoupling is why frequency control and voltage control are separate systems in a control room, operating on different timescales with different equipment.
Checking the answer
- Bus voltages within limits, typically 0.95 to 1.05 p.u.
- Line flows within thermal and stability ratings.
- Generators within their P and Q capability — and Q limits bind more often than P limits.
A PV bus that hits its reactive limit is reclassified as PQ mid-solution and its voltage allowed to fall. That is a real operational event — the generator has run out of excitation — not a numerical convenience.
When it will not converge
Non-convergence is not always numerical. Past the nose of the P–V curve there is no solution at all, and the physical system undergoes voltage collapse.
Several major blackouts were preceded by studies that would not converge, which makes the failure itself a warning rather than an inconvenience. The whole study is repeated with each single element removed — the N−1 contingency requirement — precisely to find these cases in advance.
The numbers you will be asked for
- Bus power injection
S_i = V_i · Σ(Y_ij V_j)*
- Current from power
I_i = (P_i − jQ_i) / V_i*
- Gauss-Seidel update
V_i = (1/Y_ii)[(P_i − jQ_i)/V_i* − Σ Y_ij V_j]
- Newton-Raphson
[ΔP; ΔQ] = J · [Δδ; Δ|V|]
- Decoupled form
ΔP ≈ H·Δδ · ΔQ ≈ L·Δ|V|
- Line flow
P_ij = (V_iV_j/X)·sin(δ_i − δ_j)
Watch it work
Check yourself
question 1 / 4
One question at a time. Pick an answer to see why it is right or wrong, then move on — there is no score to keep and nothing is saved.