Questions tagged [traffic-simulation]

Traffic simulation are an approximate imitation of traffic flow behavior on any road network.

The components or features that are part of traffic simulations are i) Traffic behavior (homogeneous or heterogeneous), ii) traffic flow models (microscopic, macroscopic or mesoscopic), iii) traffic models (such as car following, lane changing) and iv) system (discrete or continuous).

Latest work on this topic is reported in

  • Ullah, Muhammad Rehmat, et al. "Vehicular traffic simulation software: A systematic comparative analysis." Pakistan Journal of Engineering and Technology 4.1 (2021): 66-78.
139 questions
0
votes
1 answer

NED path error while running Veins/Omnet++ simulations on Ubuntu Server

I have setup a Linux server to run veins/omnet++ simulations on it. The main reason I am doing this is to decrease simulation time. The server is running Ubuntu Server 14.04.3, OMNET++ 4.6, SUMO 0.22.0 and VEINS 4a2. After installing OMNET and SUMO,…
aaa
  • 435
  • 8
  • 22
0
votes
1 answer

How to record the time in which cars left simulation environment in veins

My field of study is about travel time of cars so to evaluate my proposed methods it's very important to know how much time it takes for each individual car to reach to its destination I use Veins 3.0, Sumo0.21.0 and Omnet++ 4.6 for simulation. I…
user4992165
0
votes
1 answer

NetLogo programming questions: check agent color/have breeds pass through one another

Some basic programming questions in NetLogo: 1) In the is-agent? value command. How can I specifically check if the agent with id = 4 is green or not? By contrast, is-agent? green would only be true if any of the agents is green. 2) I have made…
user397479
  • 33
  • 2
0
votes
1 answer

Trying to understand an error with traffic simulation

In my code I have the following line 56 if(0 <= m and m <= 1000): ---> 57 simulacion[m][p] = 1 Non the less, I keep having the error index -1313 is out of bounds for axis 0 with size 1000 Clearly m can not be -1313 due to the conditional…
0
votes
1 answer

how to simulate a traffic scenario for cars

im trying to do a project about routing cars through cities, the idea is to know the amount of cars that are on the streets so the vehicle can be routed through the less congested route. For that i would need to install a gps on every car of the…
0
votes
1 answer

How to find the other mobile nodes in transmission range of a fixed node?

In my program there are 4 fixed nodes and 12 mobile nodes.I am trying to code many wireless cells. I want to find the nearest fixed node for the mobile nodes. how can i do this?
Sheeru_06
  • 1
  • 3
0
votes
1 answer

Load and stress testing a network app

A client has a piece of hardware - it doesn't really matter what it does. 150 of them can connect to a PC and up to 150 PCs can interface to the single server. These are his figures and I and not sure if I want to query them. At his premises he has…
0
votes
1 answer

Interrelated resources

I am modelling a train station(using simpy, with python 2.7) where there are some incoming routes, some outgoing routes and some platforms. Now, when one of these resources is occupied, I can't assign a train to certain other resources. Now when a…
Aseem Awad
  • 173
  • 1
  • 9
0
votes
1 answer

Error in file write

I am getting an error of unexpected indent at (w) of with open def run(): """execute the TraCI control loop""" traci.init(PORT)# programPointer = len(PROGRAM)-1 step = 0# with open("harsh1.txt","w") as…
user2035503
0
votes
1 answer

Simulating load with wireshark packet capture (not HTTP)

We have a production environment that is pretty heavily stressed, to the point that some connect requests are dropped. We've pushed the connection backlog up to 100 but are still seeing some issues with dropped connections (100 is well in excess of…
boatcoder
  • 17,525
  • 18
  • 114
  • 178
-1
votes
1 answer

Traffic simulation using Simpy

I have been working on simpy to design a traffic simulation of a signalized intersection (three approaches). The attached code described the design of the cars driving on a single lane road and arrive at the intersection from one direction only. The…
AAT
  • 3
  • 2
-1
votes
1 answer

Matsim Routing dont start at the exact location instead on the next node. Why?

in this scenario i have an agent who wants to travel from node 1 to node 2. But with the first network the Agent doesnt start to Travel. It needs the Node in the middle shown in the second network for him to start. In the simulation in Simunto Via…
Sven K
  • 13
  • 2
-1
votes
1 answer

Omnet++ Communication between three node(or more than three)

so I want to configure how the three node communicate with each other but in two ways. I tried different method but all was error different and it didn't run even the simulation but this code run the simulation GUI but Not able to run the…
-1
votes
1 answer

Create a global dictionary to keep track of iterations

I have created a train simulation in simpy, but to keep a track of the trains ahead, I plan to use a dictionary, where key values can act as 'Signal' status. The keys are basically signal numbers. The preceding trains can check if the next signal is…
-1
votes
1 answer

New to SUMo (Simulation of Urban MObility ) , need help to understand and solve it

i need to understand and find a possible solution to this problem.i am fairly new to this simulator but cannot find anything about the above mentioned problem https://i.stack.imgur.com/eY23O.png
1 2 3
9
10