tofph5

Inverse iteration in region 5: (p,T) = f(p,h)

Syntax

(T, error) = tofph5(p, h, reldh)

Inputs (3)

p

Type: Pressure (Pa)

Description: Pressure

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy

reldh

Type: SpecificEnthalpy (J/kg)

Description: Iteration accuracy

Outputs (2)

T

Type: Temperature (K)

Description: Temperature (K)

error

Type: Integer

Description: Error flag: iteration failed if different from 0