WOLFRAM SYSTEM MODELER

temperature_ps

Compute temperature from pressure and specific enthalpy

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Water.WaterIF97_base.temperature_ps"]
Out[1]:=

Syntax

T = temperature_ps(p, s, phase, region)

Inputs (4)

p

Type: AbsolutePressure (Pa)

Description: Pressure

s

Type: SpecificEntropy (J/(kg⋅K))

Description: Specific entropy

phase

Default Value: 0

Type: FixedPhase

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

region

Default Value: Region

Type: Integer

Description: If 0, region is unknown, otherwise known and this input

Outputs (1)

T

Type: Temperature (K)

Description: Temperature