Thanks for your response.

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

________________________________
From: Mirko Barthauer <[email protected]>
Sent: Friday, May 10, 2024 12:40:28 PM
To: Sumo project User discussions <[email protected]>
Cc: Ayomide Afolabi <[email protected]>
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" <[email protected]>

An: "[email protected]" <[email protected]>







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 [email protected]<mailto:[email protected]>.

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

Reply via email to