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 currently possible to

  • Auto-generate simulation scripts,

  • Run model executables with varying parameters,

  • 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

An installable copy of this package can be downloaded from the main project site or the PyPI page. After extracting the package, 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

The matplotlibrc file in the bin folder has some recommended revisions to matplotlib’s defaults. To use it, move or copy the file 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. Kevin Bandy also helped with the development. Third-party code has been included from:

License terms

ModelicaRes is published under the terms of the BSD license (see LICENSE.txt). Please share any modifications you make (preferably on a Github fork from https://github.com/kdavies4/ModelicaRes) so that others may benefit from your work.

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.7.2.tar.gz (2.5 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ModelicaRes-0.7.2.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ModelicaRes-0.7.2.tar.gz
Algorithm Hash digest
SHA256 28b139fe350224db750a72e767d36689a5fc2e920381ced3754044c84223041f
MD5 f4cf043c0d11cf7bb41889012315b48f
BLAKE2b-256 9c8a29e616ec9a08456ddd212ff87dd52be35ad0e76e899e7593390b36848464

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