---
title: "Problem set 5: generators, dispatch, markets, frequency and estimation"
heading: "Problem set 5: synchronous generators, economic dispatch with losses, unit commitment, optimal power flow and locational prices, frequency control, and state estimation"
eyebrow: S10 · Problem set 5
type: problems
---

::: hook
These problems cover lessons 25 to 31: generator internal voltage, power angle and capability, equal-incremental-cost dispatch with limits, penalty factors and unit commitment, congestion and locational prices, inertia, droop and area control error, and weighted least-squares state estimation.
:::

::: pool
pick: 12

::: check
kind: parts
given: X = 1 | 1.4 | 1.8; P = 0.6 | 0.95; Q = -0.1 | 0.4

## A generator with $X_s$ = {X} pu delivers {P} + j({Q}) pu at 1 pu.

::: part
answer: sqrt((1 + X*Q)^2 + (X*P)^2)
tolerance: 0.5%

### |E|?

::: misses
- [any] $|1 + X_sQ + jX_sP|$.
:::
:::

::: part
answer: atan(X*P/(1 + X*Q))*180/pi
unit: °
tolerance: 0.5%

### Power angle?

::: misses
- [any] $\tan^{-1}(X_sP/(1 + X_sQ))$.
:::
:::

::: part
answer: sqrt((1 + X*Q)^2 + (X*P)^2)/X
tolerance: 0.5%

### Steady-state limit at this excitation?

::: misses
- [any] $E/X_s$.
:::
:::
:::

::: check
kind: parts
given: E = 1.5 | 2.1; X = 1.1 | 1.6; d = 20 | 35; P = 0.5 | 0.8

## A generator with E = {E} pu behind $X_s$ = {X} pu on a 1 pu bus.

::: part
answer: E*sin(d*pi/180)/X
tolerance: 0.5%

### P at δ = {d}°?

::: misses
- [any] $E\sin\delta/X_s$.
:::
:::

::: part
answer: (E*cos(d*pi/180) - 1)/X
tolerance: 0.5%

### Q at δ = {d}°?

::: misses
- [any] $(E\cos\delta - 1)/X_s$.
:::
:::

::: part
answer: (sqrt(E^2 - (P*X)^2) - 1)/X
tolerance: 0.5%

### Most Q at P = {P} if E is the field limit?

::: misses
- [any] $(\sqrt{E^2 - (PX_s)^2} - 1)/X_s$.
:::
:::
:::

::: check
kind: parts
given: b = 5 | 6; c = 0.003 | 0.005; d = 5.5 | 6.5; e = 0.004 | 0.008; D = 300 | 700

## Two units, $b_1$ = {b}, $c_1$ = {c} and $b_2$ = {d}, $c_2$ = {e} (costs $a + bP + cP^2$ dollars per hour), share {D} MW.

::: part
answer: (D + b/(2*c) + d/(2*e))/(1/(2*c) + 1/(2*e))
tolerance: 0.5%

### λ, in dollars per MWh?

::: misses
- [any] $\frac{P_D + \sum b/2c}{\sum 1/2c}$.
:::
:::

::: part
answer: ((D + b/(2*c) + d/(2*e))/(1/(2*c) + 1/(2*e)) - b)/(2*c)
unit: MW
tolerance: 0.5%

### Unit 1's output?

::: misses
- [any] $(\lambda - b_1)/2c_1$.
:::
:::

::: part
answer: ((D + b/(2*c) + d/(2*e))/(1/(2*c) + 1/(2*e)) - d)/(2*e)
unit: MW
tolerance: 0.5%

### Unit 2's output?

::: misses
- [any] $(\lambda - b_2)/2c_2$.
:::
:::
:::

::: check
kind: parts
given: I = 7.5 | 10; s = 0.03 | 0.09; b = 5.5 | 6.5; c = 0.004 | 0.008; M = 250 | 350; D = 550 | 700

## A unit at {I} dollars per MWh with loss sensitivity {s}; and a cheap unit pinned at {M} MW with a second unit ($b$ = {b}, $c$ = {c}) covering the rest of {D} MW.

::: part
answer: I/(1 - s)
tolerance: 0.5%

### First unit's effective incremental cost?

::: misses
- [any] $IC/(1 - s)$.
:::
:::

::: part
answer: b + 2*c*(D - M)
tolerance: 0.5%

### System λ in the second case?

::: misses
- [any] The unit off its limit sets λ.
:::
:::
:::

