This function returns the time derivative of drho/dp with the help of TTSE functions.
Author: | Julien Bonifay | SCD |
Checked by: | ||
Protection class: | internal |
function der_drhodp 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"; input Real der_p "Time derivative of p"; input Real der_h "Time derivative of h"; output Real der_drdp "Time derivative of drho/dp"; end der_drhodp;