Tutorial Control Delay

Main Page > Tutorials > Tutorial: Performance Measures

Control Delay Control Delay is the portion of the total delay attributed to traffic signal operation for signalized intersections. Control Delay can be verified following the steps below:.

'''Removing vehicles that entered subject link during warm-up time and did not depart within simulation duration. These instruction are based on using MS Excel.''' 1. The TSD output file for subject link is needed from a simulation run. 2. Remove/Delete vehicles that entered the subject link before expiration of warm-up time. 3. Remove/Delete vehicles that entered the subject link before expiration of the warm-up time. 4. Save cleaned file as TSD_1_0_1_input.csv.
 * Filter Column A (SimTime) with to include only time less than the warm-up time.
 * Identify the vehicle ID in Column B.
 * Clear the filtering for Column A, then filter Column B with these ID and Remove/Delete them.
 * Filter column A with 'simulation duration' + 'warm-up time' (the last time step of simulation).
 * Identify the vehicle ID in Column B.
 * Clear the filtering for Column A, then filter Column B with these ID and Remove/Delete them.

Delay calculation using RStudio 5. Open RStudio and run total_delay.R.
 * This script calculates total delay by following process:
 * Input TSD_1_0_1_input.csv file. #script line 2
 * Input link length at prompt. #script line 11
 * Link Travel Time is calculated as = Link Exit Time - Link Entrance Time using time in column A. #script line 14-40
 * Vehicle Desired Speed = LinkFreeFlowSpeed* × Driver Type Desired Speed Multiplier*. #script line 14-40
 * Vehicle Desired Travel Time = Link Length* / Vehicle Desired Speed. #script line 14-40
 * Individual Vehicle Delay = Link Travel Time - Vehicle Desired Travel Time. #script line 14-40
 * Total delay = Summation of individual vehicle delay. #script line 14-40
 * Output total delay.csv from R. #script line 44-45
 * *Simulation duration time & warm up time can be found on simulation panel in SwashSim.

6. Check the results in total delay.csv.
 * Total vehicle: Count the number of ID in column B.
 * Total delay: summation of delay in Column F.(Filter out the negative values)

Note: We verified only the through movement of the links. The Vehicle Desired Speed would be different for both left and right turning vehicles because of the different Link Free Flow Speed on downstream link than upstream link which affect the delay calculation for the vehicles turning left or right.