.TransiEnt.Basics.Functions.GasProperties.molarFlowRateElements

Information

1. Purpose of model

This function is used to convert a molar flow rate of fuel 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), just input and output vectors

5. Nomenclature

(no elements)

6. Governing Equations

No governing equations, a for-loop is used to iterate through the vector of component names. The stoichiometric coefficients concerning the elementary composition of each component, served in a special record, are then multiplied by the molar flowrate of the component.

7. Remarks for Usage

If there are components in your fuelgas which don't have a corresponding entry in the stoichiometric coefficients record, they will just be ignored, giving a faulty elements flowrate.

8. Validation

For validation see the partial models.

9. References

(no remarks)

10. Version History

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

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

Interface

function molarFlowRateElements
  extends TransiEnt.Basics.Icons.Function;
  import Modelica.Utilities.Strings;
  parameter TransiEnt.Basics.Records.GasProperties.StoichiometricCoefficientsCombustion RCstoichiometry;
  parameter Integer ne = size(RCstoichiometry.stoich, 2) "number of elements to take into account(see Record stoichiometry)";
  input String[:] components "shortened fuel component names";
  input Real[size(components, 1)] n_dot_i "molar flowrate of fuel components";
  output Real[5] n_dot "molar flowrate of elements in fuelport";
end molarFlowRateElements;

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