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.2.tar.gz (470.1 kB view details)

Uploaded Source

Built Distribution

agentlib_mpc-0.6.2-py3-none-any.whl (166.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentlib_mpc-0.6.2.tar.gz
  • Upload date:
  • Size: 470.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for agentlib_mpc-0.6.2.tar.gz
Algorithm Hash digest
SHA256 2b829925f89225cb53179a450f01ddf50c1970f7f5112257399d7601a5599199
MD5 32d53299a68f2252798b5d3aae6a201a
BLAKE2b-256 ff272aa86cc1276a027a8749eb55dad4d0c4125af92e44b2b7b3c8003b832993

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentlib_mpc-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 166.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for agentlib_mpc-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9bfc5799eaee9b08bd5d565a6dde7d08a97ebf0dc2c6c7a4876445b5abb9965f
MD5 5327b188af777b7b1ad1b2785e2af7d9
BLAKE2b-256 9e49ae4593ee6403cfde0b6267d7c476d4ba1733cf0bc13ead173c435f179a8b

See more details on using hashes here.

Supported by

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