This function calculates the time derivative of liquid specific entropy of R134a with regard to the time derivative of p. The non-derivative function is bubbleEntropy.
It is only valid in the two-phase region (i.e., ptriple ≤ p ≤ pcrit ).
function dBubbleEntropy_dPressure_der_sat extends Modelica.Icons.Function; input SaturationProperties sat "Saturation properties | pressure is used for interpolation"; input SaturationProperties der_sat "Derivative of saturation properties"; output Real der_dsldp "Derivative of liquid specific entropy in two-phase region w.r.t. pressure"; end dBubbleEntropy_dPressure_der_sat;