modelNormalOperation
Normal operation of tank system (button start pressed)
Extends from Modelica.StateGraph.PartialCompositeStep (Superclass of a subgraph, i.e., a composite step that has internally a StateGraph).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Height | maxLevel | Fill level of tank 1 | |
| SI.Height | minLevel | Lowest level of tank 1 and 2 | |
| SI.Time | waitTime | Wait time between operations | |
| Exception connections | |||
| Integer | nSuspend (from PartialCompositeStep) | 1 | Number of suspend ports |
| Integer | nResume (from PartialCompositeStep) | 1 | Number of resume ports |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| StateGraph.Interfaces.Step_in | inPort (from PartialCompositeStep) | ||
| StateGraph.Interfaces.Step_out | outPort (from PartialCompositeStep) | ||
| StateGraph.Interfaces.CompositeStep_suspend[nSuspend] | suspend (from PartialCompositeStep) | ||
| StateGraph.Interfaces.CompositeStep_resume[nResume] | resume (from PartialCompositeStep) | ||
| Modelica.Blocks.Interfaces.RealInput | level1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| StateGraph.Interfaces.CompositeStepState | stateGraphRoot (from PartialCompositeStep) | Communication port between the CompositeStep and the steps within the CompositeStep | |
| Boolean | active (from PartialCompositeStep) | = true, if step is active, otherwise the step is not active | |
| OuterState | outerState (from PartialCompositeStep) | ||
| Modelica.StateGraph.Step | fillTank1 | ||
| Modelica.StateGraph.Transition | T1 | ||
| Modelica.StateGraph.Step | fillTank2 | ||
| Modelica.StateGraph.Transition | T3 | ||
| Modelica.StateGraph.Step | emptyTank2 | ||
| Modelica.StateGraph.Step | wait1 | ||
| Modelica.StateGraph.Transition | T2 | ||
| Modelica.StateGraph.Step | wait2 | ||
| Modelica.StateGraph.Transition | T4 |