Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » Eclipse Sumo » SUMO - RandomTrips.py problem.(I am trying to find a way to produce random trips over an big scale imported network.)
SUMO - RandomTrips.py problem. [message #1847534] Sun, 31 October 2021 12:59 Go to next message
Eclipse UserFriend
Hello everybody!

I'm trying to find a convenient way for making random trips from big networks 200-1000 roads for example with complex junctions).

I'm using randomTrips.py from sumo/tools with a really high fringe factor.

The problem is that a lot of vehicles spawn inside random junctions instead of spawning just on starting lanes (let's say starting lanes are the incoming lanes that got cropped when network was cropped from OSM Wizard and final lanes are the outgoing lanes respectively.

The command I'm using is the following:

python3 /home/sumo/tools/randomTrips.py -n osm.net.xml -b 0 -e 1800 -p 4 --trip-attributes="departLane=\"best\" departSpeed=\"10.0\" departPos=\"base\"" --route-file trips.xml --fringe-factor 20000
 


below I present a relatively small network for someone to understand the minimum scale intuitively.

index.php/fa/41209/0/

and an example of starting and final lanes that I want my random trip generator to have as a start and end for my trips.xml.

index.php/fa/41210/0/

Anyone knows any good way of doing that without having to explicitly define weights? The reason behind that is that I will have to work on really big asymmetric scenarios where I will not be able to do hand labor on such things... I need a relatively automated way of doing so.

Any help will be appreciated!
Re: SUMO - RandomTrips.py problem. [message #1847547 is a reply to message #1847534] Mon, 01 November 2021 06:29 Go to previous message
Eclipse UserFriend
It's probably best to ask using their issues support: https://github.com/eclipse/sumo/issues
Previous Topic:SUMO - RandomTrips.py problem
Next Topic:Import network into SUMO using OpenDRIVE
Goto Forum:
  


Current Time: Sun Feb 16 03:28:59 GMT 2025

Powered by FUDForum. Page generated in 0.03613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top