modelMakeProduct
State machine defining the time instants when to fill or empty a tank
Extends from StateGraph.PartialCompositeStep (Superclass of a subgraph, i.e., a composite step that has internally a StateGraph).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | limit | 0.98 | Limit level of tank 1 |
| SI.Time | waitTime | 3 | Wait time |
| 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) | ||
| Step | fillTank1 | ||
| Transition | T1 | ||
| Step | fillTank2 | ||
| Transition | T3 | ||
| Step | emptyTank2 | ||
| Step | wait1 | ||
| Transition | T2 | ||
| Step | wait2 | ||
| Transition | T4 |