Nanyang Technological University
Large language model-based control for HVAC systems: a comparative study on building energy optimization
Abstract
dc:description.abstractThis study investigates the integration of Reinforcement Learning (RL) and Large Language Models (LLMs) for intelligent building energy control, with a focus on HVAC systems. A comparative framework is developed to evaluate two control paradigms: a Deep Q-Network (DQN) agent trained via environment interaction, and pre-trained LLMs—including ChatGPT-4o-mini and DeepSeek-v3—tested with and without Retrieval-Augmented Generation (RAG). These controllers are deployed on a simulated commercial building using EnergyPlus, aiming to minimize hourly energy consumption over a 31-day period. The DQN agent, trained with a carefully designed reward structure, successfully converges to a stable policy that achieves the greatest energy savings—reducing total energy consumption by approximately 14.9% compared to a fixed baseline. However, this performance reflects a narrow optimization scope, often disregarding occupant comfort. In contrast, the LLM-based controllers demonstrate more adaptive and diverse control behaviors, achieving up to 9.9% energy savings without any task-specific training. Notably, the deployment of open-source LLMs with local embeddings enables fully offline control, addressing cost and privacy concerns typically associated with closed-source models. The findings suggest that while RL offers superior performance in single-objective tasks, LLMs provide a scalable, flexible, and semantically interpretable alternative. This study highlights the potential of hybrid control strategies that combine the optimization power of RL with the reasoning capabilities of LLMs, paving the way for future research in domain-adaptive HVAC control.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wu, Xian
- Advisor dc:contributor.supervisor
-
- Chau Yuen
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/200823