.ThermofluidStream.Media.myMedia.IdealGases.Common.MixtureGasNasa.T_hX

Information

Return temperature from specific enthalpy and mass fraction

Interface

function T_hX
  extends Modelica.Icons.Function;
  input SpecificEnthalpy h "Specific enthalpy";
  input MassFraction[nX] X "Mass fractions of composition";
  input Boolean exclEnthForm = excludeEnthalpyOfFormation "If true, enthalpy of formation Hf is not included in specific enthalpy h";
  input ThermofluidStream.Media.myMedia.Interfaces.Choices.ReferenceEnthalpy refChoice = referenceChoice "Choice of reference enthalpy";
  input SI.SpecificEnthalpy h_off = h_offset "User defined offset for reference enthalpy, if referenceChoice = UserDefined";
  output Temperature T "Temperature";
end T_hX;

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