MPCPy
The Python-based open source platform for model predictive control in buildings.
https://github.com/lbl-srg/MPCPy
Category: Consumption
Sub Category: Buildings and Heating
Keywords from Contributors
control buildings energy-efficiency modelica ernergy modelica-library energyplus
Last synced: about 7 hours ago
JSON representation
Repository metadata
Open-source platform for model predictive control (MPC) in buildings.
- Host: GitHub
- URL: https://github.com/lbl-srg/MPCPy
- Owner: lbl-srg
- License: other
- Created: 2017-02-22T15:26:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-07T23:17:18.000Z (about 2 years ago)
- Last Synced: 2025-04-17T21:22:17.529Z (10 days ago)
- Language: Python
- Homepage:
- Size: 25.3 MB
- Stars: 122
- Watchers: 23
- Forks: 33
- Open Issues: 40
- Releases: 1
-
Metadata Files:
- Readme: README.md
- License: license.txt
README.md
This is the development site for MPCPy, the python-based open-source platform for model predictive control in buildings.
General
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.
Third Party Software
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 currently relies 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.
A note to users: Per https://jmodelica.org/, Modelon stopped supporting the open-source JModelica environment as of December 2019. MPCPy can still continue to work with the public open-source version for compilation and optimization of Modelica models. Alternative solutions are being explored for longer-term maintenance.
Getting Started
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!
Contributing
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.
License
MPCPy is available under the following open-source license.
Cite
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.
Owner metadata
- Name: Berkeley Lab - Modeling & Simulation
- Login: lbl-srg
- Email:
- Kind: organization
- Description:
- Website: https://buildings.lbl.gov/modeling-simulation
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/3753398?v=4
- Repositories: 18
- Last ynced at: 2024-03-26T05:26:07.361Z
- Profile URL: https://github.com/lbl-srg
GitHub Events
Total
- Watch event: 6
- Fork event: 1
Last Year
- Watch event: 6
- Fork event: 1
Committers metadata
Last synced: 6 days ago
Total Commits: 515
Total Committers: 6
Avg Commits per committer: 85.833
Development Distribution Score (DDS): 0.05
Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
dhblum | d****m@l****v | 489 |
WalterZWang | z****4@g****m | 10 |
Zhe (Walter) | z****5@l****v | 8 |
Lisa Rivalin | l****n@l****v | 4 |
Michael Wetter | m****r@l****v | 3 |
Krzysztof Arendt | k****a@m****k | 1 |
Committer domains:
- lbl.gov: 4
- mmmi.sdu.dk: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 127
Total pull requests: 89
Average time to close issues: about 2 months
Average time to close pull requests: 3 days
Total issue authors: 14
Total pull request authors: 6
Average comments per issue: 1.57
Average comments per pull request: 0.53
Merged pull request: 87
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- dhblum (111)
- krzysztofarendt (3)
- WalterZWang (2)
- Eramismus (1)
- JamesCheng21 (1)
- GersHub (1)
- starkjiang (1)
- LisaRivalin (1)
- tsnouidui (1)
- TStesco (1)
- kuzha (1)
- mehrdadxyz (1)
- ruoxijia (1)
- jluttine (1)
Top Pull Request Authors
- dhblum (83)
- LisaRivalin (2)
- krzysztofarendt (1)
- mwetter (1)
- tsnouidui (1)
- TStesco (1)
Top Issue Labels
- enhancement (21)
- bug (21)
- good first issue (4)
- Non-Backwards Compatible (2)
- duplicate (1)
- testing (1)
Top Pull Request Labels
Score: 6.879355804460438