Benchmarking Model Predictive Control Algorithms in Building Optimization Testing Framework (BOPTEST)
Saman Mostafavi, Chihyeon Song, Aayushman Sharma, Raman Goyal, Alejandro Brito
TL;DR
The paper tackles the high computational cost of nonlinear model predictive control (NMPC) for physics-based building emulators by proposing offline training of differentiable surrogate models that accelerate evaluations and provide gradients for NMPC. It investigates Linear, MLP, and LSTM surrogates to approximate the dynamics $x_{t+1}=f(x_t,u_t,d_t)$ and employs automatic differentiation to solve NMPC with box constraints, comparing gradient-based and SQP solvers across two BOPTEST case studies. The results show that LSTM and MLP surrogates can achieve strong predictive accuracy and enable energy-reducing control under comfort constraints, with trade-offs between model complexity, computation time, and Jacobian conditioning. The framework is modular and adaptable to different models and control formulations, enabling scalable prototyping of predictive controllers for large buildings and fostering robust real-world deployment.
Abstract
We present a data-driven modeling and control framework for physics-based building emulators. Our approach consists of: (a) Offline training of differentiable surrogate models that accelerate model evaluations, provide cost-effective gradients, and maintain good predictive accuracy for the receding horizon in Model Predictive Control (MPC), and (b) Formulating and solving nonlinear building HVAC MPC problems. We extensively evaluate the modeling and control performance using multiple surrogate models and optimization frameworks across various test cases available in the Building Optimization Testing Framework (BOPTEST). Our framework is compatible with other modeling techniques and can be customized with different control formulations, making it adaptable and future-proof for test cases currently under development for BOPTEST. This modularity provides a path towards prototyping predictive controllers in large buildings, ensuring scalability and robustness in real-world applications.
