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

CreateFiveHighwayNetworks update from Rosella #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
58 changes: 36 additions & 22 deletions model-files/scripts/preprocess/CreateFiveHighwayNetworks.job
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
;
; version: Travel Model Zed
; authors: dto (2010 08 10); crf (2013 07)
; revised jef (2016 08 09) to work with cube 6.4
;
;
; ----------------------------------------------------------------------------------------------------------------

;set fft, and drop off non-hwy links
run pgm = hwynet

; PAR NODES=10000000
PAR NODES=10000000

; begin with the standard input network
neti = hwy\mtc_final_network_with_tolls.net
Expand Down Expand Up @@ -94,9 +94,11 @@ loop period = 1, 5
token_sterling_onramp = 'USECLASS = 1'

; shared ride bridge delay by-pass links
token_carquinez_bridge_sr_bypass = 'if (a = 8022075 & b = 3524846) delete'
token_benicia_bridge_sr_bypass = 'if (a = 7574224 & b = 3074224) delete'
token_carquinez_bridge_sr_bypass = 'if (a = 3526167 & b = 3524846) delete'
token_richmond_bridge_sr_bypass = 'if (a = 7579474 & b = 7579475) delete'
token_bay_bridge_sr_bypass = 'if (a = 7089312 & b = 7065303) delete'
token_sanmateo_bridge_sr_bypass = 'if (a = 7081526 & b = 2539743) delete'
token_sanmateo_bridge_sr_bypass = 'if (a = 7081526 & b = 2591698) delete'
token_dumbarton_bridge_sr_bypass = 'if (a = 7081088 & b = 2523179) delete'
token_new_bridge_sr_bypass = 'if (a = 20302 & b = 20303) delete'

Expand Down Expand Up @@ -129,7 +131,9 @@ loop period = 1, 5


; shared ride bridge delay by-pass links
token_benicia_bridge_sr_bypass = '; do not delete the link'
token_carquinez_bridge_sr_bypass = '; do not delete the link'
token_richmond_bridge_sr_bypass = '; do not delete the link'
token_bay_bridge_sr_bypass = '; do not delete the link'
token_sanmateo_bridge_sr_bypass = '; do not delete the link'
token_dumbarton_bridge_sr_bypass = '; do not delete the link'
Expand Down Expand Up @@ -164,9 +168,11 @@ loop period = 1, 5
token_sterling_onramp = 'USECLASS = 1'

; shared ride bridge delay by-pass links
token_carquinez_bridge_sr_bypass = 'if (a = 8022075 & b = 3524846) delete'
token_benicia_bridge_sr_bypass = 'if (a = 7574224 & b = 3074224) delete'
token_carquinez_bridge_sr_bypass = 'if (a = 3526167 & b = 3524846) delete'
token_richmond_bridge_sr_bypass = 'if (a = 7579474 & b = 7579475) delete'
token_bay_bridge_sr_bypass = 'if (a = 7089312 & b = 7065303) delete'
token_sanmateo_bridge_sr_bypass = 'if (a = 7081526 & b = 2539743) delete'
token_sanmateo_bridge_sr_bypass = 'if (a = 7081526 & b = 2591698) delete'
token_dumbarton_bridge_sr_bypass = 'if (a = 7081088 & b = 2523179) delete'
token_new_bridge_sr_bypass = 'if (a = 20302 & b = 20303) delete'

Expand Down Expand Up @@ -199,7 +205,9 @@ loop period = 1, 5


; shared ride bridge delay by-pass links
token_benicia_bridge_sr_bypass = '; do not delete the link'
token_carquinez_bridge_sr_bypass = '; do not delete the link'
token_richmond_bridge_sr_bypass = '; do not delete the link'
token_bay_bridge_sr_bypass = '; do not delete the link'
token_sanmateo_bridge_sr_bypass = '; do not delete the link'
token_dumbarton_bridge_sr_bypass = '; do not delete the link'
Expand Down Expand Up @@ -234,9 +242,11 @@ loop period = 1, 5
token_sterling_onramp = 'USECLASS = 1'

; shared ride bridge delay by-pass links
token_carquinez_bridge_sr_bypass = 'if (a = 8022075 & b = 3524846) delete'
token_benicia_bridge_sr_bypass = 'if (a = 7574224 & b = 3074224) delete'
token_carquinez_bridge_sr_bypass = 'if (a = 3526167 & b = 3524846) delete'
token_richmond_bridge_sr_bypass = 'if (a = 7579474 & b = 7579475) delete'
token_bay_bridge_sr_bypass = 'if (a = 7089312 & b = 7065303) delete'
token_sanmateo_bridge_sr_bypass = 'if (a = 7081526 & b = 2539743) delete'
token_sanmateo_bridge_sr_bypass = 'if (a = 7081526 & b = 2591698) delete'
token_dumbarton_bridge_sr_bypass = 'if (a = 7081088 & b = 2523179) delete'
token_new_bridge_sr_bypass = 'if (a = 20302 & b = 20303) delete'

