Experimental demonstration of data predictive control for energy optimization and thermal comfort in buildings

Felix Bünning, Benjamin Huber, Philipp Heer, Ahmed Aboudonia, John Lygeros

Abstract

Model Predictive Control (MPC) for room temperature control in buildings is an effective approach to energy management. However, the development and maintenance of physical models may be a bottleneck for widespread real-life application. Data Predictive Control (DPC) is an attempt to address this problem by learning the behavior of the building from historical data, thus reducing the modeling effort. Here, we present an application of a DPC approach, based on Random Forests with affine functions and convex optimization, to control the room temperature in a real-life apartment. When compared to a conventional hysteresis controller, the applied approach saves 24.9% of cooling energy while reducing the integral of comfort constraint violations by 72.0% in a six-day experiment.

Introduction: The Modeling Bottleneck

Model Predictive Control (MPC) is widely regarded as the "gold standard" for building energy management. By utilizing weather forecasts and occupancy schedules, MPC can proactively optimize heating and cooling. However, MPC faces a significant scaling challenge: it typically requires a "first-principles" physical model of the building. Creating these models is labor-intensive, expensive, and requires specialized expertise for every unique structure. This "modeling bottleneck" has hindered the adoption of advanced control systems in residential settings.

The researchers in this study propose Data Predictive Control (DPC) as a solution. DPC skips the complex physical modeling phase by learning a building's thermal behavior directly from its historical sensor data.

Methods: Random Forests and Convex Optimization

The core of the DPC system is a machine learning model that replaces traditional physical equations.

  1. The Model: The authors utilize Random Forests—an ensemble of decision trees—to map current states (such as temperature and time of day) and disturbances (ambient temperature and solar radiation) to future room temperatures.
  2. The Convexity Trick: To ensure the model can be efficiently optimized, the authors fit affine functions (linear relationships) to the control inputs (cooling energy) within each leaf of the decision trees.
  3. Optimization: Because the resulting model is affine, the control problem is transformed into a convex optimization problem. This allows the controller to calculate the optimal cooling strategy for a multi-hour horizon in real-time.

Experimental Setup

The system was tested at the NEST building in Switzerland. The experiment compared two identical bedrooms: one controlled by the DPC and the other by a standard "hysteresis" (on/off) controller.

Floor plan of the experimental setup in the NEST building, showing the side-by-side comparison of DPC and On/Off control rooms.

Key Results

A six-day real-world experiment was conducted in June 2019, during a period that included a significant heatwave with temperatures reaching 39.5°C.

The DPC system demonstrated substantial improvements over the baseline:

  • Energy Efficiency: The DPC saved 24.9% of cooling energy.
  • Thermal Comfort: It reduced the integral of comfort constraint violations by 72.0%.
  • Proactive Control: Unlike the reactive on/off controller, the DPC "anticipated" incoming heat. It initiated cooling early to meet temperature constraints precisely at the start of the night, whereas the hysteresis controller only reacted after the room exceeded comfort bounds.
Experimental results from June 21-26, 2019, showing room temperature, control inputs, and environmental conditions for both DPC and On/Off controllers.

Discussion and Future Work

The study highlights that predicting the change in temperature ($\Delta x$) rather than absolute temperature improves performance. Additionally, simplifying the affine functions in the tree leaves by focusing on recent control inputs enhanced model stability for longer prediction horizons.

While successful, the authors noted that a 6-hour prediction horizon was sometimes insufficient during extreme heat, suggesting that longer horizons could enable even more effective "pre-cooling." Future research will focus on scaling DPC to multi-room environments and testing performance during the heating season.

Summary updated

BibTeX
@inproceedings{bunning2020experimental,
  author = {Felix Bünning and Benjamin Huber and Philipp Heer and Ahmed Aboudonia and John Lygeros},
  title = {{Experimental demonstration of data predictive control for energy optimization and thermal comfort in buildings}},
  booktitle = {Energy},
  year = {2020},
  doi = {10.1016/j.enbuild.2020.109792},
}
Figure