Grid simulation