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
1
vote
1 answer

Spawning a GameObjects have same script but different behavior?

I have a project in my collage for traffic car simulation in unity, and the one of the project requirements is to let the user enter the number of the cars, and each one of them should driving like AI_Driver, and i wrote a script to spawning cars…
1
vote
1 answer

Elapsed time in my c++ application increases from 0 to 60 too fast (like in a millisecond, or a microsecond)

In my traffic simulation project, I want to change the states(color of lights) of the traffic light objects in a period. I wrote TrafficLightGroup class to group 7 traffic lights (t-lights) into 3 groups. In this class, there is a simulate()…
Utku Demir
  • 373
  • 1
  • 6
  • 14
1
vote
1 answer

Unable to find a Veins v 5.0 beginner tutorial

as VEINS 5.0 is a major rewrite for veins, is it possible to find a basic example or tutorial regardless of the one offered on veins website ? for example : creating a tic toc example integrated with veins ? thank you very much.
1
vote
1 answer

Animation of a multiple-lane highway with periodic boundary using matplotlib.animation.FuncAnimate

Below is a code, fully working, that animates a one-lane road with periodic boundaries. Now I'd like to animate two, or even more lanes. I have a working code for that where the position vector now is a matrix, each column representing a lane. From…
1
vote
0 answers

How to get a attribute variable with Json response using Wiremock

I need a dynamic response with different values using traffic parrot and wiremock. I have an integration test with patterns in json files to get a response when I call the API's. I need to call a product service to retrieve a specific product, my…
1
vote
1 answer

Can't use CAIDA Dataset with tcpreplay to simulate network traffic in network

I have a server and I need to simulate real network traffic. I've been asked to do this using a CAIDA Dataset. I have downloaded the public Dataset which can be found here: CAIDA Public Dataset I also need to rewrite the source ip address in the…
1
vote
1 answer

Suggestion of a library or a framework?

i am planning to do a vehicle traffic simulation as my under grad project. my plan is to simulate the movement of vehicles in a area. before starting any coding i would like to know of any java 2d libraries or frameworks (Eg:- game libraries) i can…
peedarpk
  • 197
  • 1
  • 4
  • 6
1
vote
1 answer

How to run traci.start for Sumo simulation

I have sumo 0.29 and traci it's supposed to be automatically implemented on this version. I'm running the traci_tls tutorial and I want to get the execution time in real time and not in steps as the GUI gives. I'm getting this error in CLI. when…
1
vote
2 answers

Veins/Omnett retrieve Traffic Light information

I am new to Veins and omnett and am working on a project that will use traffic lights to map out intersections. http://www.sumo.dlr.de/wiki/TraCI/Traffic_Lights_Value_Retrieval#Command_0xa2:_Get_Traffic_Lights_Variable shows that ID List can be…
LifeofBob
  • 37
  • 6
1
vote
1 answer

SUMO - How to generate routes without using shortest path algorithms?

When running a simulation in SUMO with routes generated by duarouter on a grid-like network, after a certain amount of time, the vehicles start to concentrate on the middle of the grid and in junctions due to the fact that the routes are generated…
joaopaulopaiva
  • 363
  • 3
  • 16
1
vote
1 answer

Discriminators for using in flow-based classification

I need to classify TCP traffic base on video and non-video. So i need to find characteristics of each flow. My classification is Flow-based and one of my variables is incoming packet length. but it is not accurate as P(video|1200Bytes)=…
1
vote
1 answer

how to calculate distance between car and next junction in veins

using getCurrentPosition() method gives the current coordinates of the car and getJunctionPosition() gives the the coordinates of a node. but base on calculating distance of the car to the next junction and evaluating results i belives these…
user4992165
1
vote
3 answers

How to simulate multiple users

I built an App with Angular on the front end and NodeJS on the back. The app is behaving funny when a few people are using it simultaneously. I want to make some changes and then test it with a bunch of people, but I can't keep bugging my friends to…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
1
vote
1 answer

Referring to Objects by an ID? (Java)

i'm not a Java-Newbie but I can't get my head around a problem occured recently. I have to simulate a road system in Java. For sake of proper OOP, I've got a class Car and a class Street (and several others to manage the whole simulation of…
0
votes
1 answer

I want to know how to make cars wait in parking untill they are called by the next parking lot in anylogic software?

I am working on anylogic software.In the road traffic library I used delay block to make the cars waiting in one parking lot.I want them to move from one parking to next parking lot and I want to make them wait in that parking lot until the next…
Sushma
  • 1
1 2
3
9 10