WOLFRAM SYSTEM MODELER
MakeProductState machine defining the time instants when to fill or empty a tank |
SystemModel["Modelica.StateGraph.Examples.Utilities.MakeProduct"]
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: Real Description: Limit level of tank 1 |
waitTime |
Value: 3 Type: Time (s) Description: Wait time |
active |
Type: Boolean Description: = true, if step is active, otherwise the step is not active |
---|
inPort |
Type: Step_in Description: Input port of a step |
|
---|---|---|
outPort |
Type: Step_out Description: Output port of a step |
|
suspend |
Type: CompositeStep_suspend[nSuspend] Description: Output port of a step (used for suspend connector of a CompositeStep) |
|
resume |
Type: CompositeStep_resume[nResume] Description: Input port of a step (used for resume connector of a CompositeStep) |
|
level1 |
Type: RealInput Description: 'input Real' as connector |
stateGraphRoot |
Type: CompositeStepState Description: Communication port between the CompositeStep and the steps within the CompositeStep |
|
---|---|---|
outerState |
Type: OuterState Description: Block containing the port that is connected to the outer stateGraphRoot |
|
innerState |
Type: InnerState |
|
fillTank1 |
Type: Step Description: Ordinary step (= step that is not active when simulation starts) |
|
T1 |
Type: Transition Description: Transition where the fire condition is set by a modification of variable condition |
|
fillTank2 |
Type: Step Description: Ordinary step (= step that is not active when simulation starts) |
|
T3 |
Type: Transition Description: Transition where the fire condition is set by a modification of variable condition |
|
emptyTank2 |
Type: Step Description: Ordinary step (= step that is not active when simulation starts) |
|
wait1 |
Type: Step Description: Ordinary step (= step that is not active when simulation starts) |
|
T2 |
Type: Transition Description: Transition where the fire condition is set by a modification of variable condition |
|
wait2 |
Type: Step Description: Ordinary step (= step that is not active when simulation starts) |
|
T4 |
Type: Transition Description: Transition where the fire condition is set by a modification of variable condition |
Modelica.StateGraph.Examples.Utilities Controller for tank system |