modelPhaseSeparator2
Phase separator with two outlets
Extends from Boundaries.Internal.PartialVolumeM (Partial volume with one inlet and M outlet).
Information
This Volume is the parent class for Accumulator and Receiver models that separate the two phases and are able to output gas, liquid or two-phase medium, depending on its liquid level and the height of the outlet.
Since there is no formula to compute density_derp_h for this volume, an upper bound has to be set in the parameter density_derp_h_set. Alternativeley the derivative can be taken from the media model for all the media that implement the corresponding formula by setting density_derp_h_from_media=true (default:false).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Integer | M_outlets (from PartialVolumeM) | 1 | Number if outlets |
| Boolean | useHeatport (from PartialVolumeM) | false | =true, if heatPort is enabled |
| SI.Area | A (from PartialVolumeM) | 1 | Heat transfer area |
| SI.CoefficientOfHeatTransfer | U (from PartialVolumeM) | 200 | Thermal transmittance |
| SI.Volume | V_par | 0.01 | Volume of phase separator |
| Real | pipe1_low | Low end of first pipe | |
| Real | pipe1_high | High end of first pipe | |
| Real | pipe2_low | Low end of second pipe | |
| Real | pipe2_high | High end of second pipe | |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Initialization › Pressure | |||
| Boolean | initialize_pressure (from PartialVolumeM) | true | =true, if pressure is initialized |
| Medium.AbsolutePressure | p_start (from PartialVolumeM) | Medium.p_default | Initial pressure set value |
| Initialization › Temperature | |||
| Boolean | initialize_energy (from PartialVolumeM) | true | = true, if internal energy is initialized |
| Medium.Temperature | T_start (from PartialVolumeM) | Medium.T_default | Initial Temperature set value |
| Initialization › Mass fractions | |||
| Boolean | initialize_Xi (from PartialVolumeM) | true | =true, if mass fractions are iinitialized |
| Medium.MassFraction[Medium.nXi] | Xi_0 (from PartialVolumeM) | Medium.X_default[1:Medium.nXi] | Initial mass fractions set values |
| Initialization › Specific enthalpy | |||
| Boolean | use_hstart (from PartialVolumeM) | false | =true, if internal energy is initialized with specific enthalpy |
| Medium.SpecificEnthalpy | h_start (from PartialVolumeM) | Medium.h_default | Initial specific enthalpy set value |
| Advanced | |||
| Utilities.Units.Inertance | L (from PartialVolumeM) | dropOfCommons.L | Inertance of inlet/outlet |
| SI.MassFlowRate | m_flow_assert (from PartialVolumeM) | -dropOfCommons.m_flow_reg | Assertion threshold for negative massflow |
| Boolean | usePreferredMediumStates (from PartialVolumeM) | false | =true, if preferred medium states are used |
| Advanced › Damping | |||
| Real | k_volume_damping (from PartialVolumeM) | dropOfCommons.k_volume_damping | Damping factor multiplicator |
| Boolean | density_derp_h_from_media | false | = true, if the derivative of density by pressure at const specific enthalpy is calculated from media model (only available for some media models) |
| Medium.DerDensityByPressure | density_derp_h_set | 1e-6 | Derivative of density by pressure at const specific enthalpy set value (e.g approx. 1e-5 for air, 1e-7 for water) |
| Initialization | |||
| Init | init_method | ThermofluidStream.Boundaries.Internal.InitializationMethodsPhaseSeperator.l | Initialization method |
| Medium.SpecificEnthalpy | h_0 | Medium.h_default | Initial specific enthalpy |
| SI.Mass | M_0 | 1 | Initial mass |
| Real | l_0 | 0.5 | Initial liquid level |
| Real | x_0 | 0.5 | Initial vapor quality |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet | inlet (from PartialVolumeM) | ||
| Interfaces.Outlet[M_outlets] | outlet (from PartialVolumeM) | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from PartialVolumeM) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.BaseProperties | medium (from PartialVolumeM) | ||
| SI.Volume | V (from PartialVolumeM) | Volume | |
| SI.Mass | M (from PartialVolumeM) | V*medium.d | Mass |
| SI.Mass[Medium.nXi] | MXi (from PartialVolumeM) | M*medium.Xi | Masses of species |
| SI.Energy | U_med (from PartialVolumeM) | M*medium.u | Internal energy |
| SI.HeatFlowRate | Q_flow (from PartialVolumeM) | Heat flow rate | |
| SI.Power | W_v (from PartialVolumeM) | Volumenänderungsarbeitsstrom (work due to change of volume) | |
| Real | liquid_level | Level of liquid line | |
| Real | liquid_level_pipe1 | Level of liquid line in first pipe | |
| Real | liquid_level_pipe2 | Level of liquid line in second pipe |