.Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_ph

Information

Return the current region (valid values: 1,2,3,4,5) in IF97 for given pressure and specific enthalpy

Interface

function region_ph
  extends Modelica.Icons.Function;
  input SI.Pressure p "Pressure";
  input SI.SpecificEnthalpy h "Specific enthalpy";
  input Integer phase = 0 "Phase: 2 for two-phase, 1 for one phase, 0 if not known";
  input Integer mode = 0 "Mode: 0 means check, otherwise assume region=mode";
  output Integer region "Region (valid values: 1,2,3,4,5) in IF97";
end region_ph;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39