Skip to main content

A Python library containing a variety of scripts and functions for interaction with Modelica and TRANSFORM

Project description


A Python package containing a variety of scripts and functions for interaction with Modelica and TRANSFORM.


Scott Greenwood


This project is licensed under the UT-Battelle Open Source License (Permissive)

Copyright 2017, UT-Battelle, LLC

Installation and Use - pip version may be behind GitHub

pip install modelicapy

from modelicapy import cleanData as cln

For updating your pip install to the latest GitHub version:

pip install git+git://ADDRESS@master


pip install --upgrade git+git://ADDRESS@master

Brief Description of Files

  1. GraphViz folder - Generation of dependency graphs of a Modelica library.
  2. - Generate parametric sweeps for simulations.
  3. - Create a summary of the dslog file (e.g., pass/fail, simulation time, etc.).
  4. - Generate new dsin.txt file from dsin.txt or dsfinal.txt with modified simulation and/or variable parameters.
  5. - Modified file from BuildingsPy for regression testing on Windows
  6. - Returns data using a 'r=Reader' from buildingspy that has been cleaned of repeated values (i.e., due to events) and interpolates between values.
  7. getValues - Functions to return single values from components. Helpful for getting initial values. Includes Modelica formatted output. For use with TRANSFORM.
  8. - autogenerate .mos files for use with buildingspy regression test.
  9. raven folder - contains an example of running FMU (via pyFMI) with RAVEN
  10. wordclouds folder - example playing with the Modelica conference proceedings and wordcloud

To Contribute...

You may report any issues with using the Issues button.

Contributions in the form of Pull Requests are always welcome.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for modelicapy, version 0.3.2
Filename, size & hash File type Python version Upload date
modelicapy-0.3.2-py3-none-any.whl (58.1 kB) View hashes Wheel py3
modelicapy-0.3.2.tar.gz (52.3 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page