[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
Re: [sumo-user] Question regarding E3 detector filtering and nextEdges behavior for overlapping routes
|
Good morning! The SUMO developers likely have a better answer than the solution I am about to propose. One alternative would be to use E1 detectors (instant induction loops). They will return the IDs of all vehicles that pass over them; you would place one at the entrance, one at the exit, and one at the return point. You can import the XML into Excel (that is the tool I am most familiar with, though there may be other methods). Using a pivot table, you can identify the entry-exit OD pair and filter for those that pass through the return point. Best regards, Pedro Oliveira.
Dear SUMO Development Team,
I am currently working on a traffic simulation project using Eclipse SUMO and have a question regarding the multi-entry-exit detector (E3) and how to properly filter specific vehicle paths.
Problem Description:
At a specific intersection, I have two types of vehicles passing through a left-turn movement:
Green Path (Target): Vehicles that make a direct left turn.
Red Path (Unwanted): Vehicles that pass through the intersection, make a U-turn or detour down the road, and eventually merge into the same exit lanes, thereby triggering the same E3 detector.

Since both paths share the same entry and exit lanes (or end up at the same E3 exit), the E3 detector counts the red-path vehicles as part of the normal left-turn movement, which distorts my performance data (speed and travel time).
What I have tried:
I attempted to use the nextEdges attribute to force the E3 detector to only capture vehicles following the exact sequence of the green path. However, whenever I define nextEdges, the E3 output consistently returns -1 (no data), even though the vehicles' routes in my .rou.xml file contain those exact edges.
My Questions:
Is nextEdges the correct attribute to filter out detouring/U-turning vehicles (the red path) when their final exit lanes are identical?
If so, what is the exact mechanism or syntax required for nextEdges when dealing with OSM-imported networks that consist of multiple sub-edges? Why does it usually result in -1?
Is there a recommended best practice in SUMO to separate or filter out these overlapping/detouring trajectories within an E3 detector without causing data failure?
Any advice or guidance would be greatly appreciated. Thank you for your time and support!
Best regards,
Tony
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user