Skip to main content

Utilities to set up and analyze Modelica simulation experiments

Project description

The goal of ModelicaRes is to provide an open-source tool to effectively manage Modelica simulations, interpret results, and create publishable figures. It is currently possible to auto-generate simulation scripts, run model executables with varying parameters, browse data, perform 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 command-line interpreter with math and matrix functions from NumPy.

The main project site includes the full documentation and many examples. The development site is https://github.com/kdavies4/modelicares.

The authors are Kevin Davies and Kevin Bandy. Third-party code has been included from Jason Grout (ArrowLine class), Jason Heeris (efficient base-10 logarithm), Richard Murray (python-control), and Joerg Raedler (method to expand a Modelica variable tree, from DyMat)

To install the package, first download and extract it. Then run the set up script (setup.py) from the base folder. On Windows, use the following command:

python setup.py install

On Linux use:

sudo python setup.py install

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.3.tar.gz (1.7 MB view hashes)

Uploaded Source

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