Numerical Performance of Different Formulations for Alternating Current Optimal Power Flow

Sayed Abdullah Sadat, Kibaek Kim

TL;DR

Solving the Alternating Current Optimal Power Flow (ACOPF) problem is essential for efficient power grid operation, but its non-convex nature makes it computationally grueling. This paper demonstrates that the mathematical formulation of the problem is just as critical as the solver used, finding that "least sparse" nodal injection models using polar voltages consistently outperform more complex, sparser alternatives in large-scale real-world networks.

What Problem Does This Paper Address?

The power grid must constantly balance supply and demand while minimizing costs and staying within physical limits. This is the Optimal Power Flow (OPF) problem. While many operators use a simplified linear version (DCOPF), it ignores reactive power and voltage magnitudes, leading to suboptimal and potentially risky grid management.

The full version, ACOPF, is more accurate but is "NP-hard"—meaning it is incredibly difficult to solve quickly for large grids. Researchers have developed many algorithms to solve it, but they often overlook how the structure of the equations (the formulation) affects the solver's speed and reliability. This paper fills that gap by benchmarking different ways to write the ACOPF equations to see which ones play best with modern optimization software.

Methods

The authors compared nine different ACOPF formulations, categorized into two main families:

  1. Branch Flow Models: These explicitly represent power or current flow on every transmission line as variables.
  2. Nodal Injection Models: These focus on the power entering or leaving each "bus" (node) in the network.

Within these families, they tested different ways to represent voltage (Polar vs. Rectangular coordinates) and a "W-model" that attempts to simplify nonlinearities by introducing auxiliary variables.

The researchers used IPOPT, a popular Interior Point Method (IPM) solver, and tested it against six different linear solvers (like MUMPS and MA57). Crucially, they also tested the impact of box constraints—extra, technically redundant bounds on variables like voltage and flow—to see if they helped the solver converge faster by better defining the "feasible region."

Datasets

The study used a wide range of standardized test cases representing power grids of increasing complexity:

  • Small to Medium: 500-bus and 793-bus systems.
  • Large-Scale: Systems ranging up to 9,591 buses (Network_12R-030). These datasets are part of the PGLib-OPF benchmarks, which are designed to reflect real-world transmission network challenges.

Key Insights and Ideas

  • Density over Sparsity: In many optimization problems, "sparse" models (those with many zeros in their matrices) are faster. Surprisingly, the authors found that the least sparse formulations—specifically Nodal Injection Polar Admittance (NIPAPV)—yielded the best computational results.
  • The "W-Model" Struggle: While the W-model is designed to make the problem more linear, it failed in IPOPT due to "too few degrees of freedom," suggesting it may not be suitable for standard interior point methods without modification.
  • Box Constraints are "Training Wheels" for Solvers: Adding redundant box constraints significantly improved performance for certain models (like the current-based flow models). For some formulations, adding these constraints halved the number of iterations required to find a solution.
  • Formulation-Solver Synergy: The choice of linear solver (the engine under the hood of IPOPT) matters differently depending on the formulation. For example, MA57 and MA97 were often top performers, but their lead varied based on how the grid equations were written.

Key Results

  • Top Performers: The NIPAPV (Nodal Injection Polar) and NIRAPV (Nodal Injection Rectangular) formulations were consistently the fastest and most scalable across all large-test cases.
  • Speedups: By enforcing box constraints, the computation time for the BCFW (Branch Current Flow W-model) and NIRARV formulations was significantly reduced.
  • Scalability: The nodal injection polar models showed the most stable performance as the network size grew from 500 to nearly 10,000 buses, making them the "best in class" for real-world utility applications.

Limitations and Future Work

  • Algorithm Specificity: This study focused exclusively on Interior Point Methods (IPMs). The authors note that different algorithms, such as Sequential Linear Programming (SLP) or ADMM (Alternating Direction Method of Multipliers), might favor different formulations.
  • Single-Core Limitation: The linear solvers were limited to a single CPU core. In a production environment, multi-core parallelization might shift the performance benefits of certain formulations.
  • Future Directions: The authors suggest investigating how these formulations perform with other emerging optimization algorithms and exploring more deeply why certain "redundant" constraints provide such a significant boost to convergence speed.

Summary updated

BibTeX
@misc{sadat2021numerical,
  author = {Sayed Abdullah Sadat and Kibaek Kim},
  title = {{Numerical Performance of Different Formulations for Alternating Current Optimal Power Flow}},
  year = {2021},
  doi = {10.36227/techrxiv.16578962},
}
Figure