functionisentropicEnthalpyApproximation
approximate method of calculating h_is from upstream properties and downstream pressure
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | p2 | downstream pressure | |
| ThermodynamicState | state | properties at upstream location | |
| Boolean | exclEnthForm | excludeEnthalpyOfFormation | If true, enthalpy of formation Hf is not included in specific enthalpy h |
| ReferenceEnthalpy.Temp | refChoice | referenceChoice | Choice of reference enthalpy |
| SpecificEnthalpy | h_off | h_offset | User defined offset for reference enthalpy, if referenceChoice = UserDefined |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | h_is | isentropic enthalpy |