partial function density_psxi extends TILMedia.BaseClasses.PartialGasFunction; input TILMedia.GasTypes.BaseGas gasType "Gas type" annotation( choicesAllMatching = true); input SI.AbsolutePressure p "Pressure"; input SI.SpecificEntropy s "Specific entropy"; 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_psxi;