Hello,
I have found in Gama examples the model called CreateSimuGraph2 in Create Simulation from File.gaml which resolves my question.
Here is the snippet :
reflex store when: cycle = 5 {
write "================ START SAVE + self " + " - " + cycle ;
save saved_simulation_file('saveSimu.gsim', [simulation]);
write "================ END SAVE + self " + " - " + cycle ;
}
and then :
....
action _init_ {
create simulation from: saved_simulation_file("saveSimu.gsim");
}
....
Regards,
Lyuba
On Saturday, January 12, 2019 at 7:46:30 PM UTC+1, lyuba mancheva wrote: