-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.yaml
161 lines (140 loc) · 3.1 KB
/
settings.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
#####################
# ASIM SETTINGS #
#####################
inherit_settings: True
# input tables
input_table_list:
- tablename: households
filename: households.csv
index_col: household_id
column_map:
household_id: household_id
persons: hhsize
workers: num_workers
cars: VEHICL
- tablename: persons
filename: persons.csv
index_col: person_id
column_map:
person_id: person_id
member_id: PNUM
- tablename: land_use
filename: land_use.csv
index_col: TAZ
column_map:
ZONE: TAZ
COUNTY: county_id
# input skims
skims_file: skims.omx
# input valid geometries
beam_geometries: clipped_tazs.csv
# raise error if any sub-process fails without waiting for others to complete
fail_fast: True
strict: False
mem_tick: 0
use_shadow_pricing: False
# sample size
households_sample_size: 0
# multiprocessing controls
multiprocess: True
chunk_size: 10_000_000_000
num_processes: 94
stagger: 0
# tracing
trace_hh_id:
trace_od:
# to resume after last successful checkpoint, specify resume_after: _
# resume_after: _
models:
### mp_initialize step
- initialize_landuse
- compute_accessibility
- initialize_households
### mp_households step
- school_location
- workplace_location
- auto_ownership_simulate
- free_parking
- cdap_simulate
- mandatory_tour_frequency
- mandatory_tour_scheduling
- joint_tour_frequency
- joint_tour_composition
- joint_tour_participation
- joint_tour_destination
- joint_tour_scheduling
- non_mandatory_tour_frequency
- non_mandatory_tour_destination
- non_mandatory_tour_scheduling
- tour_mode_choice_simulate
- atwork_subtour_frequency
- atwork_subtour_destination
- atwork_subtour_scheduling
- atwork_subtour_mode_choice
- stop_frequency
- trip_purpose
- trip_destination
- trip_purpose_and_destination
- trip_scheduling
- trip_mode_choice
### mp_summarize step
- generate_beam_plans
- write_data_dictionary
- write_tables
multiprocess_steps:
- name: mp_initialize
begin: initialize_landuse
- name: mp_households
begin: school_location
slice:
tables:
- households
- persons
- name: mp_summarize
begin: generate_beam_plans
output_tables:
action: include
prefix: final_
tables:
- checkpoints
- land_use
- households
- persons
- tours
- trips
- joint_tour_participants
- plans
# - trip_mode_choice_raw
# - trip_mode_choice_utilities
# - trip_mode_choice_specs
# - trip_mode_choice_data_dict
# area_types less than this are considered urban
urban_threshold: 4
cbd_threshold: 2
rural_threshold: 6
skim_time_periods:
period_minutes: 60
periods:
- 0
- 6
- 11
- 16
- 20
- 24
labels:
- EA
- AM
- MD
- PM
- EV
# - value of time
# value_of_time = lognormal(np.log(median_value_of_time * mu), sigma).clip(min_vot, max_vot)
min_value_of_time: 1
max_value_of_time: 50
distributed_vot_mu: 0.684
distributed_vot_sigma: 0.85
household_median_value_of_time:
1: 6.01
2: 8.81
3: 10.44
4: 12.86