Skip to content

Commit

Permalink
fix internal/external trip table
Browse files Browse the repository at this point in the history
  • Loading branch information
ychtw committed Apr 19, 2021
1 parent 399990c commit 2d650b5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions model-files/scripts/nonres/IxForecasts.job
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,20 @@ run pgm = matrix
mato = nonres\ixDaily@[email protected], mo = 1-4, name = ix_daily_da, ix_daily_sr2, ix_daily_sr3, ix_daily_total

jloop

; Populate 2005 base year values
mw[1] = mi.1.IX_Daily_DA
mw[2] = mi.1.IX_Daily_SR2
mw[3] = mi.1.IX_Daily_SR3

; Apply gateway-specific adjustment factors (no X/X trips mean the gateways act independently)

; - CA 1, Sonoma/Mendocino
if (i == 4689 || j == 4689)

mw[1] = mi.1.IX_Daily_DA * pow(@base_4698@,@token_year@ - 2005)
mw[2] = mi.1.IX_Daily_SR2 * pow(@base_4698@,@token_year@ - 2005)
mw[3] = mi.1.IX_Daily_SR3 * pow(@base_4698@,@token_year@ - 2005)
mw[1] = mi.1.IX_Daily_DA * pow(@base_4689@,@token_year@ - 2005)
mw[2] = mi.1.IX_Daily_SR2 * pow(@base_4689@,@token_year@ - 2005)
mw[3] = mi.1.IX_Daily_SR3 * pow(@base_4689@,@token_year@ - 2005)

endif

Expand Down

0 comments on commit 2d650b5

Please sign in to comment.