NetLogo banner

 Home
 Download
 Help
 Resources
 Extensions
 FAQ
 References
 Contact Us
 Donate

 Models:
 Library
 Community
 Modeling Commons

 User Manuals:
 Web
 Printable
 Chinese
 Czech
 Japanese

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

parking

by Murilo Moraes (Submitted: 10/20/2014)

[screen shot]

Download parking
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".

(You can also run this model in your browser, but we don't recommend it; details here.)

## WHAT IS IT?

This project is a model allowing for cars to use on-street parking. Much like a simpler model of Traffic, this model demonstrates how traffic jams can form, considering different speeds of the cars that are using the street,

As in the traffic model, traffic may slow down and jam without any centralized cause.

## HOW TO USE IT

Click on the SETUP button to set up the cars. Click on GO to start the cars moving. The GO ONCE button drives the car for just one tick of the clock.

The NUMBER slider controls the number of cars on the road. The LOOK-AHEAD slider controls the distance that drivers look ahead (in deciding whether to slow down or change lanes). The SPEED-UP slider controls the rate at which cars accelerate when there are no cars ahead. The SLOW-DOWN slider controls the rate at which cars decelerate when there is a car close ahead.

The GB-PARK (global parking) switcher controls whether cars are allowed to park. The PARK-RATIO slider controls the ratio of the cars that are driving through the street that are actually looking for a parking space. The PARK-DRIVE-SPEED slider controls the speed at which cars that are looking for a parking space drive (it controls the maximum speed; the maximum speed of cars that are not looking for a parking space is 100). The PARKING-TIME controls the number of rounds that a car, once parked, stay in the parking space. Finally the TIME-TO-PARK slider controls the number of rounds a car takes to park once it has found a free parking space.

You may wish to slow down the model with the speed slider to watch the behavior of certain cars more closely.

The AVERAGE-SPEED monitor displays the average speed of all the cars.

The CAR SPEEDS plot displays four quantities over time:
- the maximum speed of any car - CYAN
- the minimum speed of any car - BLUE
- the average speed of all cars - GREEN

## RELATED MODELS

Traffic Basic

(back to the NetLogo User Community Models)