This function returns the time derivative of the pressure as function of rho and h according to the chain rule. The partial derivatives are build with help of TTSE functions.
Author: | Julien Bonifay | SCD |
Checked by: | ||
Protection class: | internal |
function der_p_rhoh import SI = Modelica.SIunits; input SI.Density rho "Density"; input SI.SpecificEnthalpy h "Specific enthalpy"; input Real der_rho "Time derivative of the density"; input Real der_h "Time derivative of the specific enthalpy"; output Real der_p "Time derivative of the pressure"; end der_p_rhoh;