Real-World Model Predictive Control for Home Battery Systems: Towards Closing the Simulation-to-Reality Gap
Lukas Moosbrugger, Valentin Seiler, Philipp Wohlgenannt, Peter Kepplinger, Sashko Ristov
Key points
From the paper's conclusion- We further identify controller-induced oscillations around zero grid power as a previously underreported source of economic loss in deployed MPC systems.
Abstract
The growing share of residential photovoltaic systems is leading to increasing periods of surplus solar generation in the grid and calls for prosumers to shift feed-in and maximize local energy self-consumption. This requires advanced battery management strategies, for which Model Predictive Control (MPC) has proven to be a reliable and effective solution. However, current research largely relies on simulation, with few demonstrated real-world MPC deployments, leaving the simulation-to-reality gap insufficiently addressed. Therefore, this study incrementally enhances simulation details and benchmarks against real-world performance. Beyond quantifying the simulation-to-reality gap, this work identifies its underlying causes and evaluates how incremental modeling refinements reduce it in real-world deployment. Starting from a simplified mixed-integer linear programming (MILP) formulation, we observe that this model significantly overestimates economic potential—by approximately 30% over the tested seven-day period. By contrast, a more detailed Python-based simulation incorporating additional system dynamics and constraints reduces this discrepancy, yielding an economic simulation-to-reality gap of 10%. Our analysis identifies forecast errors as the primary driver of performance loss and demonstrates how a two-stage control strategy can mitigate their impact. We further identify controller-induced oscillations around zero grid power as a previously underreported source of economic loss in deployed MPC systems. This effect reveals additional optimization potential. By combining real-world validation with systematic analysis, this work provides actionable insights and a reproducible framework for bridging the simulation-to-reality gap in MPC-based residential energy systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Forecast-Informed Shrinking-Tube Model Predictive Control for PV-Battery Building Energy ManagementApplied Sciences · 2026
- Learning control policies from heterogeneous multi-horizon time series in battery energy management systemsApplied Energy · 2026
- Digital-Twin Attention-Augmented Adaptive Model Predictive Control for Degradation-Aware Residential Battery Energy ManagementBatteries · 2026
- Measured-PV Converter-Loss-Aware Model Predictive Smart Charging and Vehicle-to-Grid Control for Electric Vehicle Fleets Under Forecast UncertaintyVehicles · 2026
- Comparative Evaluation of MILP, MPC, and Reinforcement Learning for Commercial Battery Dispatch Under Time-of-Use TariffsarXiv · 2026
- Hierarchical Control via MPC-RL for Multi-Timescale Battery SystemsarXiv · 2026