Tool for processing outputs given to us from Estimates and Forecasts to be used in ABM3. There are three main parts of the tool:
- Process outputs of the 2022 parking inventory to impute missing data.
- Estimate regression models to predict the number of free and paid spaces in an MGRA.
- Create household, person, and land use inputs for running ABM.
Unless there are changes to the base year network or inventory, only the third step needs to be run.
A dictionary of the settings in config.yaml can be found here.
- Gain access to the database RP2025 on the server DGISWSQL22 from GIS.
- Create a directory to run in.
- Clone the repo into the directory.
- Create anaconda environment using the environment.yml file.
- Open up config_[YEAR].yaml and set
run_ABM_preprocess
to beTrue
. - If no parking policy is being applied, set
implement_policy
to beFalse
. - Edit the setting
EF_dir
andbase_lu
to be the directory with the outputs from Estimates and Forecasts that the land use prep tool will process. - Edit the
output_dir
to the desired output location. - Update the name of config file with scenario year.
- Open Anaconda prompt, navigate into the cloned repo and activate the environment and run run_lanuse_preprocessing.bat. The files will be created in the specified
output_dir
- Create a directory to run in and clone the repo into the directory. Create folders in the clone called "parking_processed" and "parking_inputs"
- Copy the the files auxiliary_columns.csv and micro_mobility_allyears.csv from T:\ABM\data\sr15_inputs\landuse_prep into the directory.
- Copy the file 'mgra_parking_inventory.csv' from T:\ABM\data\sr15_inputs\landuse_prep\parking_inputs into the parking_inputs folder ("old" folder not needed).
- Copy ParkingPolicies_[YEAR].csv from T:\ABM\data\sr15_inputs\landuse_prep\parking_outputs into the _processed folder.
- Open up config_procpkg.yaml and set
run_parking_inventory_preprocess
and 'run_parking_space_estimation' to beTrue
. - Edit the setting
base_lu
to be the directory with the outputs from Estimates and Forecasts that the land use prep tool will process. - Edit the setting
bike_net
and 'bike_node' to be the directory with the latest active transportation network. - Open Anaconda prompt, navigate into the cloned repo and create an Anaconda environment using the environment.yml file.
- Activate the environment and run run_parking_preprocessing.bat. The files will be created in the specified
parking_output_dir