This function supplies the molar masses of the components passed by the input vector.
No physical effects considered.
(no remarks)
(no remarks), just input and output vectors.
(no elements)
No governing equations. The function just searches the name vector in the molar masses record for the component names passed. Then it returns the molar mass defined in the molar mass vector in the record.
No validation needed. Tested in check model "TransiEnt.Basics.Functions.GasProperties.Check.TestConvertMoleToMassFraction"
(no remarks)
Created by Jan Braune (jan.braune@tu-harburg.de), Mar 2015
Revised by Lisa Andresen (andresen@tuhh.de), Dec 2015
function getMolarMasses_fromRecord extends TransiEnt.Basics.Icons.Function; import Modelica.Utilities.Strings; parameter TransiEnt.Basics.Records.GasProperties.MolarMasses molarmasses; input String[:] components_in "shortened fuel component names"; output Real[size(components_in, 1)] M "molar mass of components in input vector"; end getMolarMasses_fromRecord;