Skip to content

Post Processing

yuqi edited this page Apr 10, 2026 · 3 revisions

Home > TravelModel > UsersGuide > Post Processing


Post Processing Steps

This page provides details on post-processing steps after the model run is completed

  1. Add round of model runs to X:\travel-model-one-master\utilities\RTP\config_RTP2025\ModelRuns_RTP2025.xlsx or 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
  2. 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.
  3. 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
  4. Open, refresh, and republish the Tableau in the across run folder
  5. Update Performance & Equity metrics by:
    1. 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
    2. 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
    3. If the script does not crash, run the script in non-test mode and it'll write the outputs to Box
    4. Open, refresh, and republish the Tableau on box.

Clone this wiki locally