Skip to main content

Utilities to set up and analyze Modelica simulation experiments

Project description

ModelicaRes is a free, open-source tool to manage Modelica simulations, interpret results, and create publishable figures. It is possible to

  • Auto-generate simulation scripts,

  • Browse data,

  • Perform custom calculations, and

  • Produce various plots and diagrams.

The figures are generated via matplotlib, which offers a rich set of plotting routines. ModelicaRes includes convenient functions to automatically pre-format and label some figures, like xy plots, Bode and Nyquist plots, and Sankey diagrams. ModelicaRes can be scripted or run from a Python interpreter with math and matrix functions from NumPy.

For more information, please see the main project site or the doc folder of the package for the full documentation and many examples. The development site is https://github.com/kdavies4/modelicares.

Installation

The easiest way to install this package is to use pip:

pip install modelicares

On Linux, it may be necessary to have root privileges:

sudo pip install modelicares

Another way is to download and extract a copy of the package from the main project site, the master branch at GitHub, or the PyPI page. Run the following command from the base folder:

python setup.py install

Or, on Linux:

sudo python setup.py install

The matplotlibrc file in the base folder has some recommended revisions to matplotlib’s defaults. To use it, move or copy it to the working directory or matplotlib’s configuration directory. See http://matplotlib.org/users/customizing.html for details.

Credits

The main author is Kevin Davies. Improvements, bug fixes, and suggestions have been provided by Arnout Aertgeerts, Kevin Bandy, Thomas Beutlich, Martin Sjölund, Mike Tiller, and Michael Wetter.

Third-party code has been included from:

License terms and development

ModelicaRes is published under a BSD license (see LICENSE.txt). Please share any modifications you make (preferably on a Github fork from https://github.com/kdavies4/ModelicaRes) in order to help others. If you find a bug, please report it. If you have suggestions, please share them.

See also

The following Python projects are related:

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

ModelicaRes-0.10.0.tar.gz (3.2 MB view details)

Uploaded Source

File details

Details for the file ModelicaRes-0.10.0.tar.gz.

File metadata

File hashes

Hashes for ModelicaRes-0.10.0.tar.gz
Algorithm Hash digest
SHA256 391a0518065276027a6df6123ea4e540166814a799d7cb02f9b27c9d00e06713
MD5 1825410399f20e1d2c79ce41c3945e99
BLAKE2b-256 f1ef2a4f39cd6f9fa50af3d772d37568c8dfc9d36bcafb278c4f960af487cb0a

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