setState_pTX

Return thermodynamic state as function of pressure p, temperature T and composition X

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The thermodynamic state record is computed from pressure p, temperature T and composition X.

Syntax

state = setState_pTX(p, T, X)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

T

Type: Temperature (K)

Description: Temperature

X

Default Value: reference_X

Type: MassFraction[:] (kg/kg)

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state