Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.82 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.82 KB

Example data files:

  1. ChuaCircuit.mat: Simulation result of Modelica.Electrical.Analog.Examples.ChuaCircuit from the Modelica Standard Library version 3.2 (2010-10-25, build 5) with a stop time of 2500 s. This can be generated by ChuaCircuit/sim-and-plot.py (via Dymola; the first result of the two) or by the example in the documentation for the gen_sim_script method of modelicares.exps (see ../doc/exps.html).
  2. dsin.txt: Parameter input file for Modelica.Electrical.Analog.Examples.ChuaCircuit, generated from Dymola 7.4.
  3. load-csv.csv: From http://en.wikipedia.org/wiki/Comma-separated_values#Example, accessed 2012-10-11.
  4. PID.mat: Linearization result of Modelica.Blocks.Continuous.PID.
  5. ThreeTanks.mat: Simulation result of Modelica.Fluid.Examples.ThreeTanks.

Scripts:

  1. control-demo.py: Demo from the control module (included external library; see ../external/control).
  2. load-csv.py: Example of using modelicares.load_csv().

Folders:

  1. ChuaCircuit: Contains an example script (ChuaCircuit/sim-and-plot.py) to run Modelica.Electrical.Analog.Examples.ChuaCircuit with various settings and plot the results. The results and plots are also saved there.
  2. PID: Contains an example script (PID/lin.py) to linearize Modelica.Blocks.Continuous.PID with various settings and plot the results. The results and plots are also saved there.

Images from the examples in the ModelicaRes documentation are generated here.