---
title: Fast decoupled and DC power flow
heading: Decoupling real and reactive power to get constant Jacobian blocks, the linear DC power flow that markets and planners run millions of times, line flows from angle differences, and power transfer distribution factors
eyebrow: S10 · Lesson 20 · Fast decoupled and DC power flow
xp: 50
---

::: hook
On a transmission network real power depends almost entirely on angles and reactive power on magnitudes (lesson 7). Fast decoupled power flow uses this to replace Newton's changing Jacobian with two constant matrices factored once. Push the approximation further, with every voltage at 1 pu, small angles and no resistance, and the power flow becomes linear: the DC power flow. It's only approximate, but it's fast enough to run for every contingency in every hour of a year, and electricity markets use it to price congestion.
:::

::: play
- A DC power flow on the three-bus network of lesson 10 (line reactances 0.1, 0.2 and 0.25 pu), with bus 1 supplying loads at buses 2 and 3.
- The plot shows the three line flows against the load at bus 3, for the load at bus 2 set by the slider. Every flow is a straight line: the DC model is linear.
- The power splits by reactance, not by distance or "the shortest path": raising bus 3's load sends 64% of the extra through line 1–3 and 36% around through bus 2.
:::

```sim plot
view: graph
x: P3 = 0..2 pu
y: F = -0.5..2 pu
slider: P2 = 0..1.5 = 0.6 pu
plot: (9*P2 + 4*P3)/11 | samples: 200 | label: line 1–2
plot: (4*P2 + 14*P3)/22 | samples: 200 | color: ch3 | label: line 1–3
plot: (-5*P2 + 10*P3)/27.5 | samples: 200 | color: ch4 | label: line 2–3
plot: 1 + 0*P3 | dashed | color: ch5 | label: a 1 pu line rating
```

::: predict
## In the DC power flow, a line of reactance 0.2 pu has 0.1 rad between its ends. How much does it carry?

- [ ] 0.02 pu
- [x] 0.5 pu
- [ ] 2 pu
- [ ] It depends on the voltages

::: reveal
$P_{ij} = (\theta_i - \theta_j)/x_{ij}$ = 0.1/0.2 = 0.5 pu, 50 MW on 100 MVA. In the DC model every voltage is 1 pu by assumption, so only angles matter. The exact AC value, $\sin(0.1)/0.2$, differs by under 0.2%.
:::
:::

::: nameit
## Fast decoupled power flow

Neglect the off-diagonal Jacobian blocks (∂P/∂V and ∂Q/∂δ), and approximate the others by constant matrices built from the network: $\Delta P/|V| = B'\Delta\delta$ and $\Delta Q/|V| = B''\Delta|V|$, where B′ uses $1/x$ of each branch and B″ the negative of $Y_\text{bus}$'s imaginary part at PQ buses. Factor each once and iterate. It converges linearly but each iteration is so cheap that it's often faster than Newton overall.

## The DC power flow

Assume every |V| = 1, R ≪ X and small angle differences, so $\sin\delta \approx \delta$. Then

$$P = B\theta, \qquad P_{ij} = \frac{\theta_i - \theta_j}{x_{ij}}$$

