Skip to main content

agentlib_mpc

License pylint documentation

This is a plugin for AgentLib. Includes functions for modeling with CasADi, and using those models in nonlinear MPC, central and distributed (based on ADMM).

See examples and the tutorial in the docs. Best example to start is an MPC for a single air conditioned room.

Installation

Install with:

pip install agentlib_mpc

To install with full dependencies (recommended), run:

pip install agentlib_mpc[full]

Optional Dependencies

AgentLib_MPC has a number of optional dependencies:

  • fmu: Support simulation of FMU models (https://fmi-standard.org/).
  • ml: Use machine learning based NARX models for MPC. Currently supports neural networks, gaussian process regression and linear regression. Installs tensorflow, keras and scikit-learn.
  • interactive: Utility functions for displaying mpc results in an interactive dashboard. Installs plotly and dash.

Install these like

pip install agentlib_mpc[ml]

Citing AgentLib_MPC

For now, please cite the base framework under https://github.com/RWTH-EBC/AgentLib.

A preprint is available under http://dx.doi.org/10.2139/ssrn.4884846 and can be cited as:

Eser, Steffen and Storek, Thomas and Wüllhorst, Fabian and Dähling, Stefan and Gall, Jan and Stoffel, Phillip and Müller, Dirk, A Modular Python Framework for Rapid Development of Advanced Control Algorithms for Energy Systems. Available at SSRN: https://ssrn.com/abstract=4884846 or http://dx.doi.org/10.2139/ssrn.4884846

When using AgentLib-MPC, please remember to cite other tools that you are using, for example CasADi or IPOPT.

Acknowledgments

We gratefully acknowledge the financial support by Federal Ministry \ for Economic Affairs and Climate Action (BMWK), promotional reference 03ET1495A.

BMWK

Metadata

Release files for agentlib-mpc 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentlib-mpc 0.6.4
File Size Uploaded
agentlib_mpc-0.6.4.tar.gz 474.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentlib-mpc 0.6.4
File Interpreter ABI Platform
agentlib_mpc-0.6.4-py3-none-any.whl Python 3 none any Details

Total release size: 646.2 kB

Release files / agentlib_mpc-0.6.4.tar.gz

Download URL agentlib_mpc-0.6.4.tar.gz
Size 474.4 kB
Tags Source
SHA-256 checksum
How to use checksums
577b19dc01c72fec8b5a022ea9ce39f39cfc052be78282707e1c78738b7fe0c8
BLAKE2b-256 checksum
How to use checksums
6a78e78651c7c49435e9f31053e1b99408eb090393ae62ca180398687d49997c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release files / agentlib_mpc-0.6.4-py3-none-any.whl

Download URL agentlib_mpc-0.6.4-py3-none-any.whl
Size 171.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fda6444f16d03dfccd056181531f8bff2bed6dc8db8dfabba4be81479118ea4a
BLAKE2b-256 checksum
How to use checksums
a23712bdc63605573f339a54e1a7d0254f76fdcc343b0fb259c5b1a90482aa4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.11

Release history Release notifications | RSS feed

This release

0.6.4 This release

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page