.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 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f