Skip to content
tcolache edited this page Apr 24, 2013 · 24 revisions

We are currently in the process of creating the algorithm which will be used in determining the number of cars occupying a parking lot.

Collected Data

In order to create an accurate algorithm for determining the number of cars passing through a parking lot, we need to collect and analyze multiple sources of statistics for cars and trucks.

Car Data

car dimensions

excel_car_data

18-Wheeler data

truck dimensions

excel_truck_data

Creating the Algorithm

One of the problems that we faced while creating the algorithm for this project was preventing pedestrians from triggering the sensors and created "ghost" cars in our data. To solve this problem we determined that a minimum time requirement was necessary.

Necessary Data

  1. Vehicle Lengths
  2. Average Vehicle Speeds

Method for finding minimum time

Formula

v = Δx/Δt

v = speed

Δx = change in position

Δt = change in time

rearrange the formula to get Δt on one side by itself.

Δt = Δx/v

Explanation of formula

Now we can determine the change in time, which in our case is the minimum time for a car to pass the sensor.

In our case, Δx will represent the length(s) of the car(s) which will pass the sensor.

We will use a range of speeds, v in our calculations.

Clone this wiki locally