function moleFraction_psxin extends TILMedia.BaseClasses.PartialVLEFluidFunction; input SI.AbsolutePressure p "Pressure"; input SI.SpecificEntropy s "Specific entropy"; input SI.MassFraction[:] xi "Mass fractions of the first nc-1 components"; input Integer compNo "Component ID"; input TILMedia.Internals.VLEFluidName vleFluidName "VLEFluid name"; input Integer nc "Number of components"; output SI.MoleFraction x "Mole fraction"; end moleFraction_psxin;