IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v339y2025ics0360544225046511.html

Knowledge-guided reinforcement learning for HVAC controls and energy saving through an efficient simulation framework

Author

Listed:
  • Lyu, Zihui
  • Peng, Xiayao
  • Zhang, Yihu
  • Zhang, Bingqian
  • Lin, Borong
  • Yuan, Can
  • Geng, Yang

Abstract

Improving the energy efficiency of HVAC systems is crucial for both economic and environmental benefits. Research has demonstrated the superior performance of reinforcement learning (RL) in HVAC controls. However, creating environments for RL training is challenging and time-consuming, and there is still considerable room for improving the performance of traditional RL methods, encompassing training efficiency and control effectiveness. This work presented an efficient simulation framework based on EnergyPlus Python API to enhance the efficiency of creating RL simulation environments and accelerate RL training without the dependence on co-simulation middleware. Furthermore, this work proposes a knowledge-guided RL method for HVAC controls. Specifically, expert policy imitation is used to enhance RL, improving control behaviors in the early stage of RL training and accelerating convergence. Afterwards, the RL policy is further refined with expert knowledge, enabling it to handle both discrete and continuous control variables effectively, thereby enhancing the control performance. The simulation framework significantly reduced the RL training time to 27 s in 14688 simulation steps and achieved a 13.3 % reduction in total energy consumption while maintaining the indoor temperature satisfaction. The simulation framework and training method demonstrated great transferability and robustness across similar climates.

Suggested Citation

  • Lyu, Zihui & Peng, Xiayao & Zhang, Yihu & Zhang, Bingqian & Lin, Borong & Yuan, Can & Geng, Yang, 2025. "Knowledge-guided reinforcement learning for HVAC controls and energy saving through an efficient simulation framework," Energy, Elsevier, vol. 339(C).
  • Handle: RePEc:eee:energy:v:339:y:2025:i:c:s0360544225046511
    DOI: 10.1016/j.energy.2025.139009
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0360544225046511
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2025.139009?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Lei, Yue & Zhan, Sicheng & Ono, Eikichi & Peng, Yuzhen & Zhang, Zhiang & Hasama, Takamasa & Chong, Adrian, 2022. "A practical deep reinforcement learning framework for multivariate occupant-centric control in buildings," Applied Energy, Elsevier, vol. 324(C).
    2. Wang, Hao & Chen, Xiwen & Vital, Natan & Duffy, Edward & Razi, Abolfazl, 2024. "Energy optimization for HVAC systems in multi-VAV open offices: A deep reinforcement learning approach," Applied Energy, Elsevier, vol. 356(C).
    3. Wang, Zixuan & Xiao, Fu & Ran, Yi & Li, Yanxue & Xu, Yang, 2024. "Scalable energy management approach of residential hybrid energy system using multi-agent deep reinforcement learning," Applied Energy, Elsevier, vol. 367(C).
    4. Dai, Mingkun & Li, Hangxin & Wang, Shengwei, 2023. "A reinforcement learning-enabled iterative learning control strategy of air-conditioning systems for building energy saving by shortening the morning start period," Applied Energy, Elsevier, vol. 334(C).
    5. Zhuang, Dian & Gan, Vincent J.L. & Duygu Tekler, Zeynep & Chong, Adrian & Tian, Shuai & Shi, Xing, 2023. "Data-driven predictive control for smart HVAC system in IoT-integrated buildings with time-series forecasting and reinforcement learning," Applied Energy, Elsevier, vol. 338(C).
    6. Coraci, Davide & Brandi, Silvio & Hong, Tianzhen & Capozzoli, Alfonso, 2023. "Online transfer learning strategy for enhancing the scalability and deployment of deep reinforcement learning control in smart buildings," Applied Energy, Elsevier, vol. 333(C).
    7. Cui, Can & Xue, Jing, 2024. "Energy and comfort aware operation of multi-zone HVAC system through preference-inspired deep reinforcement learning," Energy, Elsevier, vol. 292(C).
    8. Han, Gwangwoo & Joo, Hong-Jin & Lim, Hee-Won & An, Young-Sub & Lee, Wang-Je & Lee, Kyoung-Ho, 2023. "Data-driven heat pump operation strategy using rainbow deep reinforcement learning for significant reduction of electricity cost," Energy, Elsevier, vol. 270(C).
    9. Gao, Yuan & Shi, Shanrui & Miyata, Shohei & Akashi, Yasunori, 2024. "Successful application of predictive information in deep reinforcement learning control: A case study based on an office building HVAC system," Energy, Elsevier, vol. 291(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Liao, Chenxin & Miyata, Shohei & Qu, Ming & Akashi, Yasunori, 2025. "Year-round operational optimization of HVAC systems using hierarchical deep reinforcement learning for enhancing indoor air quality and reducing energy consumption," Applied Energy, Elsevier, vol. 390(C).
    2. Liu, Mingzhe & Guo, Mingyue & Fu, Yangyang & O’Neill, Zheng & Gao, Yuan, 2024. "Expert-guided imitation learning for energy management: Evaluating GAIL’s performance in building control applications," Applied Energy, Elsevier, vol. 372(C).
    3. Liu, Qinghua & Li, Xiaoke & Tan, Kah Hui & Ah, Khoon Hwee, 2026. "A review of AIoT-enabled cyber-physical systems in building energy management: towards intelligent operation," Applied Energy, Elsevier, vol. 409(C).
    4. Guo, Zelin & Li, Yiyan & Ping, Jian & Zhu, Jiayi & Yan, Zheng & Chow, Mo-Yuen, 2026. "A self-adaptive modeling and control framework for HVAC systems considering user stochasticity," Applied Energy, Elsevier, vol. 409(C).
    5. Dalia Mohammed Talat Ebrahim Ali & Violeta Motuzienė & Rasa Džiugaitė-Tumėnienė, 2024. "AI-Driven Innovations in Building Energy Management Systems: A Review of Potential Applications and Energy Savings," Energies, MDPI, vol. 17(17), pages 1-35, August.
    6. Cui, Can & Xue, Jing, 2024. "Energy and comfort aware operation of multi-zone HVAC system through preference-inspired deep reinforcement learning," Energy, Elsevier, vol. 292(C).
    7. Liu, Yuntao & Song, Yutong & Cui, Can, 2025. "Towards smart control and energy efficiency for multi-zone ventilation systems via an imitation-interaction learning method in energy-aware buildings," Energy, Elsevier, vol. 314(C).
    8. Cui, Can & Xue, Jiahui & Liu, Lanjun, 2025. "Optimal control of HVAC systems through active disturbance rejection control-assisted reinforcement learning," Energy, Elsevier, vol. 323(C).
    9. Chen, Zhe & Xing, Tian & Wang, Yu & Zhuang, Yunlin & Zheng, Meng & Zhao, Qianchuan & Jia, Qing-Shan, 2025. "Coupling time-scale reinforcement learning methods for building operational optimization with waste heat," Applied Energy, Elsevier, vol. 391(C).
    10. Xu, Wenjie & Svetozarevic, Bratislav & Di Natale, Loris & Heer, Philipp & Jones, Colin N., 2024. "Data-driven adaptive building thermal controller tuning with constraints: A primal–dual contextual Bayesian optimization approach," Applied Energy, Elsevier, vol. 358(C).
    11. Wu, Si & Zheng, Wanfu & Wang, Zhe & Chen, Guanghao & Yang, Pu & Yue, Shang & Li, Dingqian & Wu, Yue, 2025. "AlphaDataCenterCooling: A virtual testbed for evaluating operational strategies in data center cooling plants," Applied Energy, Elsevier, vol. 380(C).
    12. Nik, Vahid M. & Hosseini, Mohammad, 2023. "CIRLEM: a synergic integration of Collective Intelligence and Reinforcement learning in Energy Management for enhanced climate resilience and lightweight computation," Applied Energy, Elsevier, vol. 350(C).
    13. Silvestri, Alberto & Coraci, Davide & Brandi, Silvio & Capozzoli, Alfonso & Borkowski, Esther & Köhler, Johannes & Wu, Duan & Zeilinger, Melanie N. & Schlueter, Arno, 2024. "Real building implementation of a deep reinforcement learning controller to enhance energy efficiency and indoor temperature control," Applied Energy, Elsevier, vol. 368(C).
    14. Lu, Ruyuan & Li, Xin & Chen, Ronghao & Lei, Aimin & Ma, Xiaoming, 2024. "An Alternative Reinforcement Learning (ARL) control strategy for data center air-cooled HVAC systems," Energy, Elsevier, vol. 308(C).
    15. Panagiotis Michailidis & Iakovos Michailidis & Dimitrios Vamvakas & Elias Kosmatopoulos, 2023. "Model-Free HVAC Control in Buildings: A Review," Energies, MDPI, vol. 16(20), pages 1-45, October.
    16. Razzano, Giuseppe & Brandi, Silvio & Piscitelli, Marco Savino & Capozzoli, Alfonso, 2025. "Rule extraction from deep reinforcement learning controller and comparative analysis with ASHRAE control sequences for the optimal management of Heating, Ventilation, and Air Conditioning (HVAC) systems in multizone buildings," Applied Energy, Elsevier, vol. 381(C).
    17. Morovat, Navid & Athienitis, Andreas K. & Candanedo, José Agustín & Nouanegue, Hervé Frank, 2024. "Heuristic model predictive control implementation to activate energy flexibility in a fully electric school building," Energy, Elsevier, vol. 296(C).
    18. Chen, Dongyu & Lin, Xiaojie & Qiao, Yiyuan, 2025. "Perspectives for artificial intelligence in sustainable energy systems," Energy, Elsevier, vol. 318(C).
    19. Dominik Latoń & Jakub Grela & Andrzej Ożadowicz, 2024. "Applications of Deep Reinforcement Learning for Home Energy Management Systems: A Review," Energies, MDPI, vol. 17(24), pages 1-30, December.
    20. Behzadi, Amirmohammad & Duwig, Christophe & Ploskic, Adnan & Holmberg, Sture & Sadrizadeh, Sasan, 2024. "Application to novel smart techniques for decarbonization of commercial building heating and cooling through optimal energy management," Applied Energy, Elsevier, vol. 376(PA).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:energy:v:339:y:2025:i:c:s0360544225046511. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.