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
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.AbsolutePressure | Patm | 1.013e5 | Pressure above the fluid level |
| Units.SI.Area | A | 1 | Tank cross sectional area |
| Units.SI.Position | ze1 | 40 | Altitude of inlet 1 |
| Units.SI.Position | ze2 | de2/2 | Altitude of inlet 2 |
| Units.SI.Position | zs1 | 40 | Altitude of outlet 1 |
| Units.SI.Position | zs2 | ds2/2 | Altitude of outlet 2 |
| Units.SI.Diameter | de1 | 0.20 | Diameter of inlet 1 |
| Units.SI.Diameter | de2 | 0.20 | Diameter of inlet 2 |
| Units.SI.Diameter | ds1 | 0.20 | Diameter of outlet 1 |
| Units.SI.Diameter | ds2 | 0.20 | Diameter of outlet 2 |
| Real | ke1 | 1 | Pressure loss coefficient for inlet e1 |
| Real | ke2 | 1 | Pressure loss coefficient for inlet e2 |
| Real | ks1 | 1 | Pressure loss coefficient for outlet s1 |
| Real | ks2 | 1 | Pressure loss coefficient for outlet s2 |
| Boolean | dynamic_energy_balance | true | true: dynamic energy balance equation - false: static energy balance equation |
| Boolean | dynamic_mass_balance | false | true: dynamic mass balance equation - false: static mass balance equation (active if the fluid is compressible and if dynamic_energy_balance=true) |
| Boolean | steady_state | false | true: start from steady state - false: start from (P0, h0) (active if dynamic_energy_balance=true) |
| Units.SI.SpecificEnthalpy | h0 | 1.e5 | Initial fluid specific enthalpy (active if steady_state=false) |
| Boolean | steady_state_mech | false | true: start from steady state - false: start from z0 |
| Units.SI.Position | z0 | 30 | Initial fluid level (active if steady_state_mech=false) |
| Boolean | continuous_flow_reversal | false | true: continuous flow reversal - false: discontinuous flow reversal |
| Boolean | diffusion | false | true: energy balance equation with diffusion - false: energy balance equation without diffusion |
| Fluid › Fluid properties | |||
| FluidType | ftype (from FluidTypeParameterInterface) | FluidType.WaterSteam | Fluid type |
| Units.SI.Density | p_rho | 0 | If > 0, fixed fluid density |
| IF97Region | region | IF97Region.All_regions | IF97 region (active for IF97 water/steam only) |
| Boolean | dynamic_composition_balance | false | <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.MassFraction | Xco20 | 0.0 | Initial CO2 mass fraction |
| ThermoSysPro.Units.SI.MassFraction | Xh2o0 | if ftype == FluidType.FlueGases then 0.05 else 0 | Initial H20 mass fraction |
| ThermoSysPro.Units.SI.MassFraction | Xo20 | 0.23 | Initial O2 mass fraction |
| ThermoSysPro.Units.SI.MassFraction | Xso20 | 0 | Initial SO2 mass fraction |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | fluid1 (from FluidTypeParameterInterface) | Integer(ftype) | Fluid number |
| Units.SI.Position | z | Fluid level | |
| Units.SI.Temperature | T | Fluid temperature | |
| Units.SI.AbsolutePressure | P | Fluid average pressure | |
| Units.SI.SpecificEnthalpy | h | Fluid average specific enthalpy | |
| Units.SI.Density | rho | Fluid density | |
| Units.SI.MassFlowRate | BQ | Right hand side of the mass balance equation | |
| Units.SI.Power | BH | Right hand side of the energy balance equation | |
| ThermoSysPro.Units.SI.PressureDifference | deltaP_e1 | Presure loss for e1 | |
| ThermoSysPro.Units.SI.PressureDifference | deltaP_e2 | Presure loss for e2 | |
| ThermoSysPro.Units.SI.PressureDifference | deltaP_s1 | Presure loss for s1 | |
| ThermoSysPro.Units.SI.PressureDifference | deltaP_s2 | Presure loss for s2 | |
| Real | omega_e1 | ||
| Real | omega_e2 | ||
| Real | omega_s1 | ||
| Real | omega_s2 | ||
| Units.SI.Angle | theta_e1 | ||
| Units.SI.Angle | theta_e2 | ||
| Units.SI.Angle | theta_s1 | ||
| Units.SI.Angle | theta_s2 | ||
| Units.SI.DerDensityByPressure | ddph | density derivative by pressure | |
| Units.SI.DerDensityByEnthalpy | ddhp | density derivative by enthalpy | |
| FluidType[5] | fluids | Fluids mixing in volume | |
| Units.SI.MassFlowRate | BXco2 | Right hand side of the CO2 balance equation | |
| Units.SI.MassFlowRate | BXh2o | Right hand side of the H2O balance equation | |
| Units.SI.MassFlowRate | BXo2 | Right hand side of the O2 balance equation | |
| Units.SI.MassFlowRate | BXso2 | Right hand side of the SO2 balance equation | |
| ThermoSysPro.Units.SI.MassFraction | Xco2 | CO2 mass fraction | |
| ThermoSysPro.Units.SI.MassFraction | Xh2o | H20 mass fraction | |
| ThermoSysPro.Units.SI.MassFraction | Xo2 | O2 mass fraction | |
| ThermoSysPro.Units.SI.MassFraction | Xso2 | SO2 mass fraction | |
| Units.SI.Power | Je1 | Thermal power diffusion from inlet e1 | |
| Units.SI.Power | Je2 | Thermal power diffusion from inlet e2 | |
| Units.SI.Power | Js1 | Thermal power diffusion from outlet s1 | |
| Units.SI.Power | Js2 | Thermal power diffusion from outlet s2 | |
| Units.SI.Power | J | Total thermal power diffusion | |
| Units.SI.MassFlowRate | gamma_e1 | Diffusion conductance for inlet e1 | |
| Units.SI.MassFlowRate | gamma_e2 | Diffusion conductance for inlet e2 | |
| Units.SI.MassFlowRate | gamma_s1 | Diffusion conductance for outlet s1 | |
| Units.SI.MassFlowRate | gamma_s2 | Diffusion conductance for outlet s2 | |
| Real | re1 | Value of r(Q/gamma) for inlet e1 | |
| Real | re2 | Value of r(Q/gamma) for inlet e2 | |
| Real | rs1 | Value of r(Q/gamma) for outlet s1 | |
| Real | rs2 | Value of r(Q/gamma) for outlet s2 |
Revisions
Author Daniel Bouskela