Hi,
the accumulated values which can be displayed after the simulation data
cannot be accessed through TraCI. Single vehicles can only be queried in
TraCI as long as they don't have reached their destination. You can infer
the time a vehicle is in the network from traci.vehicle.getDeparture()
<https://sumo.dlr.de/pydoc/traci._vehicle.html#VehicleDomain-getDeparture>
, traci.vehicle.getDepartureDelay()
<https://sumo.dlr.de/pydoc/traci._vehicle.html#VehicleDomain-getDepartDelay>
and traci.simulation.getCurrentTime()
<https://sumo.dlr.de/pydoc/traci._simulation.html#SimulationDomain-getCurrentTime>
.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: [sumo-user] Total travel time
Datum: 2024-05-10T10:59:04+0200
Von: "Ayomide Afolabi via sumo-user" <sumo-user@eclipse.org>
An: "sumo-user@eclipse.org" <sumo-user@eclipse.org>
Hi,
How can I output total travel time using Traci.
Get Outlook for Android <https://aka.ms/AAb9ysg>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user