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

S10 · Lesson 27 · Economic dispatch

Generator cost curves and incremental cost, the equal-incremental-cost rule and the system lambda, generator limits, transmission losses and penalty factors, and why the result is also the price of electricity

Every few minutes, a grid operator decides how much each online generator should produce to meet the load at the least total cost. The answer is a single number, the system's marginal cost λ, in dollars per megawatt-hour: every generator not at a limit runs where its own incremental cost equals λ. That same λ, adjusted for losses and congestion, is the wholesale price of electricity at each location. This lesson derives the rule and computes it.

  • The incremental cost curves of two generators, dC/dP in dollars per MWh against output, with a horizontal line at the system λ.
  • Each unit runs where its curve crosses λ. Raise λ and both produce more; the readouts give each output and their total.
  • Slide λ until the total equals the 800 MW load: that's the economic dispatch, at λ = 9.22 dollars per MWh.

Predict

Two generators share 800 MW. Unit 1 costs C1=500+5.3P+0.004P2 dollars per hour and unit 2 C2=400+5.5P+0.006P2. How much do they save per hour by dispatching economically instead of splitting 400/400?

Name it

Costs

A thermal unit's fuel cost is roughly quadratic in its output: Ci(Pi)=ai+biPi+ciPi2 dollars per hour. Its incremental cost is dCi/dPi=bi+2ciPi dollars per MWh.

The equal-incremental-cost rule

Minimize ∑Ci subject to ∑Pi=PD. With a Lagrange multiplier λ, the optimum has

dCidPi=λ for every unit not at a limit,Pi=λ−bi2ci

and the demand fixes λ:

λ=PD+∑ibi/2ci∑i1/2ci

If shifting load from a unit with high incremental cost to one with low incremental cost saves money, the dispatch wasn't optimal; at equal incremental costs no shift helps.

Limits

A unit whose Pi would fall outside [Pmin,Pmax] is fixed at the violated limit, and the rest are redispatched at a new λ.

Losses

With transmission losses PL, the condition becomes dCidPi⋅11−∂PL/∂Pi=λ: a unit whose extra output raises losses is penalized by its penalty factor 1/(1−∂PL/∂Pi).

Prices

λ is the cost of serving one more megawatt-hour, the marginal cost. Markets set prices at it; with congestion and losses, each bus gets its own locational marginal price (lesson 29).

Worked example

Dispatch the two units for 800 MW.

Show the solution
  1. System lambda. λ=800+5.3/0.008+5.5/0.0121/0.008+1/0.012=800+662.5+458.3125+83.3=9.22 dollars per MWh.
  2. Unit outputs. P1=(9.22−5.3)/0.008=490MWP2=(9.22−5.5)/0.012=310MW
  3. Total cost. C=4057.4+2681.6=6739 dollars per hour.

Answer λ = 9.22 dollars per MWh, with unit 1 at 490 MW and unit 2 at 310 MW, for 6739 dollars per hour.

Worked example

Unit 1 can produce at most 450 MW. Redispatch.

Show the solution
  1. Hold unit 1 at its limit. Its optimum of 490 violates the limit, so fix it at 450 MW and give unit 2 the remaining 350.
  2. The new lambda. Unit 2's incremental cost rises to λ=5.5+0.012×350=9.70 dollars per MWh, which becomes the system λ: the marginal megawatt now comes from the more expensive unit.
  3. Total cost. It rises to 6755 dollars per hour.

Answer unit 1 at 450 MW and unit 2 at 350 MW, with λ = 9.70 dollars per MWh and a total of 6755 dollars per hour.

Worked example

Three units have incremental costs 8 + 0.01P, 9 + 0.008P and 7 + 0.016P dollars per MWh (P in MW). Dispatch them for 900 MW.

Show the solution
  1. Each unit's output. Each unit runs at Pi=(λ−bi)/(2ci)
  2. Balance the load. λ−80.01+λ−90.008+λ−70.016=900
  3. Solve for λ. 287.5λ=3262.5 so λ = 11.35 dollars per MWh.
  4. Unit outputs. The units produce 334.8, 293.5 and 271.7 MW.
  5. Read the result. The unit with the lowest starting cost doesn't produce the most: its steep slope makes each extra MW expensive.

Answer λ = 11.35 dollars per MWh, with the units at 334.8, 293.5 and 271.7 MW.

Check

A unit's cost is a+4P+0.002P2 dollars per hour. What's its incremental cost at 350 MW, in dollars per MWh?

Check

Units with incremental costs 5 + 2(0.003)P and 6.5 + 2(0.008)P share 300 MW. What's λ, in dollars per MWh?

Check

For the same pair, how much does the first unit produce?

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

Check

What does a unit with cost 200+4.5P+0.007P2 cost per hour at 450 MW?

Check

A unit's incremental cost is 7 dollars per MWh and each extra MW it produces raises losses by 0.02 MW. What's its effective incremental cost, in dollars per MWh?

Check

A cheap unit is pinned at its 300 MW maximum, and a second unit with cost 5.5P + 0.004P² (plus constant) supplies the rest of a 650 MW load. What's the system λ, in dollars per MWh?

Check

Three units have incremental costs 7 + 2(0.004)P, 10 + 2(0.012)P and 6 + 2(0.005)P dollars per MWh, sharing 600 MW.

(a)

What is λ, in dollars per MWh?

(b)

How much does the first unit produce?

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

Check

Two units with incremental costs a + 2cP and b + 2eP share D MW, neither at a limit.

Step 1

What is λ?

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

Why must every unit that isn't at a limit run at the same incremental cost in an economic dispatch?

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.