Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [EXTERNAL] AW: Total travel time

You can retrieve tripinfo values that are accumulated over all vehicles with traci.simulation.getParameter. See https://sumo.dlr.de/docs/TraCI/Simulation_Value_Retrieval.html#device_parameter_retrieval

Am Fr., 10. Mai 2024 um 13:45 Uhr schrieb Ayomide Afolabi via sumo-user <sumo-user@xxxxxxxxxxx>:
Thanks for your response. 


From: Mirko Barthauer <m.barthauer@xxxxxxxxxxx>
Sent: Friday, May 10, 2024 12:40:28 PM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: Ayomide Afolabi <aafolab4@xxxxxxxxxxxxxxxxxxxxx>
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(), traci.vehicle.getDepartureDelay() and traci.simulation.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@xxxxxxxxxxx>

An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>

 

 

 

Hi, 
 
How can I output total travel time using Traci. 

 



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 or forward the message to abuse@xxxxxxxxxxxx.


_______________________________________________
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