This function is used as a guard for property functions using pTX
as an input. Property functions for two-phase media using pressure
and temperature as inputs shall not be used close to the phase
boundary in order to avoid errors and high deviations for just
small deviations in the input arguments. The refrigerant state can
not be determined in the two-phase region using pressure and
temperature.
function phaseBoundaryAssert
extends Modelica.Icons.Function;
input Modelica.SIunits.Pressure p "Refrigerant pressure";
input Modelica.SIunits.Temperature T "Refrigerant temperature";
end phaseBoundaryAssert;