This excel marco helps prepare data for Highway Capacity Analysis
- Create Line Diagram tab as the example.
- Type in the interchange names in row 4 and 21
- Type in the ramp names in row 3 and 22
- Type in the station number in row 7 and 18 : in the same columns as the interchange/ramp names
- Run the LineDiagram Macro. It will automatically calculate the distances between ramps and put the numbers in row 6 and 19
- Based on the distance and other information, divide the whole segments into Basic/Merge,Diverge/Weaving areas and color the cells
- Create Inputs tab as the example excel sheet.
- Copy the Station Numbers generated by Function One and paste in the new tab as the example excel sheet.
- Choose transpose.
- In column P and Column Q, create vlookup formulas to get the station number based on the station number tab
- Adjust the reference point based on segment types for density calculation.
- Change the code to match the direction. NB? EB?
- Run the density macro. It will automatically get densities and put the numbers in column U and V
- Choose Basic Macro for basic freeway segment
- Choose Ramp Macro for ramps
- Choose Weaving Macro for weaving segment
- Run the Macro.