Most users only need to choose an input type and name their runs. Use one of the three patterns below.
Use this when you have normal ActivitySim output folders:
root: artifacts
runs:
- dir: C:\models\base\output
label: Base
- dir: C:\models\build\output
label: BuildThe label is what appears in the dashboard.
The default files are:
files:
households: final_households
persons: final_persons
tours: final_tours
trips: final_trips
joint_tour_participants: final_joint_tour_participants
land_use: final_land_useA bare name accepts either .parquet or .csv. Override one unusual run with
file_map:
runs:
- dir: C:\models\base\output
label: Base
- dir: C:\models\build\output
label: Build
file_map:
trips: linked_trips
persons: final_people.csvIf a model uses different column names, list the candidates in preferred order:
columns:
household_id: [household_id, hh_id]
tour_purpose: [primary_purpose, tour_type, purpose]
trip_mode: modePrepare converts the selected source to the visualizer's canonical column. See chapter 13 for the complete column list.
Use prepared_table_map for canonical tables that were prepared, skimjoined,
or filtered elsewhere:
runs:
- label: Filtered Run
prepared_table_map:
households: prepared/households.parquet
persons: prepared/persons.parquet
tours: prepared/tours.parquet
trips: prepared/trips.parquet
land_use: prepared/land_use.parquetPaths must end in .csv or .parquet and are relative to the config file.
These tables must already use the canonical prepared columns expected by
summaries. Raw prepare and integrated skimjoin are skipped for this run.
Use summary_table_map when another process has already produced registered
summary tables:
runs:
- label: External Validation
summary_table_map:
population_totals: summaries/population_totals.csv
traffic_count_comparisons: summaries/traffic_counts.parquetKeys must appear in the Summary Catalog. Files must match the registered columns exactly. A run may contain only outside summaries, or they may override selected summaries generated from raw/prepared data.
The normal modes are configured with:
summarize:
weighting_modes: [weighted, unweighted]If a run has explicit weight columns:
runs:
- dir: C:\models\base\output
label: Base
hh_weight_col: household_weight
person_weight_col: person_weight
trip_weight_col: trip_weightOtherwise prepare uses a configured sample-rate column when available, then
falls back to 1.0.
If the same output tables contain an additional set of weights, add a named column mode instead of duplicating the run or writing Python:
weighting:
modes:
calibrated:
label: Calibrated
columns:
households: calibrated_hh_weight
persons: calibrated_person_weight
trips: calibrated_trip_weight
summarize:
weighting_modes: [weighted, unweighted, calibrated]The named sources are validated and propagated to tours, days, vehicles, and skimjoin sidecars as appropriate. See 43 - Weighting And Hosting Extensions for the exact rules.
TAZ-only model:
zones:
use_maz: false
maz_col: zone_id
taz_col: TAZMAZ/TAZ model:
zones:
use_maz: true
maz_col: [MAZ, zone_id]
taz_col: [TAZ, taz]- For skim enrichment, read Skimjoin.
- For custom geography aggregation, read the
summarize.geographyreference. - For segmentation, read the
segmentreference. - For every accepted key and default, use the Configuration Reference.