Isentropic specific enthalpy from p,s and good guesses of d and T
function dynamicIsentropicEnthalpy extends Modelica.Icons.Function; input SI.Pressure p "Pressure"; input SI.SpecificEntropy s "Specific entropy"; input SI.Density dguess "Good guess density, e.g., from adjacent volume"; input SI.Temperature Tguess "Good guess temperature, e.g., from adjacent volume"; input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known"; output SI.SpecificEnthalpy h "Specific enthalpy"; end dynamicIsentropicEnthalpy;