Approximate Model Predictive Control for Microgrid Energy Management via Imitation Learning
Changrui Liu, Shengling Shi, Anil Alan, Ganesh Kumar Venayagamoorthy, Bart De Schutter
TL;DR
This work addresses real-time microgrid energy management under uncertainty by directly learning a policy that imitates mixed-integer EMPC. It proposes a novel imitation-learning framework that uses features capturing ESS state, previous generator outputs, and forecast-induced disturbances, along with noise injection to mitigate distribution shift. The method trains an MLP to map augmented state information to current control inputs, followed by projection to satisfy input constraints, achieving comparable economic performance to EMPC while reducing online computation to about 10% of solving the MIQP. The approach is demonstrated on a PV/WT and two-fuel-generator microgrid, highlighting practical viability for fast, robust real-time EMS in high-renewable settings.
Abstract
Efficient energy management is essential for reliable and sustainable microgrid operation amid increasing renewable integration. This paper proposes an imitation learning-based framework to approximate mixed-integer Economic Model Predictive Control (EMPC) for microgrid energy management. The proposed method trains a neural network to imitate expert EMPC control actions from offline trajectories, enabling fast, real-time decision making without solving optimization problems online. To enhance robustness and generalization, the learning process includes noise injection during training to mitigate distribution shift and explicitly incorporates forecast uncertainty in renewable generation and demand. Simulation results demonstrate that the learned policy achieves economic performance comparable to EMPC while only requiring $10\%$ of the computation time of optimization-based EMPC in practice.
