Skip to main content

Utilities to set up and analyze Modelica simulation experiments

Project description

ModelicaRes
===========

**Python utilities to set up and analyze Modelica simulation experiments**

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 by
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_.

.. image:: doc/_static/browse.png
:scale: 45 %
:alt: variable browser

.. image:: examples/PID-nyquist.png
:scale: 35 %
:alt: example for modelicares.LinRes.nyquist()

The `main project site <http://kdavies4.github.com/ModelicaRes>`_ 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
<http://old.nabble.com/Arrows-using-Line2D-and-shortening-lines-td19104579.html>`_
class), Jason Heeris (`efficient base-10 logarithm
<http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg14433.html>`_),
Richard Murray (`python-control
<http://sourceforge.net/apps/mediawiki/python-control>`_), and Joerg Raedler
(method to expand a Modelica_ variable tree, from `DyMat
<http://www.j-raedler.de/projects/dymat/>`_)

To install on Linux using a downloaded copy, do the following from the base
folder::

$ python ./setup.py build
$ sudo python ./setup.py install

.. _Modelica: http://www.modelica.org/
.. _Python: http://www.python.org/
.. _matplotlib: http://www.matplotlib.org/
.. _NumPy: http://numpy.scipy.org/

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for ModelicaRes-0.2.tar.gz
Algorithm Hash digest
SHA256 53de3c5994fce3045d8df576967276e7604e4c2a256eed357232cc16506cb1bd
MD5 d519823a1be8d0afe4f70a87d4254757
BLAKE2b-256 3587db529a44aeb20c1a1db608ba19f36d1c8c06ec2f3946be0bd3ed96e400c4

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