This page was automatically generated by NetLogo 4.0.4. Questions, problems? Contact feedback@ccl.northwestern.edu.
The applet requires Java 1.4.1 or higher. It will not run on Windows 95 or Mac OS 8 or 9. Mac users must have OS X 10.2.6 or higher and use a browser that supports Java 1.4. (Safari works, IE does not. Mac OS X comes with Safari. Open Safari and set it as your default web browser under Safari/Preferences/General.) On other operating systems, you may obtain the latest Java plugin from Sun's Java site.
powered by NetLogo
view/download model file: walker_traffic.nlogo
This model was based on the traffic model (simple) by Uri Wilensky. The original purpose of this model was this as written by the author himself
"This model models the movement of cars on a highway. Each car follows a simple set of rules: it slows down (decelerates) if it sees a car close ahead, and speeds up (accelerates) if it doesn't see a car ahead.
The model demonstrates how traffic jams can form even without any accidents, broken bridges, or overturned trucks. No "centralized cause" is needed for a traffic jam to form."
The purpose of my modification is to study how an idealized model of walkers that try to pass the street would work in this setting.
Click on the SETUP button to set up the cars. Set the NUMBER slider to change the number of cars on the road. The walker appereance probability defines the percent probability of a walker appearing on the south side of the road with the intention to get north. This probability applies per tick.
Click on GO to start the cars moving. Note that they wrap around the world as they move, so the road is like a continuous loop. The walkers try to pass to the road ONLY when there are no cars in front of them. They will make an attempt to pass the road witha probability equal to walker move probability slider.
If a walker gets on the street, he doesn't stop, until he reaches the other side, on where he disappears.
The ACCELERATION slider controls the rate at which cars accelerate (speed up) when there are no cars ahead.
When a car sees another car right in front, it matches that car's speed and then slows down a bit more. How much slower it goes than the car in front of it is controlled by the DECELERATION slider.
The original model was about traffic jams. This model is about how the variables of the original model (acceleration, deceleration), the percentage of walkers on a given street and their aggresivenes (that is, how probable it is they will try to go on the road) will affect the results.
Note two things in the model:
1) This model is about one one-sided road
2) The model considers that both walkers and car drivers are "uncivilized", that is, they are trying to cross the yellow point without obeying to traffic laws. They will only stop when they see that they will cause an accident. This case for walkers is when there is a car in front of them, and for cars, when there is a walker in front of them.
What I found most interesting, is that the results can be described by a stationary law. The plots are linear, which implies, that they could be described by a simple equation that considers all the factors. You will also notice that the 3 statistics in the bottom, always circle around a certain number, depending on the factors.
This model represents a highly idealized and abstract situation, however, I don't know if this could be the case in reality too. Perhaps, the same situation could be described by stationary laws in real life too.
Try changing the parameters and see how they always end up in linear plots.
This model should incorporate a two-way road setting. Perhaps even more complex rules.
"Traffic" (in StarLogoT) adds graphics, trucks, and a radar trap.
"Gridlock" (a HubNet model which can be run as a participatory simulation) models traffic in a grid with many intersections.
This model is a modification by Stylianos Kampakis on the traffic model (simple) by Uri Wilensky. official site: http://encefalus.com