Distributed AC Optimal Power Flow: A Scalable Solution for Large-Scale Problems

Yuning Jiang, Xinliang Dai, Yuning Jiang 0002, Yi Guo, Colin N. Jones, Moritz Diehl, Veit HagenmeyerarXiv 2025 · DOI

Introduction

AC Optimal Power Flow (OPF) is a fundamental, NP-hard optimization problem essential for routing electricity efficiently and safely through power grids. Traditionally, grid operators have relied on centralized solvers. However, the modern energy transition—characterized by millions of Distributed Energy Resources (DERs) like solar panels and electric vehicles—is pushing centralized systems to their limits. These systems face massive computational bottlenecks, require heavy communication infrastructure, and pose significant privacy and cybersecurity risks as single points of failure.

Distributed optimization offers a promising alternative by allowing different grid regions to solve local problems and coordinate at their boundaries. Yet, existing methods have struggled with either slow convergence (like ADMM) or poor scalability when managing thousands of inequality constraints (like standard ALADIN). This paper introduces Barrier ALADIN (BALADIN), a framework designed to overcome these hurdles.

The BALADIN Framework

The proposed BALADIN framework utilizes a novel two-level distributed optimization approach to ensure scalability and speed:

  1. Upper Level (Barrier Method): Instead of traditional active-set methods, BALADIN employs interior-point barrier methods. This smooths inequality constraints into equality constraints, sidestepping the combinatorial explosion that typically bottlenecks second-order distributed solvers.
  2. Lower Level (ALADIN with Schur Complement): Local agents solve their own OPF problems and use the Schur complement to condense their second-order derivative matrices (Hessians) before communicating with a central coordinator. This condensation reduces bandwidth requirements and inherently masks local network topologies, enhancing privacy.
Figure 1: Graph decomposition and the distributed optimization architecture where local agents coordinate through a central entity.

To ensure balanced workloads, the grid is partitioned using the KaFFPa algorithm, which minimizes the number of shared transmission lines between regions. Additionally, a novel distributed inertia correction algorithm maintains mathematical stability during the coordination phase.

Performance and Scalability

The framework was evaluated against standard PGLib-OPF benchmarks and ultra-large test cases, including grids with up to 434,000 buses. As shown in the comparison below, BALADIN (This work) significantly outperforms previous distributed and centralized approaches in terms of scale and speed.

Figure 2: Comparison of distributed OPF algorithms. BALADIN demonstrates superior scalability (up to 10^5 buses) and speed compared to ADMM and standard ALADIN variants.

Key Results

  • Speedup: BALADIN is 2 to 5 times faster than the industry-standard centralized solver, IPOPT, on a 48-core workstation.
  • Initialization: Distributed automatic differentiation allows for initialization that is at least 16x faster than centralized methods in 90% of cases.
  • Robustness: In heavily loaded scenarios where centralized solvers often fail to converge (e.g., the 78k-bus system), BALADIN successfully finds accurate solutions with minimal optimality gaps ($10^{-5}$ to $10^{-7}$).
  • Communication Efficiency: By using condensed matrices, the communication payload remains manageable even for massive networks, matching the efficiency of first-order methods while retaining second-order convergence speeds.

Conclusion

BALADIN represents a significant step forward in making distributed AC OPF viable for real-world, large-scale power systems. By combining the smoothing properties of barrier methods with the fast convergence of ALADIN, the framework provides a resilient, private, and highly scalable solution. Future work will focus on refining globalization routines, exploring asynchronous execution to further reduce wait times, and releasing an open-source toolbox for the research community.

Summary updated

BibTeX
@misc{jiang2025distributed,
  author = {Yuning Jiang and Xinliang Dai and Yuning Jiang and Yi Guo and Colin N. Jones and Moritz Diehl and Veit Hagenmeyer},
  title = {{Distributed AC Optimal Power Flow: A Scalable Solution for Large-Scale Problems}},
  year = {2025},
  eprint = {2503.24086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.24086},
}
Figure