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

How to set speeds using a pandas dataframe in SUMO with TraCI?

Objective I want to use predefined speed vectors for individual vehicles to move them in SUMO simulation. Data and files There are 3 vehicles in the simulation. For 2 of those vehicles, I want to specify the speeds. The speed data is created in…
umair durrani
  • 5,597
  • 8
  • 45
  • 85
0
votes
1 answer

dividing a network into a grid of small cells in a SUMO scenario

Is there a way to divide an already- existing road network into a 2-D grid of equal sized cells? I need to extract some information such as vehicle density, average speed,...etc. from each cell. are there any libraries, tools, APIs or tutorials? I…
Rehab11
  • 483
  • 2
  • 7
  • 16
0
votes
1 answer

SUMO Simulation. Detecting high Traffic and reducing the speed limit

I am learning SUMO from beggining, I read and learned most of tutorials from: http://sumo.dlr.de/wiki/Tutorials . What I want to do now is to make Cars slow down when there is a Traffic on a Road. I only know how to change the speed limit after a…
Tranzts
  • 1
  • 1
  • 4
0
votes
0 answers

Creating network files in SUMO using NETCONVERT

Problem when calling netconvert in sumo: I am trying to create my own scenario for simulation purposes. I am using OpenStreetMaps for this. python osmWebWizard.py opens the browser and I select the area which I download. netconvert…
LionsFan
  • 119
  • 1
  • 10
0
votes
0 answers

Veins and Artery throwing errors after downgrading Omnet++ back to 5.1.1

I recently have downgraded Omnet++ from version 5.2 back to version 5.1.1 because of the newer one not working with the Artery Extension for Veins. After a clean make of 5.1.1 and also a clean recompile of Artery both the example scenario of Artery…
M. Hardt
  • 67
  • 7
0
votes
0 answers

How can I add a Road Side Unit into a NS-2 and Sumo Simulation

I have an 802.11p NS-2 simulation with some nodes that use SUMO trajectories, Right now I'm testing the V2V (vehicle to vehicle) communication measuring the throughout with DSDV and AODV routing protocols but I also need to test the V2I (vehicle to…
Houston61
  • 39
  • 8
0
votes
0 answers

Very fast movement of a node upon contact

In my scenario using Veins-4a2 I am interested to calculate the distance between two nodes (in my scenario nodes are bikes) during a contact. I got the coordinates of the two nodes and I calculated the distance between them. I noticed that the…
Joe
  • 85
  • 1
  • 9
0
votes
1 answer

Value of getSpeed() function is different to the calculated value

I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. I am interested to calculate the speed of the vehicle when a message is received. I used getSpeed() function to do it. But the problem is that when I calculated manually the speed basing on the time and…
Joe
  • 85
  • 1
  • 9
0
votes
1 answer

Sumo sumo-osmWebWizard

I'm running Sumo on a MacBook Air OSX 10.9.5 (Mavericks). I'm trying to use sumo-osmWebWizard to import data from Open Street Map but it doesn't seem to work. This is the message I get when I try to run the script: Lorenzos-MacBook-Air:~ lorenzo$…
Lorenzo
  • 89
  • 1
  • 8
0
votes
1 answer

High values of the communication range between two vehicles

I use OMNeT++-4.6, sumo-0.22.0 and Veins-4a2. I measured the distance between two bikes (in my scenario vehicles are considered as bikes and I modified my rou.xml file by adding vClass="bicycle") during a contact in my simulation and I had very high…
Joe
  • 85
  • 1
  • 9
0
votes
1 answer

Packet Loss ratio in VEINS/Omnet++

I am new to VEINS/Omnet++ and trying various broadcast suppression techniques and would like to calculate the packet loss ratio. I assume I have to use this formula : Packet Loss Ratio = TotalLostPackets / SentPackets But since some nodes send 0…
user629034
  • 659
  • 2
  • 11
  • 30
0
votes
1 answer

Implement an NS2 LTE simulation with sumo and Ad-hoc network

Hello everyone I want to ask for your valuable help to see if it is possible to add a SUMO scenario I have into NS2 to be able to simulate an ad-hoc network between cars and also allowed them to communicate with an LTE radio base station (eNodeB). I…
Houston61
  • 39
  • 8
0
votes
1 answer

SUMO and OpenDS Integration using TraCI

I am looking at having SUMO as the mobility server and I would like to map an OpenDS vehicle object onto the SUMO simulation by interfacing with SUMO using TraCI. A human user would be interacting with OpenDS through a driving machine and the aim is…
bincob
  • 859
  • 1
  • 9
  • 13
0
votes
1 answer

Running a SUMO simulation on a sub-graph of a road network

I am using SUMO to simulate the LuST scenario from https://github.com/lcodeca/LuSTScenario. However, since the scenario is rather large, I would like to start with a simulation constrained to region of interest. Is there a straight forward way to…
Coxer
  • 1,694
  • 2
  • 26
  • 44
0
votes
1 answer

Regarding SUMO Simulator Usage

Can SUMO Simulator be used to create a traffic scenario by adding number of vehicles,types of vehicles(car,truck,bus,etc) to create a traffic signal junction using SUMO,OMNet++,Veins Simulator? Does anyone suggest what is the best place to learn…
skp
  • 11
  • 5