matsim-code-examples icon indicating copy to clipboard operation
matsim-code-examples copied to clipboard

Output files only for the last iteration

Open Hamoun-Roshanfekr opened this issue 3 years ago • 2 comments

Hi,

Is it possible to create output files only for the last iteration?

Most of the time we only used the events file and other output files of the last iteration, is there a way we can define that the output file is created only in the last iteration?

Best Hamoun

Hamoun-Roshanfekr avatar Nov 16 '22 12:11 Hamoun-Roshanfekr

@Hamoun-Roshanfekr image In the module "controler" we have this option of when do you want to write the events file or linkstats file. If you specify the last iteration number in "write events interval" it will be so. I hope this will help.

aayushtewari01 avatar Nov 16 '22 13:11 aayushtewari01

@aayushtewari01

Thank you. It works :)

Hamoun-Roshanfekr avatar Nov 16 '22 14:11 Hamoun-Roshanfekr