S10 · Lesson 17 · The power-flow problem
Slack, PV and PQ buses, the nonlinear power-flow equations in polar form, counting unknowns, line flows and losses from the solution, and a two-bus case solved exactly
Given what every generator produces and every load consumes, what are the voltages at all the buses, and how much flows on each line? That's the power-flow (or load-flow) problem, solved thousands of times a day by every grid operator: for planning, for checking what happens if a line trips, for pricing. It looks like circuit analysis, but the sources and loads are specified as powers rather than voltages or currents, which makes the equations nonlinear. This lesson sets up the problem; the next three solve it.
- Two buses: a slack bus held at 1∠0° and a load bus drawing P + jQ through a line of reactance X.
- The plot shows the load bus voltage and the vars the slack generator must supply against P, for a load whose Q/P ratio you set.
- The slack must supply the load's vars plus the line's own , which grows as the square of the current: by the nose, the line is eating more vars than the load.
Predict
A power-flow case has 100 buses: one slack, 20 generator (PV) buses and 79 load (PQ) buses. How many unknowns must be solved for?
Each non-slack bus has an unknown angle (99), and each PQ bus also has an unknown voltage magnitude (79): 178. The PV buses' magnitudes are held by their generators, and the slack bus's magnitude and angle are both fixed.
Name it
Bus types
| Bus | Specified | Unknown |
|---|---|---|
| Slack (swing), one per island | , δ = 0 | P, Q |
| PV (generator) | P, | δ, Q |
| PQ (load) | P, Q | , δ |
The slack bus absorbs whatever the losses turn out to be. A PV bus whose generator hits a var limit becomes a PQ bus at that limit.
The equations
With and , the power injected at bus i is :
One P equation for every non-slack bus and one Q equation for every PQ bus: equations in as many unknowns. They're nonlinear in δ and |V|, so they're solved by iteration from a flat start (all magnitudes 1, angles 0).
After the solution
With all voltages known, the flow from i to j on a branch with series admittance y = g + jb (ignoring charging) is
and the line's loss is , which equals .
Two buses, exactly
For a lossless line X with the load bus at P + jQ, the voltage magnitude comes from the nose-curve quadratic (lesson 7) and the angle from .
Worked example
Solve the two-bus case with X = 0.2 pu and a load of 1 + j0.5 pu.
Show the solution
- Voltage magnitude. so = 0.855 pu.
- Angle. so δ₂ = −13.5°.
- Slack power. The slack supplies 1 pu of real power (no losses) and of vars: the load's 0.5 plus 0.342 consumed by the line.
- Check. Plugging back in delivers exactly 1 + j0.5.
Answer pu, and the slack supplies 1 + j0.842 pu.
Worked example
A 345 kV line with g = 0.5 and b = −5 pu (100 MVA base) joins buses at 1.02∠0° and 0.98∠−8°. How much real power leaves the first bus?
Show the solution
- Set up the flow.
- Evaluate the terms.
Answer 0.721 pu, or 72 MW.
Worked example
A slack bus at 1 pu feeds 2 + j0.5 pu through a lossless X = 0.1 pu. Find every voltage the load bus could have.
Show the solution
- Eliminate the angle. The two-bus equations give
- Put in the numbers.
- Solve the quadratic in . so V = 0.922 pu or V = 0.224 pu.
- Which is which. Both satisfy the power-flow equations. The high-voltage solution is the operating point; the low one, with huge current, is the unstable branch of the nose curve.
- What a solver finds. A power flow started from a flat start finds the high one.
Answer V = 0.922 pu (the operating point) or V = 0.224 pu (the unstable branch).
Check
A power-flow case has 118 buses: one slack, 12 PV buses and the rest PQ. How many unknowns does it have?
Check
A slack bus at 1 pu feeds 0.5 + j0.6 pu through a lossless X = 0.1 pu. What's the load bus voltage magnitude?
Check
For the same two-bus case, what's the load bus's angle?
Check
For the same case, how many vars must the slack generator supply?
Check
A branch with series admittance 1.5 − j\given4 pu joins buses at 1∠0° and 0.96∠−12°. How much real power leaves the first bus?
Check
A branch with R = 0.01 pu delivers 0.6 + j0.5 pu at 1.02 pu. What's its real power loss?
Check
A slack bus at 1 pu feeds 2 + j0.2 pu through a lossless X = 0.1 pu.
(a)
What is the operating (high) voltage at the load?
(b)
And the other, low-voltage solution?
Check
A 1 pu slack feeds P + jQ through lossless X; write and .
Step 1
What is the discriminant of the quadratic in ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the high-voltage solution?
Explain why
Why is the power-flow problem nonlinear when the network itself is linear?
The network obeys I = YV, which is linear, but the data at most buses are powers, not currents. Power is the product of voltage and the conjugate of current, , so specifying P and Q at a load bus fixes a product of two unknowns, and writing it in terms of bus voltages gives sums of products of voltage magnitudes with sines and cosines of angle differences. If loads were given as fixed impedances, the problem would be a linear circuit solved in one step; because they're given as powers, and generators as power plus voltage magnitude, it must be solved iteratively.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.