tofps5

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

Syntax

(T, error) = tofps5(p, s, relds)

Inputs (3)

p

Type: Pressure (Pa)

Description: Pressure

s

Type: SpecificEntropy (J/(kg·K))

Description: Specific entropy

relds

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