functionisentropicEnthalpy
Return isentropic enthalpy
Extends from Modelica.Icons.Function (Icon for functions).
Information
This function computes an isentropic state transformation:
- A medium is in a particular state, refState.
- The enthalpy at another state (h_is) shall be computed under the assumption that the state transformation from refState to h_is is performed with a change of specific entropy ds = 0 and the pressure of state h_is is p_downstream and the composition X upstream and downstream is assumed to be the same.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| AbsolutePressure | p_downstream | Downstream pressure | |
| ThermodynamicState | refState | Reference state for entropy |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SpecificEnthalpy | h_is | Isentropic enthalpy |