WOLFRAM SYSTEMMODELER

setState_px

Return thermodynamic state from pressure and vapour quality

Wolfram Language

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

Syntax

state = setState_px(p, x)

Inputs (2)

p

Type: AbsolutePressure (Pa)

Description: Pressure

x

Type: MassFraction (kg/kg)

Description: Vapour quality

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record