Simulation of aerosol kinetics