Run the Primary Example#
To setup and run the primary example (see Examples) from the command line interface, do the following:
Type
uv run activitysim create -e prototype_mtc -d test_prototype_mtc
to copy the very small prototype_mtc example to a new test_prototype_mtc directoryChange to the test_prototype_mtc directory
cd test_prototype_mtc
Type
uv run activitysim run -c configs -o output -d data
to run the exampleReview the outputs in the output directory
ActivitySim will log progress and write outputs to the output folder.
Note
Or, if you used the pre-packaged installer,
replace all the commands below that call activitysim ...
with the complete
path to your installed location, which is probably something
like c:\programdata\activitysim\scripts\activitysim.exe
.
The example should run in a few minutes since it runs a small sample of households.
Note
Common configuration settings can be overridden at runtime. See activitysim -h
, activitysim create -h
and activitysim run -h
.
ActivitySim model runs can be configured with settings file inheritance to avoid duplicating settings across model configurations. See Command Line Interface for more information.
Additional examples, including the full scale prototype MTC regional demand model, estimation integration examples, multiple zone system examples,
and examples for agency partners are available for creation by typing activitysim create -l
. To create these examples, ActivitySim downloads the (large) input files from
the ActivitySim resources repository. See Examples for more information.