项目作者: jeremy-dai
项目描述 :
Prepare data for Highway Capacity Analysis
高级语言:
项目地址: git://github.com/jeremy-dai/HCS-Companion.git
HCS-Companion
This excel marco helps prepare data for Highway Capacity Analysis
Function One
Calculate the distance between segments
- 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
Function Two
Calculate the density
- 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
Function Three
Extract and summarize the HCS results based on the txt files generated by HCS 2010
- Choose Basic Macro for basic freeway segment
- Choose Ramp Macro for ramps
- Choose Weaving Macro for weaving segment
- Run the Macro.