This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

A tool to communicate with Dymola from python on Windows dympy communicates with dymola through DDE (Dynamic Data Exchange). After a connection with an open Dymola window is established, commands can be sent as if they were typed in the Dymola command line. Several usefull commands (opening models, setting model parameters, compiling, writing a dsin.txt file, simulating, and loading results,…) have been predefined for ease of use.

Check the example below for a quickstart or the docstrings for a more complete guide.



To install download the latest release., unpack, cd to the unpacked folder and run:

python install


First initialize the Dymola connection. It is good practice to clear all open models from Dymola after initialization to avoid redefinition conflicts, however this is not necessary:

dymola = dympy.Dymola()

Next we’ll open a model and compile it:


Parameters can be changed using the set_parameters method. The method takes a dictionary with name, value pairs as input. Inputs can be written to a dsu.txt file using the write_dsu method. The method again takes a dictionary with name, value pairs as input, time must always be one of the inputs:


The simulation can now be started within a certain time range:


After the simulation is finished you can load the results as a dictionary using get_result(). The result is a dictionary with the variable names in dot notation as keys:

res = dymola.get_result()

There is also a get_res method implemented which will return all result keys which are children of the supplied argument key. If the argument has no children it’s value is returned:

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (52.0 kB) Copy SHA256 Checksum SHA256 Source Sep 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting