I simply do not get how I can simulate real traffic jams on a highway and I cannot find any documentation for this online.
What I want to do: I have a few trucks that drive between 3 places and all these places are almost directly on highways. Sometimes there is a traffic jam, e.g. between 8:00 and 10:00 am.
How do I simulate this? The problem, especially on the highway, is that when I simply spawn 1000 agents on the highway, they all drive continuously at the same speed and nothing is slowed down. I guess I have to somehow dynamically (between 8:00 and 10:00 am for example) reduce the number of lanes or make cars move slower, since that is how traffic is created on highways.
Is it possible by using only xml files or do I need to write Java extensions?
Hello,
I simply do not get how I can simulate real traffic jams on a highway and I cannot find any documentation for this online.
What I want to do: I have a few trucks that drive between 3 places and all these places are almost directly on highways. Sometimes there is a traffic jam, e.g. between 8:00 and 10:00 am.
How do I simulate this? The problem, especially on the highway, is that when I simply spawn 1000 agents on the highway, they all drive continuously at the same speed and nothing is slowed down. I guess I have to somehow dynamically (between 8:00 and 10:00 am for example) reduce the number of lanes or make cars move slower, since that is how traffic is created on highways.
Is it possible by using only xml files or do I need to write Java extensions?