SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn...
-
Upload
paul-hodge -
Category
Documents
-
view
213 -
download
0
Transcript of SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn...
![Page 1: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/1.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
DTA Anyway: Code Base &
Network Development
Lisa Zorn
DTA Peer Review Panel MeetingJuly 25th, 2012
![Page 2: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/2.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
2
Outline
• What is DTA Anyway?• Why DTA Anyway?• DTA Anyway Capabilities• DTA Anyway API• San Francisco Network Development
![Page 3: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/3.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
3
What is DTA Anyway?
DTA AnywayPython Module
Input Data (e.g. static Network)
Python Script
DTA Network
![Page 4: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/4.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
4
Why DTA Anyway?
DTA networks have different requirements from their static counterparts. For example (for Dynameq):
• Virtual Links and Virtual Nodes sit between Centroids and Road Links
• Centroid connectors feed into midblocks rather than intersections
• Links cannot overlap
• Links must be longer than the longest vehicle types that use them
DTA Anyway automates this conversion
![Page 5: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/5.jpg)
Why DTA Anyway for Everything?
DTA AnywayPython Module
Static Network
Python Scripts
DTA Network
+ Manual Edits
Static Network
+ Projects
DTA Network
+ Projects
![Page 6: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/6.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
6
DTA Anyway Capabilities
DTA Anyway Can
• Read Cube Networks or other text-based static networks
• Read/Write Dynameq ASCII files
• Write GIS shapefiles for nodes, links, movements
• Perform typical network editing tasks (e.g. find the link nearest a point, split a link)
DTA Anyway Cannot
• Visualize anything directly (no GUI) – use GIS, or traffic assignment network editor (Static or DTA)
• Read/Write DTA networks for other DTA software (but designed to make this easily implementable)
![Page 7: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/7.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
7
API
http://dta.googlecode.com/git-history/dev/doc/_bu
ild/html/index.html
![Page 8: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/8.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
8
API Example: Network
http://dta.googlecode.com/git-history/dev/doc/_build/h
tml/_generated/dta.Network.html
![Page 9: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/9.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
9
San FranciscoNetwork DevelopmentConverting the Static Network
![Page 10: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/10.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
10
San FranciscoNetwork DevelopmentConverting the Static Network
• Define Scenario: vehicle types and classes, generalized cost
• Import Cube network data, defining DTA attributes in terms of Cube attributes
• Add all movements, prohibiting most U-Turns, explicitly naming some where geometry is confusing
• Read GIS shapefile for road curvature
• Add virtual nodes/links between centroids and road nodes
• Move centroid connectors from intersections to midblock nodes
• Handle overlapping and short links
![Page 11: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/11.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
11
San FranciscoNetwork DevelopmentConverting the Static Network
http://dta.googlecode.com/git-history/dev/doc/_build/html/script_createSFNetworkFromCubeNetwork.html
![Page 12: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/12.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
12
San FranciscoNetwork DevelopmentImporting Transit Routes
![Page 13: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/13.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
13
San FranciscoNetwork DevelopmentImporting Transit Routes
• Reads Cube-formatted transit line files and converts into DTA transit lines
• Where LRT lines go off the DTA network (underground or on separated ROW), they are split into segments (discarding those not on the DTA network)
• Movements are explicitly allowed for transit if previously prohibited
![Page 14: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/14.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
14
San FranciscoNetwork DevelopmentImporting Signals
![Page 15: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/15.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
15
San FranciscoNetwork DevelopmentImporting Signals
• Reads signal card data from Excel files in a SFMTA-defined format
• We search for the section specifying the weekday PM peak plan
• For errors and unique circumstances encountered (and there were many), responses could be:
• Update signal card itself
• Update signal-card reading code
• Update static network
• We approximate the few actuated signals with their fixed time version
• Signal-reading code is not very re-usable
![Page 16: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/16.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
16
San FranciscoNetwork DevelopmentImporting Stop Signs
![Page 17: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/17.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
17
San FranciscoNetwork DevelopmentImporting Stop Signs
• Stop signs are coded as (GIS point, street name, cross street name, and direction the stop sign is facing)
• Signal data takes precedence
• Mark as all-way stops when # of stop signs for a node matches the # of incoming links
• Otherwise, mark as two-way
• TODO: custom priorities for two-way stops where facility types tie (currently mark as all-way stops)
![Page 18: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/18.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
18
San FranciscoNetwork DevelopmentImporting Demand
![Page 19: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/19.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
19
San FranciscoNetwork DevelopmentImporting Demand
• Auto and truck tables are imported from SF-CHAMP PM demand tables
• 385.5k auto trips, 65k truck trips loaded 3:30-6:30p
• The DTA network uses same TAZ structure is used as SF-CHAMP because the zones are small (976 within SF, plus 22 external stations)
• Currently demand is loaded uniformly across time the time period
![Page 20: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/20.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
20
San FranciscoNetwork DevelopmentImporting Counts
![Page 21: SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY DTA Anyway: Code Base & Network Development Lisa Zorn DTA Peer Review Panel Meeting July 25 th, 2012.](https://reader033.fdocuments.in/reader033/viewer/2022051620/56649ef55503460f94c08908/html5/thumbnails/21.jpg)
SAN FRANCISCO COUNTY TRANSPORTATION AUTHORITY
21
San FranciscoNetwork DevelopmentImporting Counts
• Count Dracula is SFCTA’s developing traffic counts database
• Includes counts from PEMS and counts collected for past projects
• Recent (2009-2011) midweek (Tue/Wed/Thu) counts are queried from Count Dracula for DTA Validation
• When multiple days of counts exist for the same location and time period, averaged across days
• 97 15-minute link counts
• 22 60-minute link counts
• 864 15-minute movement counts
• 160 5-minute movement counts