.ThermalSeparation.Media.WaterBasedLiquid.BaseClasses.IF97_Utilities.BaseIF97.Regions.region_ps

Information

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

Interface

function region_ps
  extends Modelica.Icons.Function;
  input SI.Pressure p "pressure";
  input SI.SpecificEntropy s "specific entropy";
  input Integer phase = 0 "phase: 2 for two-phase, 1 for one phase, 0 if unknown";
  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_ps;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos