modelPhaseSeparator
Base model for receiver and accumulator models
Extends from Boundaries.Internal.PartialVolume.
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 |
|---|---|---|---|
| SI.Volume | V_par | 0.01 | Volume |
| Real | pipe_low | Low end of pipe | |
| Real | pipe_high | High end of pipe | |
| Advanced › Damping | |||
| 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | liquid_level | Level of liquid line | |
| Real | liquid_level_pipe | Level of liquid line in pipe | |
| Real | vapor_quality | max(0, min(1, x)) |