modelTankHorizontal

Open horizontal tank

Extends from ThermoSysPro.Fluid.Interfaces.PropertyInterfaces.FluidTypeParameterInterface (Interface to display the fluid type after parametrization), ThermoSysPro.Fluid.Interfaces.IconColors (Colors of the static, singular and dynamic model icons).

Information

## Copyright © EDF 2002 - 2026   
## ThermoSysPro Version 4.2

Parameters

TypeNameDefaultDescription
Units.SI.AbsolutePressurePatm1.013e5Pressure above the fluid level
Units.SI.RadiusR1Radius of the tank cross-sectional area
Units.SI.LengthL10Tank equivalentlength
Units.SI.Positionze12*RAltitude of inlet 1
Units.SI.Positionze20Altitude of inlet 2
Units.SI.Positionzs12*RAltitude of outlet 1
Units.SI.Positionzs20Altitude of outlet 2
ThermoSysPro.Units.xSI.PressureLossCoefficientke11Pressure loss coefficient for inlet e1
ThermoSysPro.Units.xSI.PressureLossCoefficientke21Pressure loss coefficient for inlet e2
ThermoSysPro.Units.xSI.PressureLossCoefficientks11Pressure loss coefficient for outlet s1
ThermoSysPro.Units.xSI.PressureLossCoefficientks21Pressure loss coefficient for outlet s2
Booleandynamic_energy_balancetruetrue: dynamic energy balance equation - false: static energy balance equation
Booleandynamic_mass_balancefalsetrue: dynamic mass balance equation - false: static mass balance equation (active if the fluid is compressible and if dynamic_energy_balance=true)
Booleansteady_statefalsetrue: start from steady state - false: start from (P0, h0) (active if dynamic_energy_balance=true)
Units.SI.SpecificEnthalpyh01.e5Initial fluid specific enthalpy (active if steady_state=false)
Booleansteady_state_mechfalsetrue: start from steady state - false: start from z0
Units.SI.Positionz02*RInitial fluid level (active if steady_state_mech=false)
Booleancontinuous_flow_reversalfalsetrue: continuous flow reversal - false: discontinuous flow reversal
Booleandiffusionfalsetrue: energy balance equation with diffusion - false: energy balance equation without diffusion
Fluid › Fluid properties
FluidTypeftype (from FluidTypeParameterInterface)FluidType.WaterSteamFluid type
Units.SI.Densityp_rho0If > 0, fixed fluid density
IF97RegionregionIF97Region.All_regionsIF97 region (active for IF97 water/steam only)
Booleandynamic_composition_balancefalse<html>true: dynamic fluid composition balance equation <br>false: static fluid composition balance equation (active for flue gases)</html>
Fluid › Initial composition values (active for flue gases only if dynamic_composition_balance=true)
ThermoSysPro.Units.SI.MassFractionXco200.0Initial CO2 mass fraction
ThermoSysPro.Units.SI.MassFractionXh2o0if ftype == FluidType.FlueGases then 0.05 else 0Initial H20 mass fraction
ThermoSysPro.Units.SI.MassFractionXo200.23Initial O2 mass fraction
ThermoSysPro.Units.SI.MassFractionXso200Initial SO2 mass fraction

Connectors

TypeNameDefaultDescription
ThermoSysPro.InstrumentationAndControl.Connectors.OutputRealyLevelWater level
ThermoSysPro.Fluid.Interfaces.Connectors.FluidInletCe1
ThermoSysPro.Fluid.Interfaces.Connectors.FluidOutletCs2
ThermoSysPro.Thermal.Connectors.ThermalPortCth
ThermoSysPro.Fluid.Interfaces.Connectors.FluidInletCe2
ThermoSysPro.Fluid.Interfaces.Connectors.FluidOutletCs1

Components

TypeNameDefaultDescription
Integerfluid1 (from FluidTypeParameterInterface)Integer(ftype)Fluid number
Units.SI.PositionzFluid level
Units.SI.AreaASurface of the liquid in the tank
Units.SI.AnglethetaAngle
Units.SI.AreaAwWall area = Wall surface on contact with the outside
Units.SI.AreaAlCross section area of the liquid in the tank
Units.SI.AreaAlwLiquid surface on contact with the wall
Units.SI.VolumeVlFluid volume
Units.SI.VolumeVTank volume
Units.SI.TemperatureTFluid temperature
Units.SI.AbsolutePressurePFluid average pressure
Units.SI.SpecificEnthalpyhFluid average specific enthalpy
Units.SI.DensityrhoFluid density
Units.SI.MassFlowRateBQRight hand side of the mass balance equation
Units.SI.PowerBHRight hand side of the energy balance equation
RealOe1
RealOe2
RealOs1
RealOs2
Units.SI.DerDensityByPressureddphdensity derivative by pressure
Units.SI.DerDensityByEnthalpyddhpdensity derivative by enthalpy
FluidType[5]fluidsFluids mixing in volume
Units.SI.MassFlowRateBXco2Right hand side of the CO2 balance equation
Units.SI.MassFlowRateBXh2oRight hand side of the H2O balance equation
Units.SI.MassFlowRateBXo2Right hand side of the O2 balance equation
Units.SI.MassFlowRateBXso2Right hand side of the SO2 balance equation
ThermoSysPro.Units.SI.MassFractionXco2CO2 mass fraction
ThermoSysPro.Units.SI.MassFractionXh2oH20 mass fraction
ThermoSysPro.Units.SI.MassFractionXo2O2 mass fraction
ThermoSysPro.Units.SI.MassFractionXso2SO2 mass fraction
Units.SI.PowerJe1Thermal power diffusion from inlet e1
Units.SI.PowerJe2Thermal power diffusion from inlet e2
Units.SI.PowerJs1Thermal power diffusion from outlet s1
Units.SI.PowerJs2Thermal power diffusion from outlet s2
Units.SI.PowerJTotal thermal power diffusion
Units.SI.MassFlowRategamma_e1Diffusion conductance for inlet e1
Units.SI.MassFlowRategamma_e2Diffusion conductance for inlet e2
Units.SI.MassFlowRategamma_s1Diffusion conductance for outlet s1
Units.SI.MassFlowRategamma_s2Diffusion conductance for outlet s2
Realre1Value of r(Q/gamma) for inlet e1
Realre2Value of r(Q/gamma) for inlet e2
Realrs1Value of r(Q/gamma) for outlet s1
Realrs2Value of r(Q/gamma) for outlet s2

Revisions

Author  

Baligh El Hefni