NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A GPU-Accelerated Distributed Algorithm for Optimal Power Flow in Distribution Systems

Minseok Ryu, Geunyeong Byeon, Kibaek Kim · DOI

Introduction

As modern power grids increasingly integrate distributed energy resources (DERs) such as solar photovoltaics, battery storage, and electric vehicles, the complexity of grid management has escalated significantly. Optimal Power Flow (OPF) is the fundamental mathematical tool used to determine the most efficient operating points for these resources while ensuring the system remains within physical and operational limits. However, as the number of controllable devices grows into the thousands, traditional centralized OPF methods struggle to scale, leading researchers to explore distributed optimization.

The Computational Bottleneck in Distributed OPF

Distributed OPF decomposes the grid into smaller subproblems, allowing different components to solve their own local optimization tasks and communicate iteratively to reach a global consensus. While this approach offers benefits in terms of privacy and modularity, it is historically plagued by high computational latency.

In standard implementations of the Alternating Direction Method of Multipliers (ADMM), every individual component—such as a transformer or a generator—must solve a complex quadratic program at every iteration. When scaled to large distribution networks, the overhead of calling these external optimization solvers (like OSQP or Ipopt) thousands of times per second creates a massive bottleneck, making real-time grid management nearly impossible.

A "Solver-Free" GPU-Accelerated Approach

To address these limitations, this research introduces a novel distributed algorithm that replaces traditional optimization solvers with high-speed matrix operations executed on Graphics Processing Units (GPUs). The methodology rests on three core innovations:

  1. Component-wise Decomposition: The grid is decomposed to the finest possible granularity, treating individual buses, lines, and generators as independent agents. This fine-grained approach ensures the system is highly adaptable to changes in grid topology.
  2. The "Solver-Free" Reformulation: The researchers identified that the primary slowdown in ADMM iterations stems from handling inequality constraints (such as voltage bounds) within the local subproblems. By strategically segregating these inequality constraints and moving them to the "global" update step, the local subproblems are reduced to simple linear equations.
  3. Massive Parallelism via CUDA: By transforming optimization subproblems into closed-form matrix algebra, the algorithm can be executed natively on GPU threads. Using Julia and the CUDA.jl package, the researchers offloaded these matrix multiplications and additions to thousands of GPU cores, eliminating the need for heavy external solvers entirely.

Experimental Validation

The algorithm was benchmarked using standard IEEE test systems, ranging from the small IEEE 13-bus feeder to the massive IEEE 8500-bus system, which represents a complex, real-world distribution network.

Key Results and Performance

  • Significant Speedups: On the 8500-bus system, the GPU-accelerated approach achieved a 50x speedup compared to a traditional implementation running on 16 high-end CPUs.
  • Wall-Clock Efficiency: The proposed method reached a solution for the 8500-bus system in approximately 668 seconds, whereas the CPU-based benchmark required over 44,000 seconds (more than 12 hours).
  • Scalability and Communication: The study found that as the grid grows, the individual subproblems actually become simpler, making them even more suitable for parallelization. Interestingly, the researchers noted that a single powerful GPU often outperformed multi-GPU clusters for these tasks, as the communication overhead between GPUs (via MPI) can outweigh the gains in raw processing power.
  • Numerical Accuracy: Despite the shift to a "solver-free" architecture, the algorithm maintained consistent convergence. The primal and dual residuals—metrics of solution accuracy—tracked closely with traditional CPU-based methods.

Conclusion and Future Directions

This research demonstrates that by reformulating optimization problems to speak the "native language" of GPUs—matrix operations—it is possible to achieve the speeds necessary for real-time management of massive, modern power grids.

While the current model utilizes a linearized version of OPF, future work aims to extend this framework to capture the full non-linear "AC" physics of the grid through convex relaxations. Additionally, the researchers plan to integrate differential privacy techniques to protect sensitive user data during the distributed calculation process, further paving the way for secure, decentralized grid control.

Summary updated

BibTeX
@inproceedings{ryu2025gpu,
  author = {Minseok Ryu and Geunyeong Byeon and Kibaek Kim},
  title = {{A GPU-Accelerated Distributed Algorithm for Optimal Power Flow in Distribution Systems}},
  booktitle = {IPDPS},
  year = {2025},
  doi = {10.1109/ipdps64566.2025.00068},
}
Figure