.TransiEnt.Basics.Functions.GasProperties.comps2Elements_idealGas

Information

1. Purpose of model

This function is used to convert a molar flow rate of gas components into a molar flowrate of the elements the components consist of.

2. Level of detail, physical effects considered, and physical insight

No physical effects considered.

3. Limits of validity

(no remarks)

4. Interfaces

(no remarks)

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

If there are components in the gas which don't have a corresponding entry in the stoichiometric coefficients record ,they will just be ignored, giving a faulty heating value. The function will throw a warning.

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Created by Jan Braune (jan.braune@tu-harburg.de), Mar 2015

Edited by Paul Kernstock (paul.kernstock@tuhh.de), Aug 2015

Revised by Lisa Andresen (andresen@tuhh.de), Dec 2015

Interface

function comps2Elements_idealGas
  import TransiEnt;
  extends TransiEnt.Basics.Icons.Function;
  import Modelica.Utilities.Strings;
  input TILMedia.GasTypes.BaseGas gasType annotation(
    choicesAllMatching = true);
  input Modelica.Units.SI.MassFraction[:] xi_in;
  input Modelica.Units.SI.MassFlowRate m_flow;
  output Modelica.Units.SI.MolarFlowRate[5] n_flow_elements "Molar flowrate of elements";
end comps2Elements_idealGas;

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