modelTankController2
Controller 2 for tank system (using expressions to control the valves)
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Height | limit1 | 0.98 | Maximum level of tank 1 |
| Modelica.Units.SI.Height | limit2 | 0.98 | Maximum level of tank 2 |
| Modelica.Units.SI.Height | minLevel | 0.01 | Minimum fill level of a tank |
| Modelica.Units.SI.Time | waitTime | 3 | Wait time to newly open a valve |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| SignalBus | bus |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_StateGraph2.Step | stopStep1 | ||
| Modelica_StateGraph2.Transition | T8 | ||
| Modelica_StateGraph2.Transition | T9 | ||
| Modelica_StateGraph2.Transition | T10 | ||
| Modelica_StateGraph2.Transition | T12 | ||
| Modelica_StateGraph2.Transition | T14 | ||
| Modelica_StateGraph2.Step | stopStep2 | ||
| Modelica_StateGraph2.Transition | T15 | ||
| MakeProduct | makeProduct | ||
| ShutStep | shutStep | ||
| Modelica.Blocks.Sources.BooleanExpression | setValve1 | ||
| Modelica.Blocks.Sources.BooleanExpression | setValve2 | ||
| Modelica_StateGraph2.Blocks.MathBoolean.Or | setValve3 | ||
| Modelica_StateGraph2.Step | waitShut | ||
| Modelica_StateGraph2.Transition | T1 | ||
| Modelica_StateGraph2.Step | waitStop | ||
| Modelica_StateGraph2.Transition | T2 | ||
| Modelica_StateGraph2.Step | waitShut2 | ||
| Modelica_StateGraph2.Transition | T3 |