Skip to content

Quick Start Guide

Nick Ferguson edited this page Oct 31, 2024 · 18 revisions

Requires Anaconda, git, and R (with all necessary R packages) to be installed on the machine. To run additional scenarios after setting up the first, copy the first scenario before submitting it, and repeat the steps below starting from step 2.

  1. With Anaconda Prompt in the target directory on a modeling server's local drive, clone this repo and move to the main branch.

    git clone https://github.com/CMAP-REPOS/cmap_trip-based_model.git
    cd cmap_trip-based_model
    git checkout main
  2. Update configuration settings in Database\batch_file.yaml. Ignore usualwfhpct and tc14pct until step 4.

  3. Update the similar_model_version setting in Scripts\prepare\conformity_scenario\hand\config.yaml.

  4. Run Scripts\prepare\conformity_scenario\run.cmd to:

    • copy data from a similar run.
    • export warm start matrices from the copied data.
    • rename the project.

    After the script runs, follow the instructions in the console to:

    • set the WFH rates.
    • set the trip growth factors.
    • set the TNC surcharge rates.
  5. Run Database\build_scenario_networks.bat to:

    • clean up for a rerun.
    • build all time-of-day highway and transit networks.
    • check the transit networks for errors.
  6. Run Database\trip_gen.bat module 3

  7. Run Database\Submit_Full_Regional_Model_SOLA.bat mode 2

Clone this wiki locally