Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Lane Detectors in flowrouter

By default, flowrouter aggregates the lane flows and only uses total edge flow so you do not need to define more than one detector per edge.
While there is option --lane-based, this currently doesn't take into account the possibility of lane changing and is therefore not generally recommended.
If your network is highly meshed, make sure to recheck flowrouter results for plausibility: https://sumo.dlr.de/docs/Tools/Detector.html#ambiguity

regards,
Jakob

Am Fr., 31. Okt. 2025 um 09:27 Uhr schrieb Gabriel García Casa via sumo-user <sumo-user@xxxxxxxxxxx>:
Good morning everyone,

My name is Gabriel and I have just started my PhD. at Universitat Politècnica de València.

Valencia's council has provided me access to the electromagnetic loop systems used in traffic measurements. 

I'm trying to use flowrouter in order to generate traffic demand in a realistic way. The main question is that I don't know whether to define a number of lane detectors equal than the number of lanes in an edge or just defining one per edge.

To make it more clear, here's an example:

- The electromagnetic loop has a measurement of 600 in real life, being referred to the 3 lanes directly below from it.

- What I'm doing in Sumo is defining 1 Lane Detector in 1 of the 3 lanes that make up the edge, with a count of 600.

- Then I run flowrouter and duarouter afterwards

I have developed a Python script that generates a new e1 detector file by replicating each detector across all lanes of the corresponding edge, so before running the simulation in the SUMO-GUI I run this script and then compare the measurement of the detectors in all lanes with the measurement in real life.

I don't know if it would be better to define detectors in all lanes of the edge and dividing the count parameter by the number of lanes, so in my case, there would be 3 detectors with a count of 200 each.

Please excuse the extended explanation.

Best regards,

Gabriel  

_______________________________________________
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