CASE STUDY
swingbus · Transmission network analysis
AC and DC power-flow solver, N-1 screening and DC-OPF, validated against PYPOWER.
MAX DEV. · PYPOWERpuswingbus · MATPOWER cases
N-1 SCREEN · IEEE 118msswingbus · machine dependent
01 · Problem#
Studying a transmission network requires accurate, fast power-flow calculations, in particular to check that the grid withstands the loss of any single element (N-1 criterion).
02 · Approach#
- AC power flow by Newton-Raphson, fast decoupled and Gauss-Seidel, plus DC power flow.
- N-1 contingency screening and DC-OPF with nodal prices.
- Results checked against PYPOWER on every commit, on MATPOWER cases.
03 · Result#
- Maximum deviation of 10⁻¹³ pu from PYPOWER.
- N-1 screening of the IEEE 118-bus system in 8.3 ms.
04 · What it shows#
The core of grid studies: power flow, contingencies and dispatch, with systematic validation against a reference tool.
05 · Limitations#
Version 0.1. Screening time depends on the machine used.