Multi-zone HVAC Control with Model-Based Deep Reinforcement Learning

Xianzhong Ding, Alberto Cerpa, Wan Du

TL;DR

Researchers have developed MB2C, a novel model-based reinforcement learning (MBRL) framework that slashes the training time for smart building HVAC controllers by over 90% compared to model-free approaches. By combining an ensemble of "environment-conditioned" neural networks with a sophisticated path-integral control algorithm, MB2C achieves superior energy savings in complex multi-zone buildings without sacrificing occupant comfort.

What Problem Does This Paper Address?

Heating, Ventilation, and Air Conditioning (HVAC) systems consume nearly half of a building's energy. While advanced control strategies like Reinforcement Learning (RL) promise significant efficiency gains, they face a "Goldilocks" problem:

  • Model-Free RL (MFRL) can achieve peak performance but requires massive amounts of data—often equivalent to decades of building operation—making it impractical for real-world deployment.
  • Model-Based RL (MBRL) is much faster to train because it learns a "world model" of the building's physics. However, existing MBRL methods often struggle with high-dimensional multi-zone buildings. They suffer from model uncertainty (small errors in the learned physics compounding over time) and ineffective controllers (like Random Shooting) that fail to find optimal settings in complex action spaces.

MB2C aims to bridge this gap, providing the data efficiency of model-based methods with the high-performance results of model-free ones.

Methods

The MB2C framework consists of two primary innovations designed to handle the complexity of multi-zone environments:

  1. Environment-Conditioned Ensemble (ENN): Instead of one neural network, MB2C uses an ensemble of models to predict building dynamics. This captures "epistemic uncertainty"—the model's own awareness of what it doesn't know. Crucially, the architecture separates actuatable states (like zone temperature) from non-actuatable environmental factors (like outdoor weather). It predicts the change in state ($\Delta s_t$) rather than the absolute next state, which simplifies the learning task. ENN Architecture Fig. 5: The ENN architecture separates building and environment states to predict state differences.
Fig. 5: Environment-conditioned neural network for our Build- ing Dynamics Model.
  1. Weighted Ensemble Learning: The system dynamically adjusts the weight of each model in the ensemble based on its recent prediction accuracy. This makes the overall "world model" more robust against variances in building behavior. Weighted Ensemble Fig. 6: Models are weighted based on their Mean Square Error (MSE) over recent timesteps.
Fig. 6: Weighted Ensemble Learning for our Building Dynam- ics Model.
  1. Model Predictive Path Integral (MPPI) Control: Rather than picking actions at random (Random Shooting), MB2C uses MPPI. This algorithm uses importance sampling to weight different potential action trajectories, allowing it to navigate high-dimensional action spaces (e.g., setting temperatures for 5+ zones simultaneously) much more effectively than previous methods.
Fig. 4: Overall of the Proposed Building Energy Control Framework
Fig. 4: The complete MB2C loop, integrating the ENN dynamics model with the MPPI controller.

Datasets

The authors evaluated MB2C using EnergyPlus, the industry-standard building energy simulation engine.

  • Building Model: A five-zone office building (463 $m^2$) with a VAV (Variable Air Volume) terminal reheat system.
  • Weather Data: Typical Meteorological Year 3 (TMY3) data for Fresno, CA (intense solar radiation) and Chicago, IL (distinct four-season climate).
  • Training/Testing: The models were trained on 5 years of historical weather data and tested on a completely separate one-year period to ensure generalizability.

Key Insights and Ideas

  • The Multi-Zone Challenge: Moving from single-zone to multi-zone control isn't just a linear increase in difficulty; it's an exponential one. Standard MBRL methods that work for one room fail when they have to coordinate ten different setpoints across a building.
  • Model Uncertainty is a Decision Killer: The authors demonstrated that even small biases in a building dynamics model can lead a controller to make disastrously inefficient decisions. Using an ensemble helps "smooth out" these errors. Model Uncertainty Fig. 2: Different neural network initializations (Model A vs B) can lead to diverging predictions, highlighting the need for ensembles.
  • Smart Sampling Matters: In high-dimensional spaces, "Random Shooting" (sampling actions from a uniform distribution) is like looking for a needle in a haystack. MPPI's importance sampling acts like a magnet, pulling the search toward high-reward trajectories.
Fig. 2: Uncertainty of the building dy- namics model.

Key Results

  • Energy Savings: MB2C achieved 8.23% more energy savings than the previous state-of-the-art MBRL solution and 10.65% savings over traditional Rule-Based Control (RBC).
  • Data Efficiency: The system reached peak performance in just $4.75 \times 10^4$ timesteps. This is 10.52x faster than the Model-Free RL (PPO) baseline, which required $50 \times 10^4$ timesteps to converge.
  • Comfort Maintenance: Despite the energy savings, MB2C maintained thermal comfort (measured by Predicted Mean Vote, or PMV) within the ASHRAE-recommended range of -0.7 to 0.7, with violation rates comparable to or better than other methods.

Limitations and Future Work

  • Perfect Information Assumption: In this study, the ENN model was provided with ground-truth weather and occupancy data. In the real world, these must be predicted, and prediction errors could degrade performance.
  • Simulation vs. Reality: While EnergyPlus is high-fidelity, the authors acknowledge that real-world deployment will require careful calibration of the dynamics model to account for specific building quirks not captured in simulation.
  • Future Directions: The authors suggest integrating real-time occupancy sensing and exploring how MB2C handles sensor faults or degraded information.

Summary updated

BibTeX
@article{ding2024multi,
  author = {Xianzhong Ding and Alberto Cerpa and Wan Du},
  title = {{Multi-zone HVAC Control with Model-Based Deep Reinforcement Learning}},
  journal = {IEEE Transactions on Automation Science and Engineering},
  year = {2024},
  doi = {10.1109/tase.2024.3410951},
}
Figure