Skip to content

Scripts

Brice Nichols edited this page Oct 2, 2017 · 2 revisions

Soundcast uses Python scripts to interact with Emme software modules and perform data calculations. Most of the scripts reside in the scripts folder under the master model directory. Some main scripts reside in the model root directory.

The following is a list of scripts used in the model system:

File Description
Root
run_soundcast.py Primary Soundcast run file
emme_configuration.py Emme configuration settings file
input_configuration.py Model configuration settings file
input_configuration_simple.py Model configuration settings file (simple version)
Activity-Based Model (DaySim)
daysim_configuration_template.properties DaySim configuration settings template file
scripts/network/ daysim_zone_input.py Creates DaySim inputs: TAZ index file (TAZIndex.txt) and park-and-ride file (p_r_nodes.csv)
scripts/accessibility/ accessibility.py Runs accessibility calculations
scripts/accessibility/ accessibility_configuration.py Fine-tune settings for accessibility calculations
scripts/accessibility/ accessibility_configuration.py Fine-tune settings for accessibility calculations
scripts/utils/ create_node_to_node_index.py Creates node index file (node_index_2014.txt)
scripts/utils/ shadow_pricing_check.py Checks shadow pricing convergence
scripts/utils/ update_parking.py Updates parcel-level parking data
scripts/summarize/WriteRoster/ RosterWriter.cs C# script to write DaySim roster file
Other Demand Models
scripts/bikes/ bike_model.py Runs bike model
scripts/trucks/ truck_model.py Runs truck model
scripts/supplemental/ generation.py Runs supplemental trip generation
scripts/supplemental/ distribution.py Runs supplemental trip distribution
Network Models
scripts/network/ network_importer.py Imports network into Emme software database
scripts/skimming/ SkimsAndPaths.py Runs skimming and assignment
Calibration and Validation
scripts/utils/ survey_to_hdf5.R R script to convert survey data to HDF5 format
scripts/ summary_functions.py Computation functions
scripts/summarize/calibration/ get_skims.py Functions to extract required skim data and store them into python data frames
scripts/summarize/calibration/ SCsummary.py Runs calibration summaries that compare DaySim outputs to survey data; the script writes out several summary reports in the outputs folder
scripts/summarize/calibration/ summary_functions.py Computation functions
Other Summaries
scripts/summarize/exploratory/ bike_summary.py Generates bike model output summary
scripts/summarize/standard/ daily_bank.py
scripts/summarize/standard/ parcel_summary.py Generates buffered parcel summaries in outputs/parcel_summary.xlsx
scripts/summarize/standard/ summarize_land_use_inputs.py Summarizes parcels and synthetic population and outputs outputs/landuse_summary.xlsx
scripts/summarize/standard/ truck_vols.py Runs truck summary and outputs outputs/trucks_vol_summary.xlsx
Other
scripts/ data_wrangling.py Functions to convert data from one form to another
scripts/ EmmeProject.py Functions to access Emme modules
scripts/ logcontroller.py Creates custom logger
scripts/utils/ h5toDF.py Converts data in a HDF5 format file to a data frame
Clone this wiki locally