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
| Type | Name | Default | Description |
|---|---|---|---|
| Units.SI.AbsolutePressure | Patm | 1.013e5 | Pressure above the fluid level |
| Units.SI.Radius | R | 1 | Radius of the tank cross-sectional area |
| Units.SI.Length | L | 10 | Tank equivalentlength |
| Units.SI.Position | ze1 | 2*R | Altitude of inlet 1 |
| Units.SI.Position | ze2 | 0 | Altitude of inlet 2 |
| Units.SI.Position | zs1 | 2*R | Altitude of outlet 1 |
| Units.SI.Position | zs2 | 0 | Altitude of outlet 2 |
| ThermoSysPro.Units.xSI.PressureLossCoefficient | ke1 | 1 | Pressure loss coefficient for inlet e1 |
| ThermoSysPro.Units.xSI.PressureLossCoefficient | ke2 | 1 | Pressure loss coefficient for inlet e2 |
| ThermoSysPro.Units.xSI.PressureLossCoefficient | ks1 | 1 | Pressure loss coefficient for outlet s1 |
| ThermoSysPro.Units.xSI.PressureLossCoefficient | 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 | 2*R | 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.Area | A | Surface of the liquid in the tank | |
| Units.SI.Angle | theta | Angle | |
| Units.SI.Area | Aw | Wall area = Wall surface on contact with the outside | |
| Units.SI.Area | Al | Cross section area of the liquid in the tank | |
| Units.SI.Area | Alw | Liquid surface on contact with the wall | |
| Units.SI.Volume | Vl | Fluid volume | |
| Units.SI.Volume | V | Tank volume | |
| 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 | |
| Real | Oe1 | ||
| Real | Oe2 | ||
| Real | Os1 | ||
| Real | Os2 | ||
| 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 Baligh El Hefni