TL;DR
This paper demonstrates that physics-informed linear regression models (ARMAX) can be as effective as complex machine learning models (Random Forests and Input Convex Neural Networks) for controlling building energy systems. Crucially, ARMAX models achieve this with lower computational costs, better sample efficiency, and higher prediction accuracy, making them a more practical choice for real-world building MPC applications.
What Problem Does This Paper Address?
Building energy management systems often rely on Model Predictive Control (MPC) to optimize energy consumption while maintaining occupant comfort. A key challenge in implementing MPC for buildings is the difficulty and expense of creating accurate physics-based models, as each building is unique. While machine learning (ML) methods offer a data-driven alternative, they often result in computationally complex, non-convex optimization problems that are hard to solve in real-time. Furthermore, there's a lack of studies directly comparing different data-driven MPC approaches, especially those validated in real buildings. This paper aims to bridge this gap by comparing a physics-informed linear regression model (ARMAX) against two popular ML models (Random Forests and Input Convex Neural Networks) in a practical building control scenario.
Methods
The authors compare three modeling approaches for building MPC:
- Physics-informed ARMAX (Autoregressive–Moving-Average with Exogenous Inputs): This is a linear model that incorporates physical principles of building dynamics (like heat transfer laws) into its structure. The authors derive this model by leveraging physical equations for thermal zones, solar gains, and actuator gains, then fitting linear regression coefficients to measurement data. This approach benefits from a "physics-based prior," guiding the model identification.
- Random Forests (RF): A non-parametric ML method that builds an ensemble of decision trees. In this context, RF models are used to map uncontrollable inputs (like weather) to "leaves," where linear regression models then predict the building's response based on controllable inputs.
- Input Convex Neural Networks (ICNN): A type of neural network designed to ensure that the MPC optimization problem remains convex, which is crucial for efficient and reliable solving. The authors use both Partially Input Convex Neural Networks (PICNN) and Fully Input Convex Neural Networks (FICNN).
All models are integrated into an MPC framework, and the resulting optimization problems are designed to be convex for efficient solving. The performance is evaluated through experiments on a real apartment and numerical simulations.
Datasets
The study utilizes experimental data collected over 2.5 years from the UMAR unit at the NEST building in Dübendorf, Switzerland. This data includes:
- Room temperatures (measured every minute).
- Heating/cooling energy consumption.
- Supply and return temperatures.
- Weather forecasts (ambient temperature and global solar irradiation).
For numerical case studies, a subset of this data (2018-05-23 to 2019-05-28, approximately 370 days) was used for training and validation, with a focus on sample efficiency.
Key Insights and Ideas
- Physics Pays Off: Encoding physical knowledge into a linear model (ARMAX) leads to superior performance compared to purely data-driven ML models, even when abundant data is available. This suggests that ML models struggle to independently discover fundamental physical relationships.
- Simplicity Can Be Superior: Despite the complexity of ML models, the simpler, physics-informed ARMAX model achieved lower prediction errors and better sample efficiency. This highlights that "more expressive" models aren't always better if they lack domain-specific constraints.
- Computational Efficiency Matters: The ARMAX model significantly outperforms RF and ICNN in terms of computational burden (solving time and memory usage). This is critical for practical MPC implementation, especially for larger or more complex building systems.
- Sample Efficiency is Key: ARMAX models require less training data to achieve good performance, reducing the cost and effort associated with commissioning building control systems.
- Convexity is Achievable and Beneficial: All tested models were configured to result in convex MPC problems, enabling efficient online optimization. This is a crucial aspect for real-world deployment.
Key Results
- Energy Savings: MPC controllers (across all model types) achieved significant energy savings compared to the baseline hysteresis controller, ranging from 26% to 49% for heating and cooling energy.
- Control Performance: All models demonstrated satisfactory control performance, maintaining occupant comfort within specified bounds and effectively reducing energy consumption.
- Prediction Accuracy: Physics-informed ARMAX models showed a significantly lower prediction error than ML models, even with abundant training data.
- Computational Performance:
- ARMAX: 0.2 seconds solving time, 36 MB memory usage.
- RF: 1.5 seconds solving time, 68 MB memory usage.
- ICNN: 3.0 seconds solving time, 158 MB memory usage.
- Sample Efficiency: ARMAX models converged to lower Mean Squared Errors (MSE) with less training data compared to RF and ICNN.
Limitations and Future Work
- Limitations:
- The study focused on a single, relatively lightweight apartment building. The applicability to larger, more complex buildings with different thermal dynamics needs further investigation.
- While ARMAX models showed good performance, ensuring their BIBO (Bounded-Input, Bounded-Output) stability requires further research, especially for ML models.
- The study acknowledges that the training data might be correlated due to the feedback nature of the baseline controller, potentially affecting model accuracy.
- Future Work:
- Applying physics-informed inputs and constraints to ML models (ANN and RF).
- Investigating non-linear systems like heat pumps directly within the MPC framework.
- Conducting experiments with physics-informed ARMAX models on large-scale buildings.
- Further research into guaranteeing stability for both physics-informed and ML-based models.
Summary updated