Evaluation of reinforcement learning and model predictive control for apartment heating with heat pump and water storage tank

Read full text
Authors: Sami Tarvainen, Eero Hirvijoki, Timo Laukkanen
Cited by: 1
References: 15

Abstract

Optimising apartment heating systems is becoming increasingly crucial due to growing use of heat pumps and heat storages. This study compares reinforcement learning (RL) and model predictive control (MPC) to optimise and control a simulated apartment heating system. We explore various RL designs, including binary and continuous action spaces, different reward functions, and three storage sizes. We find that MPC outperforms RL when the optimisation period aligns with the actual problem. This is shown in the lower electricity costs of MPC compared to RL with small and base storage sizes. However, the two methods yielded similar electricity costs with the large storage size. We also find that the RL design significantly affects its performance and robustness. The RL model with binary actions and a reward function promoting the active use of storage and profit maximisation outperforms other RL configurations. In turn, a reward function representing the actual problem of cost minimisation was found to be ineffective for agent training. Future studies that compare the two methods for the optimisation of heating systems with long-term storage could focus on extending the prediction horizon or enhancing the terminal cost term in MPC. • Comparison of cost-driven control methods for apartment heating. • Model predictive control outperforms reinforcement learning in most studied cases. • RL performance is significantly affected by the action space and the reward function. • RL agents leverage long-term trends by learning from historical data.

Fields of Study & Subjects

Smart Grid Energy Management Building Energy and Comfort Optimization Integrated Energy Systems Optimization

Publication details

Journal / source
Journal of Energy Storage
Publisher
Elsevier BV
Volume
152
Pages
120509–120509
Publication date
24 January 2026
Language
EN