Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added compare/summary tools #20

Open
wants to merge 60 commits into
base: TC10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
8f94238
added cummary tools
lachlan-git Apr 22, 2024
03a41ef
fixing paths in map files
lachlan-git Apr 23, 2024
98bf1f9
reconstructed folder structure
yueshuaing Apr 24, 2024
1f63327
add river bridge report
yueshuaing Apr 25, 2024
4e97cd9
add project evaluation report
yueshuaing Apr 25, 2024
30bbd41
Update bridge_report.py
yueshuaing Apr 25, 2024
48b441b
Update config.yml
yueshuaing Apr 30, 2024
b00fbb8
get info from config
yueshuaing May 1, 2024
62d74fd
hardcode relative path, disable user input path and simplify info mes…
yueshuaing May 1, 2024
96a3000
use peak time from post processor
yueshuaing May 1, 2024
882e911
Update map automation python script
xtHuang0927 May 2, 2024
d93b841
added link subset summary for bridge report
lachlan-git May 2, 2024
c6a1ff8
Moved to correct folders
lachlan-git May 2, 2024
0e3e71f
updated git ignore
lachlan-git May 2, 2024
29fba35
minor bug
lachlan-git May 2, 2024
5e5dbe7
added summary stats
lachlan-git May 2, 2024
42cefb7
addressed pr comments
lachlan-git May 3, 2024
4e27aa9
done
lachlan-git May 3, 2024
4b6fefe
cleaned up outputs
lachlan-git May 3, 2024
fb34cef
changed output format
lachlan-git May 3, 2024
870bac7
deleted print message
lachlan-git May 3, 2024
ef57ec4
reverted daily capacity formula
lachlan-git May 3, 2024
6d3c31f
Merge pull request #22 from wsp-sag/frazer_sum
yueshuaing May 3, 2024
df0a409
fixed LOS calc
lachlan-git May 3, 2024
b05887a
final fix
lachlan-git May 3, 2024
c4f63e7
Merge pull request #23 from wsp-sag/frazer_sum
yueshuaing May 3, 2024
f11d56b
delete print message
yueshuaing May 3, 2024
0085698
update link query file name
yueshuaing May 3, 2024
2766e34
scenario can be strings, move scenario column to the first place
yueshuaing May 3, 2024
549821a
update formulas
yueshuaing May 3, 2024
9198a3b
fix bug in loop
yueshuaing May 3, 2024
6a974eb
upload scenario impact summary
yueshuaing May 3, 2024
3725871
round the results
yueshuaing May 3, 2024
22f162d
deleted commented lines
yueshuaing May 6, 2024
eaad816
update link query name
yueshuaing May 6, 2024
69687c6
Reorganized map automation folder and update build_map_files.py
xtHuang0927 May 6, 2024
4e430b5
Merge branch 'summary_tool' of https://github.com/wsp-sag/client_chat…
xtHuang0927 May 6, 2024
e49057c
Update map automation in config.yml
xtHuang0927 May 7, 2024
e71d409
Update map automation section in run_analysis.py
xtHuang0927 May 7, 2024
46cb0c5
Update map automation
xtHuang0927 May 8, 2024
0df34a3
added client changes
lachlan-git May 8, 2024
92ba9c3
minor fix with f strings)
lachlan-git May 8, 2024
b8511da
fixed execute_analysis.pu
lachlan-git May 8, 2024
ba39893
Merge pull request #24 from wsp-sag/los_and_vol_config
yueshuaing May 9, 2024
f79b95b
minor changes
yueshuaing May 9, 2024
1768ca8
fixed subprocess path issu
yueshuaing May 9, 2024
a2118fb
run batch file
yueshuaing May 9, 2024
5dcb8f9
test run
yueshuaing May 9, 2024
c5bae3e
add python environment
yueshuaing May 9, 2024
195d6ea
Update multiple scenarios for map automation tool
xtHuang0927 May 9, 2024
4b0d29f
update config
yueshuaing Jun 12, 2024
16220d9
update summary outputs
yueshuaing Jun 12, 2024
9a7554b
cleanup
yueshuaing Jun 12, 2024
9939412
fixed mode agg
lachlan-git Jun 12, 2024
2e4e7f2
fixed mode
lachlan-git Jun 12, 2024
7d6478e
cleanup
yueshuaing Jun 12, 2024
c615bc8
Update Chattanooga_Map_Deliverables.qgz
xtHuang0927 Jun 13, 2024
10890b8
Update Maps_Automate.py logo issue
xtHuang0927 Jun 18, 2024
c0b42a5
update summary outputs
yueshuaing Jun 19, 2024
c67fb8d
Update ReadMe.md
yueshuaing Jun 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ report.xsl
## Scenario Logs
Log_*.txt

