partial function density_pTxi extends TILMedia.BaseClasses.PartialGasFunction; input TILMedia.GasTypes.BaseGas gasType "Gas type" annotation( choicesAllMatching = true); input SI.AbsolutePressure p "Pressure"; input SI.Temperature T "Temperature"; input SI.MassFraction[:] xi = TILMedia.Internals.massFraction_mixingRatio(gasType.mixingRatio_propertyCalculation) "Mass fractions of the first nc-1 components"; output SI.Density d "Density"; end density_pTxi;