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 | Functions.excludeEnthalpyOfFormation | If true, enthalpy of formation Hf is not included in specific enthalpy h |
| ReferenceEnthalpy | refChoice | Functions.referenceChoice | Choice of reference enthalpy |
| SpecificEnthalpy | h_off | Functions.h_offset | User defined offset for reference enthalpy, if referenceChoice = UserDefined |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.SpecificEnthalpy | h_is | Isentropic enthalpy |