> 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.

The documentation already says "The elements vehicleTripStatistics,
pedestrianStatistics, rideStatistics and transportStatistics are only
generated when either of the options *--duration-log.statistics* or
*--tripinfo-output* are set."

I've now put this into a yellow box to make it more visible.
Note: the reason why this isn't on by default is because the additional
bookkeeping required by this feature can slow down the simulation.

> I'd suggest to accumulate the summary in memory and output it at once to
file, because this wouldn't slow down simulation.

I'm not sure I understood the suggestion. Do you propose that accumulating
in memory would bring a speedup or that it would bring some other benefit
(without slowing down the simulation)?

best regards,
Jakob

Am Mi., 9. März 2022 um 15:04 Uhr schrieb Rob Maris <[email protected]>:

> 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
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to