Metapopulation model with herbivores interactions