def reset_model(self):
        self.model = self.model_cls(*self.model_args, **self.model_kwargs)
        self.viz_states = [self.render_model()]
Reinstantiate the model object, using the current parameters.
dataset/ETHPy150Open projectmesa/mesa/mesa/visualization/ModularVisualization.py/ModularServer.reset_model