you can use simulation.getDepartedIDList() to record the departure time of
every vehicle in the current timeStep. If you store these values in your
script in every step it allows you to determine the departure time of any
vehicle.

Am Mi., 18. Nov. 2020 um 15:25 Uhr schrieb Xun Liu <[email protected]>:

> Hello Jakob,
>
>
>
> Thanks for your response. The routes were assigned to the network by
> randomTrips.py and the data was measured by using the “Simulation
> Edge-based Traffic Measures”. I have found a solution to solve this problem
> by using traci.vehicle.getIDList and traci.vehicle.getRoadID. Now I met a
> new problem to get the departure time of a vehicle. Could I retrieve the
> departure time of a vehicle using a traci command?
>
>
>
> Best,
>
> Xun
>
>
>
> *发件人:* [email protected] *代表 *Jakob Erdmann
> *发送时间:* 2020年11月16日 2:07
> *收件人:* Sumo project User discussions <[email protected]>
> *主题:* [EXTERNAL] Re: [sumo-user] get loaded edge ID in every measure
> interval
>
>
>
> What do you mean by "the route loaded in the network was measured in
> several defined interval"?
>
> How was that route loaded and how was it measured?
>
>
>
> Am So., 15. Nov. 2020 um 22:42 Uhr schrieb Xun Liu <[email protected]>:
>
> Hello everyone,
>
>
>
> I currently met a problem about edge information retrieve. I want get the
> ID of edges, which are loaded in a known route and the route loaded in the
> network was measured in several defined interval. Such as in the photo, the
> route was loaded in the network from 0-300s the measure interval is 30s. I
> want to retrieve the edge IDs of the route which are loaded in every
> measure interval. Could anyone give some advice to solve this problem?
> Thanks!
>
>
>
> Best,
>
> Xun
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cxliu8%40villanova.edu%7C442c9f9de444491f6d2f08d889fe52d6%7C765a8de5cf9444f09cafae5bf8cfa366%7C0%7C0%7C637411072692799134%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=8Jh3ni92WOQ7sRHw9nyxOWTRpKvAugouaRkBjZxRCGg%3D&reserved=0>
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to