Simulation of catalyst fouling at the particle and reactor levels