Expand All @@ -257,7 +267,7 @@ loop period = 1, 5

run pgm = hwynet

; PAR NODES=10000000
PAR NODES=10000000

; begin with the input network with tolls added
neti = hwy\mtc_final_network_with_tolls_fft.net
Expand All @@ -274,9 +284,9 @@ loop period = 1, 5
; golden gate bridge reversible lanes
; split funny here to avoid going over cube/voyager's lame line length limit
if (@golden_gate_sb_linksa@ |
@golden_gate_sb_linksa@) NUMLANES = @token_golden_gate_sb_lanes@
@golden_gate_sb_linksb@) NUMLANES = @token_golden_gate_sb_lanes@
if (@golden_gate_nb_linksa@ |
@golden_gate_nb_linksa@) NUMLANES = @token_golden_gate_nb_lanes@
@golden_gate_nb_linksb@) NUMLANES = @token_golden_gate_nb_lanes@

; caldecott tunnel reversible lanes
if @caldecott_tunnel_wb_links@ NUMLANES = @token_caldecott_wb_lanes@
Expand All @@ -287,8 +297,10 @@ loop period = 1, 5
if @sterling_on_ramp_links@ @token_sterling_onramp@


; benecia martinez bridge (no shared ride by-pass link)
if (TOLLBOOTH = 1)
; benecia martinez bridge
@token_benicia_bridge_sr_bypass@

if (TOLLBOOTH = 1 & USECLASS = 1)

FFT = @token_benicia_bridge_delay@
CTIM = @token_benicia_bridge_delay@
Expand All @@ -298,23 +310,25 @@ loop period = 1, 5
; carquinez bridge
@token_carquinez_bridge_sr_bypass@

if (TOLLBOOTH = 2)
if (TOLLBOOTH = 2 & USECLASS = 1)

FFT = @token_carquinez_bridge_delay@
CTIM = @token_carquinez_bridge_delay@

endif

; richmond san rafael bridge (no shared ride by-pass link)
if (TOLLBOOTH = 3)
; richmond san rafael bridge
@token_richmond_bridge_sr_bypass@

if (TOLLBOOTH = 3 & USECLASS = 1)

FFT = @token_richmond_bridge_delay@
CTIM = @token_richmond_bridge_delay@

endif

; golden gate bridge (no shared ride by-pass link)
if (TOLLBOOTH = 4)
if (TOLLBOOTH = 4 & USECLASS = 1)

FFT = @token_golden_bridge_delay@
CTIM = @token_golden_bridge_delay@
Expand All @@ -324,7 +338,7 @@ loop period = 1, 5
; bay bridge
@token_bay_bridge_sr_bypass@

if (TOLLBOOTH = 5)
if (TOLLBOOTH = 5 & USECLASS = 1)

FFT = @token_bay_bridge_delay@
CTIM = @token_bay_bridge_delay@
Expand All @@ -334,7 +348,7 @@ loop period = 1, 5
; san mateo bridge
@token_sanmateo_bridge_sr_bypass@

if (TOLLBOOTH = 6)
if (TOLLBOOTH = 6 & USECLASS = 1)

FFT = @token_sanmateo_bridge_delay@
CTIM = @token_sanmateo_bridge_delay@
Expand All @@ -344,7 +358,7 @@ loop period = 1, 5
; dumbarton bridge
@token_dumbarton_bridge_sr_bypass@

if (TOLLBOOTH = 7)
if (TOLLBOOTH = 7 & USECLASS = 1)

FFT = @token_dumbarton_bridge_delay@
CTIM = @token_dumbarton_bridge_delay@
Expand All @@ -353,7 +367,7 @@ loop period = 1, 5


; antioch bridge (no shared ride by-pass link)
if (TOLLBOOTH = 8)
if (TOLLBOOTH = 8 & USECLASS = 1)

FFT = @token_antioch_bridge_delay@
CTIM = @token_antioch_bridge_delay@
Expand All @@ -363,7 +377,7 @@ loop period = 1, 5
; new bridge
@token_new_bridge_sr_bypass@

if (TOLLBOOTH = 10)
if (TOLLBOOTH = 10 & USECLASS = 1)

FFT = @token_new_bridge_delay@
CTIM = @token_new_bridge_delay@
Expand Down