modelTankLevelControl
Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | level_max | Max fluid level (pump turns on) | |
| SI.Length | level_min | Min fluid level (pump turns off) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Length | level | Fluid level | |
| Real | drainRate_active | Specified flow rate out of tank when active | |
| Real | drainRate_nonActive | 0 | Specified flow rate out of tank when not active |
| Modelica.Blocks.Logical.Hysteresis | hysteresis | ||
| Modelica.Blocks.Logical.Switch | switch |