Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicle rate per second

Hi Jakob,

Regarding to retrieving the vehicle rate per unit of time(second, minutes) passing through a junction in a certain direction, what would be the best approach, if I need to retrieve it in run time every X unit of time, or under certain event.

Best regards,
José

On Tue, 3 Jul 2018 at 14:43, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
If you want to separate the directions you can also use E3 detectors but you have to define them manually rather than with the linked scripts.

Another very basic approach is
  grep -c "edge1 edge2"' vehroutes.xml
To count the total number of vehicles taking a particular turn from edge1 to edge2

regards,
Jakob


2018-07-03 13:28 GMT+02:00 Jose Monreal Bailey <jmonreal@xxxxxxxxx>:
Dear all,

How can I get the vehicle rate per second passing trough a Traffic Light.
And how can I get the number of vehicles going taking different directions in that junction?

Best regards,
José

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Back to the top