Dynamic Optimal Power Flow in Microgrids using the Alternating Direction Method of Multipliers

Paul Scott, Sylvie ThiébauxarXiv 2014

Abstract

As power grids transition from centralized architectures to decentralized networks of distributed energy resources (DERs), traditional management systems face significant challenges in scalability, privacy, and physical complexity. This paper presents a decentralized approach to Dynamic Optimal Power Flow (D-OPF) using the Alternating Direction Method of Multipliers (ADMM). By decomposing the network into independent components and buses, the authors address the non-convexity of AC power flow and the discrete nature of household appliance scheduling. Their two-stage "Relax and Price" mechanism achieves near-optimal results within 1% of the theoretical bound, demonstrating the feasibility of real-time, privacy-preserving grid control.

Introduction

Traditional power grid management relies on centralized solvers that optimize the entire system at once. However, the rise of microgrids—containing thousands of smart devices, electric vehicles, and solar panels—renders centralization increasingly impractical. Three primary hurdles exist: scalability (solving for millions of devices), privacy (homeowners' reluctance to share granular usage data), and complexity (the non-linear physics of AC power flow and the discrete "on/off" nature of appliances).

Existing distributed methods often simplify these problems by using linear DC models or ignoring discrete variables. This research bridges the gap by extending the ADMM optimization framework to handle realistic, non-convex AC power flow models and discrete household decisions in a microgrid environment.

Methodology

The researchers utilize ADMM, a mathematical technique that decomposes a large optimization problem into smaller, parallelizable sub-problems.

Network Decomposition

The network is split into "Buses" and "Components" (such as lines, generators, and loads). Each component solves its own local optimization and then "negotiates" with its connected buses via dual variables, which effectively act as local prices. This structure ensures that sensitive household data remains local while allowing the grid to reach a global consensus on power flow.

Figure 1: Mapping of physical power system components to the ADMM decomposition model.

Two-Stage "Relax and Price" (RP)

To handle discrete decisions—like whether a dishwasher is on or off—the authors propose a two-stage process:

  1. Negotiation Stage: The problem is solved by "relaxing" integer variables into continuous ones (e.g., allowing a device to be "partially" on) to find an initial price consensus.
  2. Local Decision Stage: Each household makes a final integer decision based on the negotiated prices, using a cost function that penalizes deviations from the negotiation phase.

Experimental Setup

The approach was evaluated using a modified 70-bus 11kV benchmark distribution network, representing a suburb-sized microgrid. The network was populated with 3,674 houses, each featuring uncontrollable background loads, shiftable appliances, and optional batteries or solar PV. Household load profiles were derived from real-world Autumn data from the ACT region in Australia. To test scalability, the authors also ran simulations on randomly generated networks ranging from 20 to 2,000 buses.

Key Results and Discussion

Viability of the AC Model

Despite the non-convex nature of AC power flow, which typically complicates global optimization, the ADMM approach consistently produced results within 1% of the theoretical lower bound. The study highlighted the risks of oversimplification: the popular "K model" was found to overestimate line losses by nearly 5%, while standard linear DC models converged poorly due to a lack of physical damping (line losses).

Figure 2: Convergence of residuals across different power flow models (AC, QC, DF, DC, K) over iterations.

Performance and Robustness

  • Speed: The parallel solve time for the AC model was approximately 148 seconds for a 24-hour horizon (using 15-minute steps). This performance is sufficient for "receding horizon control," where the grid re-optimizes every few minutes.
  • Warm Starting: Utilizing the solution from a previous time step as a starting point reduced the required iterations by up to 89%.
  • Uncertainty Management: The "Relax and Price" method successfully managed 20% fluctuations in solar output. By creating financial incentives for households to manage local uncertainty, the system maintained grid stability without requiring centralized intervention.

Conclusion

This work demonstrates that decentralized ADMM is a robust and efficient tool for managing microgrids. It successfully balances the complex physics of AC power flow with the practical constraints of household privacy and discrete device operation. Future research will address the impact of communication latency in truly parallelized hardware deployments and explore mechanisms to prevent participants from "gaming" the price negotiation phase.

Summary updated

BibTeX
@misc{scott2014dynamic,
  author = {Paul Scott and Sylvie Thiébaux},
  title = {{Dynamic Optimal Power Flow in Microgrids using the Alternating Direction Method of Multipliers}},
  year = {2014},
  eprint = {1410.7868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1410.7868},
}
Figure