.ThermalSeparation.Media.IdealGasMixtures.BaseClasses.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 = excludeEnthalpyOfFormation "If true, enthalpy of formation Hf is not included in specific enthalpy h";
  input ReferenceEnthalpy.Temp refChoice = referenceChoice "Choice of reference enthalpy";
  input SpecificEnthalpy h_off = 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