IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i7p1813-d1627627.html
   My bibliography  Save this article

Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)

Author

Listed:
  • Xuanrong Zhu

    (College of Automation Engineering, Shanghai University of Electric Power, Shanghai 200090, China)

  • Hui Li

    (College of Automation Engineering, Shanghai University of Electric Power, Shanghai 200090, China)

Abstract

Heating, Ventilation, and Air Conditioning (HVAC) systems primarily consist of pre-cooling air handling units (PAUs), air handling units (AHUs), and air ducts. Existing HVAC control methods, such as Proportional–Integral–Derivative (PID) control or Model Predictive Control (MPC), face limitations in understanding high-level information, handling rare events, and optimizing control decisions. Therefore, to address the various challenges in temperature and humidity control, a more sophisticated control approach is required to make high-level decisions and coordinate the operation of HVAC components. This paper utilizes Large Language Models (LLMs) as a core component for interpreting complex operational scenarios and making high-level decisions. A chain-of-thought mechanism is designed to enable comprehensive reasoning through LLMs, and an algorithm is developed to convert LLM decisions into executable HVAC control commands. This approach leverages adaptive guidance through parameter matrices to seamlessly integrate LLMs with underlying MPC controllers. Simulated experimental results demonstrate that the improved control strategy, optimized through LLM-enhanced Model Predictive Control (MPC), significantly enhances the energy efficiency and stability of HVAC system control. During the summer conditions, energy consumption is reduced by 33.3% compared to the on–off control strategy and by 6.7% relative to the conventional low-level MPC strategy. Additionally, during the system startup phase, energy consumption is slightly reduced by approximately 17.1% compared to the on–off control strategy. Moreover, the proposed method achieves superior temperature stability, with the mean squared error (MSE) reduced by approximately 35% compared to MPC and by 45% relative to on–off control.

