.ThermofluidStream.Media.myMedia.IdealGases.Common.SingleGasNasa.isentropicEnthalpyApproximation

Information

Approximate method of calculating h_is from upstream properties and downstream pressure

Interface

function isentropicEnthalpyApproximation
  extends Modelica.Icons.Function;
  input SI.Pressure p2 "Downstream pressure";
  input ThermodynamicState state "Properties at upstream location";
  input Boolean exclEnthForm = Functions.excludeEnthalpyOfFormation "If true, enthalpy of formation Hf is not included in specific enthalpy h";
  input ReferenceEnthalpy refChoice = Functions.referenceChoice "Choice of reference enthalpy";
  input SpecificEnthalpy h_off = Functions.h_offset "User defined offset for reference enthalpy, if referenceChoice = UserDefined";
  output SI.SpecificEnthalpy h_is "Isentropic enthalpy";
end isentropicEnthalpyApproximation;

Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos