Efficient MPC-Based Energy Management System for Secure and Cost-Effective Microgrid Operations

Hanyang He, John Harlim, Daning Huang, Yan LiarXiv 2025 · DOI

Abstract

Modern microgrids face the challenge of balancing economic efficiency with strict operational security, especially when integrating volatile renewable energy sources. This paper presents an advanced Energy Management System (EMS) based on Model Predictive Control (MPC) that utilizes Second-Order Cone Programming (SOCP) for rapid, optimal power flow. By incorporating a novel empirical-dictionary forecasting method and demand response integration, the proposed system ensures grid stability and cost-effectiveness in real-time.

Introduction

As microgrids increasingly incorporate renewable energy like solar power, managing these systems becomes a complex balancing act. Traditional EMS often rely on simplified "single-bus" models that overlook physical grid realities, such as line power losses and voltage/current limits. While computationally simpler, these models can produce schedules that lead to outages or equipment damage. Conversely, realistic non-linear models introduce non-convex optimization problems that are too computationally intensive for real-time control. This research addresses this gap by developing an EMS that is physically accurate, economically optimal, and fast enough for practical deployment.

Methodology

The core of the system is an MPC-based EMS that employs several mathematical innovations to achieve high performance:

  • SOCP Branch Flow Relaxation: The complex, non-linear power flow equations are converted into a Second-Order Cone Program (SOCP). For radial microgrid structures, this relaxation provides globally optimal solutions with the speed of convex optimization.
  • Empirical-Dictionary-Assisted KRR: To address solar power volatility, the authors enhanced standard Kernel Ridge Regression (KRR) with a "dictionary" of historical solar profiles, guiding forecasts toward realistic shapes rather than simple averages.
  • Demand Response (DR) Integration: A control-affine load forecasting component allows the EMS to adjust flexible loads via incentive pricing, effectively shaving peak demand.
  • Conic Formulation: The entire MPC problem is structured in a standard conic form, enabling the use of efficient interior-point solvers.
Overview of the Efficient MPC-based EMS algorithm architecture, illustrating the predictive trajectory and solver integration.

Experimental Setup

The proposed system was validated using three benchmark microgrid topologies: a small-scale 10-bus system, a CIRED 18-bus low-voltage distribution benchmark, and a larger IEEE 33-bus distribution network. Real-world data was utilized for solar profiles (SKIPP’D dataset) and load profiles (Open Energy Data Initiative).

Key Results and Discussion

The SOCP-MPC method demonstrated significant improvements in both security and efficiency:

  • Grid Safety: Unlike traditional linear models, the proposed method successfully maintained all voltages and currents within safe operational limits across all test cases.
  • Cost Efficiency: In the 18-bus test case, the system reduced total operating costs to $748.14, compared to $856.59 for a standard day-ahead linear approach—a significant saving driven by better loss management and demand response.
  • Computational Speed: Decision times were remarkably low, with the 18-bus system requiring only 0.81 seconds per step, making it highly practical for real-time use.
  • Scalability: The method scales sub-quadratically with network size, proving its suitability for larger microgrids than traditional non-linear MPC methods.
Voltage magnitude profiles across different scenarios, highlighting the system's ability to maintain grid security within defined limits (dashed lines).

Conclusion

This research provides a robust framework for microgrid energy management that does not sacrifice physical security for economic gain. By combining SOCP relaxation with receding horizon control, the system effectively manages the uncertainty of renewable generation. While currently optimized for radial topologies, the system's speed and accuracy represent a significant step forward for real-time grid control. Future work will explore applications in islanded operations and more complex grid architectures.

Summary updated

BibTeX
@misc{he2025efficient,
  author = {Hanyang He and John Harlim and Daning Huang and Yan Li},
  title = {{Efficient MPC-Based Energy Management System for Secure and Cost-Effective Microgrid Operations}},
  year = {2025},
  eprint = {2510.03241},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03241},
}
Figure