water_hisentropic_dyn

Isentropic specific enthalpy from p,s and good guesses of d and T

Syntax

h = water_hisentropic_dyn(p, s, dguess, Tguess, phase)

Inputs (5)

p

Type: Pressure (Pa)

Description: Pressure

s

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

Description: Specific entropy

dguess

Type: Density (kg/m³)

Description: Good guess density, e.g., from adjacent volume

Tguess

Type: Temperature (K)

Description: Good guess temperature, e.g., from adjacent volume

phase

Type: Integer

Description: 1 for one phase, 2 for two phase

Outputs (1)

h

Type: SpecificEnthalpy (J/kg)

Description: Specific enthalpy