This function computes an isentropic state transformation:
partial function isentropicEnthalpy extends Modelica.Icons.Function; input AbsolutePressure p_downstream "Downstream pressure"; input ThermodynamicState refState "Reference state for entropy"; output SpecificEnthalpy h_is "Isentropic enthalpy"; end isentropicEnthalpy;