modelTank

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

Parameters

TypeNameDefaultDescription
RealA1ground area of tank in m²
Reala0.2area of drain hole in m²
Realhmax1max height of tank in m
RealgModelica.Constants.g_n

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputlevelSensor
inflowinflow1
outflowoutflow1

Components

TypeNameDefaultDescription
ReallevelTank level in % of max height