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

manage several connections with the same traffic light - SUMO

I'm new to SUMO, so my question/problem could be trivial, maybe I didn't search enough. This is my problem : I have a network that I edited through Netedit and I want to implement a certain traffic light (TL) phase in an intersection On an edge,…
0
votes
1 answer

Multithreaded Nagel–Schreckenberg model (traffic simulation) with OpenMP

I'm trying to write a multithreaded Nagel–Schreckenberg model simulation in c language and have some problems when a thread accesses the data which wasn't calculated yet. Here is a working code which only parallelizes velocity calculation per…
0
votes
1 answer

How to visualise route of vehicle in SUMO using TraCI/Python

I'm using Python to compute the possible routes of a vehicle from a point to another point of a map drawn in SUMO. I would like to use now TraCI to show these routes on the map by highlighting them. Is it possible via the API to select them and then…
Matteo Cardellini
  • 876
  • 2
  • 17
  • 41
0
votes
1 answer

Install traffic-control layer on the topology in ns3

I want to install the traffic-control layer on my topology below. I tried creating the topology with 3 nodes including node 0, node 1, and node 2. I created 2 p2p links, one between node 0 and node 1, another between node 0 and node 2. I want to…
0
votes
0 answers

Calculating the overall lengh of lanes within a given rectangle in Sumo

I meant to ask it, but meanwhile I found the answer. So, as a service to the community, here's a simple script doing it. import traci, sumolib from sumolib import checkBinary from shapely.geometry import Polygon, box polygon = Polygon([(0, 10000),…
Itamar cohen
  • 59
  • 1
  • 5
0
votes
0 answers

Poisson process: exponential inter arrival time VS exponential serivce duration

I know that the inter arrival times in a Possion process is exponentially distributed. So I assume when I use the matlab command as below, the outputs follow the definition. services= poissrnd(20,1,4) %like for 4 time units. t=1,2,3,4 %output is…
0
votes
0 answers

Network traffic simulator named 'D-ITG' doesn't work

When I Run the Command ~/D-ITG-2.8.1-r1023/src/ITGPlot/ITGplot [input.dat] [number_of_the_flow], the terminal shows the massage as follow: (base) root@scnu-go:~/D-ITG-2.8.1-r1023/src# sudo ./ITGPlot/ITGplot ../dat_file/h1send.dat sudo:…
0
votes
1 answer

How to Prevent Bus Bunching from occurring in SUMO

I am new to SUMO and Python. Currently I am trying to model a bus route that has two buses on a single route. At times these two buses can tend to bunch up during the simulation and I was wondering how exactly can I implement a Python code that…
0
votes
1 answer

Model road queue effects with simpy

I am using simpy to model a traffic simulation where I want to model car following and disallow overtaking. As an example consider two cars: A is traveling at a fast speed and is approaching car B which is in front. car A cannot overtake car B and…
mrk
  • 3,061
  • 1
  • 29
  • 34
0
votes
1 answer

Sumo random Trips Xml file not generating,

As soon as the command randomTrips.py -n sumotest.net.xml -o sumotest.trips.xml is given pycharm is opening, Looking for help Thanks, Abhiram
0
votes
1 answer

Can buses in SUMO stop to pick up or allow passengers to leave based on parts of their route that are not predefined bus stops?

I have defined bus routes for multiple lanes in SUMO, but I see that passengers can only enter and leave the buses in those bus stops. In my country buses are not always super organized and while they will stop at predefined bus stops, they will…
0
votes
0 answers

Tomcat slow response time under load

We have a web application which uses REST services developed in Java 8 JAX-RS and WAR deployed on Apache tomcat 9. Recently we faced an issue in production where Tomcat would respond really slow under high traffic and would occassionally drop…
0
votes
2 answers

Display/print text in Sumo-gui from Traci

I am learning Sumo/Traci with python. I would like to display/print some values (retrieved from Traci with python) in the runnning Sumo-gui. Is there anyway to display any text while the simulation is displayed and running? Could you please point me…
hunsnowboarder
  • 170
  • 2
  • 18
0
votes
2 answers

Bus stop on the left side of the road

I am fairly new to SUMO, and I have been creating bus stops, however I am only able to get bus stops on the right side of the edge. Is it possible to create island platforms (Center Platform) in SUMO?
0
votes
1 answer

CockroachDB distributed workload on all nodes

I've deployed a CockroachDB cluster on Kubernetes using this guide: https://github.com/cockroachlabs-field/kubernetes-examples/blob/master/SECURE.md I deployed it with $ helm install k8crdb --set Secure.Enabled=true cockroachdb/cockroachdb…
klabbaparn
  • 157
  • 3
  • 9