function relativeHumidity_pTxi extends TILMedia.BaseClasses.PartialGasObjectFunction; input SI.AbsolutePressure p "Pressure"; input SI.Temperature T "Temperature"; input SI.MassFraction[:] xi "Mass fractions of the first nc-1 components"; input TILMedia.Internals.TILMediaExternalObject gasPointer; output TILMedia.Internals.Units.RelativeHumidity phi "Relative humidity"; end relativeHumidity_pTxi;