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
| Type | Name | Default | Description |
|---|---|---|---|
| TILMedia.GasTypes.BaseGas | gasType | ||
| Modelica.Units.SI.MassFraction | xi_in | ||
| Modelica.Units.SI.MassFlowRate | m_flow |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MolarFlowRate | n_flow_elements | Molar flowrate of elements |