dynamic model of the crowd