arXiv:2610.12654eess.SYOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.12654

Symbolic-Permutation-Based Direct Sparse Jacobian Assembly for Accelerated Power-Flow Analysis

Tianshi Cheng, Venkata Dinavahi

Tianshi Cheng, Member, IEEE, and Venkata Dinavahi, Fellow, IEEE

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

Abstract—The repeated assembly of the sparse Jacobian matrix constitutes a primary computational bottleneck in the Newton–Raphson power-flow analysis. Through an algebraic equivariance analysis of the Jacobian matrix, this paper proposes a direct sparse Jacobian assembly method based on symbolic permutation. By pre-applying the permutation to the admittance matrix during a one-time symbolic phase, the runtime bus-type projection overhead is entirely eliminated. Consequently, complex Jacobian differentiation and global matrix assembly fuse into a single operation, yielding a single-pass, branchless algorithm that streams values directly into contiguous memory. The framework is realized in the open-source RustPower solver. Benchmarks on IEEE test systems and PEGASE 9241 demonstrate that the proposed assembly is 24.4−30.1×24.4-30.1\times faster than the MATPOWER-style baseline and 6.0−7.8×6.0-7.8\times faster than the Schäfer–Braun optimized assembly. End-to-end, the grid-level solve time is 11.7×−154.3×11.7\times-154.3\times faster than pandapower 3.5.4 with Numba, while leaving numerical results and convergence behavior unchanged. Compared with the native C++ LightSim2Grid 1.0.0, grid-level performance is comparable on IEEE 39 and 1.3×−1.8×1.3\times-1.8\times faster on IEEE 118 and the PEGASE systems. The method extends directly to general problems where a sparse Jacobian inherits its structure from a static network operator, including transient stability analysis, EMT simulation, and OPF Hessian assembly.

Index Terms—Power flow, Newton–Raphson method, Jacobian matrix, sparse matrices, symbolic analysis, compressed sparse column, data-oriented design, high-performance computing.

NOMENCLATURE

References (28)