The dynamics of pasture production under sheep