modelVesselDetailed

Diagram of VesselDetailed

Extends from VesselFlow, VesselLevel.

Information

Combines the tracking capabilities of the VesselFlow model with a detailed description of the vessel.

Parameters

TypeNameDefaultDescription
BooleanfixLiquidLevel (from VesselLevel)trueif true, liquid height will be fixed to liquidL
SI.HeightliquidL (from VesselLevel)0fixed liquid level over lowest vessel point
BooleanfixLiquidVolume (from VesselLevel)falseif true, liquid volume will be fixed to liquidV. Do not fix height and volume simultaneously
SI.VolumeliquidV (from VesselLevel)0fixed liquid volume
Nozzles config
Modelica.Units.SI.HeightinletL (from VesselFlow)0inlet height over lowest internal point of the vessel
Modelica.Units.SI.HeightoutletL (from VesselFlow)0outlet height over lowest internal point of the vessel
Modelica.Units.SI.HeightoverflowL (from VesselFlow)0overflow height over lowest internal point of the vessel
Modelica.Units.SI.HeightventOutL (from VesselFlow)0overflow height over lowest internal point of the vessel
BooleanuseVentIn (from VesselFlow)false
Operations
Modelica.Units.SI.ThermalConductancelgConductance (from VesselFlow)0thermal conductange at the liquid-gas interface
Initialization
SI.VolumevesselVolume (from VesselFlow)1.0total volume of the vessel
SI.VolumeinitialLiquidVolume (from VesselFlow)1.0initial volume of liquid in the vessel
SI.MassinitialLiquidMass (from VesselFlow)initialLiquidVolume*MediumL.density(MediumL.setState_pTX(initialP, initialT))initial vessel liquid mass
SI.MassinitialGasMass (from VesselFlow)(vesselVolume - initialLiquidVolume)*MediumG.density(MediumG.setState_pTX(initialP, initialT))initial vessel gas mass
SI.TemperatureinitialT (from VesselFlow)298initial temperature of the vessel liquid
SI.AbsolutePressureinitialP (from VesselFlow)101325initial vessel pressure in the gas phase
Modelica.Units.SI.EnergyinitialLiquidEnthalpy (from VesselFlow)initialLiquidMass*MediumL.specificEnthalpy(MediumL.setState_pTX(initialP, initialT))
Modelica.Units.SI.EnergyinitialGasEnthalpy (from VesselFlow)initialGasMass*MediumG.specificEnthalpy(MediumG.setState_pTX(initialP, initialT))
Shell data
BooleanisVertical (from VesselPhysical)trueif true, the shell is considered vertical, otherwise horizontal
Types.VesselFormvesselForm (from VesselPhysical)Types.VesselForm.cylinder
Modelica.Units.SI.Diameterdi (from VesselPhysical)0internal diameter, if cylinder or sphere
Modelica.Units.SI.Areasection (from VesselPhysical)0if prism
Modelica.Units.SI.Lengthperimeter (from VesselPhysical)0if prism
Modelica.Units.SI.LengthshellLength (from VesselPhysical)0shell length
SI.DistanceshellThickness (from VesselPhysical)0shell wall thickness
SI.DensityshellRho (from VesselPhysical)8000typical for SS: 8000 kgr/m3, HDPE: 960
SI.HeatCapacityshellCp (from VesselPhysical)500typical for SS: 500 J/(kgr·K), HDPE: 2260
SI.ThermalConductivityshellK (from VesselPhysical)15shell wall thermal conductivity. typical value for SS=16.7, HDPE:0.33
Bottom data
Types.HeadShapevesselBottom (from VesselPhysical)Types.HeadShape.flat
FractionbFd (from VesselPhysical)if vesselBottom == Types.HeadShape.Klopper then 1.0 elseif vesselBottom == Types.HeadShape.Korbbogen then 0.8 else 0ratio of bottom dish radius to tank diameter for torispheral head
FractionbFk (from VesselPhysical)if vesselBottom == Types.HeadShape.Klopper then 0.1 elseif vesselBottom == Types.HeadShape.Korbbogen then 0.154 else 0ratio of bottom knuckle radius to tank diameter for torispheral head
SI.DistancebottomHeight (from VesselPhysical)0bottom height if ellipsoidal/conical/piramid
SI.DistancebottomThickness (from VesselPhysical)shellThicknessbottom wall thickness
SI.DensitybottomRho (from VesselPhysical)shellRhotypical for SS: 8000 kgr/m3, HDPE: 960
SI.HeatCapacitybottomCp (from VesselPhysical)shellCptypical for SS: 500 J/(kgr·K), HDPE: 2260
SI.ThermalConductivitybottompK (from VesselPhysical)shellKbottom wall thermal conductivity. typical value for SS=16.7, HDPE:0.33
Top data
Types.HeadShapevesselTop (from VesselPhysical)Types.HeadShape.flat
FractiontFd (from VesselPhysical)if vesselTop == Types.HeadShape.Klopper then 1.0 elseif vesselTop == Types.HeadShape.Korbbogen then 0.8 else 0ratio of bottom dish radius to tank diameter for torispheral head
FractiontFk (from VesselPhysical)if vesselTop == Types.HeadShape.Klopper then 0.1 elseif vesselTop == Types.HeadShape.Korbbogen then 0.154 else 0ratio of bottom knuckle radius to tank diameter for torispheral head
SI.DistancetopHeight (from VesselPhysical)0top height if ellipsoidal/conical/piramid. Measured inside
SI.DistancetopThickness (from VesselPhysical)shellThicknesstop wall thickness
SI.DensitytopRho (from VesselPhysical)shellRhotypical for SS: 8000 kgr/m3, HDPE: 960
SI.HeatCapacitytopCp (from VesselPhysical)shellCptypical for SS: 500 J/(kgr·K), HDPE: 2260
SI.ThermalConductivitytopK (from VesselPhysical)shellKtop wall thermal conductivity. typical value for SS=16.7, HDPE:0.33
Insulation
SI.DistanceinsulationThickness (from VesselPhysical)0
SI.ThermalConductivityinsulationK (from VesselPhysical)0.04Insulation thermal conductivity. Typical value for glass fiber=0.04 W/(K·m)

