Calculates time derivative of density calculated by thermodynamic state record
function density_der input ThermodynamicState state "Thermodynamic state"; input ThermodynamicState der_state "Time derivative of thermodynamic state"; output Real der_d "Time derivative of density"; end density_der;