Research on Real-Time Control Strategy of Air-Conditioning Water System Based on Model Predictive Control
Abstract
1. Introduction
2. Methodology
2.1. Real-Time Online MPC Strategy
- (1)
- At each time step, online prediction of future output parameters is performed through real-time acquisition and analysis of system state variables. Based on the current system state, the future output trajectory is predicted over a defined prediction horizon.
- (2)
- A cost function incorporating key manipulated variables and time-step weights is formulated according to HVAC system dynamics. This enables rolling optimization to determine the optimal control sequence at each decision interval.
- (3)
- Model prediction errors are dynamically compensated by calculating the deviation between predicted values and actual measured outputs at each time step.
- (4)
- The control software autonomously interfaces with the HVAC system through the Niagara framework, completing state parameter acquisition and optimization within 1 s per cycle. Optimized control commands are then transmitted to actuators for system regulation. The overall operation flowchart is shown in Figure 2.
2.1.1. Prediction Model
2.1.2. Rolling Optimization Process
2.1.3. Feedback Correction
2.2. Evaluation Index
- (1)
- The Root Mean Square Error (RMSE) is mathematically defined as shown in Equation (2):
- (2)
- The Normalized Mean Bias Error (NMBE) is mathematically expressed as shown in Equation (3):
3. Case Study
3.1. Experimental System
3.2. Software Platform
3.3. Comparison Cases
4. Results
4.1. Prediction Models
4.2. Water Temperature Tracking Control Performance
4.2.1. Comparison Between Online MPC and PID
4.2.2. Comparison Between Real-Time MPC and Day-Ahead MPC
4.3. Cooling Capacity Control Performance
4.3.1. Comparison Between Online MPC and PID
4.3.2. Comparison Between Real-Time MPC and Day-Ahead MPC
4.4. Operational Energy Consumption
5. Discussion
6. Conclusions
- (1)
- Enhanced Control Precision: The real-time online MPC algorithm achieves 9.64% higher temperature tracking accuracy compared to PID control and 16.52% improvement over day-ahead MPC, demonstrating superior dynamic response to load fluctuations.
- (2)
- Energy Efficiency Optimization: The real-time online MPC algorithm optimizes cooling supply–demand matching, reducing energy consumption significantly. Compared to PID control, it achieves 6.24% savings in cooling energy and 14.5% savings in total system energy. Compared to day-ahead MPC, it also reduced cooling energy consumption by 1.24%.
- (3)
- Multi-timescale Control Advantages: The real-time online MPC algorithm can achieve hourly optimization parameter operation with a low overshoot in a short-term horizon, enabling real-time optimization control of the air-conditioning water system. It can also achieve optimal control of cooling capacity and energy consumption in the long-term horizon, providing theoretical guidance for the intelligent control of HVAC systems in actual buildings.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
MPC | Model predictive control |
PID | Proportional–Integral–Differential |
HVAC | Heating, ventilation, and air-conditioning |
ANN | Artificial Neural Networks |
PSO | Particle Swarm Optimization |
RMSE | Root Mean Square Error |
NMBE | Normalized Mean Bias Error |
References
- Xu, W.; Sun, D.; Dong, J.; Huang, S.; Yang, S. Technical Pathways of Dual Carbon Control in China’s Buildings Sector. Carbon Neutrality 2022, 1, 18. [Google Scholar] [CrossRef]
- Wang, Z.; Yang, J.; Li, G.; Wu, C.; Zhang, R.; Chen, Y. Development of Rooftop Photovoltaic Models to Support Urban Building Energy Modeling. Appl. Energy 2025, 378, 124811. [Google Scholar] [CrossRef]
- Ding, C.; Ke, J.; Levine, M.; Zhou, N. Potential of Artificial Intelligence in Reducing Energy and Carbon Emissions of Commercial Buildings at Scale. Nat. Commun. 2024, 15, 5916. [Google Scholar] [CrossRef]
- Behrooz, F.; Mariun, N.; Marhaban, M.H.; Mohd Radzi, M.A.; Ramli, A.R. Review of Control Techniques for HVAC Systems—Nonlinearity Approaches Based on Fuzzy Cognitive Maps. Energies 2018, 11, 495. [Google Scholar] [CrossRef]
- Taheri, S.; Hosseini, P.; Razban, A. Model Predictive Control of Heating, Ventilation, and Air Conditioning (HVAC) Systems: A State-of-the-Art Review. J. Build. Eng. 2022, 60, 105067. [Google Scholar] [CrossRef]
- Hazyuk, I.; Ghiaus, C.; Penhouet, D. Optimal Temperature Control of Intermittently Heated Buildings Using Model Predictive Control: Part I—Building Modeling. Build. Environ. 2012, 51, 379–387. [Google Scholar] [CrossRef]
- Lu, S.; Zhou, S.; Ding, Y.; Kim, M.K.; Yang, B.; Tian, Z.; Liu, J. Exploring the Comprehensive Integration of Artificial Intelligence in Optimizing HVAC System Operations: A Review and Future Outlook. Results Eng. 2025, 25, 103765. [Google Scholar] [CrossRef]
- Schierloh, R.M.; Bragagnolo, S.N.; Vega, J.R.; Vaschetti, J.C. Real-Time Predictive Management of a Multi-Unit HVAC System Based on Heuristic Optimization. A Health Center Case Study. Energy Build. 2023, 295, 113315. [Google Scholar] [CrossRef]
- Deng, Z.; Wang, X.; Dong, B. Quantum Computing for Future Real-Time Building HVAC Controls. Appl. Energy 2023, 334, 120621. [Google Scholar] [CrossRef]
- Zhao, D.; Watari, D.; Ozawa, Y.; Taniguchi, I.; Suzuki, T.; Shimoda, Y.; Onoye, T. Data-Driven Online Energy Management Framework for HVAC Systems: An Experimental Study. Appl. Energy 2023, 352, 121921. [Google Scholar] [CrossRef]
- Sha, X.; Ma, Z.; Sethuvenkatraman, S.; Li, W. Online Learning-Enhanced Data-Driven Model Predictive Control for Optimizing HVAC Energy Consumption, Indoor Air Quality and Thermal Comfort. Appl. Energy 2025, 383, 125341. [Google Scholar] [CrossRef]
- Choi, K.; Lee, D.; Park, S.; Joe, J. Infrared Signal-Based Implementation of Model-Based Predictive Control (MPC) for Cost Saving in a Campus Building. Energy 2024, 306, 132578. [Google Scholar] [CrossRef]
- Ding, Y.; Hu, L.; Wang, Q.; Bai, Y.; Tian, Z.; Yang, C. Model Predictive Control for Ice-Storage Air Conditioning Systems with Time Delay Compensation Integration. Energy 2025, 320, 135336. [Google Scholar] [CrossRef]
- Zhao, J.; Chen, Z.; Li, H.; Liu, D. A Model Predictive Control for a Multi-Chiller System in Data Center Considering Whole System Energy Conservation. Energy Build. 2024, 324, 114919. [Google Scholar] [CrossRef]
- Ra, S.J.; Kim, J.-H.; Park, C.S. Real-Time Model Predictive Cooling Control for an HVAC System in a Factory Building. Energy Build. 2023, 285, 112860. [Google Scholar] [CrossRef]
- Chen, Q.; Li, N. Model Predictive Control for Energy-Efficient Optimization of Radiant Ceiling Cooling Systems. Build. Environ. 2021, 205, 108272. [Google Scholar] [CrossRef]
- Zhu, Y.; Zhang, Q.; Huang, G.; Wang, J.; Zou, S. The Influence of Uncertainty Parameters on the Double-Layer Model Predictive Control Strategy for the Collaborative Operation of Chiller and Cold Storage Tank in Data Center. Energy 2024, 313, 133866. [Google Scholar] [CrossRef]
- Borja-Conde, J.A.; Nadales, J.M.; Ordonez, J.G.; Fele, F.; Limon, D. Efficient Management of HVAC Systems through Coordinated Operation of Parallel Chiller Units: An Economic Predictive Control Approach. Energy Build. 2024, 304, 113879. [Google Scholar] [CrossRef]
- Yue, B.; Su, B.; Xiao, F.; Li, A.; Li, K.; Li, S.; Yan, R.; Lian, Q.; Li, A.; Li, Y.; et al. Energy-Oriented Control Retrofit for Existing HVAC System Adopting Data-Driven MPC—Methodology, Implementation and Field Test. Energy Build. 2023, 295, 113286. [Google Scholar] [CrossRef]
- Kim, D.; Braun, J.E. MPC Solution for Optimal Load Shifting for Buildings with ON/OFF Staged Packaged Units: Experimental Demonstration, and Lessons Learned. Energy Build. 2022, 266, 112118. [Google Scholar] [CrossRef]
- Lee, D.; Ooka, R.; Ikeda, S.; Choi, W.; Kwak, Y. Model Predictive Control of Building Energy Systems with Thermal Energy Storage in Response to Occupancy Variations and Time-Variant Electricity Prices. Energy Build. 2020, 225, 110291. [Google Scholar] [CrossRef]
- Zheng, W.; Wang, D.; Wang, Z. Economic Model Predictive Control for Building HVAC System: A Comparative Analysis of Model-Based and Data-Driven Approaches Using the BOPTEST Framework. Appl. Energy 2024, 374, 123969. [Google Scholar] [CrossRef]
- Tang, L.; Xie, H.; Wang, Y.; Xu, Z. Deeply Flexible Commercial Building HVAC System Control: A Physics-Aware Deep Learning-Embedded MPC Approach. Appl. Energy 2025, 388, 125631. [Google Scholar] [CrossRef]
- Wang, R.; Lu, S.; Feng, W. A Novel Improved Model for Building Energy Consumption Prediction Based on Model Integration. Appl. Energy 2020, 262, 114561. [Google Scholar] [CrossRef]
- Ahmad, M.W.; Mourshed, M.; Rezgui, Y. Trees vs Neurons: Comparison between Random Forest and ANN for High-Resolution Prediction of Building Energy Consumption. Energy Build. 2017, 147, 77–89. [Google Scholar] [CrossRef]
- Zhao, J.; Liu, D.; Yuan, X.; Wang, P. Model Predictive Control for the Ice-Storage Air-Conditioning System Coupled with Multi-Objective Optimization. Appl. Therm. Eng. 2024, 243, 122595. [Google Scholar] [CrossRef]
- Zhao, J.; Li, Y.; Qin, Y.; Liu, D.; Wu, X.; Zhang, X.; Cheng, X.; Wu, Y. A Model Predictive Control Strategy of Global Optimal Dispatch for a Combined Solar and Air Source Heat Pump Heating System. Appl. Therm. Eng. 2025, 258, 124778. [Google Scholar] [CrossRef]
- Zhang, Q.; Tian, Z.; Lu, Y.; Niu, J.; Ye, C. Experimental Study on Performance Assessments of HVAC Cross-Domain Fault Diagnosis Methods Oriented to Incomplete Data Problems. Build. Environ. 2023, 236, 110264. [Google Scholar] [CrossRef]
- Tian, Z.; Song, W.; Lu, Y.; Lin, X.; Niu, J. Load Extraction from Actual Operation Data for Data-Driven Ultra-Short-Term Room Air-Conditioning Load Prediction. Energy Build. 2023, 296, 113348. [Google Scholar] [CrossRef]
- Taheri, S.; Amiri, A.J.; Razban, A. Real-World Implementation of a Cloud-Based MPC for HVAC Control in Educational Buildings. Energy Convers. Manag. 2024, 305, 118270. [Google Scholar] [CrossRef]
- Walnum, H.T.; Sartori, I.; Ward, P.; Gros, S. Demonstration of a Low-Cost Solution for Implementing MPC in Commercial Buildings with Legacy Equipment. Appl. Energy 2025, 380, 125012. [Google Scholar] [CrossRef]
- Wang, R.; Xin, X.; Liu, J.; Lu, S.; Sun, Y.; Zhao, W. Quantitative Method and Influencing Factors Analysis of Demand Response Performance of Air Conditioning Load with Rebound Effect. Build. Simul. 2025, 18, 295–320. [Google Scholar] [CrossRef]
- Zhai, X.; Lu, S.; He, Z.; Wu, W.; Zhang, H.; Feng, W. Analysis of Geo-Temperature Recovery Performance under Load Redistribution Operating Strategy of GSHP Coupled LHTES Device System. Energy Convers. Manag. 2024, 308, 118402. [Google Scholar] [CrossRef]
- Li, X.; Tian, Z.; Feng, W.; Zhen, C.; Lu, Y.; Niu, J. Stochastic Peak Shaving Scenario Generation for Grid-Friendly Building Energy System Design. Energy 2025, 324, 135925. [Google Scholar] [CrossRef]
Time | 9:00 | 10:00 | 11:00 | 12:00 | 13:00 | 14:00 | 15:00 | 16:00 | 17:00 |
---|---|---|---|---|---|---|---|---|---|
Simulated load 1 (kW) | 5 | 27 | 36 | 32 | 36 | 27 | 35 | 11 | - |
Simulated load 2 (kW) | 5 | 31 | 32 | 39 | 35 | 25 | 33 | 13 | - |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, D.; Zhao, J.; Wu, Y.; Tian, Z. Research on Real-Time Control Strategy of Air-Conditioning Water System Based on Model Predictive Control. Buildings 2025, 15, 1654. https://doi.org/10.3390/buildings15101654
Liu D, Zhao J, Wu Y, Tian Z. Research on Real-Time Control Strategy of Air-Conditioning Water System Based on Model Predictive Control. Buildings. 2025; 15(10):1654. https://doi.org/10.3390/buildings15101654
Chicago/Turabian StyleLiu, Dehan, Jing Zhao, Yibing Wu, and Zhe Tian. 2025. "Research on Real-Time Control Strategy of Air-Conditioning Water System Based on Model Predictive Control" Buildings 15, no. 10: 1654. https://doi.org/10.3390/buildings15101654
APA StyleLiu, D., Zhao, J., Wu, Y., & Tian, Z. (2025). Research on Real-Time Control Strategy of Air-Conditioning Water System Based on Model Predictive Control. Buildings, 15(10), 1654. https://doi.org/10.3390/buildings15101654