modelTank
Simple tank model (this is a copy from Isolde Dressler's master thesis project)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | A | 1 | ground area of tank in m² |
| Real | a | 0.2 | area of drain hole in m² |
| Real | hmax | 1 | max height of tank in m |
| Real | g | Modelica.Constants.g_n |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | levelSensor | ||
| inflow | inflow1 | ||
| outflow | outflow1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | level | Tank level in % of max height |