code: def reset(self):
          
          warnings.warn("This reset method is very crude.  It should work for "
                        "many simple simulations, but we make no guarantees. In "
                        "particular, if you have components that manage their "
                        "own state in any way, this might not work.")
          self.population._population = self._initial_population
          self.clock._time = self._start_time
docs: Reset the simulation to its initial state.