Thanks for your response.

Get Outlook for Android<https://aka.ms/AAb9ysg>

________________________________
From: Mirko Barthauer <m.bartha...@t-online.de>
Sent: Friday, May 10, 2024 12:40:28 PM
To: Sumo project User discussions <sumo-user@eclipse.org>
Cc: Ayomide Afolabi <aafol...@students.kennesaw.edu>
Subject: [EXTERNAL] AW: [sumo-user] Total travel time


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>






CAUTION: This email originated from outside of KSU. Use caution replying or 
supplying information, clicking links, or opening attachments. If you suspect 
the message is fraudulent, report it using the Phishing Alert 
Button<https://uits.kennesaw.edu/ocs/phish-market/report.php> or forward the 
message to ab...@kennesaw.edu<mailto:ab...@kennesaw.edu>.

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

Reply via email to