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

BusRegime / Status|V| (p.u.)Angle (deg)

IEEE 14-Bus Convergence & Voltage Diagnostics

IEEE 14 Voltage Profile
IEEE 14 Quadratic Convergence

Top Ranked N-1 Contingencies (IEEE 14-Bus, 0.94–1.06 p.u., MATPOWER Q-Limits)

RankBranchCorridorStatusMin |V|Q-SatSeverity

Severity Index Screening Chart

N-1 Contingency Ranking

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

IEEE 14 P-V Nose Curve

Dense NumPy LU vs. Direct SciPy CSC spsolve

BusesJacobiannnz(J)Zeros (%)Dense (ms)Sparse (ms)Speedup

IEEE 30-Bus Reduced Jacobian Non-Zero Pattern

IEEE 30 Sparse Jacobian Spy Plot