CityScope / CS_Simulation_GAMA

Agent Based Simulation platform for CityScope
GNU General Public License v3.0
31 stars 21 forks source link

Gathering the input and output data in a CSV file #83

Closed LAAP closed 4 years ago

LAAP commented 4 years ago

In order to have a way of comparison between the different simulation runs, it could be good having a way of gathering the input and output data in a CSV file that saves automatically in a folder.

agrignard commented 4 years ago

I did a simple export here (just put savetoCSV to true)


reflex save_model_output when: every(#day) and savetoCSV{
  save [time,nb_susceptible,nb_infected, nb_recovered, nb_death] to: filePathName type:"csv" rewrite: false;
}