DC power flow gets worse as the grid loads up
On case118 the DC branch-flow error is 8% at half load, 13% at base load and 52% at three times base load.
DC against AC Newton
| Quantity | Viv | vipyr | Checked by |
|---|---|---|---|
dc error | [0.0823696, 0.133744, 0.200953, … ] (6 values) | not shown | the DC error grows at every step of loading |
converged | 6 | 6 | the AC flow converges at all six loadings |
dc error half | 0.0823696 | 0.0823696 | Viv and vipyr agree |
dc error base | 0.133744 | 0.133744 | it is between 10% and 17% at base load and above 40% at three times base load |
dc error triple | 0.522903 | 0.522903 | it is between 10% and 17% at base load and above 40% at three times base load |
dc_error_with_loading.viv
Output · native build · Oct 14, 2026 · 1.13 s
dc_error: [0.0823696, 0.133744, 0.200953, 0.280584, 0.379163, 0.522903] converged: 6 dc_error_half: 0.0823696 dc_error_base: 0.133744 dc_error_triple: 0.522903
- ✓ the AC flow converges at all six loadings
- ✓ the DC error grows at every step of loading
- ✓ it is between 10% and 17% at base load and above 40% at three times base load
Open in the workbenchAtlasMore power systems claims
Uses vp.power.runpf
- Full statement
- On MATPOWER's case118 with every load and generator scaled from 0.5 to 3 times its base value, the DC power flow's largest branch-flow error, relative to the largest AC flow, grows at every step (between 10% and 17% at base load, above 40% at three times it). It is about 8% at half load, 13% at base load and 52% at three times base load, and the AC Newton flow converges at all six loadings.
- Scope
- MATPOWER's case118 with every load and every generator's real output scaled by the same factor (reactive loads too), the reference bus absorbing the mismatch; the error is the largest over branches, divided by the largest . Only scalings at which the AC Newton flow converges are used.
- Reference
- The AC Newton solution of the same case (lib/power, equal to MATPOWER's and PYPOWER's to per unit, lib/power/COMPARISON.md) is the reference for the DC flows; the DC model's assumptions (, no resistance, , no reactive power) as in the MATPOWER manual, section 4.1.
claims/power/dc_error_with_loading.viv · claims/power/dc_error_with_loading.py#9ccfb90428