Hypergraph- Based Fast Distributed AC Power Flow Optimization

Yuning Jiang, Xinliang Dai, Yingzhao Lian, Yuning Jiang 0002, Colin N. Jones, Veit Hagenmeyer

Abstract

This paper presents a novel distributed approach for solving AC power flow (PF) problems. The optimization problem is reformulated into a distributed form using a communication structure corresponding to a hypergraph, by which complex relationships between subgrids can be expressed as hyperedges. Then, a hypergraph-based distributed sequential quadratic programming (HDQ) approach is proposed to handle the reformulated problems, and the hypergraph-based distributed sequential quadratic programming (HDSQP) is used as the inner algorithm to solve the corresponding QP subproblems, which are respectively condensed using Schur complements with respect to coupling variables defined by hyperedges. Furthermore, we rigorously establish the convergence guarantee of the proposed algorithm with a locally quadratic rate and the one-step convergence of the inner algorithm when using the Levenberg-Marquardt regularization. Our analysis also demonstrates that the computational complexity of the proposed algorithm is much lower than the state-of-art distributed algorithm. We implement the proposed algorithm in an open-source toolbox, i.e., rapidPF, and conduct numerical tests that validate the proof and demonstrate the great potential of the proposed distributed algorithm in terms of communication effort and computational speed.

Introduction

The AC Power Flow (PF) problem is the cornerstone of power system analysis, essential for daily operations and long-term grid planning. However, it is mathematically non-convex and NP-hard, traditionally requiring centralized solution methods. In modern power grids—such as Germany’s, which comprises four Transmission System Operators (TSOs) and over 900 Distribution System Operators (DSOs)—centralized control is often impossible due to regulatory barriers preventing the sharing of detailed internal grid models.

Existing distributed methods like ADMM or ALADIN (Augmented Lagrangian based Alternating Direction Inexact Newton) attempt to solve this by partitioning the grid into regions. However, these methods often struggle with slow convergence, high communication requirements, or a lack of rigorous convergence guarantees for non-convex AC models.

Hypergraph-Based Modeling

To overcome these limitations, the researchers propose a hypergraph-based reformulation. Unlike standard graphs where an edge connects exactly two nodes, hypergraphs use "hyperedges" to connect multiple regions meeting at a single bus. This provides a more physical and accurate representation of the complex coupling found in modern power grids.

Regional decomposition of a power grid into sub-regions R1 and R2.

By modeling these connections as hyperedges, the global problem can be decomposed into local subproblems. This process involves defining "core" and "copy" variables at coupling buses, allowing regions to solve their local equations in parallel while maintaining global consistency through coordination.

Hypergraph representation (b) and the resulting decoupled regions (c, d) showing core and copy variable assignments.

The HDSQP and HDQ Algorithms

The proposed approach utilizes a two-tier optimization structure:

  1. HDSQP (Outer Loop): The Hypergraph-based Distributed Sequential Quadratic Programming algorithm reformulates the AC PF as a zero-residual least-squares problem. It applies Levenberg-Marquardt regularization to ensure strong convexity and a locally quadratic convergence rate.
  2. HDQ (Inner Loop): The Hypergraph-based Distributed Quadratic algorithm solves the quadratic subproblems generated by the outer loop.

To minimize data exchange, the method employs Schur complement condensation. This allows each region to "condense" its local subproblem, focusing communication only on the variables that couple different regions together. This significantly reduces the communication overhead compared to methods that exchange full state vectors.

Key Insights: The "One-Step" Convergence

A major breakthrough of this work is the "one-step" convergence property of the inner HDQ algorithm. When the subproblem is convex, the inner loop can reach a global minimizer in just one iteration. This drastically reduces the number of communication rounds required per outer iteration, addressing a common bottleneck in distributed optimization.

Furthermore, the computational complexity of HDSQP scales with the number of coupling variables ($n_{cpl}^3$), whereas previous state-of-the-art methods like ALADIN scale with the total number of state variables ($n_{state}^3$). Since $n_{state}$ is typically much larger than $n_{cpl}$ in real power systems, HDSQP is inherently more scalable for massive grid models.

Key Results and Performance

The algorithm was implemented in an open-source MATLAB toolbox called rapidPF and evaluated against IEEE standard test systems (53-bus, 418-bus, and 1180-bus cases). Compared to the Gauss-Newton variant of ALADIN, HDSQP demonstrated:

  • 30% to 50% reduction in total computing time across all test cases.
  • Lower communication effort per iteration due to the one-step inner loop convergence.
  • Locally quadratic convergence, meaning the algorithm closes the remaining gap to the solution extremely quickly once it enters the neighborhood of the optimizer.

Conclusion and Future Work

HDSQP offers a high-speed, communication-efficient alternative for distributed AC power flow optimization. While the method is highly effective, future work will focus on improving numerical robustness near the exact optimizer and developing auto-tuning mechanisms for the regularization parameters to ensure stability in continental-scale grid models.

Summary updated

BibTeX
@inproceedings{jiang2023hypergraph,
  author = {Yuning Jiang and Xinliang Dai and Yingzhao Lian and Yuning Jiang and Colin N. Jones and Veit Hagenmeyer},
  title = {{Hypergraph- Based Fast Distributed AC Power Flow Optimization}},
  booktitle = {CDC},
  year = {2023},
}
Figure