.Modelica.Media.Interfaces.PartialMedium.isentropicEnthalpy

Information

This function computes an isentropic state transformation:

  1. A medium is in a particular state, refState.
  2. 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.

Interface

partial function isentropicEnthalpy
  extends Modelica.Icons.Function;
  input AbsolutePressure p_downstream "Downstream pressure";
  input ThermodynamicState refState "Reference state for entropy";
  output SpecificEnthalpy h_is "Isentropic enthalpy";
end isentropicEnthalpy;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos