Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] (no subject)

run with:
--statistic-output stats.xml --tripinfo-output tripinfos.xml --device.emissions.probability 1

- almost all the average values you want are in statistic-output (see https://sumo.dlr.de/docs/Simulation/Output/StatisticOutput.html)
- you can get the average fuel/electricity consumption with  sumo/tools/output/attributeStats.py tripinfos.xml -e emissions -a fuel_abs,electricity_abs



Am Fr., 9. Juni 2023 um 15:17 Uhr schrieb <williamrpaine@xxxxxxxxx>:

Hi all,

 

I’m looking for the most efficient way to get the following statistics:

  • the average time taken for a vehicle to complete its route,
  • the average distance travelled for a vehicle to complete its route,
  • the average amount of time a vehicle spent queuing while traversing its route,
  • and the average energy consumed for each vehicle to complete their route,

of all vehicles that completed their routes during the simulation.

 

I could get this information from the xml output files, but they take up a lot of space and that adds a lot of processing time.

 

Any ideas?

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top