WOLFRAM SYSTEMMODELER

setState_dT

Return thermodynamic state from d and T

Wolfram Language

In[1]:=
SystemModel["Modelica.Media.Interfaces.PartialTwoPhaseMedium.setState_dT"]
Out[1]:=

Syntax

state = setState_dT(d, T, phase)

Inputs (3)

d

Type: Density (kg/m³)

Description: Density

T

Type: Temperature (K)

Description: Temperature

phase

Default Value: 0

Type: FixedPhase

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

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record