modelTank

Simple tank model (this is a copy from Isolde Dressler's master thesis project)

Parameters

TypeNameDefaultDescription
SI.AreaA1Ground area of tank
SI.Areaa0.2Area of drain hole
SI.Heighthmax1Max height of tank
RealgModelica.Constants.g_n

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputlevelSensor
Modelica.StateGraph.Examples.Utilities.Inflow1inflow1
Modelica.StateGraph.Examples.Utilities.Outflow1outflow1

Components

TypeNameDefaultDescription
ReallevelTank level in % of max height