Hierarchical Predictive Control Algorithms for Optimal Design and Operation of Microgrids

Sai Krishna Kanth Hari, Kaarthik Sundar, Harsha Nagarajan, Russell Bent, Scott BackhausarXiv 2018

Abstract

Microgrids are critical for community resilience, yet their design and operation present a formidable mixed-integer nonlinear optimization challenge. This paper proposes a scalable, hierarchical Model Predictive Control (MPC) framework that integrates high-fidelity physics with a novel iterative algorithm. By utilizing dual variables from a long-horizon relaxation to provide "foresight," the approach achieves solutions within 5% of global optimality. The framework significantly outperforms standard receding horizon heuristics, particularly in preventing load shedding during peak demand periods.

Introduction

The deployment of microgrids—localized energy systems capable of autonomous operation—is a key strategy for enhancing grid resilience against extreme weather events. However, planning these systems involves a complex "design and operation" problem (MDOP). Planners must simultaneously decide on discrete infrastructure investments (e.g., where to place batteries and generators) and continuous operational strategies over long time horizons (months or years).

Existing methodologies often struggle with this complexity. Simplified models frequently ignore essential AC power flow physics, while standard Receding Horizon (RH) control methods are often "short-sighted," failing to account for long-term energy fluctuations and leading to premature battery depletion or unnecessary load shedding.

Methodology

The authors address the MDOP through a two-pronged approach: a high-fidelity mathematical model and a hierarchical decomposition algorithm.

High-Fidelity MIQCQP Model

The problem is formulated as a Mixed-Integer Quadratically-Constrained Quadratic Program (MIQCQP). This model incorporates "LinDistFlow" approximations for AC power flow, battery state-of-charge dynamics, and generator unit commitment.

A key innovation is the convex relaxation for battery efficiency. Traditional models use complex binary variables to manage the logic of charging versus discharging losses. The authors introduce a mathematical relaxation that remains "tight" in practice while being computationally efficient.

Convex relaxation of battery charging and discharging efficiency.

Hierarchical MPC Algorithm

To manage long time horizons (e.g., 14 days at 15-minute intervals), the MDOP is decomposed into smaller time stages. Unlike standard RH control, this hierarchical algorithm utilizes dual information (shadow prices) derived from a coarse, long-horizon continuous relaxation of the global problem. These dual variables serve as "cost-to-go" indicators, informing the local controller of the future value of stored energy.

Experimental Setup

The framework was evaluated using the IEEE 13-node radial distribution test feeder, modified to include various build options for diesel generators and batteries.

Modified IEEE 13-node test feeder showing potential locations for diesel generators and batteries.

Real-world load profiles from the Kit Carson Electric Cooperative were used to simulate realistic demand fluctuations over 3, 7, and 14-day horizons.

Results and Discussion

The hierarchical MPC approach demonstrated significant improvements over baseline methods across several metrics:

  • Optimality Gap: The algorithm consistently identified solutions within 3.17% to 4.64% of the theoretical lower bound, proving its effectiveness in finding near-optimal designs.
  • Operational Reliability: While standard RH methods resulted in up to 2.77 MW of load shedding due to "short-sighted" energy management, the proposed hierarchical MPC achieved zero load shedding by maintaining higher battery states-of-charge in anticipation of future peaks.
  • Computational Scalability: The decomposition strategy allowed the algorithm to handle horizons of up to 1,344 time points with practical iteration times, making it suitable for real-world planning.

The "foresight" provided by dual variables is the primary driver of these results. By recognizing the future value of energy, the controller avoids the "panic" responses typical of standard MPC when faced with unexpected long-term demand.

Conclusion and Future Work

This research provides a robust framework for the long-term planning of resilient microgrids. By combining convex relaxation techniques with hierarchical decomposition, the authors bridge the gap between high-fidelity modeling and computational tractability.

Future work will focus on incorporating stochastic variables to account for the uncertainty of renewable energy sources, integrating "N-1 security" constraints for grid stability, and modeling battery degradation to better reflect long-term investment costs.

Summary updated

BibTeX
@misc{hari2018hierarchical,
  author = {Sai Krishna Kanth Hari and Kaarthik Sundar and Harsha Nagarajan and Russell Bent and Scott Backhaus},
  title = {{Hierarchical Predictive Control Algorithms for Optimal Design and Operation of Microgrids}},
  year = {2018},
  eprint = {1803.06705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.06705},
}
Figure