Dear Enguang,

I think the command you are looking for is nest.SetKernelStatus({'time': 0.0}). This will reset the time, but leave your network intact.

Please be aware that the command will print a scary-sounding warning, but usually everything should be fine as long as you only call Simulate() with times that fall on the min-delay grid.

Best regards,
Jochen!

On 23.12.20 10:09, enguang zhou wrote:

Dear Zhe Sun,
Thank you for your answer! I tried the 'nest.ResetKernel()' before, but it will delete all the connections and the synapses weight data is gone which I want to keep that during  my all simulations. 
Thank you again.
Best Wishes
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org

-- 
Dr. Jochen Martin Eppler
Phone: +49(2461)61-96653
----------------------------------
Simulation Laboratory Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation


------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------