**/2_Scenarios/*/Outputs
**/2_Scenarios/*/Outputs

Scripts/build
*312.pyc
*.spec

**/*/model_output
**/*/scripts/environment
Binary file not shown.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion Scripts/_Map_Automation/Source_Data/Model_Output/ReadMe.md

This file was deleted.

Binary file not shown.
15 changes: 15 additions & 0 deletions summary_tool/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Descirption
The summary tool is compatible with TransCAD 10 and includes a `config.yml`, a `run_analysis.bat` script, a ‘ReadMe.md’ and four subfolders.

# Folders
- Lookups: Stores all link queries, lookup tables, and cross-reference files.
- Model_output: Keeps all model outputs for each scenario.
- Scripts: Houses the source code for all summary tools.
- Summary_output: Contains all summary outputs, which are subsequently used in the reports.

# Files
- ReadMe.md: Contains a brief overview of the summary tool's structure.
- Config.yml: Contains basic settings for each summary report, such as whether to generate the report, which scenarios to include, and which link queries to use.
- Run_analysis.bat: The primary script used to execute all summary tools.


177 changes: 177 additions & 0 deletions summary_tool/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
#######################
# river bridge report #
#######################
bridge_report:
CREATE_BRIDGE_REPORT: true
scenario:
- 2019
- EC2050
county:
- 'Hamilton'
- 'Walker'
# - 'Dade'
# - 'Catoosa'


##########################
# scenario impact report #
##########################
scenario_impact:
CREATE_IMPACT_REPORT: true
scenario:
- 2019
- EC2050
link_query: 'Frazier_ave_anlysis.csv'
LOS_ranges:
A: 0, 0.318
B: 0.318, 0.509
C: 0.509, 0.747
D: 0.747, 0.916
F: 0.916, 100000
# below must be one of
# 'mean', 'sum', 'max', 'min', 'median', 'mode' (most common)
# WARNING: this will affect saturation calculations
agg_methods:
LANES: mode
SPEED: mode
FLOW: max
CAPACITY: max


#############################
# project evaluation report #
#############################
project_evaluation:
CREATE_EVALUATION_REPORT: true
scenario:
- 2019
- EC2050
link_query: 'cummings_hwy.csv'


###################
# map automation #
###################
map_automation:
CREATE_MAP_OUTPUT: true
qgis_python_path: 'C:\Program Files\QGIS 3.22.4\apps\qgis-ltr\python'
python_executable_path: 'C:\Program Files\QGIS 3.22.4\apps\Python39\python.exe'
scenario:
- 2019
- EC2050
simple_legend: True
ez_note: External Zones represent Key Areas for Traffic outside of the TPO Boundary.
base_network:
- 'TPO Boundary'
- 'TN/GA State Line'
- 'TPO GA Counties'
- 'TPO_TN_Counties'
- 'thematic_layers' ## Thematic Layers Placeholder
- 'TPO Interstates'
- 'Controlled Access'
- 'Base Network'
- 'Water Bodies'
- 'TPO Municipalities'
base_taz:
- 'TPO Boundary'
- 'TN/GA State Line'
- 'TPO GA Counties'
- 'TPO_TN_Counties'
- 'TPO Interstates'
- 'Controlled Access'
- 'Base Network'
- 'Water Bodies'
- 'thematic_layers' ## Thematic Layers Placeholder
- 'TPO Municipalities'
layers_off_legend:
- 'Base Network'
- 'TPO Municipalities'
maps:
Map_12:
name: AM Peak LOS
description: AM Peak Level Of Service (LOS), based on volume/capacity ratio.
base: base_network
layers:
- 'AM Peak LOS'

Map_13:
name: PM Peak LOS
description: PM Peak Level Of Service (LOS), based on volume/capacity ratio.
base: base_network
layers:
- 'PM Peak LOS'

Map_14:
name: VMT
description: Vehicle Miles Traveled (VMT), graduated color and bandwidth.
base: base_network
layers:
- 'VMT'

Map_15:
name: VHD
description: Vehicle Hours of Delay (VHD), graduated color and bandwidth.
base: base_network
layers:
- 'VHD'

Map_16:
name: Congested Speeds
description: Congested Speeds, graduated color and bandwidth.
base: base_network
layers:
- 'Congested Speeds'

Map_17:
name: Transit Route Ridership
description: Transit Route Ridership, graduated color and bandwidth.
base: base_network
layers:
- 'Transit Route Ridership'

Map_18:
name: Origin of Passenger Vehicle Trips
description: Origin of Passenger Vehicle Trips by TAZ, graduated color.
ez_note: True
base: base_taz
layers:
- 'Passenger Trips - Origin'

Map_19:
name: Origin of Transit Trips
description: Origin of Transit Trips by TAZ, graduated color.
base: base_taz
layers:
- 'Transit Trips - Origin'

Map_20:
name: Origin of Truck Trips
description: Origin of Truck Trips by TAZ, graduated color.
ez_note: True
base: base_taz
layers:
- 'Truck Trips - Origin'

Map_21:
name: Destination of Passenger Vehicle Trips
description: Destination of Passenger Vehicle Trips by TAZ, graduated color.
ez_note: True
base: base_taz
layers:
- 'Passenger Trips - Destination'
Map_22:
name: Destination of Transit Trips
description: Destination of Transit Trips by TAZ, graduated color.
base: base_taz
layers:
- 'Transit Trips - Destination'
Map_23:
name: Destination of Truck Trips
description: Destination of Truck Trips by TAZ, graduated color.
ez_note: True
base: base_taz
layers:
- 'Truck Trips - Destination'



42 changes: 42 additions & 0 deletions summary_tool/lookups/Frazier_ave_anlysis.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Link_ID,Name
1429,Cherokee Blvd
2185,Cherokee Blvd
1416,Cherokee Blvd
1626,Cherokee Blvd
1317,Cherokee Blvd
1320,Cherokee Blvd
1428,Cherokee Blvd
1421,Cherokee Blvd
2088,Cherokee Blvd
2186,Cherokee Blvd
2268,Cherokee Blvd
2269,Cherokee Blvd
1431,Cherokee Blvd
2240,Cherokee Blvd
2239,Cherokee Blvd
9089,Frazier Ave
9069,Frazier Ave
9045,Frazier Ave
9040,Frazier Ave
9052,Frazier Ave
11297,Manufacturers Rd
15146,Manufacturers Rd
9186,Manufacturers Rd
11697,Manufacturers Rd
11698,Manufacturers Rd
9201,Manufacturers Rd
14287,Manufacturers Rd
14267,Manufacturers Rd
15145,Manufacturers Rd
15147,Manufacturers Rd
11299,Manufacturers Rd
11300,Manufacturers Rd
14268,Manufacturers Rd
15028,Manufacturers Rd
14355,Manufacturers Rd
11298,Manufacturers Rd
14372,Manufacturers Rd
14356,Manufacturers Rd
14373,Manufacturers Rd
15029,Manufacturers Rd
13707,Manufacturers Rd
Loading