Decision-Focused Learning for Optimal Battery Scheduling Under Load and Photovoltaic Power Uncertainty in Microgrids
Marios Saleptsis, Antoine Lesage-Landry, Marco Mussetta, Sonia Leva
Abstract
The increasing penetration of renewable energy sources in microgrids demands accurate day-ahead forecasting to support optimal battery energy storage system (BESS) scheduling. Yet the conventional predict-then-optimize paradigm trains forecasters on statistical accuracy metrics that are agnostic to the asymmetric and time-varying cost impacts of forecast errors. This work proposes a decision-focused learning (DFL) framework that trains gated recurrent unit forecasters for both load demand and photovoltaic generation directly on the downstream operational cost of a two-stage energy management system, where day-ahead BESS commitments are fixed prior to real-time balancing. Gradients are backpropagated from the real-time operational cost through both optimization stages to the forecaster weights via implicit differentiation, enabling the forecasters to internalize the penalty structure of the scheduling problem. The framework is validated on the MG2Lab experimental microgrid testbed at Politecnico di Milano across two operational scenarios of increasing grid constraint and eight forecasting configurations comprising single-source and combined-forecaster settings. Results illustrate that the DFL-trained pipeline reduces operational cost by 3.78% under normal grid conditions and by 30.60% under grid-constrained conditions relative to the accuracy- optimized baseline, while nearly eliminating load shedding events. Notably, the DFL forecasters exhibit higher statistical errors than their accuracy-trained counterparts yet achieve consistently lower operational costs, confirming that forecast accuracy and decision quality do not share a monotonic relationship in constrained microgrid scheduling.
Create a lesson
Metadata
- Categories
- eess.SY, cs.SY
- Comments
- 20 pages, 13 figures, submitted to Sustainable Energy, Grids and Networks
Related papers
Optimization of a Hybrid Solar-Biogas-Battery Energy Storage Microgrid: A Case Study
Shared title terminologyeess.SYJohn Elomunait, Jesse Thornburg
Load-Following Dynamics of an SMR-Powered All-Electric Ship with Battery Energy Storage
Shared title terminologyeess.SYAli Mahboub Rad, Jie Zhang
Co-Optimization of Scheduling, Control, and Incentivization of Electric Vehicles for Improving Power System Stability
Shared title terminologyeess.SYAmit Kumer Podder, Tomonori Sadamoto, Aranya Chakrabortty
Data Center-Aware Load Pickup in Power System Restoration
Shared title terminologyeess.SYYousef Abudyak, Saleh Sadeghi Gougheri, Mohsen Alizadeh et al.
Loadability Assessment for Large-Load Integration: From Repeated Power Flow Tracing to Historical Trajectory Transfer
Shared title terminologyeess.SYYihan Huang, Yang Weng
Loop-OPF: Solver-Informed Learning for Optimal Power Flow with Inference-Time Topology Adaptivity
Shared title terminologyeess.SYMohamad Chehade, Hao Zhu