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

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...

Full description

Saved in:
Bibliographic Details
Main Authors: Xuanrong Zhu, Hui Li
Format: Article
Language:English
Published: MDPI AG 2025-04-01
Series:Energies
Subjects:
Online Access:https://www.mdpi.com/1996-1073/18/7/1813
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850184569693667328
author Xuanrong Zhu
Hui Li
author_facet Xuanrong Zhu
Hui Li
author_sort Xuanrong Zhu
collection DOAJ
description 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.
format Article
id doaj-art-929c246e664046e2a2bc298bb1688683
institution OA Journals
issn 1996-1073
language English
publishDate 2025-04-01
publisher MDPI AG
record_format Article
series Energies
spelling doaj-art-929c246e664046e2a2bc298bb16886832025-08-20T02:17:00ZengMDPI AGEnergies1996-10732025-04-01187181310.3390/en18071813Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)Xuanrong Zhu0Hui Li1College of Automation Engineering, Shanghai University of Electric Power, Shanghai 200090, ChinaCollege of Automation Engineering, Shanghai University of Electric Power, Shanghai 200090, ChinaHeating, 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.https://www.mdpi.com/1996-1073/18/7/1813Large Language ModelsHVACModel Predictive Control
spellingShingle Xuanrong Zhu
Hui Li
Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)
Energies
Large Language Models
HVAC
Model Predictive Control
title Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)
title_full Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)
title_fullStr Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)
title_full_unstemmed Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)
title_short Heating, Ventilation, and Air Conditioning (HVAC) Temperature and Humidity Control Optimization Based on Large Language Models (LLMs)
title_sort heating ventilation and air conditioning hvac temperature and humidity control optimization based on large language models llms
topic Large Language Models
HVAC
Model Predictive Control
url https://www.mdpi.com/1996-1073/18/7/1813
work_keys_str_mv AT xuanrongzhu heatingventilationandairconditioninghvactemperatureandhumiditycontroloptimizationbasedonlargelanguagemodelsllms
AT huili heatingventilationandairconditioninghvactemperatureandhumiditycontroloptimizationbasedonlargelanguagemodelsllms