This repository contains two complementary projects:
-
Web-based simulation tool – An easy-to-use simulation for evaluating whether investing in a home battery energy storage system (BESS) is economically beneficial for a household with photovoltaic (PV) generation. Try the online dashboard at https://homebattery.labs.fhv.at/.
-
Real-world Model Predictive Control (MPC) – An MPC framework for residential battery energy storage systems that optimizes battery operation using mixed-integer linear programming (MILP). The controller leverages real-time electricity prices and weather-based net load forecasting to minimize operating costs.
A detailed description of the real-world MPC implementation and an extensive evaluation can be found in our paper (soon available on arXiv):
If you use this repository in your research, please cite:
@article{moosbrugger2026real,
title={Real-World Model Predictive Control for Home Battery Systems: Towards Closing the Simulation-to-Reality Gap},
author={Moosbrugger, Lukas and Seiler, Valentin and Wohlgenannt, Philipp and Ristov, Sashko and Kepplinger, Peter},
journal={arXiv preprint},
year={2026},
doi={10.48550/arXiv.XXX}
}
This work was financially supported by the Austrian Research Promotion Agency (FFG) through the Hub4FlECs project (COIN FFG 898053). We gratefully acknowledge the FFG for funding the development of the software presented in this repository.
Project page: https://projekte.ffg.at/projekt/4597880
This project is licensed under the terms of the LICENSE file.