-
Notifications
You must be signed in to change notification settings - Fork 5
Post Processing
yuqi edited this page Apr 10, 2026
·
3 revisions
Home > TravelModel > UsersGuide > Post Processing
This page provides details on post-processing steps after the model run is completed
- Add round of model runs to
X:\travel-model-one-master\utilities\RTP\config_RTP2025\ModelRuns_RTP2025.xlsxor most recent RTP Model Run excel sheet and commit. This must be updated in this repo clone as multiple Tableau do joins to this file for current metrics - Run EMFAC 2021/2025 (web version) and EMFAC 2014 (See Run 2014 EMFAC for steps on running 2014 EMFAC on model2-b). See Emissions Modeling at MTC for more information on EMFAC version.
- Update across model runs summaries by running the following command, which copies model run outputs into a single directory for Tableau to union:
python X:\travel-model-one-v1.6.1_develop\utilities\CoreSummaries\copyFilesAcrossScenarios.py X:\travel-model-one-master\utilities\RTP\config_RTP2025\ModelRuns_RTP2025.xlsx. Input the following for the prompts:- Enter destination directory: .
- Which runs do you want to copy? Found these options for status: {'current', nan} Enter 'all' or a comma-delimited list: current
- Do you want to delete files related to any other runs? (y/n): y
- Open, refresh, and republish the Tableau in the across run folder
- Update Performance & Equity metrics by:
- Run the R Script for Safety:
X:\travel-model-one-v1.6.1_develop\utilities\RTP\metrics>RSCript VZ_safety_calc_correction_v2.R PBA50+ no_project_run_id plan_run_id.For runs that are not Plan runs, pass the same model run ID twice. For plan runs, pass no-project and plan run ID - Run the following script in test mode to ensure it does not crash:
(tm15-python310) PS X:\travel-model-one-v1.6.1_develop\utilities\RTP\metrics> python .\travel_model_performance_equity_metrics.py --test RTP2025 - If the script does not crash, run the script in non-test mode and it'll write the outputs to Box
- Open, refresh, and republish the Tableau on box.
- Run the R Script for Safety:
Previously the MTC/ABAG Analytical Modeling Wiki (http://analytics.mtc.ca.gov/foswiki/Main/WebHome)
Please email lzorn@bayareametro.gov if you find anything missing here.