TL;DR
Deep Reinforcement Learning (DRL) is frequently touted as the future of HVAC control, but this paper asks a critical question: is it actually better than a well-tuned rule? By benchmarking DRL against near-optimal references in four reproducible case studies, the authors find that while DRL can match or slightly beat expert rules, the "headroom" for improvement is often tiny, and DRL still struggles to reach theoretical performance limits in systems with thermal storage.
What Problem Does This Paper Address?
In the world of building automation, DRL is often framed as a "magic bullet" that can optimize complex systems without needing an explicit physics model. However, the authors argue that many DRL papers report impressive-sounding energy savings simply because they compare their agents against weak baselines, such as fixed setpoints.
The real challenge is twofold:
- Weak Baselines: We don't know if DRL is better than what a competent engineer could achieve with standard rules (like outdoor-air reset).
- Unknown Optima: Without knowing the theoretical maximum saving (the "attainable optimum"), it’s impossible to judge if a DRL agent is actually performing well or just picking low-hanging fruit.
This paper seeks to establish a more rigorous benchmarking process by using small, open-source Modelica models and comparing DRL against both tuned rules and near-optimal references calculated via exhaustive search or dynamic programming.
Methods
The researchers developed four case studies using the Modelica Buildings library. These models were exported as Functional Mock-up Units (FMUs) and wrapped in a Gymnasium environment to make them compatible with standard RL libraries.
- Algorithm: They used Soft Actor-Critic (SAC), a state-of-the-art off-policy RL algorithm known for its stability and sample efficiency.
- Direct Training: Unlike many studies that train on simplified "surrogate" models, these agents were trained directly on the co-simulation FMUs.
- Reward Shaping: To help the agent learn, the authors used an "exogenous reference" reward. Since the total energy cost is dominated by the building load (which the controller can't change), they subtracted the cost of a reference controller from the agent's cost. This isolated the impact of the agent's decisions.
Datasets
The study utilized:
- Weather Data: Brisbane Airport TMYx (Typical Meteorological Year) data for 2011–2025.
- Building Model: A simulated office building in Brisbane, Australia, with occupancy from 07:00 to 18:00 on weekdays.
- Tariffs: A time-of-use electricity tariff featuring off-peak, peak, and shoulder rates, plus a demand charge for the storage case study.
The models and scripts are openly available on GitHub, providing a rare "lab" environment for reproducible HVAC-DRL research.
Key Insights and Ideas
- The "Headroom" Concept: The authors define "headroom" as the difference between the best rule-based controller and the theoretical optimum. If the headroom is only 1%, DRL—no matter how sophisticated—isn't worth the implementation effort.
- Storage Changes the Game: DRL's value proposition shifts significantly when thermal storage is involved. Without storage, decisions are "weakly coupled" in time, and simple rules are nearly optimal. With storage, decisions today affect costs tomorrow, creating a "strongly coupled" problem where DRL should shine.
- The Demand Charge Difficulty: DRL agents struggled with demand charges (costs based on the single highest peak of the month). Because this peak is determined by just one hour of operation, the agent found it difficult to relate its hourly decisions to that one extreme event.
- FMU Practicalities: The paper notes that training directly on FMUs is fast (0.6–5 ms per simulated hour) but comes with technical hurdles, such as "stale" internal variables and difficulties in restoring simulation states accurately.
Key Results
The results, summarized in Table 2 (Figure 6), show a nuanced picture of DRL performance:
- Cases 2 & 3 (No Storage): The DRL agent matched the near-optimal reference. However, the "headroom" above a well-tuned rule was negligible: only 1.3% for condenser water reset and 0.18% for chilled water reset.
- Case 4 (Active Storage): DRL outperformed the best rule (7.8% saving vs. 6.3%). However, it only captured about 45% of the potential savings identified by the "perfect foresight" optimum (17.4%).
- Case 1 (Passive Storage/Pre-cooling): Surprisingly, a hand-tuned expert rule (12% saving) significantly outperformed the DRL agent (5.6% saving). The agent struggled to "see" the cooling stored in the building's mass.
Limitations and Future Work
The authors are transparent about the study's constraints:
- Idealized Conditions: The agents were given "perfect forecasts" of weather and load, which isn't possible in the real world.
- Scale: The models are deliberately small. Real-world HVAC systems are much more complex, which might either increase the headroom for DRL or make it even harder to train.
- Observation Gaps: In the pre-cooling case, the agent couldn't fully observe the "state" of the building mass, leading to sub-optimal performance.
Future Work: The authors suggest that DRL research should always start by estimating the "headroom" using exhaustive search or MPC. If the margin for improvement is small, the complexity of DRL may not be justified. They also point toward improving how DRL agents handle long-term constraints like monthly demand charges.
Summary updated