This function returns the time derivative of drho/dh with the help of TTSE functions.
Author: | Julien Bonifay | SCD |
Checked by: | ||
Protection class: | internal |
function der_drhodh import SI = Modelica.SIunits; import SiemensPower; 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"; input Real der_p "Time derivative of p"; input Real der_h "Time derivative of h"; output Real der_drdh "Time derivative of drho/dh"; end der_drhodh;