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
7
votes
3 answers

Simulate p2p network traffic on a single computer

What is the best way to simulate a network in Java? I'm in the early stages of a networked peer to peer project, and to determine some of the required characteristics of the clients I'd like to be able to simulate 100+ instances concurrently on my…
N. McA.
  • 4,796
  • 4
  • 35
  • 60
5
votes
0 answers

How to duplicate traffic from an Azure web application for testing purposes

We have several web applications and apis deployed as azure web applications and we would like to automate database changes testing. We are thinking on replicate incoming http traffic towards another instance of the azure service so we will make…
4
votes
1 answer

Need help modeling a train system with SimPy

I need help modeling a train system (like a subway system) in SimPy, the problem is that my "Simulation" teacher wants me to use Python + SimPy and I don't have a clue how to use it, after a week reading about SimPy I managed to understand the bank…
nosmirck
  • 666
  • 9
  • 31
3
votes
3 answers

How can I represent a road system in software?

I'm looking to do some traffic simulation as a side project but I'm having trouble coming up with ideas for how I should represent the road itself. I like the idea of using a series of waypoints (straight lines using lat/long coords) but it seems…
Joe Phillips
  • 49,743
  • 32
  • 103
  • 159
3
votes
1 answer

How to add multiple additional files in .sumocfg (SUMO)?

I have multiple Traffic Light Logics, each with specific signal plans. I've defined each junction specific logic in a file: J1.lgc.xml When I try to add these files to configuration file (J.sumocfg)
mrk
  • 8,059
  • 3
  • 56
  • 78
3
votes
1 answer

How to maintain constant number of vehicles through out the simulation in SUMO simulation?

I am a new to SUMO. Can someone help me on how to maintain the constant number of vehicles i.e. constant density, over the complete simulation period like for 1 hr. In this post, they said that using options --begin, --end. I didn't understand how…
vishnu
  • 363
  • 3
  • 20
3
votes
3 answers

NetLogo - What is 1 distance unit in NetLogo?

I am working on traffic simulations using NetLogo for a post graduate project. For turtles to move forward we can specify the number of units it can move e.g. fd 1, which would mean the turtle moves forward by 1. What is this 1 unit? Is it equal to…
user397479
  • 33
  • 2
3
votes
1 answer

How to simulate realistic TCP traffic in OMNeT++?

I want to simulate TCP traffic between a source and destination pair, using OMNeT++, such that: there is a periodic transmission of a 2GB file (every 1.5-2.0 second, as allowed by TCP congestion mechanism) the traffic being simulated must be…
TMath
  • 47
  • 1
  • 8
2
votes
2 answers

Some of the objects in sprite group are getting stuck on screen instead of moving in pygame

import pygame from sys import exit import random WIDTH, HEIGHT = 1400,750 FPS = 60 HEADWAY_GAP = 40 vehicleColor = {0:"red",1:"blue",2:"yellow"} directions = ["Right", "Left"] classofVehicle = ["Car","Bike","Bus"] coord = {"Right":(0,300),…
Satya Pamidi
  • 143
  • 8
2
votes
1 answer

How to establish communication between specific nodes in Vanet?

I have SUMO, Omnet++, Inet, veins and Vanet to estblish the communication between nodes (Vehicles in SUMO) in my simulation. I did message passing between the Nodes(Vehicles) in omnet++ using VANET But the message is passing between all the nodes…
2
votes
1 answer

How to implement a rule-based decision maker for an agent-based model?

I have a hard time understanding how to combine a rule-based decision making approach for an agent in an agent-based model I try to develop. The interface of the agent is a very simple one. public interface IAgent { public string ID { get; } …
2
votes
1 answer

Docker traffic control (tc) - specified qdisc not found

I am looking for a solution to how to run tc qdisc command in Docker Ubuntu. The version of Ubuntu is 20.04 LTS and I run Docker on Windows. Here's part of my docker-compose.yml: fuseki_1: image: leroykim/jena-fuseki:ubuntu …
leroykim
  • 85
  • 1
  • 6
2
votes
2 answers

Car failed to change the route error in anyLogic

I am Simulating the road traffic model in anyLogic. I am making a cross road network of four roads using one intersection and two car source. I have used select Output5 twice as seen in screenshot below. Here road on East side is named as RoadE,…
2
votes
1 answer

How to implement routing protocols on Estinet network simulator?

I am trying to implement routing protocols such as AODV and DSR in a vanet simulation using Estinet ( previously called NCTUns network simulator ) https://www.estinet.com/ns/. However, i cant find any information on how this is achieved. Is there…
Young4844
  • 247
  • 1
  • 4
  • 12
2
votes
8 answers

Java - Distributed Programming, RMI?

I've got a doozy of a problem here. I'm aiming to build a framework to allow for the integration of different traffic simulation models. This integration is based upon the sharing of link connectivities, link costs, and vehicles between…
Alex Lim
  • 589
  • 1
  • 8
  • 10
1
2 3
9 10