reset the simulation to have same conditions