MakeProductState machine defining the time instants when to fill or empty a tank |
![]() |
nSuspend |
Value: 1 Type: Integer Description: Number of suspend ports |
---|---|
nResume |
Value: 1 Type: Integer Description: Number of resume ports |
limit |
Value: 0.98 Type: SetRealParameter Description: Limit level of tank 1 |
waitTime |
Value: 3 Type: SetRealParameter Description: Wait time |
active |
Type: Boolean Description: = true if step is active, otherwise the step is not active |
---|
stateGraphRoot |
Type: CompositeStepState Description: Communication port between the CompositeStep and the steps within the CompositeStep |
|
---|---|---|
outerState |
Type: OuterState |
|
innerState |
Type: InnerState |
|
![]() |
fillTank1 |
Type: Step |
![]() |
T1 |
Type: Transition |
![]() |
fillTank2 |
Type: Step |
![]() |
T3 |
Type: Transition |
![]() |
emptyTank2 |
Type: Step |
![]() |
wait1 |
Type: Step |
![]() |
T2 |
Type: Transition |
![]() |
wait2 |
Type: Step |
![]() |
T4 |
Type: Transition |
![]() |
Modelica.StateGraph.Examples.Utilities Controller for tank system |