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
BooleanexclEnthFormexcludeEnthalpyOfFormationIf true, enthalpy of formation Hf is not included in specific enthalpy h
ReferenceEnthalpy.TemprefChoicereferenceChoiceChoice of reference enthalpy
SpecificEnthalpyh_offh_offsetUser defined offset for reference enthalpy, if referenceChoice = UserDefined

Outputs

TypeNameDefaultDescription
SI.SpecificEnthalpyh_isisentropic enthalpy