1 | model OneState
|
---|
2 |
|
---|
3 | parameter Real quantum = 1.0;
|
---|
4 | parameter Boolean variableQuantum = false;
|
---|
5 | parameter Real tolerance = 0.05;
|
---|
6 | parameter Boolean rollback = true;
|
---|
7 |
|
---|
8 | // impossible to directly use parameter tolerance in the classes -> OM bug?
|
---|
9 | NewMaster.Stepper2 s(quantum = quantum, variableQuantum = variableQuantum, tolerance = 0.05, rollback = rollback);
|
---|
10 | NewMaster.Stepper2 bads(quantum = quantum, variableQuantum = variableQuantum, tolerance = tolerance, rollback = rollback);
|
---|
11 |
|
---|
12 | equation
|
---|
13 |
|
---|
14 | end OneState;
|
---|