Suggested Citation

  • Xuanrong Zhu & Hui Li, 2025. "Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)," Energies, MDPI, vol. 18(7), pages 1-29, April.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:7:p:1813-:d:1627627
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/7/1813/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/7/1813/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Široký, Jan & Oldewurtel, Frauke & Cigler, Jiří & Prívara, Samuel, 2011. "Experimental analysis of model predictive control for an energy efficient building heating system," Applied Energy, Elsevier, vol. 88(9), pages 3079-3087.
    2. Yang, Shiyu & Wan, Man Pun & Ng, Bing Feng & Dubey, Swapnil & Henze, Gregor P. & Chen, Wanyu & Baskaran, Krishnamoorthy, 2020. "Experimental study of model predictive control for an air-conditioning system with dedicated outdoor air system," Applied Energy, Elsevier, vol. 257(C).
    3. Wang, Xinli & Cai, Wenjian & Lu, Jiangang & Sun, Youxian & Zhao, Lei, 2015. "Model-based optimization strategy of chiller driven liquid desiccant dehumidifier with genetic algorithm," Energy, Elsevier, vol. 82(C), pages 939-948.
    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. Yang, Shiyu & Wan, Man Pun & Ng, Bing Feng & Dubey, Swapnil & Henze, Gregor P. & Chen, Wanyu & Baskaran, Krishnamoorthy, 2020. "Experimental study of model predictive control for an air-conditioning system with dedicated outdoor air system," Applied Energy, Elsevier, vol. 257(C).
    2. Yang, Shiyu & Wan, Man Pun, 2022. "Machine-learning-based model predictive control with instantaneous linearization – A case study on an air-conditioning and mechanical ventilation system," Applied Energy, Elsevier, vol. 306(PB).
    3. Yang, Shiyu & Wan, Man Pun & Ng, Bing Feng & Dubey, Swapnil & Henze, Gregor P. & Chen, Wanyu & Baskaran, Krishnamoorthy, 2021. "Model predictive control for integrated control of air-conditioning and mechanical ventilation, lighting and shading systems," Applied Energy, Elsevier, vol. 297(C).
    4. Yang, Shiyu & Wan, Man Pun & Chen, Wanyu & Ng, Bing Feng & Dubey, Swapnil, 2020. "Model predictive control with adaptive machine-learning-based model for building energy efficiency and comfort optimization," Applied Energy, Elsevier, vol. 271(C).
    5. Dasheng Lee & Liyuan Chen, 2022. "Sustainable Air-Conditioning Systems Enabled by Artificial Intelligence: Research Status, Enterprise Patent Analysis, and Future Prospects," Sustainability, MDPI, vol. 14(12), pages 1-82, June.
    6. Muhammad Fayaz & DoHyeun Kim, 2018. "Energy Consumption Optimization and User Comfort Management in Residential Buildings Using a Bat Algorithm and Fuzzy Logic," Energies, MDPI, vol. 11(1), pages 1-22, January.
    7. Muniak, Damian Piotr, 2014. "A new methodology to determine the pre-setting of the control valve in a heating installation. A general model," Applied Energy, Elsevier, vol. 135(C), pages 35-42.
    8. Lork, Clement & Li, Wen-Tai & Qin, Yan & Zhou, Yuren & Yuen, Chau & Tushar, Wayes & Saha, Tapan K., 2020. "An uncertainty-aware deep reinforcement learning framework for residential air conditioning energy management," Applied Energy, Elsevier, vol. 276(C).
    9. Gokhale, Gargya & Claessens, Bert & Develder, Chris, 2022. "Physics informed neural networks for control oriented thermal modeling of buildings," Applied Energy, Elsevier, vol. 314(C).
    10. Molinari, Marco & Anund Vogel, Jonas & Rolando, Davide & Lundqvist, Per, 2023. "Using living labs to tackle innovation bottlenecks: the KTH Live-In Lab case study," Applied Energy, Elsevier, vol. 338(C).
    11. Pisello, Anna Laura & Goretti, Michele & Cotana, Franco, 2012. "A method for assessing buildings’ energy efficiency by dynamic simulation and experimental activity," Applied Energy, Elsevier, vol. 97(C), pages 419-429.
    12. Reynolds, Jonathan & Rezgui, Yacine & Kwan, Alan & Piriou, Solène, 2018. "A zone-level, building energy optimisation combining an artificial neural network, a genetic algorithm, and model predictive control," Energy, Elsevier, vol. 151(C), pages 729-739.
    13. Ma, Peizheng & Wang, Lin-Shu & Guo, Nianhua, 2015. "Maximum window-to-wall ratio of a thermally autonomous building as a function of envelope U-value and ambient temperature amplitude," Applied Energy, Elsevier, vol. 146(C), pages 84-91.
    14. Xie, Ying & Zhang, Tao & Liu, Xiaohua, 2016. "Performance investigation of a counter-flow heat pump driven liquid desiccant dehumidification system," Energy, Elsevier, vol. 115(P1), pages 446-457.
    15. Sachin Kumar & Zairu Nisha & Jagvinder Singh & Anuj Kumar Sharma, 2022. "Sensor network driven novel hybrid model based on feature selection and SVR to predict indoor temperature for energy consumption optimisation in smart buildings," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 13(6), pages 3048-3061, December.
    16. Gianluca Serale & Massimo Fiorentini & Alfonso Capozzoli & Daniele Bernardini & Alberto Bemporad, 2018. "Model Predictive Control (MPC) for Enhancing Building and HVAC System Energy Efficiency: Problem Formulation, Applications and Opportunities," Energies, MDPI, vol. 11(3), pages 1-35, March.
    17. Hou, Juan & Li, Haoran & Nord, Natasa, 2022. "Nonlinear model predictive control for the space heating system of a university building in Norway," Energy, Elsevier, vol. 253(C).
    18. Zhang, Ning & Yin, Shao-You & Li, Min, 2018. "Model-based optimization for a heat pump driven and hollow fiber membrane hybrid two-stage liquid desiccant air dehumidification system," Applied Energy, Elsevier, vol. 228(C), pages 12-20.
    19. Sun, Chunhua & Liu, Yiting & Cao, Shanshan & Chen, Jiali & Xia, Guoqiang & Wu, Xiangdong, 2022. "Identification of control regularity of heating stations based on cross-correlation function dynamic time delay method," Energy, Elsevier, vol. 246(C).
    20. Žáčeková, Eva & Váňa, Zdeněk & Cigler, Jiří, 2014. "Towards the real-life implementation of MPC for an office building: Identification issues," Applied Energy, Elsevier, vol. 135(C), pages 53-62.

    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:gam:jeners:v:18:y:2025:i:7:p:1813-:d:1627627. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.