modelTank

Open tank with free surface

Extends from Icons.Water.Tank.

Information

This model describes a simple free-surface cylindrical water tank. The model is based on mass and energy balances, assuming that no heat transfer takes place except through the inlet and outlet flows.

The pressure at the inlet and outlet ports is the ambient pressure plus the static head due to the level, while the pressure at the inletTop port is the ambient pressure.

Parameters

TypeNameDefaultDescription
SI.AreaACross-sectional area
SI.VolumeV00Volume at zero level
SI.Heighty00Height of zero level over inlet and outlet flanges
BooleanallowFlowReversalsystem.allowFlowReversal= true to allow flow reversal, false restricts to design direction
SI.AccelerationgModelica.Constants.g_n
Initialisation
SI.LengthystartStart level
Medium.SpecificEnthalpyhstart1e5
Choices.Init.OptionsinitOptsystem.initOptInitialisation option
BooleannoInitialPressurefalseRemove initial equation on pressure

Connectors

TypeNameDefaultDescription
FlangeAinlet
FlangeAinletTop
FlangeBoutlet

Components

TypeNameDefaultDescription
Medium.ThermodynamicStateliquidStateThermodynamic state of the liquid
ThermoPower.SystemsystemSystem wide properties
SI.LengthyLevel
SI.VolumeVLiquid volume
SI.MassMLiquid mass
SI.EnthalpyHLiquid (total) enthalpy
Medium.SpecificEnthalpyhLiquid specific enthalpy
Medium.SpecificEnthalpyhinInlet specific enthalpy
Medium.SpecificEnthalpyhtopTop inlet specific enthalpy
Medium.SpecificEnthalpyhoutOutlet specific enthalpy
Medium.AbsolutePressurepBottom pressure

Contents

NameDescription
Medium

Revisions