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.
partial function isentropicEnthalpy
input AbsolutePressure p_downstream "Downstream pressure";
input ThermodynamicState refState "Reference state for entropy";
output SpecificEnthalpy h_is "Isentropic enthalpy";
Generated at 2023-11-20T01:32:44Z
by OpenModelicaOpenModelica 1.22.0 using GenerateDoc.mos