Questions tagged [sumo]

SUMO (Simulation of Urban MObility) is a microscopic traffic simulation package. This tag should be used when you have a question about software development with SUMO package.

SUMO is a free and open traffic simulation suite which is available since 2001. SUMO allows modelling of intermodal traffic systems including road vehicles, public transport and pedestrians. Included with SUMO is a wealth of supporting tools which handle tasks such as route finding, visualization, network import and emission calculation. SUMO can be enhanced with custom models and provides various APIs to remotely control the simulation.

See the contact page for support resources.

The core applications are written in C++ while the script tooling around it is in Python. Clients for external interfacing over the Traffic Control Interface (TraCI) protocol are available in Python, Java, C++ and MATLAB.

643 questions
0
votes
1 answer

I would like to re-enter the vehicles in VEINS after leaving scenario

After the simulation time the vehicles leave the simulation scenario. I would like to re-enter the same vehicles with same previous ID and information in VEINS after leaving scenario. Is there a way to re-use the same vehicle after it exits the…
user6126858
0
votes
1 answer

Output of additional files (detectors, induction loops) are not being generated

Output of additional files (detectors, induction loops) are not being generated. I used a simple scenario, just to see how things work. But I cannot see or maybe these files are not being generated. I added them at launch.xml and sumo.cfg as…
0
votes
1 answer

How to ignore routing error when adding invalid vehicle on SUMO?

I am using SUMO 0.29.0 (the newest version on Macports) to create a simulation. I added to vehicle definition so vehicles can find route by themselves. But every once in while I face an invalid trip…
Thang Luu
  • 1
  • 2
0
votes
1 answer

OMNET++ tk-gui wrong icon placement

I am working with Artery / VEINS (I do not think this matters) and SUMO and OMNET++ :) As you can see, my OMNET TK-GUI is no longer showing my network correctly, all icons are in the same place! The World.ned TK-GUI showing wrong Two days ago,…
kazola
  • 3
  • 5
0
votes
1 answer

How to give sumo options with sumo-launchd.py?

I am trying to give --max-depart-delay option with sumo but doesn't proceed. How I can pass options to sumo with sumo-launchd.py ? I have tried following command sumo-launchd.py -vv -c sumo --max-depart-delay -1
Sam1324
  • 387
  • 2
  • 13
0
votes
0 answers

Sumo failed to build routes when work with Veins

I have an error when using Veins with Sumo for vehicular network simulation. If I run Sumo alone, the traffic simulation runs well without any error. But when I run Veins simulation together with Sumo, it seems like Sumo have errors with loading the…
Sissi
  • 65
  • 1
  • 10
0
votes
1 answer

How can I new a xml file with python in SUMO?

I'm new to SUMO.And I can make .nod.xml、.edge.xml by hand.When I want to new random flows,there's lots of randomness to do, so I tried to use sumolib ,which is the SUMO python lib, but I still can't find orders to new a xml,modified a xml...So How…
Peng He
  • 2,023
  • 5
  • 17
  • 24
0
votes
1 answer

Waiting time of SUMO

I am using sumo for traffic signal control, and want to optimize the phase to reduce some objectives. During the process, I use the traci module as an output of states in traffic junction. The confusing part is traci.lane.getWaitingTime. I don't…
0
votes
1 answer

Can we connect two computers practically using OMNet++?

i have two computers both running OMNet++ separately,and connected via Wi-Fi, can i send message from one computer to another using omnet++ over wifi?
user8269692
0
votes
2 answers

how to add more cars into simulation, limit speed and edit traffic lights

I want to add more vehicles and change the speed. I used the command --max-num-vehicles 30 to try and start the simulation with more cars but for some reason the run time simulation never passes 50 or 60 active cars. Also my simulation has traffic…
Houston61
  • 39
  • 8
0
votes
2 answers

Converting X & Y to Lat & Lon

I'm currently working on a school project where we have to set up a traffic simulation. We decided to use TraaS. TraaS has a method to retrieve the current X and Y coordinates of a given vehicle (see getPosition). However these X and Y coordinates…
Barathon
  • 45
  • 3
  • 8
0
votes
1 answer

Is it possible to change the timestep of SUMO output?

I am using SUMO to generate a network from openstreetmaps. I am interested on observing my results of vehicle positions in smaller timestep than 1 second, but for example 0.5 second. Is it possible to do this change?
0
votes
1 answer

How to limit the speed of vehicles in a SUMO network?

I am currently using a SUMO network, generated from openstreetmap.org. I am interested in having different mobility models, thus I want to put a maximum speed limit for all the vehicles at any time. Can somebody help me with this?
0
votes
0 answers

ASSERT: condition (intersectAt.size() % 2) == 0 false in function calculateAttenuation

I had this error at 258s in my simulation, I have consulted the response in this link "Model error: ASSERT: condition (intersectAt.size() % 2) == 0 false in function calculateAttenuation, veins/modules/obstacle/Obstacle.cc" and I removed the ASSERT…
Joe
  • 85
  • 1
  • 9
0
votes
3 answers

Error: The edge 'entry' within the route for 'normal' is not known

I am following http://sumo.dlr.de/wiki/Tutorials/Autobahn to create Autobahn tutorial. I have prepared the configuration same as instructed in the tutorial. But getting error as attached here, while opening autobahn.sumocfg for viewing simulation…