V2.3.52_Users_Guide_appendix_cover.docx
Metropolitan Washington Council of Governments
National Capital Region Transportation Planning Board
Users Guide for the MWCOG/NCRTPB Travel Forecasting Model, Version 2.3, Build 52
Appendices B (Batch Files), C (Cube Voyager Scripts),
and D (AEMS Fortran Control Files)
September 18, 2013
This publication was funded, in part, by grants from the District of Columbia Department of Transportation, the Maryland
Department of Transportation, the Virginia Department of Transportation, the Federal Highway Administration and the Federal
Transit Administration. The material herein does not necessarily reflect the views of the sponsoring agencies.
COPYRIGHT 2013
Title
Users Guide for the MWCOG/NCRTPB Travel Forecasting
Model, Version 2.3, Build 52, Appendices B (Batch Files), C
(Cube Voyager Scripts), and D (AEMS Fortran Control Files)
Date September 18, 2013
No. of pages 312
Publication no.
Agency
National Capital Region Transportation Planning Board
Transportation planning at the regional level in the Washington, D.C. metropolitan area is coordinated
by the National Capital Region Transportation Planning Board ( NCRTPB or simply TPB ), the federally
designated Metropolitan Planning Organization (MPO) for the region. The TPB is staffed by the
Department of Transportation Planning (DTP) at the Metropolitan Washington Council of Governments
(MWCOG or simply COG). COG is an independent, nonprofit association composed of elected officials
from 21 local governments, members of the Maryland and Virginia state legislatures, and members of
the U.S. Congress.
Credits
Program Administration: Ronald Milone, Travel Forecasting Program Director
Authors: Ronald Milone, Mark Moran, Hamid Humeida, Meseret Seifu, Mary
Martchouk
Abstract: This report describes how to apply a regional travel demand forecasting model, known as the
Version 2.3 Travel Model, designed to represent the transportation supply and demand in the
Washington, D.C. metropolitan area. The area represented by this model includes the District of
Columbia, neighboring parts of Maryland, Virginia, and one county in West Virginia. The 6,800-square-
mile modeled area is divided into 3,722 transportation analysis zones (TAZs). The model was calibrated
to year-2007 conditions, using a number of travel surveys, including the COG/TPB 2007/08 Household
Travel Survey and several on-board transit surveys. Revisions to the travel model are referred to as
builds. The Version 2.3 model (Build 36) became the adopted regional travel model on Nov. 16, 2011.
This report describes Build 52 of the Version 2.3 Travel Model, also known as Version 2.3.52. In 2013,
the model was validated to year-2010 conditions and the validation was documented in a memo dated
6/30/13. The Version 2.3.52 model became the adopted regional model through actions taken by the
TPB on July 17, 2013. The TPB Travel Forecasting Subcommittee provided oversight for the
development of the Version 2.3 Travel Model.
Copies of this report can be found on the MWCOG Website:
www.mwcog.org
Metropolitan Washington Council of Governments
777 N. Capitol Street, N.E., Suite 300
Washington, D.C. 20002-4239
Tel. (202) 962-3200
Appendix B. Batch files
1 Runall ................................................................................................................................. B-1
1.1 run_Model_Ver2.3.52_2010_final.bat ........................................................................ B-1 1.2 run_ModelSteps_Ver2.3.52_2010_Final.bat .............................................................. B-1 1.3 run_Model_Ver2.3.52_2015_base.bat ........................................................................ B-2
1.4 run_ModelSteps_Ver2.3.52_2015_base.bat ............................................................... B-3 1.5 run_Model_Ver2.3.52_2015_final.bat ........................................................................ B-4 1.6 run_ModelSteps_Ver2.3.52_2015_final.bat ............................................................... B-4
1.7 run_Model_Ver2.3.52_2017_base.bat ........................................................................ B-5 1.8 run_ModelSteps_Ver2.3.52_2017_base.bat ............................................................... B-6
1.9 run_Model_Ver2.3.52_2017_final.bat ........................................................................ B-7 1.10 run_ModelSteps_Ver2.3.52_2017_final.bat ............................................................... B-7 1.11 run_Model_Ver2.3.52_2020_base.bat ........................................................................ B-8
1.12 run_ModelSteps_Ver2.3.52_2020_base.bat ............................................................... B-9 1.13 run_Model_Ver2.3.52_2020_final.bat ...................................................................... B-10
1.14 run_ModelSteps_Ver2.3.52_2020_final.bat ............................................................. B-10 1.15 run_Model_Ver2.3.52_2025_base.bat ...................................................................... B-11
1.16 run_ModelSteps_Ver2.3.52_2025_base.bat ............................................................. B-12 1.17 run_Model_Ver2.3.52_2025_final.bat ...................................................................... B-13
1.18 run_ModelSteps_Ver2.3.52_2025_final.bat ............................................................. B-13 1.19 run_Model_Ver2.3.52_2030_base.bat ...................................................................... B-14 1.20 run_ModelSteps_Ver2.3.52_2030_base.bat ............................................................. B-15
1.21 run_Model_Ver2.3.52_2030_final.bat ...................................................................... B-16 1.22 run_ModelSteps_Ver2.3.52_2030_final.bat ............................................................. B-16 1.23 run_Model_Ver2.3.52_2040_base.bat ...................................................................... B-17
1.24 run_ModelSteps_Ver2.3.52_2040_base.bat ............................................................. B-18 1.25 run_Model_Ver2.3.52_2040_final.bat ...................................................................... B-19 1.26 run_ModelSteps_Ver2.3.52_2040_final.bat ............................................................. B-19
2 Pump-Prime Iterations ................................................................................................ B-20
2.1 set_CPI.bat ................................................................................................................ B-20 2.2 PP_Highway_Build.bat ............................................................................................. B-21 2.3 PP_Highway_Skims.bat............................................................................................ B-21 2.4 PP_Auto_Drivers.bat ................................................................................................ B-22
3 Standard Iterations (1-4) ............................................................................................ B-22
3.1 Transit_Skim_All_Modes_Parallel.bat ..................................................................... B-22 3.2 Transit_Fare.bat ........................................................................................................ B-23
3.3 Trip_Generation.bat .................................................................................................. B-24
3.4 Trip_Distribution.bat ................................................................................................ B-24 3.5 Mode_Choice_TC_V23_Parallel.bat ........................................................................ B-25 3.6 Auto_Driver.bat ........................................................................................................ B-26
3.7 Time-of-Day.bat........................................................................................................ B-26 3.8 Highway_Assignment_Parallel.bat ........................................................................... B-27 3.9 Average_Link_Speeds.bat - Iterations (2- 4) ........................................................... B-27 3.10 HSR_Highway_Skims.bat ........................................................................................ B-27
Appendix B Batch file
B-1
1 Runall
1.1 run_Model_Ver2.3.52_2010_final.bat
::tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2010_fina
l.bat
:: 2013-07-11 Thu 11:55:46
set root=.
set scenar=2010_Final
set runbat=run_ModelSteps_Ver2.3.52_2010_Final.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.2 run_ModelSteps_Ver2.3.52_2010_Final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2010
_Final.bat
:: 2013-07-11 Thu 11:50:51
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2010
set _alt_=Ver2.3.52_2010_Final
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV 3+ skims/ null location for this year
:: This will eventually be handled in the mode choice batch file
set _HOV3PATH_=
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
Appendix B Batch file
B-2
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.3 run_Model_Ver2.3.52_2015_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2015_base
.bat
:: 2013-07-11 Thu 12:00:44
set root=.
set scenar=2015_base
set runbat=run_ModelSteps_Ver2.3.52_2015_base.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
Appendix B Batch file
B-3
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.4 run_ModelSteps_Ver2.3.52_2015_base.bat
::tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2015
_base.bat
:: 2013-07-11 Thu 12:00:00
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2015
set _alt_=Ver2.3.52_2015_base
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV3+ skims
set _HOV3PATH_=
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
Appendix B Batch file
B-4
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.5 run_Model_Ver2.3.52_2015_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2015_fina
l.bat
:: 2013-07-11 Thu 1:58:10
set root=.
set scenar=2015_final
set runbat=run_ModelSteps_Ver2.3.52_2015_final.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.6 run_ModelSteps_Ver2.3.52_2015_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2015
_final.bat
:: 2013-07-11 Thu 2:05:23
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2015
set _alt_=Ver2.3.52_2015_final
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV3+ skims
set _HOV3PATH_=..\2015_base
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
Appendix B Batch file
B-5
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.7 run_Model_Ver2.3.52_2017_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2017_base
.bat
:: 2013-07-11 Thu 1:44:44
set root=.
set scenar=2017_base
set runbat=run_ModelSteps_Ver2.3.52_2017_base.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
Appendix B Batch file
B-6
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.8 run_ModelSteps_Ver2.3.52_2017_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2020
_base.bat
:: 2013-07-11 Thu 1:45:00
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2017
set _alt_=Ver2.3.52_2017_base
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV3+ skims
set _HOV3PATH_=
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
Appendix B Batch file
B-7
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.9 run_Model_Ver2.3.52_2017_final.bat
::tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2017_fina
l.bat
:: 2013-07-11 Thu 1:59:10
set root=.
set scenar=2017_final
set runbat=run_ModelSteps_Ver2.3.52_2017_final.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.10 run_ModelSteps_Ver2.3.52_2017_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2017
_final.bat
:: 2013-07-11 Thu 2:05:23
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2017
set _alt_=Ver2.3.52_2017_final
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV3+ skims
set _HOV3PATH_=..\2017_base
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
Appendix B Batch file
B-8
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.11 run_Model_Ver2.3.52_2020_base.bat :: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2020_base
.bat
:: 2013-07-11 Thu 1:47:44
set root=.
set scenar=2020_base
set runbat=run_ModelSteps_Ver2.3.52_2020_base.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
Appendix B Batch file
B-9
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.12 run_ModelSteps_Ver2.3.52_2020_base.bat :: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2020
_base.bat
:: 2013-07-11 Thu 1:45:00
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2020
set _alt_=Ver2.3.52_2020_base
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV3+ skims
set _HOV3PATH_=
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
Appendix B Batch file
B-10
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.13 run_Model_Ver2.3.52_2020_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2020_fina
l.bat
:: 2013-07-11 Thu 2:00:10
set root=.
set scenar=2020_final
set runbat=run_ModelSteps_Ver2.3.52_2020_final.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.14 run_ModelSteps_Ver2.3.52_2020_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2020
_final.bat
:: 2013-07-11 Thu 2:06:23
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2020
set _alt_=Ver2.3.52_2020_final
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=
:: Location of substitute HOV3+ skims
set _HOV3PATH_=..\2020_base
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
Appendix B Batch file
B-11
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.15 run_Model_Ver2.3.52_2025_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2025_base
.bat
:: 2013-07-18 Thu 10:10:12
set root=.
set scenar=2025_base
set runbat=run_ModelSteps_Ver2.3.52_2025_base.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
Appendix B Batch file
B-12
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.16 run_ModelSteps_Ver2.3.52_2025_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2040
_base.bat
:: 2013-07-18 Thu 10:15:27
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2025
set _alt_=Ver2.3.52_2025_base
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=..\2020_final
:: Location of substitute HOV3+ skims
set _HOV3PATH_=
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
Appendix B Batch file
B-13
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.17 run_Model_Ver2.3.52_2025_final.bat
::tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2025_fina
l.bat
:: 2013-07-18 Thu 10:11:25
set root=.
set scenar=2025_Final
set runbat=run_ModelSteps_Ver2.3.52_2025_final.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.18 run_ModelSteps_Ver2.3.52_2025_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2025
_final.bat
:: 2013-07-18 Thu 10:18:50
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2025
set _alt_=Ver2.3.52_2025_final
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=..\2020_final
:: Location of substitute HOV3+ skims
set _HOV3PATH_=..\2025_base
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
Appendix B Batch file
B-14
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.19 run_Model_Ver2.3.52_2030_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2030_base
.bat
:: 2013-07-18 Thu 10:20:12
set root=.
set scenar=2030_base
set runbat=run_ModelSteps_Ver2.3.52_2030_base.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
Appendix B Batch file
B-15
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.20 run_ModelSteps_Ver2.3.52_2030_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_ModelSteps_Ver2.3.52_2030
_base.bat
:: 2013-07-18 Thu 10:20:27
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2030
set _alt_=Ver2.3.52_2030_base
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=..\2020_final
:: Location of substitute HOV3+ skims
set _HOV3PATH_=
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
Appendix B Batch file
B-16
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
call Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.21 run_Model_Ver2.3.52_2030_final.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2030_fina
l.bat
:: 2013-07-18 Thu 10:21:25
set root=.
set scenar=2030_final
set runbat=run_ModelSteps_Ver2.3.52_2030_final.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
set AMsubnode=1-4
set MDsubnode=2-4
:: subnode used in transit fare and transit assignment
:: We no longer use IDP in transit skimming, since it would require 16 cores
set subnode=1-3
:: This command will
:: 1) time the model run (using timethis.exe and the double quotes)
:: 2) redirect standard output and standard error to a file
:: 3) Use the tee command so that stderr & stdout are sent both to the file and the
screen
timethis "%runbat% %scenar%" 2>&1 | tee %root%\%scenar%\%scenar%_fulloutput.txt
:: Open up the file containing the stderr and stdout
if exist %root%\%scenar%\%scenar%_fulloutput.txt start
%root%\%scenar%\%scenar%_fulloutput.txt
:: Look four errors in the reports and output files
call searchForErrs.bat %scenar%
:: Open up the file containing any errors found
if exist %root%\%scenar%\%scenar%_searchForErrs.txt start
%root%\%scenar%\%scenar%_searchForErrs.txt
:: Open up other report files
if exist %root%\%scenar%\i4_Highway_Assignment.rpt start
%root%\%scenar%\i4_Highway_Assignment.rpt
if exist %root%\%scenar%\i4_mc_NL_summary.txt start
%root%\%scenar%\i4_mc_NL_summary.txt
if exist %root%\%scenar%\i4_Assign_Output.net start
%root%\%scenar%\i4_Assign_Output.net
cd %scenar%
start cmd /k ..\tail -n1 i4_ue*AM_nonHov*txt i4_ue*AM_hov*txt i4_ue*PM_nonHov*txt
i4_ue*PM_hov*txt i4_ue*MD*txt i4_ue*NT*txt
cd ..
move_temp_files_v6.bat %scenar%
:: Cleanup
set root=
set scenar=
set runbat=
set useIdp=
set useMdp=
set AMsubnode=
set MDsubnode=
set subnode=
1.22 run_ModelSteps_Ver2.3.52_2030_final.bat
:: tms5 E:\modelRuns\fy13\Ver2.3.52\run_ModelSteps_Ver2.3.52_2040_final.bat
:: 2013-04-04 Thu 15:26:50
:: Version 2.3 TPB Travel Model on 3722 TAZ System
set _year_=2030
set _alt_=Ver2.3.52_2030_final
:: Maximum number of user equilibrium iterations used in traffic assignment
:: User should not need to change this. Instead, change _relGap_ (below)
set _maxUeIter_=1000
:: Set transit constraint path and files
:: Current year used to set the constraint = 2020
:: For years before constraint year: set _tcpath_=
:: For years after constraint year: set _tcpath_=..\2020_final
set _tcpath_=..\2020_final
:: Location of substitute HOV3+ skims
set _HOV3PATH_=..\2030_base
Appendix B Batch file
B-17
:: UE relative gap threshold: Progressive (10^-2 for pp-i2, 10^-3 for i3, & 10^-4
for i4)
:: Set the value below
rem ====== Pump Prime Iteration ==========================================
set _iter_=pp
set _prev_=pp
set _relGap_=0.01
call Set_CPI.bat %1
call PP_Highway_Build.bat %1
call PP_Highway_Skims.bat %1
call Transit_Skim_All_Modes_Parallel.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call PP_Auto_Drivers.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 1 ===================================================
set _iter_=i1
set _prev_=pp
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 2 ===================================================
set _iter_=i2
set _prev_=i1
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 3 ===================================================
set _iter_=i3
set _prev_=i2
set _relGap_=0.001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Iteration 4 ===================================================
set _iter_=i4
set _prev_=i3
set _relGap_=0.0001
call Transit_Skim_All_Modes_Parallel.bat %1
call Transit_Fare.bat %1
call Trip_Generation.bat %1
call Trip_Distribution.bat %1
call Mode_Choice_TC_V23_Parallel.bat %1
call Auto_Driver.bat %1
call Time-of-Day.bat %1
call Highway_Assignment_Parallel.bat %1
call Average_Link_Speeds.bat %1
rem call Highway_Skims.bat %1
call HSR_Highway_Skims.bat %1
:: rem ====== Transit assignment ============================================
@echo Starting Transit Assignment Step
@date /t & time/t
call Transit_Assignment_Parallel.bat %1
call TranSum.bat %1
@echo End of batch file
@date /t & time/t
:: rem ====== End of batch file =============================================
REM cd %1
REM copy *.txt MDP_%useMDP%\*.txt
REM copy *.rpt MDP_%useMDP%\*.rpt
REM copy *.log MDP_%useMDP%\*.log
REM CD..
set _year_=
set _alt_=
set _iter_=
set _prev_=
set _maxUeIter_=
set _relGap_=
1.23 run_Model_Ver2.3.52_2040_base.bat
:: tms6
D:\modelRuns\fy14\Ver2.3.52_Conformity2013CLRP_Xmittal\run_Model_Ver2.3.52_2040_base
.bat
:: 2013-07-18 Thu 10:22:12
set root=.
set scenar=2040_base
set runbat=run_ModelSteps_Ver2.3.52_2040_base.bat
:: Environment variables for (multistep) distributed processing:
:: Environment variables for (intrastep) distributed processing:
:: use MDP = t/f (for true or false)
:: use IDP = t/f (for true or false)
:: Number of subnodes: 1-3 => 3 subnodes and one main node = 4 nodes in total
set useIdp=t
set useMdp=t
:: AMsubnode & MDsubnode are used in highway_assignment_parallel.bat/s
Appendix B Batch file
B-18
set AMsubnode=1-4
set MDsubnode=2-4
: