Consider that we have an Automatic Parking Garage contains 900 units , each unit can contains just one car.

The Garage open 24 hours per day , 7 days per week (24*7).

The working day will divide into three parts

1- (8:00 am - 3:00 Pm) ( the rent cost in this level is 1.2 $ per hour)

2- ( 3 Pm- 10 Pm) ( the rent cost in this level is 0.9 $ per hour)

3- ( 10 Pm- 8 am) ( the rent cost in this level is 2.2 $ Overnight)

The calculation well be for the first two cases like ( if the care parking for less on hour the pay will pe for one hour at least and if it is above one hour and less two hours the pay will be for two hours and so on), For the last case if the care parking for any time the pay well be like if it is stay the whole night .

When any new car want to parking the process needs 5 min, also when another car want to go out the garage it needs 5 min, so there is a wasting time.

================================

Now if we want to calculate the income for this garage in case the garage will

1- full capacity in 30 Days ( with consideration the waiting time when cars go in and out)

2-1/2 Capacity in 30 Days ( with consideration the waiting time when cars go in and out)

3- 1/4 Capacity in 30 Days ( with consideration the waiting time when cars go in and out)4- 1/8 Capacity in 30 Days ( with consideration the waiting time when cars go in and out) .

How we can do it ?