modelPhaseSeparator2

Phase separator with two outlets

Extends from Boundaries.Internal.PartialVolumeM.

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

TypeNameDefaultDescription
SI.VolumeV_par0.01Volume of phase separator
Realpipe1_lowLow end of first pipe
Realpipe1_highHigh end of first pipe
Realpipe2_lowLow end of second pipe
Realpipe2_highHigh end of second pipe
Advanced › Damping
Booleandensity_derp_h_from_mediafalse= true, if the derivative of density by pressure at const specific enthalpy is calculated from media model (only available for some media models)
Medium.DerDensityByPressuredensity_derp_h_set1e-6Derivative of density by pressure at const specific enthalpy set value (e.g approx. 1e-5 for air, 1e-7 for water)
Initialization
Initinit_methodThermofluidStream.Boundaries.Internal.InitializationMethodsPhaseSeperator.lInitialization method
Medium.SpecificEnthalpyh_0Medium.h_defaultInitial specific enthalpy
SI.MassM_01Initial mass
Reall_00.5Initial liquid level
Realx_00.5Initial vapor quality

Components

TypeNameDefaultDescription
Realliquid_levelLevel of liquid line
Realliquid_level_pipe1Level of liquid line in first pipe
Realliquid_level_pipe2Level of liquid line in second pipe