setState_phX

Return thermodynamic state as function of pressure p, specific enthalpy h and composition X

Syntax

state = setState_phX(p, h, X)

Inputs (3)

p

Type: AbsolutePressure

Description: Pressure

h

Type: SpecificEnthalpy

Description: Specific enthalpy

X

Type: MassFraction[:]

Description: Mass fractions

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record