functionisentropicEnthalpyApproximation

Approximate method of calculating h_is from upstream properties and downstream pressure

Extends from Modelica.Icons.Function (Icon for functions).

Inputs

TypeNameDefaultDescription
SI.Pressurep2Downstream pressure
ThermodynamicStatestateProperties at upstream location
BooleanexclEnthFormFunctions.excludeEnthalpyOfFormationIf true, enthalpy of formation Hf is not included in specific enthalpy h
ReferenceEnthalpyrefChoiceFunctions.referenceChoiceChoice of reference enthalpy
SpecificEnthalpyh_offFunctions.h_offsetUser defined offset for reference enthalpy, if referenceChoice = UserDefined

Outputs

TypeNameDefaultDescription
SI.SpecificEnthalpyh_isIsentropic enthalpy