# tissu initialisation with previous state

Hello I am doing a restitution experiment in which the previous state of  tissue becomes the initial state for the following experiment;  i know that if i want to use cell to initialize the tissu i will use the sv output  file with command " imp-region [0] . im_sv_init ", but  in  my case where I should use the previous state of tissu to initialize the tissu  which  output file can I use and which command?  Thanks in advance for your help

by (2.1k points)

Hi!

Using "-tsav" you can set checkpoints that you restart from in a next simulation. E.g.:

-num_tsav 2
-tsav[0] 100
-tsav[1] 150

You then restart from a checkpoint using "-start_statef". Find a full example at:

https://git.opencarp.org/openCARP/experiments/-/blob/master/regression/devtests/bidomain/checkpoint/run.py

Best, Aurel