modelTank

Open vertical 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  
This component model is documented in Sect. 14.5 of the ThermoSysPro book.

Parameters

TypeNameDefaultDescription
Units.SI.AbsolutePressurePatm1.013e5Pressure above the fluid level
Units.SI.AreaA1Tank cross sectional area
Units.SI.Positionze140Altitude of inlet 1
Units.SI.Positionze2de2/2Altitude of inlet 2
Units.SI.Positionzs140Altitude of outlet 1
Units.SI.Positionzs2ds2/2Altitude of outlet 2
Units.SI.Diameterde10.20Diameter of inlet 1
Units.SI.Diameterde20.20Diameter of inlet 2
Units.SI.Diameterds10.20Diameter of outlet 1
Units.SI.Diameterds20.20Diameter of outlet 2
Realke11Pressure loss coefficient for inlet e1
Realke21Pressure loss coefficient for inlet e2
Realks11Pressure loss coefficient for outlet s1
Realks21Pressure 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.Positionz030Initial 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.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
ThermoSysPro.Units.SI.PressureDifferencedeltaP_e1Presure loss for e1
ThermoSysPro.Units.SI.PressureDifferencedeltaP_e2Presure loss for e2
ThermoSysPro.Units.SI.PressureDifferencedeltaP_s1Presure loss for s1
ThermoSysPro.Units.SI.PressureDifferencedeltaP_s2Presure loss for s2
Realomega_e1
Realomega_e2
Realomega_s1
Realomega_s2
Units.SI.Angletheta_e1
Units.SI.Angletheta_e2
Units.SI.Angletheta_s1
Units.SI.Angletheta_s2
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  

Daniel Bouskela