function isentropicEnthalpyApproximation extends Modelica.Icons.Function; input AbsolutePressure p2 "Downstream pressure"; input ThermodynamicState state "Thermodynamic state at upstream location"; output SpecificEnthalpy h_is "Isentropic enthalpy"; end isentropicEnthalpyApproximation;