Connectors

TypeNameDefaultDescription
FreeFluids.Interfaces.FluidPortAInlet (from VesselFlow)
FreeFluids.Interfaces.FluidPortBOutlet (from VesselFlow)
FreeFluids.Interfaces.FluidPortBOverflow (from VesselFlow)
FreeFluids.Interfaces.FluidPortAVentIn (from VesselFlow)
FreeFluids.Interfaces.FluidPortBVentOut (from VesselFlow)

Components

TypeNameDefaultDescription
Modelica.Units.SI.VolumeLiquidV (from VesselFlow)volume of liquid in the vessel
Modelica.Units.SI.HeightLiquidL (from VesselFlow)level of liquid in the vessel
Modelica.Units.SI.VolumeViTotal (from VesselFlow)total internal volume
SI.AbsolutePressureP (from VesselFlow)vessel pressure at the gas phase
SI.TemperatureTl (from VesselFlow)liquid temperature, considered uniform
SI.TemperatureTg (from VesselFlow)gas temperature, considered uniform
MediumL.ThermodynamicStateStateL (from VesselFlow)thermodynamic state of the liquid phase
MediumG.ThermodynamicStateStateG (from VesselFlow)thermodynamic state of the gas medium
MediumL.SpecificEnthalpyHl (from VesselFlow)specific enthalpy of the liquid in the tank
Modelica.Units.SI.EnergyLiquidEnthalpy (from VesselFlow)total enthalpy of the liquid
MediumL.SpecificEnthalpyHg (from VesselFlow)specific enthalpy of the gas in the tank
Modelica.Units.SI.EnergyGasEnthalpy (from VesselFlow)total enthalpy of the gas
MediumL.DensityRhoL (from VesselFlow)density of the liquid phase
MediumG.DensityRhoG (from VesselFlow)density of the gas phase
Modelica.Units.SI.VolumeGasV (from VesselFlow)volume of gas phase in the vessel
Modelica.Units.SI.MassLiquidMass (from VesselFlow)liquid mass in the vessel
Modelica.Units.SI.MassGasMass (from VesselFlow)gas mass in the vessel
RealBalpha1 (from VesselPhysical)
RealBalpha2 (from VesselPhysical)
RealTalpha1 (from VesselPhysical)
RealTalpha2 (from VesselPhysical)height of the dish and knuckle regions of torispheral heads
Modelica.Units.SI.DiameterDi (from VesselPhysical)internal diameter, if cylinder or sphere
Modelica.Units.SI.DiameterDo (from VesselPhysical)external diameter, if cylinder or sphere
Modelica.Units.SI.AreaShellSi (from VesselPhysical)shell internal surface
Modelica.Units.SI.VolumeShellVi (from VesselPhysical)shell internal volume
Modelica.Units.SI.AreaShellSo (from VesselPhysical)shell external surface
Modelica.Units.SI.VolumeShellVo (from VesselPhysical)shell external volume
Modelica.Units.SI.MassShellMass (from VesselPhysical)shell mass
Modelica.Units.SI.LengthBottomHi (from VesselPhysical)bottom internal height
Modelica.Units.SI.LengthBottomHo (from VesselPhysical)bottom external height
Modelica.Units.SI.AreaBottomSi (from VesselPhysical)bottom internal surface
Modelica.Units.SI.VolumeBottomVi (from VesselPhysical)bottom internal volume
Modelica.Units.SI.AreaBottomSo (from VesselPhysical)bottom external surface
Modelica.Units.SI.VolumeBottomVo (from VesselPhysical)bottom external volume
Modelica.Units.SI.MassBottomMass (from VesselPhysical)bottom mass
Modelica.Units.SI.LengthTopHi (from VesselPhysical)top internal height
Modelica.Units.SI.LengthTopHo (from VesselPhysical)top external height
Modelica.Units.SI.AreaTopSi (from VesselPhysical)top internal surface
Modelica.Units.SI.VolumeTopVi (from VesselPhysical)top internal volume
Modelica.Units.SI.AreaTopSo (from VesselPhysical)top external surface
Modelica.Units.SI.VolumeTopVo (from VesselPhysical)top external volume
Modelica.Units.SI.MassTopMass (from VesselPhysical)top mass
Modelica.Units.SI.AreaSiTotal (from VesselPhysical)total internal surface
Modelica.Units.SI.AreaSoTotal (from VesselPhysical)total external surface
Modelica.Units.SI.VolumeVoTotal (from VesselPhysical)total external volume
Modelica.Units.SI.MassMassTotal (from VesselPhysical)total vessel mass, without containt
RealAlpha (from VesselLevel)adimensional level of liquid: LiquidL/Di