specificEnthalpy_pT

Return specific enthalpy from p and T

Syntax

h = specificEnthalpy_pT(p, T, phase)

Inputs (3)

p

Type: AbsolutePressure (Pa)

Description: Pressure

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)

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy