function averageMolarMass_xi extends TILMedia.BaseClasses.PartialVLEFluidFunction; input SI.MassFraction[:] xi "Mass fractions of the first nc-1 components"; input TILMedia.Internals.VLEFluidName vleFluidName "VLEFluid name"; input Integer nc "Number of components"; output SI.MolarMass M "Average molar mass"; end averageMolarMass_xi;