Lagrangian simulation of aerosol undergoing simultaneous deposition, dilution and agglomeration