Data-driven pre-training framework for reinforcement learning of air-source heat pump (ASHP) systems based on historical data in office buildings: Field validation
{"title":"Data-driven pre-training framework for reinforcement learning of air-source heat pump (ASHP) systems based on historical data in office buildings: Field validation","authors":"Wenqi Zhang , Yong Yu , Zhongyuan Yuan , Peipei Tang , Bo Gao","doi":"10.1016/j.enbuild.2025.115436","DOIUrl":null,"url":null,"abstract":"<div><div>Reinforcement Learning (RL) has demonstrated potential for optimal control of Heating, Ventilation, and Air Conditioning (HVAC) systems. Current research on RL in HVAC systems control is limited to simulation studies, with few real-world deployments that have minimal focus on supply-side optimization, along with a reliance on building simulation tools for pre-training. This paper proposes a practical data-driven pre-training framework for Air-Source Heat Pump (ASHP) system. The framework integrates data-driven models based on real-world historical data for load forecasting, equipment energy consumption, and heat transfer. As a case study, two classic value-based reinforcement learning agents, Q-learning and Deep Q-Network (DQN), were selected to dynamically control the number and frequency of pumps and the supply water temperature based on the fluctuating outdoor dry bulb temperature and building cooling load. The pre-training results indicate that DQN achieved energy-saving rates of 4.70% for the training data and 4.65% for the testing data, while Q-learning performed at -0.66% and 1.28% respectively, indicating that both agents outperformed historical control strategies, thereby demonstrating the effectiveness of the pre-training framework. After pre-training, each agent was deployed back into the real-world system for two days of field validation. During deployment, both agents outperformed the rule-based control, with DQN achieving an energy-saving rate of 9.28% and Q-learning achieving 9.04%, demonstrating that the proposed framework enables RL agents to continue real-world learning with an enhanced control strategy. This study provides a novel pre-training paradigm for implementing RL agents in supply-side control of HVAC systems, potentially enhancing both RL deployment and its online evolution.</div></div>","PeriodicalId":11641,"journal":{"name":"Energy and Buildings","volume":"332 ","pages":"Article 115436"},"PeriodicalIF":6.6000,"publicationDate":"2025-02-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Energy and Buildings","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0378778825001665","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CONSTRUCTION & BUILDING TECHNOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Reinforcement Learning (RL) has demonstrated potential for optimal control of Heating, Ventilation, and Air Conditioning (HVAC) systems. Current research on RL in HVAC systems control is limited to simulation studies, with few real-world deployments that have minimal focus on supply-side optimization, along with a reliance on building simulation tools for pre-training. This paper proposes a practical data-driven pre-training framework for Air-Source Heat Pump (ASHP) system. The framework integrates data-driven models based on real-world historical data for load forecasting, equipment energy consumption, and heat transfer. As a case study, two classic value-based reinforcement learning agents, Q-learning and Deep Q-Network (DQN), were selected to dynamically control the number and frequency of pumps and the supply water temperature based on the fluctuating outdoor dry bulb temperature and building cooling load. The pre-training results indicate that DQN achieved energy-saving rates of 4.70% for the training data and 4.65% for the testing data, while Q-learning performed at -0.66% and 1.28% respectively, indicating that both agents outperformed historical control strategies, thereby demonstrating the effectiveness of the pre-training framework. After pre-training, each agent was deployed back into the real-world system for two days of field validation. During deployment, both agents outperformed the rule-based control, with DQN achieving an energy-saving rate of 9.28% and Q-learning achieving 9.04%, demonstrating that the proposed framework enables RL agents to continue real-world learning with an enhanced control strategy. This study provides a novel pre-training paradigm for implementing RL agents in supply-side control of HVAC systems, potentially enhancing both RL deployment and its online evolution.
期刊介绍:
An international journal devoted to investigations of energy use and efficiency in buildings
Energy and Buildings is an international journal publishing articles with explicit links to energy use in buildings. The aim is to present new research results, and new proven practice aimed at reducing the energy needs of a building and improving indoor environment quality.