::: check
kind: parts
given: a = 10 | 20; b = 35 | 50; D = 350 | 500; L = 150 | 250

## A {D} MW load at B, a cheap generator ({a} dollars per MWh) at A behind a {L} MW line, and a costlier one ({b}) at B.

::: part
answer: D - L
unit: MW
tolerance: 0.5%

### B's generator output?

::: misses
- [any] Load minus line rating.
:::
:::

::: part
answer: a*L + b*(D - L)
tolerance: 0.5%

### Total cost, dollars per hour?

::: misses
- [any] Fill the line, then B.
:::
:::

::: part
answer: (b - a)*L
tolerance: 0.5%

### Congestion rent, dollars per hour?

::: misses
- [any] Price difference × flow.
:::
:::
:::

::: check
kind: parts
given: D = 240 | 330; L = 120 | 140; a = 15 | 25; b = 40 | 55

## A triangle of identical lines, generators at buses 1 ({a}) and 2 ({b} dollars per MWh), {D} MW at bus 3, line 1–3 limited to {L} MW.

::: part
answer: 3*L - D
unit: MW
tolerance: 0.5%

### Bus 1's output?

::: misses
- [any] $3L - D$.
:::
:::

::: part
answer: 2*b - a
tolerance: 0.5%

### Bus 3's LMP?

::: misses
- [any] $2b - a$.
:::
:::
:::

::: check
kind: parts
given: P = 0.6 | 1.5; S = 40 | 150; H = 3 | 6; f = 0.08 | 0.3

## A {S} GW system with H = {H} s.

::: part
answer: P*60/(2*H*S)
unit: Hz/s
tolerance: 0.5%

### ROCOF after losing {P} GW?

::: misses
- [any] $\Delta Pf_0/(2HS)$.
:::
:::

::: part
answer: 2*H*S*f/60
unit: GW
tolerance: 0.5%

### Deficit if frequency falls at {f} Hz/s?

::: misses
- [any] $2HS(df/dt)/f_0$.
:::
:::
:::

::: check
kind: parts
given: L = 0.03 | 0.07; R = 0.04 | 0.06; D = 0.5 | 1.5; S = 200 | 600; d = 0.15 | 0.4

## Loss of {L} pu with droop {R} and load damping {D}; a {S} MW unit at droop {R} during a {d} Hz dip.

::: part
answer: -L/(1/R + D)*60
unit: Hz
tolerance: 0.5%

### Settling frequency deviation?

::: misses
- [any] $-\Delta P/(1/R + D)$.
:::
:::

::: part
answer: (d/60)/R*S
unit: MW
tolerance: 0.5%

### The unit's governor response?

::: misses
- [any] $(\Delta f/f_0)/R \times$ rating.
:::
:::
:::

::: check
kind: parts
given: a = 400 | 900; r = 0.04 | 0.05; b = 300 | 500; s = 0.06 | 0.07; P = 80 | 200

## Units of {a} MW at {r} droop and {b} MW at {s} droop share {P} MW.

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

### First unit's share?

::: misses
- [any] By rating/R.
:::
:::

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

### Frequency drop (no load damping)?

::: misses
- [any] $P/\sum(\text{rating}/R) \times f_0$.
:::
:::
:::

::: check
kind: parts
given: T = -200 | -40 | 100; B = -500 | -200; f = -0.05 | 0.04

## An area: tie flow {T} MW off schedule, Δf = {f} Hz, bias {B} MW/0.1 Hz.

::: part
answer: T - 10*B*f
unit: MW
tolerance: 0.5%

### ACE?

::: misses
- [any] $\Delta P_\text{tie} - 10B\Delta f$.
:::
:::

::: part
answer: -(T - 10*B*f)
unit: MW
tolerance: 0.5%

### Generation change AGC will ask for?

::: misses
- [any] Drive ACE to zero: −ACE.
:::
:::
:::

::: check
kind: parts
given: S = 8000 | 30000; h = 600 | 2000; b = 4 | 6; c = 0.002 | 0.006; P = 120 | 400; a = 300 | 700

## A unit with start cost {S} dollars and no-load cost {h} dollars per hour; another with cost {a} + {b}P + {c}P² at {P} MW.

::: part
answer: S/h
unit: h
tolerance: 0.5%

### Breakeven idle time?

::: misses
- [any] S/h.
:::
:::

