functionRunAndCompare
Runs different instances of the SMIB model to compares their results
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | tsim | 100 | Simulation time |
| Integer | numberOfIntervalsin | 10000 | No. of intervals |
| String | methodin | "Dassl" | Solver |
| Real | fixedstepsizein | 1e-3 | Time step - needed only for fixed time step solvers |
| String | modelA | "OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB" | |
| String | modelB | "OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad" |