Nagendra Singh,
Sanjeev Kumar Verma,
- Assistant Professor, Department of Mechanical Engineering, Institute of Engineering and Technology, Dr. Bhimrao Ambedkar University, Swami Vivekanada Campus, Uttar Pradesh, India
- Assistant Professor, Department of Mechanical Engineering, Central Instrumentation Facility Research and Development Cell, Lovely Professional University, Punjab, India
Abstract
The growing adoption of renewable energy technologies poses challenges to energy supply stability, necessitating increased flexibility in energy demand. This paper introduces a Modelica-based Model Predictive Control (MPC) strategy aimed at keeping the supply water temperature within the range of 55°C to 75°C while minimizing energy consumption and electricity expenses throughout a year. A comprehensive, high-fidelity model representing a school building in Oslo, Norway, was developed using Modelica and exported as a Functional Mock-up Unit (FMU) to facilitate smooth integration with MATLAB/Simulink for real-time simulation and control implementation. The findings indicated that the Model Predictive Control (MPC) strategy resulted in annual electricity savings of 8.0 MWh (3.2%) and financial savings of 11,479 NOK (6.7%) compared to a Proportional-Integral (PI) controller. Additionally, it provided savings of 85.07 MWh (25.9%) and 46,967 NOK (22.8%) in comparison to a fixed rule-based baseline controller. With the increasing adoption of renewable energy technologies, the reliability of energy supply faces challenges, highlighting the need for enhanced flexibility in energy demand management. The results underscore the effectiveness of MPC as a dependable and cost-effective solution for managing thermal energy systems.
Keywords: DHW systems, functional mock-up unit, heat pump system, model predictive control, thermal tank
[This article belongs to Journal of Mechatronics and Automation ]
Nagendra Singh, Sanjeev Kumar Verma. An Overview Mechatronics Systems Design of Modelica-Based Model Predictive Control Strategies for CO₂ Heat Pump Systems. Journal of Mechatronics and Automation. 2026; 13(01):15-27.
Nagendra Singh, Sanjeev Kumar Verma. An Overview Mechatronics Systems Design of Modelica-Based Model Predictive Control Strategies for CO₂ Heat Pump Systems. Journal of Mechatronics and Automation. 2026; 13(01):15-27. Available from: https://journals.stmjournals.com/joma/article=2026/view=240376
References
- Reynders, R. Amaral Lopes, A. Marszal-Pomianowska, D. Aelenei, J. Martins, D. Saelens, Energy flexible buildings: an evaluation of definitions and quantification methodologies applied to thermal storage, Energy Build. 166 (2018) 372–390.
- Le Dr´eau, P. Heiselberg, Energy flexibility of residential buildings using short term heat storage in the thermal mass, Energy 111 (2016) 991–1002.
- Oldewurtel, A. Ulbig, A. Parisio, G. Andersson, M. Morari, Reducing peak electricity demand in building climate control using real-time pricing and model predictive control, in: 49th IEEE Conference on Decision and Control, CDC), 2010, pp. 1927 1932.
- Tian, X. Li, J. Niu, R. Zhou, F. Li, Enhancing operation flexibility of distributed energy systems: a flexible multi-objective optimization planning method considering long-term and temporary objectives, Energy 288 (2024) 129612.
- Arteconi, D. Costola, P. Hoes, J.L.M. Hensen, Analysis of control strategies for thermally activated building systems under demand side management mechanisms, Energy Build. 80 (2014) 384–393.
- Steinle, M. Zimmerlin, F. Mueller, L. Held, M.R. Suriyah, T. Leibfried, Time-dependent flexibility potential of heat pump systems for smart energy system operation, Energies 13 (2020) 4148.
- J. Hewitt, Heat pumps and energy storage – the challenges of implementation, Appl. Energy 89 (1) (2012) 37–44.
- Evens, A. Mugnini, A. Arteconi, Design energy flexibility characterisation of a heat pump and thermal energy storage in a comfort and climate box, Appl. Therm. Eng. 216 (2022) 119154.
- Marijanovic, P. Theile, B.H. Czock, Value of short-term heating system flexibility – a case study for residential heat pumps on the German intraday market, Energy 249 (2022) 123664.
- You, S.D. Lumpp, M. Doepfert, P. Tzscheutschler, C. Goebel, Leveraging flexibility of residential heat pumps through local energy markets, Appl. Energy 355 (2024) 122269.
- Baumann, P. Kepplinger, Application of a flexibility estimation method for domestic heat pumps with reduced system information and data, Clean. Energy Syst. 6 (2023) 100081.
- Kuboth, F. Heberle, T. Weith, M. Welzl, A. Konig-Haagen, ¨ D. Brüggemann, Experimental short-term investigation of model predictive heat pump control in residential buildings, Energy Build. 204 (2019) 109444.
- Kuboth, T. Weith, F. Heberle, M. Welzl, D. Brüggemann, Experimental long-term investigation of model predictive heat pump control in residential buildings with photovoltaic power generation, Energies 13 (2020) 3222.
- Baumann, G. Huber, J. Alavanja, M. Preißinger, P. Kepplinger, Experimental validation of a state-of-the-art model predictive control approach for demand side management with a hot water heat pump, Energy Build. 285 (2023) 112923.
- V.M. Walden, P. Stathopoulos, The impact of heat pump load flexibility on its process integration and economics, J. Clean. Prod. 462 (2024) 142643.
- Schellenberg, L. Dimache, J. Lohan, Grid-edge technology – exploring the flexibility potential of a heat pump and thermal energy storage system, E3S Web Conf. 111 (2019).
- V.M. Walden, M. B¨ ahr, A. Glade, J. Gollasch, A.P. Tran, T. Lorenz, Nonlinear operational optimization of an industrial power-to-heat system with a high temperature heat pump, a thermal energy storage and wind energy, Appl. Energy 344 (2023) 121247.
- Li, Z. Liu, Y. Zheng, H. Xie, L. Zhang, Economy and energy flexibility optimization of the photovoltaic heat pump system with thermal energy storage, J. Energy Storage 100 (2024) 113526.
- Gaucher-Loksts, A. Athienitis, M. Ouf, Design and energy flexibility analysis for building integrated photovoltaics-heat pump combinations in a house, Renew. Energy 195 (2022) 872–884.
- Wei, P.W. Tien, J. Calautit, J. Darkwa, M. Worall, R. Boukhanouf, Investigation of a model predictive control (MPC) strategy for seasonal thermochemical energy storage systems in district heating networks, Appl. Energy 376 (2024) 124164.
- Yue, B. Su, F. Xiao, A. Li, K. Li, S. Li, R. Yan, Q. Lian, A. Li, Y. Li, X. Fang, X. Liang, Energy-oriented control retrofit for existing HVAC system adopting datadriven MPC – methodology, implementation and field test, Energy Build. 295 (2023) 113286.
- Zhao, J. Li, Y. Shan, Research on a forecasted load-and time delay-based model predictive control (MPC) district energy system model, Energy Build. 231 (2021) 110631.
- Wang, L. Kong, C. Liu, G. Cai, MPC-based energy optimization and regulation for zero-carbon energy supply building, Int. J. Hydrogen Energy 82 (2024) 1196–1210.
- Fan, C. Peng, X. Wang, P. Wu, Y. Yang, H. Sun, Optimal scheduling of integrated energy system considering renewable energy uncertainties based on distributionally robust adaptive MPC, Renew. Energy 226 (2024) 120457.
- Qian, N. He, Z. Cheng, R. Li, L. Yang, Double-layer optimal scheduling method for solar photovoltaic thermal system based on event-triggered MPC considering battery performance degradation, Energy 304 (2024) 132233.
- Drgona, ˇ J. Arroyo, I. Cupeiro Figueroa, D. Blum, K. Arendt, D. Kim, E.P. Olle, ´ J. Oravec, M. Wetter, D.L. Vrabie, L. Helsen, All you need to know about model predictive control for buildings, Annu. Rev. Control 50 (2020) 190–232.
- Wetter, W. Zuo, T.S. Nouidui, X. Pang, Modelica buildings library, J. Build. Perform. Simul. 7 (4) (2014) 253–270.
- Baetens, R. De Coninck, F. Jorissen, D. Picard, L. Helsen, D. Saelens, Openideas-an open framework for integrated district energy simulations, in: Building Simulation, 2015, pp. 345–354.
- Kumar, A. Narasimhan, T. Rajendran, S. Velut, Digital Twin Applications Using a Cloud Native Modelica Platform, 2022.
- Delussu, D. Manzione, R. Meo, G. Ottino, M. Asare, Experiments and comparison of digital twinning of photovoltaic panels by machine learning models and a cyber-physical model in modelica, IEEE Trans. Ind. Inf. 18 (6) (2022) 4018–4028.
- O’Dwyer, I. Pan, R. Charlesworth, S. Butler, N. Shah, Integration of an energy management tool and digital twin for coordination and control of multi-vector smart energy systems, Sustain. Cities Soc. 62 (2020) 102412.
- Ates, D. Bicat, R. Yankov, J. Arweiler, R. Koch, H.-J. Bauer, Model predictive evolutionary temperature control via neural-network-based digital twins, Algorithms 16 (8) (2023) 387.
- Clausen, K. Arendt, A. Johansen, F.C. Sangogboye, M.B. Kjærgaard, C.T. Veje, B.N. Jørgensen, A digital twin framework for improving energy efficiency and occupant comfort in public and commercial buildings, Energy Inf. 4 (2) (2021) 40.
- Jorissen, G. Reynders, R. Baetens, D. Picard, D. Saelens, L. Helsen, Implementation and verification of the IDEAS building energy simulation library, J. Build. Perform. Simul. 11 (6) (2018) 669–688.
- Erfani, T. Jafarinejad, S. Roels, D. Saelens, Impact of dataset sampling period on building thermal models used for flexibility activation, Build. Environ. 262 (2024) 111775.

Journal of Mechatronics and Automation
| Volume | 13 |
| Issue | 01 |
| Received | 22/01/2026 |
| Accepted | 03/02/2026 |
| Published | 13/02/2026 |
| Publication Time | 22 Days |
Login
PlumX Metrics