partial function averageMolarMass_xi extends TILMedia.BaseClasses.PartialGasFunction; input TILMedia.GasTypes.BaseGas gasType "Gas type" annotation( choicesAllMatching = true); input SI.MassFraction[:] xi = TILMedia.Internals.massFraction_mixingRatio(gasType.mixingRatio_propertyCalculation) "Mass fractions of the first nc-1 components"; output SI.MolarMass M "Average molar mass"; end averageMolarMass_xi;