This is the development site for MPCPy, the python-based open-source platform for model predictive control in buildings.
MPCPy is a python package that facilitates the testing and implementation of occupant-integrated model predictive control (MPC) for building systems. The package focuses on the use of data-driven, simplified physical or statistical models to predict building performance and optimize control. Four main modules contain object classes to import data, interact with real or emulated systems, estimate and validate data-driven models, and optimize control input.
While MPCPy provides an integration platform, it relies on free, open-source, third-party software packages for model implementation, simulators, parameter estimation algorithms, and optimization solvers. This includes python packages for scripting and data manipulation as well as other more comprehensive software packages for specific purposes. In particular, modeling and optimization for physical systems rely on the Modelica language specification (https://www.modelica.org/) and FMI standard (http://fmi-standard.org/) in order to leverage model library and tool development on these standards occurring elsewhere within the building and other industries.
Users can download v0.1.0.
Developers can > git clone https://github.com/lbl-srg/MPCPy.git
.
Then, follow the installation instructions and introductory tutorial in Section 2 of the User Guide, located in /doc/userGuide.
MPCPy uses Python 2.7 and has been tested on Ubuntu 16.04.
Join, follow, and participate in the conversation with the google group!
If you are interested in contributing to this project:
- You are welcome to report any issues in Issues.
- You are welcome to make a contribution by following the steps outlined on the Contribution Workflow page.
Research has shown that MPC can address emerging control challenges faced by buildings. However, there exists no standard practice or methods for implementing MPC in buildings. Implementation is defined here as model structure, complexity, and training methods, data resolution and amount, optimization problem structure and algorithm, and transfer of optimal control solution to real building control. In fact, different applications likely require different implementations. Therefore, we aim for MPCPy to be flexible enough to accommodate different and new approaches to MPC in buildings as research approaches a consensus on best-practice methods.
MPCPy is available under the following open-source license.
To cite MPCPy, please use:
Blum, D. H. and Wetter, M. “MPCPy: An Open-Source Software Platform for Model Predictive Control in Buildings.” Proceedings of the 15th Conference of International Building Performance Simulation, Aug 7 – 9, 2017. San Francisco, CA.