Research Article

Safety Effects of Connected and Automated Vehicle-Based Variable Speed Limit Control near Freeway Bottlenecks considering Driver’s Heterogeneity

Algorithm 1

Central control module algorithm.
Input: The total simulation time, ; the number of detectors, N; the control cycle, the average speed collected from loop detector station at the location at time , ; the desired deceleration, ; the perception reaction time, ; the average length of the vehicles, ; the average occupancy at location at time , .
Output: The calculated speed limit, ;
(1) for each do
(2)  if mod then
(3)   i = N – 1
(4)   while i >= 1 do
(5)    
(6)    return
(7)    i = i – 1
(8)   end while
(9)   
(10)   
(11)  end if
(12) end for