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

S10 · Lesson 22 · Contingency analysis

The N − 1 rule, generation shift and line outage distribution factors from the DC power flow, predicting flows after one or two lines trip, redispatching to relieve an overload, external equivalents, and how control rooms screen thousands of outages

Grid operators don't run the system so that it works. They run it so that it still works after any single line, transformer or generator trips without warning, the N − 1 rule. A large control room checks thousands of possible outages every few minutes, which leaves no time for a full AC power flow on each. How can it predict the flow on every line after an outage from one solved base case?

  • A four-bus network (100 MVA base, DC power flow): the slack generator at bus 1; lines 1–2 (x = 0.1), 1–3 (0.2), 2–3 (0.25), 2–4 (0.1) and 3–4 (0.2); loads at bus 3 (slider) and bus 4 (x axis).
  • Solid lines are the base-case flows on lines 1–3 and 3–4. Dashed lines are the same flows after line 2–4 trips, predicted from the base case with line outage distribution factors.
  • Both lines are rated 1.2 pu. In the base case they're well inside it at the default loads; after the outage, line 3–4 carries all of bus 4's load and line 1–3 picks up 45% of what line 2–4 was carrying. Find the largest bus 4 load that survives the outage.

Predict

Bus 4 is fed by only two lines, 2–4 and 3–4. Line 2–4, carrying 110 MW into bus 4, trips. How much of that 110 MW shifts onto line 3–4?

Name it

The N − 1 rule

A system is secure if no single contingency, the loss of one element, leaves any line above its emergency rating or any voltage outside its limits, and nothing cascades from there. Some pairs of elements that can fail together, such as two circuits on the same towers, are studied as one contingency too.

Shift factors

Because the DC power flow is linear, every flow responds to injections in fixed proportions. The generation shift factor aℓi is the change in flow on line ℓ per unit injected at bus i and taken out at the slack. A transfer from bus m to bus n changes line ℓ's flow by the power transfer distribution factor PTDFℓ,mn=aℓm−aℓn.

Line outage distribution factors

To mimic the loss of line k (from m to n), inject just enough at m and withdraw it at n that the line's own terminals absorb its flow, as if it weren't there. Solving for that injection gives the line outage distribution factor

dℓk=PTDFℓ,mn1−PTDFk,mn,fℓ′=fℓ+dℓkfk

where f are base-case flows and f′ the flows after the outage. If PTDFk,mn = 1, all of a transfer between line k's ends goes through line k: it's the only connection, and losing it splits the network in two.

Two outages at once use the single-outage factors with a correction for their interaction:

fℓ′=fℓ+dℓa+dℓbdba1−dabdbafa+dℓb+dℓadab1−dabdbafb

Grainger and Stevenson derive the same factors for the AC network from columns of Zbus (lesson 11). With lines represented by their reactances, the AC current-shift factors and the DC factors agree, and the predicted megawatt changes land within a few percent of full AC solutions.

External systems

A utility models its neighbors' networks only as far as it must. Kron-reducing the external buses onto the boundary buses (lesson 11) leaves a Ward equivalent: equivalent branches among the boundary buses plus equivalent injections there, chosen to reproduce the base-case flows on the tie lines.

In the control room

The energy management system screens the full contingency list with the factors, ranks the outages by how badly they would overload lines, and runs AC power flows only on the worst few. If an outage would overload something, operators change the base case before it happens, for example by redispatching generation. Security-constrained dispatch builds these post-outage limits into the dispatch itself.

Worked example

In the four-bus network with 0.5 pu at bus 3 and 1.5 pu at bus 4, line 2–4 trips. Predict the new flows.

