OpenModelica

Scripts
Useful scripts (shell scripts, python scripts...) for operating on Modelica files

DocumentsDate added

Order by : Name | Date | Hits [ Ascendant ]
file icon reformatFilehot!Tooltip 02/24/2010 Hits: 874

Python script that exports simulation data into a text file, by Jan Pokorny, Brno University of Technology

Usage example:

$ ./reformatFile.py MAGNETLAGER_res.plt s1.F,s2.F,r1.cOut.strom

First argument infile, then the variables to search for separated with a ","
(no whitespace as the whole list of variables is treated as one argument,
maybe I should change that).

file icon MonteCarlo Simulationhot!Tooltip 09/23/2010 Hits: 500

Here is an example of Monte Carlo simulations that are performed with a Python script calling OpenMdoelica with different parameter values every time. Also the result is exported to Matlab for visualisation.

You are here: Home Home Applications Scripts