File tree Expand file tree Collapse file tree 2 files changed +69
-0
lines changed Expand file tree Collapse file tree 2 files changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,27 @@ new model components that have been added by the ActivitySim consortium over the
20
20
past few years.
21
21
22
22
See https://activitysim.github.io for more information.
23
+
24
+ # Installation
25
+
26
+ The following short Python script will download and prepare the example data
27
+ for the ` prototype_mtc_extended ` example model.
28
+
29
+ ``` python
30
+ from pathlib import Path
31
+ from activitysim.examples.external import registered_external_example
32
+
33
+ example_dir = registered_external_example(
34
+ name = " prototype_mtc_extended" ,
35
+ working_dir = Path.cwd()
36
+ )
37
+ ```
38
+
39
+ # Benchmarking
40
+
41
+ The ` prototype_mtc ` example model is run using the ` activitysim ` command line tool.
42
+ A quick and easy way to run the model for benchmarking is to use the following command:
43
+
44
+ ``` shell
45
+ activitysim workflow performance-benchmarking
46
+ ```
Original file line number Diff line number Diff line change
1
+ #
2
+ # This workflow runs the Prototype MTC extended model using full skims (1454 zones),
3
+ # in a single process runner. It is well suited for conducting timing and
4
+ # memory usage studies, as well as smaller model quality and validation
5
+ # studies.
6
+ #
7
+
8
+ context_parser : pypyr.parser.keyvaluepairs
9
+ steps :
10
+
11
+ - description : Setting default workflow parameters
12
+ name : pypyr.steps.default
13
+ in :
14
+ defaults :
15
+ example_name : .
16
+ workflow_name : performance-benchmarking/mtc-extended
17
+ workspace : ..
18
+ create : False
19
+ compile : True
20
+ sharrow : True
21
+ legacy : True
22
+ reference : False
23
+ memory_profile : True
24
+ tag :
25
+ resume_after : _
26
+ fast : False
27
+ compile_n_households : 1000
28
+ main_n_households : 0
29
+ config_dirs : [ext-configs, configs]
30
+ data_dir : data_full
31
+ instrument : False
32
+ workplace_zone_agg :
33
+ caption : Workplaces by County
34
+ district_id : county_id
35
+ distance_skim : DIST
36
+ household_income : income
37
+ trace_hh_id :
38
+ trace_od :
39
+ chunk_method : hybrid_uss
40
+ chunk_training_mode : disabled
41
+
42
+ - name : activitysim.workflows.steps.pype
43
+ in :
44
+ pype :
45
+ name : sharrow-contrast/_contrast_runner
You can’t perform that action at this time.
0 commit comments