Provides the calculation of the specific entropy as function of T. You can use correlations using ideal gas constant pressure heat capacity, or liquid heat capacity
function SpecificEntropyCorr input Integer cor; input Real coef[:]; input Real MW; input Real x; output Real S "Entropy J/(kg·K)"; end SpecificEntropyCorr;