From 588383f05907ba18fe770d20258eeaa354246ffa Mon Sep 17 00:00:00 2001 From: Lisa Zorn Date: Thu, 12 Nov 2020 15:42:50 -0800 Subject: [PATCH] Delay HSR service from original implementation --- model-files/SetUpModel_PBA50.bat | 2 +- .../scripts/preprocess/HsrTripGeneration.job | 48 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/model-files/SetUpModel_PBA50.bat b/model-files/SetUpModel_PBA50.bat index 97dc4a690..78971a203 100644 --- a/model-files/SetUpModel_PBA50.bat +++ b/model-files/SetUpModel_PBA50.bat @@ -85,7 +85,7 @@ c:\windows\system32\Robocopy.exe /E "%INPUT_POPLU%\popsyn" c:\windows\system32\Robocopy.exe /E "%INPUT_POPLU%\landuse" INPUT\landuse :: nonres -c:\windows\system32\Robocopy.exe /E "%INPUT_DEVELOPMENT_DIR%\nonres\nonres_00" INPUT\nonres +c:\windows\system32\Robocopy.exe /E "%INPUT_DEVELOPMENT_DIR%\nonres\nonres_01" INPUT\nonres :: logsums and metrics c:\windows\system32\Robocopy.exe /E "%INPUT_DEVELOPMENT_DIR%\logsums_dummies" INPUT\logsums diff --git a/model-files/scripts/preprocess/HsrTripGeneration.job b/model-files/scripts/preprocess/HsrTripGeneration.job index c09c3b0a1..d1b7f48c4 100644 --- a/model-files/scripts/preprocess/HsrTripGeneration.job +++ b/model-files/scripts/preprocess/HsrTripGeneration.job @@ -5,11 +5,11 @@ ; TP+ script to determine trips to and from Bay Area high speed rail stations based on output from the California ; High Speed Rail model. ; -; Starting with input trip tables for 2025 (opening year for the Gilroy and San Jose stations), 2029 (opening -; year for Millbrae and San Francisco stations), and 2040 (future modeled year), the script will assume zero +; Starting with input trip tables for 2035 (opening year for the Gilroy and San Jose stations), 2039 (opening +; year for Millbrae and San Francisco stations), and 2050 (future modeled year), the script will assume zero ; trips before the opening year for the relevant station and interpolate the number of trips afterwards. ; -; Input: Trip tables representing trips to/from the four Bay Area HSR stations in 2025, 2029, and 2040, with the +; Input: Trip tables representing trips to/from the four Bay Area HSR stations in 2035, 2039, and 2050, with the ; following four tables: (a) da. for drive alone, (b) sr2, for shared ride 2, (c) transit, and (d) walk. ; ; Additionally, the model year will be specified in the environment variable, MODEL_YEAR. @@ -45,13 +45,13 @@ loop tpnum=1,5 DistributeMultistep processid = 'ctramp', processNum = tpnum, commpath = '%COMMPATH%' RUN PGM=MATRIX - filei mati[1] = 'INPUT\nonres\tripsHsr@time_period@_2025.tpp' - filei mati[2] = 'INPUT\nonres\tripsHsr@time_period@_2029.tpp' - filei mati[3] = 'INPUT\nonres\tripsHsr@time_period@_2040.tpp' + filei mati[1] = 'INPUT\nonres\tripsHsr@time_period@_2035.tpp' + filei mati[2] = 'INPUT\nonres\tripsHsr@time_period@_2039.tpp' + filei mati[3] = 'INPUT\nonres\tripsHsr@time_period@_2050.tpp' fileo mato[1] = 'nonres\tripsHsr@time_period@_intermediate.tpp', mo=1-8, name=m_da, m_sr2, m_transit, m_walk, b_da, b_sr2, b_transit, b_walk - if (@model_year@ < 2025) + if (@model_year@ < 2035) ; nothing open MW[1] = 0 MW[2] = 0 @@ -62,32 +62,32 @@ loop tpnum=1,5 MW[6] = 0 MW[7] = 0 MW[8] = 0 - elseif (@model_year@ < 2029) + elseif (@model_year@ < 2039) ; change in trips change in years - MW[1] = 100.0*(MI.2.da - MI.1.da )/(2029 - 2025) - MW[2] = 100.0*(MI.2.sr2 - MI.1.sr2 )/(2029 - 2025) - MW[3] = 100.0*(MI.2.transit - MI.1.transit)/(2029 - 2025) - MW[4] = 100.0*(MI.2.walk - MI.1.walk )/(2029 - 2025) + MW[1] = 100.0*(MI.2.da - MI.1.da )/(2039 - 2035) + MW[2] = 100.0*(MI.2.sr2 - MI.1.sr2 )/(2039 - 2035) + MW[3] = 100.0*(MI.2.transit - MI.1.transit)/(2039 - 2035) + MW[4] = 100.0*(MI.2.walk - MI.1.walk )/(2039 - 2035) ; trips - m x year - MW[5] = 100.0*(MI.1.da - (MW[1]*0.01*2025)) - MW[6] = 100.0*(MI.1.sr2 - (MW[2]*0.01*2025)) - MW[7] = 100.0*(MI.1.transit - (MW[3]*0.01*2025)) - MW[8] = 100.0*(MI.1.walk - (MW[4]*0.01*2025)) + MW[5] = 100.0*(MI.1.da - (MW[1]*0.01*2035)) + MW[6] = 100.0*(MI.1.sr2 - (MW[2]*0.01*2035)) + MW[7] = 100.0*(MI.1.transit - (MW[3]*0.01*2035)) + MW[8] = 100.0*(MI.1.walk - (MW[4]*0.01*2035)) else ; (times 100 is to keep more precision) ; 100 x slope: change in trips change in years - MW[1] = 100.0*(MI.3.da - MI.2.da )/(2040 - 2029) - MW[2] = 100.0*(MI.3.sr2 - MI.2.sr2 )/(2040 - 2029) - MW[3] = 100.0*(MI.3.transit - MI.2.transit)/(2040 - 2029) - MW[4] = 100.0*(MI.3.walk - MI.2.walk )/(2040 - 2029) + MW[1] = 100.0*(MI.3.da - MI.2.da )/(2050 - 2039) + MW[2] = 100.0*(MI.3.sr2 - MI.2.sr2 )/(2050 - 2039) + MW[3] = 100.0*(MI.3.transit - MI.2.transit)/(2050 - 2039) + MW[4] = 100.0*(MI.3.walk - MI.2.walk )/(2050 - 2039) ; 100 x y-intercept: trips - slope x year - MW[5] = 100.0*(MI.2.da - (MW[1]*0.01*2029)) - MW[6] = 100.0*(MI.2.sr2 - (MW[2]*0.01*2029)) - MW[7] = 100.0*(MI.2.transit - (MW[3]*0.01*2029)) - MW[8] = 100.0*(MI.2.walk - (MW[4]*0.01*2029)) + MW[5] = 100.0*(MI.2.da - (MW[1]*0.01*2039)) + MW[6] = 100.0*(MI.2.sr2 - (MW[2]*0.01*2039)) + MW[7] = 100.0*(MI.2.transit - (MW[3]*0.01*2039)) + MW[8] = 100.0*(MI.2.walk - (MW[4]*0.01*2039)) endif ENDRUN