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
2
votes
0 answers

Why does the FINISH function run multiple times (in veins)?

I know in veins the FINISH function is done when the car comes out of the simulation. In My simulation, the car travel time is calculated.This parameter is stored in a file when the cars exit the simulation by the FINISH function. But when I check…
rakhsha
  • 99
  • 7
2
votes
1 answer

How to change sizes of vehicle in Flow simulation?

It seems that we can only create a stable size of vehicles in Flow Simulation. How can we change the size(include length, width of car) of vehicles?
2
votes
1 answer

Running the grid0 baseline benchmark in Flow

Repost from User Timo N. Hi guys, When running the grid0 baseline benchmark, I encountered a problem regarding the traffic lights. I adjusted the number of rows and columns to 1 so the scenario fits my needs. When running, the traffic lights have…
Alben
  • 78
  • 5
2
votes
1 answer

How to integrate SUMO into Flow?

Repost from Antonio D.: I just installed FLOW following all the instructions given in the following link. After executing the sugiyama example, SUMO shows an error saying this: "Error: tcpip::Storage::readIsSafe: want to read 8 bytes from Storage,…
Fangyu Wu
  • 76
  • 6
2
votes
1 answer

Pedestrian Simulation in veins (omnet++/sumo)

I'm trying to run a pedestrian simulation from sumo in omnet++. To keep it easy (i am a beginner) I decided to use the Erlangen example provided with veins and extend it with a couple of pedestrians. I added the pedestrians in sumo and ran it. It…
nicfel
  • 63
  • 6
2
votes
0 answers

How to combine veins with my existing SUMO simulation?

I have my own existing SUMO simulation for an intersection traffic control algorithm where I generate vehicles online, get their information, make planning decisions, and control every vehicle. I assumed perfect communication between vehicles and…
Qiang Lu
  • 21
  • 5
2
votes
1 answer

Communication between a car and a pedestrian in Veins

I would like to know how could I create a wireless communication between a car and a pedestrian (V2P) in Veins? Thanks a for your attention.
osga
  • 56
  • 3
2
votes
1 answer

How to check for an internal edge via TraCI?

I am trying to figure out whether an edge/lane is internal. When SuMO creates internal edges/lanes, it prefixes them with a colon [1]. Currently, I am exploiting this information, however, it seems that you also can annotate arbitrary other edges as…
Julian Heinovski
  • 1,822
  • 3
  • 16
  • 27
2
votes
0 answers

Different output using SUMO only versus using SUMO, Veins, and OMNeT++ together

In my project, I am trying to make a base case, in which the market penetration is 0.0. In another word, no vehicle is using the application. I tried two ways to do this. First, I use SUMO only to run the simulation, and secondly I use SUMO, Veins…
J.G
  • 190
  • 3
  • 13
2
votes
1 answer

How to enable SUMO TraCI using SimuLTE and Veins?

I am using SimuLTE and Veins simulating sending safety message via LTE. The content of the message depends on the real-time values of the traffic, e.g., mean speed. In order to get such values, I plan to use TraCICommandInterface supported by Veins.…
J.G
  • 190
  • 3
  • 13
2
votes
1 answer

How do i stop the application on a single vehicle in Veins/Omnetpp?

I'm looking to stop the VEINS application i have running on a single node of the simulation, letting the remaining vehicles simulating normally (not looking to stop the entire simulation). I just want to stop the application that is running,…
2
votes
3 answers

Omnet++, veins, sumo

I'm checking the Veins tutorial that is http://veins.car2x.org/tutorial/ but I'm a little confused I see the tutorial is for Windows and Im using ubuntu, I managed to install, omnet++, sumo and import veins into Omnet++ but when I try to run the…
Houston61
  • 39
  • 8
2
votes
1 answer

Switching off ObstacleShadowing in veins

I was working on veins 4.4 then moved to the latest version. I was facing the issue of This link so commented out that code. Now I do not want Obstacle shadowing how I can do that? Removing
Sam1324
  • 387
  • 2
  • 13
2
votes
0 answers

How to run a linux program from matlab

I want to run a program from matlab command line. I use system command to run the traffic simulator, SUMO. Now the problem is sumo works fine on the bash shell but when I use system('sumo -c ...'); It gives me the following error: sumo:…
Aboozar Roosta
  • 71
  • 1
  • 10
2
votes
1 answer

packet reception ration for one hop broadcasting

Regarding the reliability metrics for VANET safety-critical services , I found that the packet reception ratio for one hop broadcasting = PRR(d)= No of Nodes within distance d receiving a packet from tagged node/total No. of nodes within distance…
phdstudent
  • 41
  • 6
1 2
3
42 43