functionRunAndCompare

Runs different instances of the SMIB model to compares their results

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
Modelica.Units.SI.Timetsim100Simulation time
IntegernumberOfIntervalsin10000No. of intervals
Stringmethodin"Dassl"Solver
Realfixedstepsizein1e-3Time step - needed only for fixed time step solvers
StringmodelA"OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB"
StringmodelB"OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIBVarLoad"