Skip to main content

Framework for development and execution of agents for control and simulation of energy systems.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentlib_mpc-0.6.4.tar.gz (474.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentlib_mpc-0.6.4-py3-none-any.whl (171.8 kB view details)

Uploaded Python 3

File details

Details for the file agentlib_mpc-0.6.4.tar.gz.

File metadata

  • Download URL: agentlib_mpc-0.6.4.tar.gz
  • Upload date:
  • Size: 474.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for agentlib_mpc-0.6.4.tar.gz
Algorithm Hash digest
SHA256 577b19dc01c72fec8b5a022ea9ce39f39cfc052be78282707e1c78738b7fe0c8
MD5 9486e01dd82f060647ff619344e34f22
BLAKE2b-256 6a78e78651c7c49435e9f31053e1b99408eb090393ae62ca180398687d49997c

See more details on using hashes here.

File details

Details for the file agentlib_mpc-0.6.4-py3-none-any.whl.

File metadata

  • Download URL: agentlib_mpc-0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 171.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for agentlib_mpc-0.6.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fda6444f16d03dfccd056181531f8bff2bed6dc8db8dfabba4be81479118ea4a
MD5 5e6099af2897decb5906c32b2b5855ee
BLAKE2b-256 a23712bdc63605573f339a54e1a7d0254f76fdcc343b0fb259c5b1a90482aa4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page