modelLiquidTube
ideal - no pressure loss
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nSL | MediumLiquid.nSubstance | |
| Modelica.Units.SI.Concentration[nSL] | c_l_start | {5, 40000} | |
| Boolean | ss_c2 | false | true if c_l[2] is to be a state |
| Modelica.Units.SI.Area | A | Modelica.Constants.pi/4*d_volume^2 | |
| Modelica.Units.SI.Height | H | length_out | |
| Real | N_w | 20 | number of resistances in flow direction |
| Modelica.Units.SI.Length | d | 0.01 | tube diameter |
| Modelica.Units.SI.Length | height_in | -0.15 | |
| Real | zeta | 0.048 | |
| Modelica.Units.SI.Length | length_out | 0.15 | |
| Modelica.Units.SI.Diameter | d_volume | 0.025 | |
| Modelica.Units.SI.Temperature | T_start | 300 | |
| Boolean | p_state | true | p is state |
| Boolean | useX_start | true | |
| Advanced | |||
| Modelica.Units.SI.Temperature | T_ref | systemTS.T_ref | reference temperature |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ThermalSeparation.Interfaces.LiquidPortIn | liquidIn | ||
| ThermalSeparation.Interfaces.LiquidPortOut | liquidOut | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermalSeparation.SystemTS | systemTS | ||
| MediumLiquid.BaseProperties | mediumLiquid | ||
| MediumLiquid.BaseProperties | mediumLiquidIn | ||
| Modelica.Units.SI.Density | rho_l | ||
| Modelica.Units.SI.Concentration[nSL] | c_l | ||
| Modelica.Units.SI.MoleFraction[nSL] | x_l | ||
| ThermalSeparation.Units.MolarEnthalpy | h_l | ||
| ThermalSeparation.Units.MolarEnthalpy | u_l | ||
| Modelica.Units.SI.MolarMass | MM_l | ||
| Modelica.Units.SI.MoleFraction[nSL] | x_l_in | ||
| ThermalSeparation.Units.MolarEnthalpy | h_l_in | ||
| Modelica.Units.SI.Temperature | T_l_in | ||
| Modelica.Units.SI.Temperature | T_l | ||
| Modelica.Units.SI.VolumeFlowRate | Vdot_l | -liquidOut.Ndot*MM_l/rho_l | |
| Modelica.Units.SI.VolumeFlowRate | Vdot_l_in | liquidIn.Ndot*mediumLiquidIn.MM/mediumLiquidIn.d | |
| Modelica.Units.SI.HeatFlowRate | Qdot_wall | ||
| Modelica.Units.SI.Pressure | p_out | ||
| Modelica.Units.SI.Pressure | p_in | ||
| Modelica.Units.SI.Concentration | dummy | c_l[2] | |
| Real | a | Qdot_wall/(2500*max(1e-6, Vdot_l_in)*1000) | |
| Real | delta_h | ||
| Real | delta_zeta | ||
| Modelica.Units.SI.Volume | V_liq | A*H | |
| Real | sum_x | sum(x_l) |
Contents
| Name | Description |
|---|---|