::: part
answer: a + b*P + c*P^2
tolerance: 0.5%

### Second unit's hourly cost, in dollars?

::: misses
- [any] Substitute P.
:::
:::

::: part
answer: b + 2*c*P
tolerance: 0.5%

### Its incremental cost, dollars per MWh?

::: misses
- [any] $b + 2cP$.
:::
:::
:::

::: check
kind: parts
given: a = 6 | 7; b = 0.008 | 0.01; B = 0.0001 | 0.0002 | 0.0003; l = 10 | 12

## A remote plant's incremental cost is {a} + {b}P dollars per MWh, and its share of the losses is $BP^2$ with B = {B} per MW. The system λ is {l} dollars per MWh.

::: part
answer: (l - a)/(b + 2*B*l)
unit: MW
tolerance: 0.5%

### The plant's output?

::: misses
- [(l - a)/b] Include the penalty factor.
- [any] Solve $(a + bP)/(1 - 2BP) = \lambda$.
:::
:::

::: part
answer: 1/(1 - 2*B*(l - a)/(b + 2*B*l))
tolerance: 0.5%

### Its penalty factor there?

::: misses
- [any] $1/(1 - 2BP)$.
:::
:::

::: part
answer: B*((l - a)/(b + 2*B*l))^2
unit: MW
tolerance: 0.5%

### The losses it causes?

::: misses
- [any] $BP^2$.
:::
:::
:::

::: check
kind: parts
given: S = 900 | 1500 | 2500; n = 200 | 350; m = 40 | 80; d = 4 | 7; h = 1 | 2 | 3

## A unit could stay on through a {h}-hour dip at its {m} MW minimum, with {n} dollars per hour of no-load cost and making energy at {d} dollars per MWh more than the unit that would otherwise make it. Restarting it costs {S} dollars.

::: part
answer: h*(n + m*d)
tolerance: 0.5%

### Cost of staying on through the dip, in dollars?

::: misses
- [any] Each hour: no-load cost plus the minimum output times the cost difference.
:::
:::

::: part
answer: S - h*(n + m*d)
tolerance: 0.5%

### How many dollars does staying on save compared with restarting? (Negative means shutting down is cheaper.)

::: misses
- [any] Start-up cost minus the cost of staying on.
:::
:::
:::

::: check
kind: parts
given: a = 0.95 | 1 | 1.05; b = 0.98 | 1.02 | 1.08; s = 0.005 | 0.01; t = 0.01 | 0.02

## Two voltmeters on the same bus read {a} pu (σ = {s}) and {b} pu (σ = {t}).

::: part
answer: (a/s^2 + b/t^2)/(1/s^2 + 1/t^2)
tolerance: 0.1%

### Weighted least-squares estimate of the voltage, in per unit?

::: misses
- [any] Weights $1/\sigma^2$.
:::
:::

::: part
answer: 1/sqrt(1/s^2 + 1/t^2)
tolerance: 0.5%

### Standard deviation of the estimate, in per unit?

::: misses
- [any] $1/\sqrt{\sum 1/\sigma_i^2}$.
:::
:::

::: part
answer: (a - b)^2/(s^2 + t^2)
tolerance: 0.5%

### The minimum J?

::: misses
- [any] Sum each residual squared over its σ²; for two meters it reduces to $(z_1 - z_2)^2/(\sigma_1^2 + \sigma_2^2)$.
:::
:::

:::

::: check
kind: parts
given: a = 7 | 8; c = 0.004 | 0.005; b = 8.5 | 9; e = 0.003 | 0.004; d = 6.5 | 7; f = 0.007 | 0.009; D = 800 | 1000

## Three units have incremental costs {a} + 2({c})P, {b} + 2({e})P and {d} + 2({f})P dollars per MWh and share {D} MW.

::: part
answer: (D + a/(2*c) + b/(2*e) + d/(2*f))/(1/(2*c) + 1/(2*e) + 1/(2*f))
tolerance: 0.5%

### What is λ?

::: misses
- [any] $(D + \sum b_i/2c_i)/\sum 1/2c_i$.
:::
:::

::: part
answer: ((D + a/(2*c) + b/(2*e) + d/(2*f))/(1/(2*c) + 1/(2*e) + 1/(2*f)) - d)/(2*f)
unit: MW
tolerance: 0.5%

### How much does the third unit produce?

::: misses
- [any] $(\lambda - b_3)/2c_3$.
:::
:::
:::
:::
