Abstract
Efficient control of Heating, Ventilation and Air Conditioning (HVAC) systems can lead to a significant reduction in energy consumption. This study explores the application of a model-free Reinforcement Learning (RL) algorithm, specifically Multi-Step Fitted Q-Iteration (MS-FQI), to optimize HVAC operations in a supermarket setting. By coupling dynamic simulation (EnergyPlus) with the RL agent, the research demonstrates primary energy savings between 5.4% and 9.4% across two distinct climate locations (Bergamo and Catania, Italy) while maintaining thermal comfort levels comparable to state-of-the-art rule-based controls.
Introduction
HVAC systems are responsible for approximately 40% of the total energy consumption in commercial buildings. As global efforts to reduce carbon footprints intensify, retrofitting existing buildings with smarter control systems has become a priority. Traditionally, these systems rely on Rule-Based Control (RBC), which is robust but often suboptimal due to its inability to account for complex building dynamics and changing environmental conditions.
An alternative is Model Predictive Control (MPC), which offers high efficiency but requires a bespoke, high-fidelity mathematical model for every building. The cost and expertise required to develop these models make MPC difficult to scale. This paper proposes a "model-free" Reinforcement Learning approach that learns optimal control policies directly from data, bypassing the need for manual physics-based modeling and offering a scalable solution for building energy management.
Methodology
The researchers implemented a co-simulation environment to evaluate the RL controller. This setup utilized EnergyPlus for building energy simulation, connected to a custom RL agent via the Building Controls Virtual Test Bed (BCVTB).
The RL Algorithm: Multi-Step Fitted Q-Iteration
The study employs a variant of Fitted Q-Iteration (FQI) known as Multi-Step FQI (MS-FQI). Unlike standard online RL algorithms that learn through continuous trial and error, FQI is a batch-mode algorithm. It processes a buffer of historical transitions (state, action, reward) to approximate the optimal control policy using Extremely Randomized Trees. The "multi-step" aspect allows the agent to look $K$ steps into the future (set to $K=10$ in this study), providing a more stable estimation of the long-term impact of current control actions.
Experimental Setup and Reward Function
The DOE Supermarket Reference Building served as the base model, representing a typical commercial grocery store with six distinct thermal zones (Bakery, Deli, Dry Storage, Office, Produce, and Sales). Two climate scenarios were tested using Italian weather data from 2016–2017:
- Bergamo (Climate Zone E): A continental climate with significant heating requirements.
- Catania (Climate Zone B): A Mediterranean climate with higher cooling demands.
The agent's objective was defined by a reward function balancing energy costs (electricity and gas) against "comfort penalties." These penalties were triggered when zone temperatures drifted outside the target ranges: 16°C–19°C in winter and 23°C–25°C in summer. The action space included discrete temperature set-points and the ability to switch the system to ventilation-only or complete shutdown during off-peak hours.
Results and Discussion
The RL agent's performance was benchmarked against a finely tuned Rule-Based Controller, the current industry baseline.
Energy Efficiency and Comfort
The RL controller achieved a 9.4% reduction in primary energy consumption in Catania and a 5.4% reduction in Bergamo. Interestingly, the highest savings were observed during winter months (up to 20.3%), suggesting that the agent effectively exploited the building's thermal mass and complex heating loads. Despite these savings, the RL agent maintained thermal comfort within the defined stochastic constraints, matching or exceeding the performance of the baseline RBC in keeping the Sales zone at a comfortable temperature for customers.
Scalability and Training
A key finding was the algorithm's ability to adapt to different climates without manual re-tuning. This suggests that RL could be a "plug-and-play" solution for diverse building portfolios. Furthermore, the agent reached peak performance after only 12 months of training data. This efficiency is a significant improvement over many deep RL approaches that require years of simulated data to converge, making it a more viable candidate for real-world deployment.
Conclusion and Future Work
This research demonstrates that model-free RL can provide a scalable solution for HVAC optimization, offering significant energy savings without the overhead of bespoke physical modeling. However, several challenges remain for real-world implementation. The current study assumed perfect weather forecasts and noise-free sensor data. Future research should focus on the robustness of RL agents against forecast errors and mechanical failures, as well as the development of safer exploration strategies, such as pre-training on historical site data, to ensure system stability during the initial deployment phase.
Summary updated