WOLFRAM SYSTEM MODELER

region_dT

Return the current region (valid values: 1,2,3,4,5) in IF97, given density and temperature

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Water.IF97_Utilities.BaseIF97.Regions.region_dT"]
Out[1]:=

Syntax

region = region_dT(d, T, phase, mode)

Inputs (4)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature (K)

phase

Default Value: 0

Type: Integer

Description: Phase: 2 for two-phase, 1 for one phase, 0 if not known

mode

Default Value: 0

Type: Integer

Description: Mode: 0 means check, otherwise assume region=mode

Outputs (1)

region

Type: Integer

Description: (valid values: 1,2,3,4,5) in IF97