S1029 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S10 · Lesson 29 · Optimal power flow and locational prices

Adding the network to economic dispatch, congestion when a line reaches its limit, locational marginal prices and congestion rent, a three-bus case where the price exceeds every generator's cost, and unit commitment

Economic dispatch (lesson 27) ignores the wires: it would happily send all the power from the cheapest plant even if the line from it can't carry that much. Optimal power flow adds the network's limits, and when a line congests, power at different buses stops having the same value. Markets such as PJM, ERCOT and MISO publish a separate price at every node, every five minutes, computed exactly this way. Those prices can behave in ways that surprise everyone the first time.

  • Two buses: a cheap generator at A (10 dollars per MWh) and an expensive one at B (30 dollars per MWh), with all the load at B and a line of limited rating between them.
  • The plot shows the price at bus B against the load. Below the line's rating, all the power comes from A and both prices are 10.
  • Above it, the line is full, the extra must come from B's generator, and B's price jumps to 30. The difference times the flow is the congestion rent the line earns.

Predict

Three buses joined by identical lines. Generators at bus 1 (20 dollars per MWh) and bus 2 (40 dollars per MWh) serve 300 MW at bus 3, and line 1–3 is limited to 150 MW. What's the price at bus 3?

Name it

Optimal power flow

Minimize total generation cost subject to the power-flow equations, generator limits, line flow limits and voltage limits. The full AC problem is a nonlinear program; markets usually solve a DC-OPF, a linear or quadratic program using the DC power flow and PTDFs (lesson 20).

Locational marginal prices

The LMP at a bus is the cost of serving one more MW there, with the network's constraints respected. It splits into an energy part (the reference λ), a congestion part (each binding line's shadow price times the bus's PTDF on it) and a loss part. Without congestion and losses, every LMP equals λ.

Congestion

When a line is at its limit, cheaper generation behind it can't reach the load, and more expensive generation on the far side must run: out-of-merit dispatch. The difference in LMPs across the line times its flow is the congestion rent, which in markets goes to holders of transmission rights.

Unit commitment

Dispatch assumes units are already running. Deciding which units to start, hours to days ahead, is unit commitment: a mixed-integer problem with start-up costs, minimum up and down times, ramp limits and reserves. A unit with start-up cost S and a no-load cost h per hour should be shut down for an idle gap longer than S/h hours.

Worked example

In the two-bus case with a 250 MW line, what happens at 400 MW of load?

Show the solution
  1. Dispatch. A sends 250 MW, filling the line, and B's generator supplies the other 150.
  2. Cost. C=250×10+150×30=7000 dollars per hour, against 4000 without the limit.
  3. Prices. The prices are 10 at A and 30 at B.
  4. Congestion rent. R=(30−10)×250=5000 dollars per hour, a measure of what expanding the line would be worth.

Answer B's generator makes up the last 150 MW, the cost rises to 7000 dollars per hour, and prices split to 10 at A and 30 at B.

Worked example

Solve the three-bus case with the 150 MW limit on line 1–3.

Show the solution
  1. Flow on line 1–3. With identical lines, line 1–3 carries 23g1+13g2
  2. Apply the limit. With g1+g2 = 300: 100+g1/3≤150 so g1≤150.
  3. Dispatch. The cheap unit runs at 150, the expensive one at 150, for 9000 dollars per hour. Line 1–2 carries nothing and line 2–3 carries 150.
  4. Prices. The LMPs are 20 at bus 1, 40 at bus 2 and 60 at bus 3.

Answer each unit runs at 150 MW for 9000 dollars per hour, with LMPs of 20, 40 and 60 at buses 1, 2 and 3.

Worked example

An uncongested line carries 300 MW from a generator at A, priced at 20 dollars per MWh, to bus B. Its losses are BP2 with B = 10⁻⁴ per MW. What's the LMP at B?

Show the solution
  1. Marginal losses. ∂PL/∂P=2BP=0.06
  2. Power needed at A. Each extra MW delivered at B needs 1/(1−∂PL/∂P) MW at A.
  3. LMP at B. LMPB=20/0.94=21.28 dollars per MWh.
  4. What it means. The marginal-loss component adds 1.28 even with no congestion. Prices at buses far from cheap generation are higher for this reason alone.

Answer 21.28 dollars per MWh.

Check

A cheap generator at A sends power over a line rated 150 MW to a 450 MW load at B, where a costlier generator also sits. How much must B's generator produce?

Write units the way you normally would: 1.5 MW, 1500 kW and 0.0015 GW are the same answer.

Check

A congested line carries 300 MW from a bus priced at 12 to one priced at 30 dollars per MWh. What's its congestion rent, in dollars per hour?

Check

A 550 MW load at B is served by a 10 dollars per MWh generator at A through a 300 MW line and by a 30 dollars per MWh generator at B. What's the total cost per hour?

Check

A triangle of identical lines has generators at buses 1 and 2 and a 300 MW load at bus 3, with line 1–3 limited to 110 MW. What's the most bus 1's generator can produce?

Write units the way you normally would: 1.5 MW, 1500 kW and 0.0015 GW are the same answer.

Check

In the same triangle, with line 1–3 binding, generator 1 costs 20 and generator 2 costs 35 dollars per MWh. What's the LMP at bus 3?

Check

A unit costs 20000 dollars to start and 800 dollars per hour to keep running at minimum output when it isn't needed. Above what idle gap is shutting it down cheaper?

Check

An uncongested line carries 600 MW from a generator priced at 20 dollars per MWh, with losses BP2, B = 5 × 10⁻⁵ per MW.

(a)

What is the marginal loss factor?

(b)

What is the LMP at the receiving bus?

Check

A line at its limit L MW joins a bus priced a to one priced b dollars per MWh, and the receiving bus's load is P MW.

Step 1

What congestion rent accrues per hour?

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°.

Explain why

How can the price at a bus be higher than the cost of every generator in the system?

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.