where B is the Laplacian of the branch susceptances $1/x$ (with the slack's row and column removed). It's linear, needs no iteration, and ignores losses and reactive power.

## Distribution factors

Because the model is linear, the change in each line's flow is proportional to a transfer. A **power transfer distribution factor** (PTDF) is the fraction of a transfer from bus a to bus b that flows on line ℓ. For two parallel paths of reactance $x_1$ and $x_2$, the share on path 1 is $x_2/(x_1 + x_2)$. **Line outage distribution factors** (LODFs) give how a tripped line's flow redistributes. Markets compute locational prices and congestion with these factors.
:::

::: example
## Solve the DC power flow for the three-bus network with 0.6 pu load at bus 2 and 0.9 pu at bus 3.

::: solution
1. **Remove the slack (bus 1).**
   $$B = \begin{pmatrix} 14 & -4 \\ -4 & 9 \end{pmatrix}$$
   and P = (−0.6, −0.9).
2. **Solve for the angles.**
   $$\begin{aligned} \theta_2 &= -0.0818\ \text{rad} \\ \theta_3 &= -0.1364\ \text{rad} \end{aligned}$$
3. **Line flows.**
   $$\begin{aligned} P_{12} &= 0.0818/0.1 \\ &= 0.818\ \text{pu} \\ P_{13} &= 0.1364/0.2 \\ &= 0.682\ \text{pu} \\ P_{23} &= 0.0545/0.25 \\ &= 0.218\ \text{pu} \end{aligned}$$
4. **Check the balance.** Each bus balances: bus 2 receives 0.818 and sends on 0.218, keeping 0.6.

**Answer:** θ₂ = −0.0818 and θ₃ = −0.1364 rad, with 0.818 pu on line 1–2, 0.682 pu on 1–3 and 0.218 pu on 2–3.
:::
:::

::: example
## What fraction of a transfer from bus 1 to bus 3 flows on line 1–3?

::: solution
1. **Inject and withdraw.** Inject 1 pu at bus 1 and withdraw it at bus 3:
   $$\begin{aligned} \theta_2 &= -0.0364 \\ \theta_3 &= -0.1273 \end{aligned}$$
2. **Line flows.** Line 1–3 carries 0.636 and the path 1–2–3 carries 0.364.
3. **Why.** The direct line (0.2 pu) and the path (0.1 + 0.25 = 0.35 pu) split it in inverse proportion to reactance:
   $$0.35/0.55 = 0.636$$

**Answer:** 0.636 of the transfer, 63.6%, flows on line 1–3.
:::
:::

::: example
## Four buses form a ring with every line x = 0.1 pu. In a DC power flow, how does a transfer split between adjacent buses, and between opposite ones?

::: solution
1. **Adjacent buses.** The direct path has x = 0.1 and the way around the ring 0.3, so the direct line carries
   $$0.3/0.4 = 75\%$$
   and the others 25%.
2. **Opposite buses.** Between opposite corners both paths are 0.2, so the transfer splits 50/50.
3. **The rule behind it.** Flows divide inversely with path reactance, which is the whole content of the DC power flow's distribution factors.

**Answer:** between adjacent buses, 75% on the direct line and 25% the long way around; between opposite ones, 50/50.
:::
:::

::: check
given: a = 0.02 | 0.08 | 0.15; x = 0.05 | 0.2
answer: a/x*100
unit: MW
tolerance: 0.5%

## In a DC power flow (100 MVA base), a line of x = {x} pu has {a} rad across it. How many MW does it carry?

::: right
Right. $(\theta_i - \theta_j)/x$ × 100 MVA = {answer} MW.
:::

::: misses
- [a*x*100] Divide by the reactance.
- [any] Not yet. $P = \Delta\theta/x$ in per unit.
:::
:::

::: check
given: x = 0.1 | 0.2 | 0.3; y = 0.15 | 0.35 | 0.5
answer: y/(x + y)
tolerance: 0.5%

## Two parallel paths of reactance {x} and {y} pu carry a transfer between the same two buses. What fraction takes the {x} pu path?

::: right
Right. $x_2/(x_1 + x_2)$ = {answer}: the lower reactance takes more.
:::

::: misses
- [x/(x + y)] The share goes inversely with reactance.
- [any] Not yet. Like current dividing between parallel resistors.
:::
:::

::: check
given: P = 0.4 | 0.9 | 1.5; x = 0.05 | 0.12
answer: -P*x*180/pi
unit: °
tolerance: 0.5%

## A load bus draws {P} pu through a single line of x = {x} pu from the slack. What's its DC power-flow angle?

::: right
Right. θ = −Px = {answer}°.
:::

::: misses
- [-P*x] Convert to degrees.
- [any] Not yet. $P = \Delta\theta/x$.
:::
:::

::: check
given: a = 0.1 | 0.2; b = 0.15 | 0.3; c = 0.2 | 0.45
answer: (a + b)/(a + b + c)
tolerance: 0.5%

## A triangle network has $x_{12}$ = {a}, $x_{23}$ = {b} and $x_{13}$ = {c} pu. What fraction of a transfer from bus 1 to bus 3 flows on line 1–3?

::: right
Right. The direct line competes with the path 1–2–3 of {a} + {b}: share $(x_{12} + x_{23})/(x_{12} + x_{23} + x_{13})$ = {answer}.
:::

::: misses
- [c/(a + b + c)] The share goes inversely with the line's own reactance.
- [any] Not yet. Two parallel paths: direct and through bus 2.
:::
:::

::: check
given: t = 5 | 15 | 30
answer: 100*(t*pi/180/sin(t*pi/180) - 1)
unit: %
tolerance: 1%

## At an angle difference of {t}°, by what percentage does the DC model's θ overstate the AC flow's sin θ?

::: right
Right. {answer}%: small for the angles of normal operation.
:::

::: misses
- [any] Not yet. Compare θ with sin θ.
:::
:::

::: check
given: a = 0.05 | 0.1; b = 0.08 | 0.2; c = 0.1 | 0.25
answer: 1/a + 1/b + 1/c
tolerance: 0.5%

## A bus connects to three lines of x = {a}, {b} and {c} pu. What's its diagonal entry in the DC power flow's B matrix?

::: right
Right. The sum of $1/x$: {answer}.
:::

::: misses
- [a + b + c] Sum the susceptances, not the reactances.
- [any] Not yet. B is the Laplacian of $1/x$.
:::
:::

::: check
kind: parts
given: n = 3 | 4 | 6 | 8

## A ring of {n} buses has identical lines. A transfer is made between two adjacent buses.

::: part
answer: (n - 1)/n*100
unit: %
tolerance: 0.5%

### What share does the line directly between them carry?

::: misses
- [100/n] That's the other path's share.
- [any] The other path has n − 1 lines: share $(n - 1)/n$.
:::
:::

::: part
answer: 100/n
unit: %
tolerance: 0.5%

### What share goes around the rest of the ring?

::: misses
- [any] The remainder.
:::
:::
:::

::: check
kind: derivation
vars: x = 0.01..1, y = 0.01..1

## Two paths of reactance x and y carry a transfer between the same buses.

::: step
answer: y/(x + y)

### What share takes the path of reactance x?
:::

::: step
answer: x*y/(x + y)

### What is the equivalent reactance?
:::

::: right
Right. Flows divide like currents in parallel resistors, in inverse proportion to reactance.
:::
:::

::: explain
## Why is the DC power flow linear, and what does it give up to be so?

::: model
The AC power-flow equations are nonlinear because flows depend on products of voltage magnitudes and on the sines and cosines of angle differences. On transmission networks the magnitudes stay near 1 pu, resistance is a small fraction of reactance, and angle differences across a line are usually under 20°. Setting magnitudes to 1, dropping resistance and replacing sin θ by θ leaves flows proportional to angle differences, a linear network just like DC current in resistors. What's lost is everything about voltage magnitudes, reactive power and losses, plus accuracy at large angles. For questions about which lines overload when a transfer changes, those losses rarely matter, which is why the model is the workhorse of planning and markets.
:::
:::

::: practice

::: check
given: a = 0.01 | 0.1; x = 0.03 | 0.3
answer: a/x*100
unit: MW
tolerance: 0.5%

## DC flow: {a} rad across x = {x} pu, 100 MVA base?

::: misses
- [any] $\Delta\theta/x$ × 100.
:::
:::

::: check
given: x = 0.05 | 0.25; y = 0.1 | 0.6
answer: y/(x + y)
tolerance: 0.5%

## Share on the {x} path with a parallel {y} path?

::: misses
- [any] $x_2/(x_1 + x_2)$.
:::
:::

::: check
given: a = 0.05 | 0.15; b = 0.1 | 0.4; c = 0.08 | 0.3
answer: (a + b)/(a + b + c)
tolerance: 0.5%

## Triangle: share on the direct line 1–3 ({c}) with $x_{12}$ = {a}, $x_{23}$ = {b}?

::: misses
- [any] $(x_{12} + x_{23})/(\text{sum})$.
:::
:::
:::
