Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] statistics output & summary output

Approx. a month ago I started sumo sometimes with --statistic-output <FILE>.

Now, as I'm going to use this feature again, that means starting sumo-gui from the commandline, I did not get it working, which resulted in some frustration...
After inspecting old invocations from .bash_history, I saw that I also used the -c option. Then it works. Despite the fact that duration-log.statistics is defined in the xxx.sumocfg file.

I'd suggest to add this condition to get it working also in https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html, preferably accompanied with a reference to https://sumo.dlr.de/docs/Simulation/Output/index.html#converting_outputs or to https://sumo.dlr.de/docs/Tools/Xml.html#xml2csvpy.

Regarding the summary output: I see that the file is growing during simulation. And that the file is accessible after Simulation end when the dialog box "Simulation ended" is responded to with "No" to close files & views.
I'd suggest to accumulate the summary in memory and output it at once to file, becaus this wouldn't slow down simulation.

Regards,
Rob


Back to the top