modelVesselSimple
Extends from VesselFlow.
Information
The VesselFlow model using just a fixed area and height for the vessel.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Nozzles config | |||
| Modelica.Units.SI.Height | inletL (from VesselFlow) | 0 | inlet height over lowest internal point of the vessel |
| Modelica.Units.SI.Height | outletL (from VesselFlow) | 0 | outlet height over lowest internal point of the vessel |
| Modelica.Units.SI.Height | overflowL (from VesselFlow) | 0 | overflow height over lowest internal point of the vessel |
| Modelica.Units.SI.Height | ventOutL (from VesselFlow) | 0 | overflow height over lowest internal point of the vessel |
| Boolean | useVentIn (from VesselFlow) | false | |
| Operations | |||
| Modelica.Units.SI.ThermalConductance | lgConductance (from VesselFlow) | 0 | thermal conductange at the liquid-gas interface |
| Initialization | |||
| SI.Volume | vesselVolume (from VesselFlow) | 1.0 | total volume of the vessel |
| SI.Volume | initialLiquidVolume (from VesselFlow) | 1.0 | initial volume of liquid in the vessel |
| SI.Mass | initialLiquidMass (from VesselFlow) | initialLiquidVolume*MediumL.density(MediumL.setState_pTX(initialP, initialT)) | initial vessel liquid mass |
| SI.Mass | initialGasMass (from VesselFlow) | (vesselVolume - initialLiquidVolume)*MediumG.density(MediumG.setState_pTX(initialP, initialT)) | initial vessel gas mass |
| SI.Temperature | initialT (from VesselFlow) | 298 | initial temperature of the vessel liquid |
| SI.AbsolutePressure | initialP (from VesselFlow) | 101325 | initial vessel pressure in the gas phase |
| Modelica.Units.SI.Energy | initialLiquidEnthalpy (from VesselFlow) | initialLiquidMass*MediumL.specificEnthalpy(MediumL.setState_pTX(initialP, initialT)) | |
| Modelica.Units.SI.Energy | initialGasEnthalpy (from VesselFlow) | initialGasMass*MediumG.specificEnthalpy(MediumG.setState_pTX(initialP, initialT)) | |
| Shape | |||
| Modelica.Units.SI.Area | section | 0 | uniform area of the vessel |
| Modelica.Units.SI.Height | height | 0 | height of the vessel |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FreeFluids.Interfaces.FluidPortA | Inlet (from VesselFlow) | ||
| FreeFluids.Interfaces.FluidPortB | Outlet (from VesselFlow) | ||
| FreeFluids.Interfaces.FluidPortB | Overflow (from VesselFlow) | ||
| FreeFluids.Interfaces.FluidPortA | VentIn (from VesselFlow) | ||
| FreeFluids.Interfaces.FluidPortB | VentOut (from VesselFlow) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Volume | LiquidV (from VesselFlow) | volume of liquid in the vessel | |
| Modelica.Units.SI.Height | LiquidL (from VesselFlow) | level of liquid in the vessel | |
| Modelica.Units.SI.Volume | ViTotal (from VesselFlow) | total internal volume | |
| SI.AbsolutePressure | P (from VesselFlow) | vessel pressure at the gas phase | |
| SI.Temperature | Tl (from VesselFlow) | liquid temperature, considered uniform | |
| SI.Temperature | Tg (from VesselFlow) | gas temperature, considered uniform | |
| MediumL.ThermodynamicState | StateL (from VesselFlow) | thermodynamic state of the liquid phase | |
| MediumG.ThermodynamicState | StateG (from VesselFlow) | thermodynamic state of the gas medium | |
| MediumL.SpecificEnthalpy | Hl (from VesselFlow) | specific enthalpy of the liquid in the tank | |
| Modelica.Units.SI.Energy | LiquidEnthalpy (from VesselFlow) | total enthalpy of the liquid | |
| MediumL.SpecificEnthalpy | Hg (from VesselFlow) | specific enthalpy of the gas in the tank | |
| Modelica.Units.SI.Energy | GasEnthalpy (from VesselFlow) | total enthalpy of the gas | |
| MediumL.Density | RhoL (from VesselFlow) | density of the liquid phase | |
| MediumG.Density | RhoG (from VesselFlow) | density of the gas phase | |
| Modelica.Units.SI.Volume | GasV (from VesselFlow) | volume of gas phase in the vessel | |
| Modelica.Units.SI.Mass | LiquidMass (from VesselFlow) | liquid mass in the vessel | |
| Modelica.Units.SI.Mass | GasMass (from VesselFlow) | gas mass in the vessel |