Show the solution
  1. Base case. The base case gives 1–2: 1.229, 1–3: 0.771, 2–3: 0.125, 2–4: 1.104 and 3–4: 0.396 pu.
  2. A transfer from bus 2 to bus 4. It sends 0.771 of itself through line 2–4, 0.229 through 3–4 and 0.104 through 1–3 (and −0.104 through 1–2, 0.125 through 2–3).
  3. Outage factors for line 2–4. d34=0.229/(1−0.771)=1.000d13=0.104/0.229=0.455d23=0.125/0.229=0.545 and d12 = −0.455.
  4. New flows. P34=0.396+1.000×1.104=1.500P13=0.771+0.455×1.104=1.273 and lines 1–2 and 2–3 each carry 0.727 pu.
  5. Check. A direct solution of the network without line 2–4 gives the same numbers, since the DC model is linear.
  6. Overloads. Lines 3–4 and 1–3, rated 1.2 pu, would both be overloaded.

Answer 3–4 carries 1.500 pu, 1–3 carries 1.273 pu, and 1–2 and 2–3 carry 0.727 pu each, so lines 3–4 and 1–3 are overloaded.

Worked example

Line 1–3's overload after the outage could be fixed by moving generation from bus 1 to a generator at bus 3 ahead of time. How much?

Show the solution
  1. The overload. Line 1–3 would carry 1.273 pu, 0.073 over its rating.
  2. Factors for an injection at bus 3. Injecting at bus 3 (taken from the slack at bus 1) changes line 1–3's base flow by a13,3 = −0.542 and line 2–4's by −0.208.
  3. The factor after the outage. With line 2–4 out, it becomes −0.542+0.455×(−0.208)=−0.636
  4. Amount to move. ΔP=1.2727−1.20.636=0.114pu so 11.4 MW moved to bus 3 keeps line 1–3 at 1.2 pu after the outage.
  5. Line 3–4. It can't be helped that way: with bus 4 left on one line, its flow is bus 4's load. That overload needs a stronger line, load relief at bus 4 or a special protection scheme.

Answer move 0.114 pu, 11.4 MW, from bus 1 to bus 3.

Worked example

A monitored line carries 0.5 pu. Line A carries 0.8 pu with distribution factor 0.4 onto it, and line B carries −0.6 pu with factor 0.7. Which single outage is worse for it?

Show the solution
  1. Losing line A. 0.5+0.4×0.8=0.82pu
  2. Losing line B. 0.5+0.7×(−0.6)=0.08pu
  3. Compare. Losing A is worse; losing B actually relieves the line, because B's flow ran against it.
  4. In practice. Contingency screening runs exactly this arithmetic for every monitored line and every outage, then sends only the worst cases to a full AC power flow.

Answer losing line A is worse: it raises the monitored line to 0.82 pu, while losing B drops it to 0.08 pu.

Check

For a transfer between the ends of line k, line k itself carries 0.4 of it and line ℓ carries 0.2. What's line ℓ's outage distribution factor for line k?

Check

Line ℓ carries 0.6 pu and line k 0.5 pu. Line ℓ's distribution factor for the outage of line k is 0.6. What does line ℓ carry after line k trips (100 MVA base)?

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

Check

A line's generation shift factor for bus 5 is 0.35. A generator at bus 5 raises its output by 20 MW, taken up by the slack. How much does the line's flow change?

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

Check

A line's generation shift factors are 0.3 for bus m and 0.1 for bus n. What's its PTDF for a transfer from m to n?

Check

After an outage a line would be 0.07 pu over its rating. Moving generation to bus j changes its post-outage flow by −0.4 per unit moved. How much generation must move, in MW (100 MVA base)?

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

Check

A network has 120 lines and 10 generators. How many pairs of line outages does a full N − 2 study of lines alone examine?

Check

A monitored line carries 0.3 pu. Line A carries 0.5 pu with distribution factor 0.5 onto it; line B carries 0.7 pu with factor 0.3.

(a)

What does it carry if line A trips?

(b)

And if line B trips?

Check

A monitored line's PTDF for a transfer between the ends of line k is p, and line k's own is k; the lines carry f and g.

Step 1

What is the outage distribution factor?

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 can one solved base case predict the flows after any line outage, and when does the prediction break down?

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.