setState_Tx

Return thermodynamic state from temperature and vapour quality

Syntax

state = setState_Tx(T, x)

Inputs (2)

T

Type: Temperature (K)

Description: Temperature

x

Type: MassFraction (kg/kg)

Description: Vapour quality

Outputs (1)

state

Type: ThermodynamicState

Description: Thermodynamic state record