function density_hxi extends TILMedia.BaseClasses.PartialLiquidFunction; input SI.SpecificEnthalpy h "Specific enthalpy"; input SI.MassFraction[:] xi "Mass fractions of the first nc-1 components"; input TILMedia.Internals.LiquidName liquidName "Liquid name"; input Integer nc "Number of components"; output SI.Density d "Density"; end density_hxi;