Coupled heat and multicomponent mass transfer in particulate systems with residence time and size distributions