nr-powerflow-solver v1.0.1
SciPy CSC Sparse Engine
MATPOWER case14 & case_ieee30 Verified
72 Automated Pytest Checks
Power Systems Sparse Newton-Raphson & Grid Security Explorer
Interactive benchmark explorer for balanced AC load flow, PV generator
Qmin/Qmax capability enforcement, automated N-1 contingency
screening, and saddle-node bifurcation P-V voltage stability margins.
View Source & CLI Docs on GitHub →
Bus Phasor Solution
| Bus | Regime / Status | |V| (p.u.) | Angle (deg) |
IEEE 14-Bus Convergence & Voltage Diagnostics
Top Ranked N-1 Contingencies (IEEE 14-Bus, 0.94–1.06 p.u., MATPOWER Q-Limits)
| Rank | Branch | Corridor | Status | Min |V| | Q-Sat | Severity |
Severity Index Screening Chart
Continuation Operating Points & Jacobian Conditioning
| Lambda (x) | Total Load (MW) | Selected Bus |V| (p.u.) | Min Singular Value σmin(J) |
P-V Nose Curve: Unconstrained vs. Generator Q-Limited
Dense NumPy LU vs. Direct SciPy CSC spsolve
| Buses | Jacobian | nnz(J) | Zeros (%) | Dense (ms) | Sparse (ms) | Speedup |
IEEE 30-Bus Reduced Jacobian Non-Zero Pattern