Building HVAC Scheduling Using Reinforcement Learning via Neural Network Based Model Approximation

Chi Zhang, Sanmukh R. Kuppannagari, Rajgopal Kannan, Viktor K. Prasanna · DOI

Introduction

Heating, Ventilation, and Air Conditioning (HVAC) systems are significant energy consumers, accounting for nearly 50% of a building's total energy usage. Traditional control methods, such as PID or rule-based logic, are primarily reactive, responding to environmental changes rather than anticipating them. These methods often struggle with the complex, non-linear thermal inertia characteristic of modern buildings.

While Model-Free Reinforcement Learning (RL) has shown potential in optimizing these systems, it faces two major hurdles: low sample efficiency and safety risks. Model-free agents often require millions of interactions to learn an effective policy and may take "catastrophic" actions during the trial-and-error phase. This paper introduces a Model-Based Reinforcement Learning (MBRL) framework designed to overcome these limitations by learning building dynamics through an Attention-based LSTM.

Schematic of the HVAC system components and air flow paths within the thermal space.

Methodology

The proposed MBRL approach separates the learning of environment dynamics from the decision-making process. This allows the agent to simulate outcomes internally, significantly reducing the need for real-world interactions.

Neural Network Dynamics Model

Instead of relying on traditional physics equations, the framework uses a Deep Learning model to predict the building's next state. The researchers employed a Long Short-Term Memory (LSTM) network integrated with an Attention mechanism. While the LSTM captures time-series patterns, the Attention layer enables the model to focus on the most relevant historical data points, such as how temperature fluctuations from 30 minutes prior influence current conditions.

Model Predictive Control (MPC)

Once the dynamics model is established, the system utilizes Model Predictive Control (MPC) via "random-sampling shooting." The controller generates thousands of potential future action sequences, simulates them using the learned neural network, and selects the sequence that minimizes energy consumption while maintaining temperatures within a comfortable range.

Overview of the Model-Based Reinforcement Learning (MBRL) framework, integrating building simulation, neural network dynamics, and Model Predictive Control (MPC).

Safety and Efficiency Enhancements

To mitigate hardware risks, the framework implements safety-aware exploration by clipping the maximum allowable change in setpoints. Additionally, to address the computational intensity of real-time MPC, the authors used Imitation Learning (DAGGER) to train a smaller "policy network." This network mimics the MPC's decisions, allowing for near-instantaneous control during deployment.

Experimental Setup and Results

The study utilized the EnergyPlus simulation environment to model a two-zone data center, incorporating real-world weather data from four US locations and varying IT equipment heat loads.

Key Insights

  • Energy Efficiency: The MBRL approach reduced total energy consumption by 17.1% to 21.8% compared to baseline controllers.
  • Sample Efficiency: The system achieved peak performance using approximately 1/10th the training data required by standard model-free approaches like Proximal Policy Optimization (PPO).
  • Adaptability: By using a First-In-First-Out (FIFO) data buffer, the model can be retrained online to adapt to seasonal shifts and changing outdoor climates.
  • Computational Speed: While full MPC optimization required over 30 seconds, the imitation policy provided decisions in less than 1 second, making it viable for real-time applications.

Conclusion and Future Work

This MBRL framework demonstrates a significant advancement in HVAC control, offering substantial energy savings with high sample efficiency. While the current study focused on a two-zone data center, future research will explore scaling the system to complex commercial buildings with hundreds of zones and incorporating probabilistic models to better manage environmental uncertainty.

Summary updated

BibTeX
@inproceedings{zhang2019building,
  author = {Chi Zhang and Sanmukh R. Kuppannagari and Rajgopal Kannan and Viktor K. Prasanna},
  title = {{Building HVAC Scheduling Using Reinforcement Learning via Neural Network Based Model Approximation}},
  booktitle = {BuildSys},
  year = {2019},
  doi = {10.1145/3360322.3360861},
}
Figure