Skip to main content

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

Project description

ModelicaPy

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

Contact

Scott Greenwood

License

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

Copyright 2017, UT-Battelle, LLC

Installation and Use

https://pypi.org/project/modelicapy/ - 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

or

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

Brief Description of Files

  1. GraphViz folder - Generation of dependency graphs of a Modelica library.
  2. parametric.py - Generate parametric sweeps for simulations.
  3. read_dslog.py - Create a summary of the dslog file (e.g., pass/fail, simulation time, etc.).
  4. gen_dsin.py - Generate new dsin.txt file from dsin.txt or dsfinal.txt with modified simulation and/or variable parameters.
  5. regressiontest.py - Modified regressiontest.py file from BuildingsPy for regression testing on Windows
  6. cleanData.py - 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. createUnitScripts.py - 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.

Source Distribution

modelicapy-0.3.2.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modelicapy-0.3.2-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

Details for the file modelicapy-0.3.2.tar.gz.

File metadata

  • Download URL: modelicapy-0.3.2.tar.gz
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for modelicapy-0.3.2.tar.gz
Algorithm Hash digest
SHA256 86925898b790ec42f9e375471767cc0dd187f225e5e6d61a9ea3aa11a228e93b
MD5 7dc7840189b0f2f10661966149e0ee53
BLAKE2b-256 d69c45d518158992c8248d24566a100b45828089b59cd90f0eec56c825416782

See more details on using hashes here.

File details

Details for the file modelicapy-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: modelicapy-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 58.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for modelicapy-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b3c3551f91db4de6d87fddeafe0998b9091f0016d402c8e4dfccab71c12aee3
MD5 94b2ea63282e64e9d1cfd047ee3aa0ba
BLAKE2b-256 00a3cc771217e696e8c5eb003ccbb05df541213f286528964cc85c16534ba184

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page