modelVolume
Liquid volume, constant fill level
Extends from Icons.Color.Tank.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[nSL] | inertLiquid | fill(false, nSL) | |
| Integer | nSL | MediumLiquid.nSubstance | number of substances in the liquid phase |
| SI.Area | A | Modelica.Constants.pi/4*d_volume^2 | |
| SI.Height | level | 10 | |
| SI.Diameter | d_volume | 0.025 | |
| Real | zeta | 2 | |
| SI.Pressure | p_ambient | 1e5 | |
| Advanced | |||
| SI.Temperature | T_ref | systemTS.T_ref | reference temperature |
| Initialization | |||
| Real[nSL] | x_l_start | {1e-5, 1 - 1e-5} | |
| SI.Temperature | T_start | 300 | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ThermalSeparation.Interfaces.LiquidPortIn | portIn | ||
| ThermalSeparation.Interfaces.LiquidPortOut | portOut | ||
| Modelica.Blocks.Interfaces.RealOutput | y | level |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermalSeparation.SystemTS | systemTS | ||
| MediumLiquid.BaseProperties | mediumLiquid | ||
| MediumLiquid.BaseProperties | mediumLiquidIn | ||
| SI.Density | rho_l | mediumLiquid.d | |
| ThermalSeparation.Units.MolarEnthalpy | h_l | mediumLiquid.h | |
| ThermalSeparation.Units.MolarEnthalpy | u_l | mediumLiquid.u | |
| SI.MolarMass | MM_l | mediumLiquid.MM | |
| SI.Concentration[nSL] | x_l_in | inStream(portIn.x_outflow) | |
| ThermalSeparation.Units.MolarEnthalpy | h_l_in | mediumLiquidIn.h | |
| SI.Temperature | T_l_out | ||
| SI.Temperature | T_l_in | ||
| SI.Density | rho_l_in | mediumLiquidIn.d | |
| SI.MolarMass | MM_l_in | mediumLiquidIn.MM | |
| SI.Concentration[nSL] | c_l | ||
| SI.MoleFraction[nSL] | x_l | ||
| SI.Pressure | p | ||
| SI.Volume | V_liq | A*level | |
| Real | sum_x | sum(x_l) | |
| SI.MassFlowRate | mdot_in | portIn.Ndot*mediumLiquidIn.MM | |
| SI.MassFlowRate | mdot_out | -portOut.Ndot*mediumLiquid.MM | |
| SI.Concentration | sum_c | sum(c_l) |
Contents
| Name | Description |
|---|---|