arXiv:2610.34509eess.SYOct 2026

Manuscript Offprint

arXiv:2610.34509

Symbolic Direct Construction of Augmented Systems for Levenberg-Marquardt Power Flow

Tianshi Cheng, Venkata Dinavahi

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

Abstract—Levenberg–Marquardt power flow (LMPF) addresses ill-conditioned equations and provides least-squares stationary points for infeasible operating requests. Conventional implementations form damped normal equations, where J⊤JJ^{\top}J introduces fill, squares the spectral condition number of the undamped part, and adds sparse-product cost. We propose an augmented LMPF formulation with a symbolic-permutation-based Jacobian operator that fills the augmented blocks directly. We prove that the matrix is symmetric quasi-definite for positive damping, enabling fixed-order, pivot-free QDLDL factorization. This property also motivates the solver choice: KLU value-only refactorization can reuse an unsuitable pivot order, forcing fresh full factorizations on difficult LMPF trajectories. We further introduce one-probe adaptive trust-region initialization for the radius and damping.

Direct assembly is 7.5–11.9× faster than the fastest coordinate-list path and 18.0–58.8× faster than cached normal-equation sparse-product formation; QDLDL reduces numerical refactorization and triangular-solve time by up to 3.40× on identical matrices. Adaptive initialization solves flat-started RTE cases in 19–25 factorizations, 7.5–11.6× faster than reproduced three-step LM. On case2383wp, our 84-iteration run performs 84 factorizations and 168 resolves in 237 ms, versus published times of 200.780–441.72 s with fewer outer iterations, corresponding to speedups of 847–1860×. These results require complete factorization and resolve accounting and reveal initialization and legacy-parameter effects. DC-initialized NR exhibits fast quadratic convergence throughout every tested solvable loading range, motivating clearer, reproducible definitions of ill-conditioned power-flow benchmarks.

Index Terms—Power flow, augmented system, sparse Jacobian, Levenberg–Marquardt method, quasi-definite matrix, QDLDL, trust region, continuation power flow.

I. INTRODUCTION

NEWTON–RAPHSON (NR) power flow is highly efficient within its convergence basin, but its behavior under poor initialization or near a singular Jacobian remains a persistent research topic. Iwamoto and Tamura introduced an optimal-multiplier treatment for ill-conditioned systems [1], while Tripathy et al. developed a Newton-like alternative [2]. Levenberg–Marquardt (LM) regularization [3], [4] has since been applied to power flow through damping, trust-region, and composite-step variants [5]–[8].

Three separate issues are often conflated in these investigations. The first is numerical initialization: a solution may exist, yet the flat-start voltage may lie outside the NR convergence basin. The second is existence: beyond a saddle-node bifurcation, the specified loading direction has no real power-flow solution. The third is near-singularity: the Jacobian becomes ill-conditioned near a fold, even when a solution remains reachable. Reliable attribution of convergence or failure requires comparisons that separate these conditions.

The implementation introduces a further confound. LM iterations form a damped least-squares system, and a single accepted outer step may require several trial factorizations. Outer-iteration counts therefore miss a substantial and highly variable fraction of the work. Moreover, explicitly forming J⊤JJ^{\top}J introduces a sparse matrix product, while conventional coordinate (COO) assembly and transpose operations add allocation, indirect addressing, and memory traffic. These overheads can obscure both the cost of the numerical method and the effect of the sparse factorization backend.

This paper extends our symbolic direct Jacobian construction [9], implemented in the open-source RustPower solver [10], to the augmented LM system. It combines direct sparse construction, a verified symmetric solver class, adaptive step initialization, and complete cost accounting.

The contributions are as follows.

  1. An augmented LM formulation with a verified solver class. We establish exact equivalence with the damped normal equations, derive the singular-value filtering limits, and prove quasi-definiteness and inertia for every positive damping value and every Jacobian. The analysis also gives the positive damping floor required by pivot-free LDL ⊤^{\top} factorization.

  2. Symbolic direct construction from YbusY_{bus}. Sorted admittance columns yield the reduced Jacobian pattern by prefix selection. Base addresses and segment lengths determine every output-column base, diagonal rank, and quadrant offset inside the fill loop. This integer address arithmetic replaces auxiliary offset tables, COO triplets, runtime sorting, and transpose scatter. A row-oriented upper-triangle path nearly halves stored augmented-matrix nonzeros.

  3. Controlled implementation comparisons. Assembly variants execute identical iterates, backend comparisons use identical augmented matrices, and robustness comparisons count every factorization and triangular resolve. Direct assembly achieves 7.5–11.9× speedups over the fastest COO path and 18.0–58.8× over cached normal-equation sparse-product formation. The respective end-to-end speedups are 1.15–1.43× and 1.28–3.57×. QDLDL reduces numerical refactorization plus triangular-solve time by up to 3.40× relative to KLU.

  4. Adaptive step initialization and reproducible evaluation. Our one-probe extension jointly initializes the trust-region radius and damping scale. It solves the flat-started RTE cases in 19–25 factorizations and is

T. Cheng is with RTDS Technologies Inc., Winnipeg, MB R3T 2E1, Canada, and V. Dinavahi is with the Department of Electrical and Computer Engineering, University of Alberta, Edmonton, AB T6G 2V4, Canada (e-mail: tcheng1@ualberta.ca; dinavahi@ualberta.ca).

7.5–11.6× faster than the reproduced three-step LM. Full accounting exposes nested work that outer-iteration counts miss. The case2383wp and RTE experiments separate initialization, existence, and near-singularity, providing concrete requirements for reproducible ill-conditioned power-flow benchmarks.

Section II defines the power-flow and LM equations. Section III develops the augmented quasi-definite system. Section IV derives the direct-fill construction. Section V specifies step control and experimental accounting, Section VI reports results, and Section VII discusses the appropriate role of LM power flow.