modelTank

Parameters

TypeNameDefaultDescription
Modelica.SIunits.VolumeVtot0.002Volume of the tank
Modelica.SIunits.Pressurep_gas0Partial pressure of non-condensable gases
Initialisation
Modelica.SIunits.Pressurepstart5e5Initial pressure
Modelica.SIunits.SpecificEnthalpyhstart3.82E4Key parameter for the determination of the initial pressure
Reallevel_start0.6Initial level
Booleanimpose_leveltrueSet to yes to impose the initial tank level
Booleanimpose_pressurefalseSet to yes to impose the initial tank pressure

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputlevel
Interfaces.Fluid.FlangeAInFlow
Interfaces.Fluid.FlangeBOutFlow

Components

TypeNameDefaultDescription
Medium.ThermodynamicStatefluidState
Medium.SaturationPropertiessat
Modelica.SIunits.Pressurep_totTotal pressure of the system
Medium.DensityrhoInlet density
Modelica.SIunits.VolumeVlVolume of the fluid in liquid phase [m3]
Modelica.SIunits.VolumeVvVolume of the fluid in vapor phase [m3]
Modelica.SIunits.MassFlowRateM_dot_exOutlet mass flow [kg/s]
Modelica.SIunits.MassFlowRateM_dot_suInlet mass flow [kg/s]
Modelica.SIunits.SpecificEnthalpyh_exOutlet enthalpy [kJ/kg]
Modelica.SIunits.SpecificEnthalpyh_suInlet enthalpy [kJ/kg]
Modelica.SIunits.Pressurep
Modelica.SIunits.MassMTotal mass of the fluid stored [kg]
Modelica.SIunits.DensityrholDensity of the fluid in liquid phase [kg/m3]
Modelica.SIunits.DensityrhovDensity of the fluid in vapor phase [kg/m3]
Modelica.SIunits.SpecificEnthalpyhlEnthalpy of the fluid in liquid phase [kJ/kg]
Modelica.SIunits.SpecificEnthalpyhvEnthalpy of the fluid in vapor phase [kJ/kg]
Modelica.SIunits.SpecificEnthalpyh
Modelica.SIunits.DerDensityByEnthalpydrdhDerivative of average density by enthalpy
Modelica.SIunits.DerDensityByPressuredrdpDerivative of average density by pressure

Contents

NameDescription
Medium