modelVesselSimple

Extends from VesselFlow.

Information

The VesselFlow model using just a fixed area and height for the vessel.

Parameters

TypeNameDefaultDescription
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))
Shape
Modelica.Units.SI.Areasection0uniform area of the vessel
Modelica.Units.SI.Heightheight0height of the vessel

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