functioncomps2Elements_idealGas

Universal function to calculate the molar flow rates of a medium's elements out the components

Extends from TransiEnt.Basics.Icons.Function.

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

Inputs

TypeNameDefaultDescription
TILMedia.GasTypes.BaseGasgasType
Modelica.Units.SI.MassFractionxi_in
Modelica.Units.SI.MassFlowRatem_flow

Outputs

TypeNameDefaultDescription
Modelica.Units.SI.MolarFlowRaten_flow_elementsMolar flowrate of elements