Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] disconnected routes issue

Hi Rehab,

there are some places where things may go wrong:

  • netcheck.py connectivity check is said to ignore edge direction  - so an edge may still be connected to the remaining network but run in the opposite direction
  • lane permissions have to allow the vehicles which should run there

Best regards,
Mirko

Am 08.08.2025 um 13:41 schrieb Rehab Abdellatif via sumo-user:
Hi,

I'm working on a project where I had to import a road network from osm with different levels of detail (more detailed roads in the study area (residential), less detailed in the external area, just motorways). I have an O-D matrix which I have to use to generate routes on this network and run an assignment model.

what I've done so far is:

1- import different pieces of osm road network and stitch them together using netconvert
2- run netcheck to identify disconnections, the main component covers 99.6%. The other components were then filtered out and now the network contains only the edges from the main component. to double check, netcheck was run again and the result is only one component which covers 100% of the net.
3- used edgesInDistrict to map edges to zones, the result is a taz file (without taz sources and taz sinks, it's a very large net and it wasn't possible to assign them manually)
4- run od2trips to generate trip file based on the O-D taz relation file

now the final step, running the assignment using duaIterate, fails at the routing step which returns a list of errors similar to the following one:

Error: Mandatory edge '118214719' not reachable by vehicle '5944168'.
Error: The vehicle '5944168' has no valid route.
Error: No connection between edge '23105477' and edge '19248400' found.


I also tried running duarouter with the --repair flag but it also failed. I thought that running netcheck and filtering out the disconnected edges will result in a fully connected net.

Is there a way to run od2trips such that it makes sure that the assigned origins and destinations are connected? or is there something wrong with the steps mentioned above? I'd appreciate any help to fix this problem.

Thanks


_______________________________________________
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