This function is used to convert a molar flow rate of gas components into a molar flowrate of the elements the components consist of.
No physical effects considered.
(no remarks)
(no remarks)
(no elements)
(no equations)
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.
(no remarks)
(no remarks)
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
function comps2Elements_realGas import TransiEnt; extends TransiEnt.Basics.Icons.Function; import Modelica.Utilities.Strings; input TILMedia.VLEFluidTypes.BaseVLEFluid realGasType 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_realGas;