function partialPressure_psxin extends TILMedia.BaseClasses.PartialGasFunction; 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.GasName gasName "Gas name"; input Integer nc "Number of components"; input Integer condensingIndex "Index of condensing component"; output SI.PartialPressure p_i "Partial pressure"; end partialPressure_psxin;