function vapourMassFraction_pTxin extends TILMedia.BaseClasses.PartialVLEFluidFunction; input SI.AbsolutePressure p "Pressure"; input SI.Temperature T "Temperature"; 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.MassFraction xi_v "Mass fraction of vapour phase"; end vapourMassFraction_pTxin;