A kinetic equation for coke deactivation has been established. An 11 lumps kinetic model and the deactivation equation allow reactor simulation. Coke is heterogeneous and it is distributed in the matrix and the zeolite channels. DME concentration favors deactivation whereas water attenuates it.