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
2
votes
1 answer

AnyLogic - create objects dynamically on simulation time

Is it possible to dynamically create objects or modify them on run-time ?for example,on button click,another button created or change number of lines of a road? When I write this code for a button Action,in run-time…
M.ah
  • 147
  • 11
2
votes
2 answers

Accident Avoidance in Veins

I am implementing an Accident Avoidance scheme in Veins. I modified the TracIDemo11p.cc and changed the onData function as following - void TraCIDemo11p::onData(WaveShortMessage* wsm) { findHost()->getDisplayString().updateWith("r=16,green"); …
2
votes
2 answers

How to get the curve radius in a traffic simulation?

I am just about to implement a traffic simulation. For the road model, I use data from OpenStreetMap. This means that a road consists of several sections, which are strung together. Of those sections start and end points are known. The vehicle moves…
Saranto
  • 23
  • 3
2
votes
1 answer

NS2, packets larger than 100 byte are dropped on 802.15.4

I have a simple 802.15.4 simulation program (2 nodes, CBR traffic). If the size of CBR packets are less than 100, the packets are delivered without problem but as soon as you increase the packet size all packets are dropped. I guess it is because…
wmac
  • 1,023
  • 1
  • 16
  • 34
2
votes
1 answer

Calculating theoretical network bandwidth in topology

I'm in the process of building a discrete-event simulator, and need to be able to calculate the theoretical bandwidth available between two systems in a given network topology, so that I can "time" how long a transfer will take to occur and create…
BSchlinker
  • 3,401
  • 11
  • 51
  • 82
2
votes
1 answer

How to simulate vehicle movement in omnet++?

I'm new to omnet++, and i need to write a simultaion of vehicle on a map. i have a compund module called "Vehicle" which contains 2 simple module: for movement (all the cars will move on a map) for the communication between all the…
kande
  • 559
  • 1
  • 10
  • 28
1
vote
0 answers

Flow vehicle problems: collision avoidance behavior

In main_UrbanRoadway.py, I generate 3 types of vehicle flows with the help of vehicle.add() defined in flow.core.params.py Requirements My requirements for vehicle flows are shown as follows: Follow the specified acceleration and speed range even…
1
vote
0 answers

Simulate bike sharing with Python

We are in a closed network, where no one can enter or exit. There are 91 bikes in total, with 83 bikes in the stations and 8 bikes on the way to their destination. There are 5 stations where bikes can be dropped off. We have a matrix with travel…
Abedouzze
  • 39
  • 2
1
vote
2 answers

Traffic Congestion Simulation using OSMNX in Python

I'm trying to do traffic flow simulation visualization using OSMnx to extract data from OpenStreetMaps using Python. I'm trying to do macroscopic traffic simulation regarding to agent-based congestion analysis. I tried the below code to find the…
mg g
  • 21
  • 4
1
vote
0 answers

How to set the yellow phase only for specific lanes in AnyLogic?

In AnyLogic intersection with traffic lights, I have multiple cases where the green (or red) light on the specific lane x direction (lane connector) stays the same color over multiple phases. Between these phases, it makes no sense to put a yellow…
Ferazhu
  • 89
  • 2
  • 7
1
vote
0 answers

How to use Poisson distribution? Inter-arrival times

Initially I was using poissrnd command to generate Poisson distributed numbers but I had no info on how to make them 'arrive' in my code. So I decided to generate the inter-arrival times. I do that as below. t=exprnd(1/0.1); for…
1
vote
1 answer

How to run different scenarios in Omnet++ (Veins)?

I have created a traffic scenario in SUMO and running it using Omnet++. I have Inet, Veins and VANET to work with it. I made vehicles as a nodes and run the scenario using Veins, and established the communication between the nodes using VANET. But I…
1
vote
1 answer

JMeter synchronize all threads

in Jmeter I have this situation: ThreadGroup(N-Tread, RumpUp=X sec) Loop1 (n times) JavaSampler1 Syncronize Sleep Loop2 (n times) JavaSampler2 What I want is that once the thread group is started, I want all threads to block (syncronize)…
1
vote
2 answers

Java implementation of Netlogo traffic simulation

I am a bit newbie in the topic of Netlogo simulations. I am gathering information about invoking different traffic simulators. Is Netlogo have the possibility to receive a call from the Java side via a library that controls agents or the traffic…
Alex R
  • 175
  • 1
  • 12
1
vote
0 answers

How to make receiving node to stop automatically after one connection in D-ITG Traffic Receiver

I am performing a traffic generation between two hosts in mininet RYU using D-ITG. I used ITGRecv at receiving end and ITGSend at Sending host. But what I want is after completion of a flow between the nodes the receiver should shutdown that…
Vinay
  • 111
  • 1
  • 7
1
2
3
9 10