This function returns the partial derivative of T wrt h versus p and h according to TTSE.
Author: | Julien Bonifay | SCD |
Checked by: | ||
Protection class: | internal |
function T_ph_dh import SI = Modelica.SIunits; input SI.Pressure p "Pressure"; input SI.SpecificEnthalpy h "Specific Enthalpy"; input Integer phase = 0 "2 for two-phase, 1 for one-phase, 0 if not known"; output Real dT_dh "Partial derivative dT/dh"; end T_ph_dh;