-
Notifications
You must be signed in to change notification settings - Fork 7
/
settings.yaml
251 lines (231 loc) · 5.51 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
#########################################################################################################
############################
# PILATES SETTINGS #
############################
# scenario defs
region: austin
scenario: base
start_year: 2010
end_year: 2020
land_use_freq: 1
travel_model_freq: 5
restart_from_polaris: False
# simulation platforms (leave blank to turn off)
land_use_model: urbansim
travel_model: beam
activity_demand_model: activitysim
# docker or singularity
container_manager: docker
#singularity settings
singularity_images:
# urbansim: /lcrc/project/POLARIS/bebop/SMART_FY22_LAND_USE/bin/block_model_v2_pb.sif
urbansim: docker://jdcaicedo/block_model_v2_pb:latest
beam:
activitysim:
polaris:
# docker settings
docker_images:
urbansim: mxndrwgrdnr/block_model_v2_pb:latest
beam: dimaopen/beam:0.8.6.3
activitysim: mxndrwgrdnr/activitysim:latest
polaris: tbd
atlas:
docker_stdout: False
pull_latest: False
# skim settings
skims_fname: austin-skims-res-full-new.csv.gz
skims_zone_type: block_group # one of [taz, block_group, block]
#########################################################################################################
###############################
# SUB-PLATFORM SETTINGS #
###############################
# URBANSIM
region_to_region_id:
sfbay: "06197001"
austin: "48197301"
detroit: "26197401"
chicago: "17196201"
usim_local_data_folder: pilates/urbansim/data/
usim_client_data_folder: /base/block_model_probaflow/data/
usim_formattable_input_file_name: "custom_mpo_{region_id}_model_data.h5"
usim_formattable_output_file_name: "model_data_{year}.h5"
usim_formattable_command: "-r {0} -i {1} -y {2} -f {3} -t {4}"
warm_start_activities: False
# BEAM
beam_config: gemini/activitysim-base-from-60k-input.conf
beam_local_input_folder: pilates/beam/production/
beam_local_output_folder: pilates/beam/beam_output/
beam_scenario_folder: gemini/activitysim-plans-base-2010-cut-60k
beam_memory: "100g"
skim_zone_source_id_col: objectid
replan_iters: 0
replan_hh_samp_size: 0
replan_after: trip_scheduling # resume asim after this step
final_asim_plans_folder:
# POLARIS
polaris_local_data_folder: pilates/polaris/data
polaris_skim_keys:
base: 'auto_skims'
t: 't4' # 8-9am
impedances:
- ivtt
- cost
# ACTIVITYSIM
household_sample_size: 0 # zero means no sampling, whole pop.
chunk_size: 4000000000
num_processes: 32
asim_local_input_folder: pilates/activitysim/data/
asim_local_output_folder: pilates/activitysim/output/
asim_validation_folder: pilates/activitysim/validation
asim_formattable_command: "-h {0} -n {1} -c {2}"
region_to_asim_subdir:
austin: austin
detroit: detroit
sfbay: bay_area
region_to_asim_bucket:
austin: austin-activitysim
detroit: detroit-activitysim
sfbay: bayarea-activitysim
periods:
- EA
- AM
- MD
- PM
- EV
transit_paths:
- DRV_COM_WLK
- DRV_HVY_WLK
- DRV_LOC_WLK
- DRV_LRF_WLK
- DRV_EXP_WLK
- WLK_COM_DRV
- WLK_HVY_DRV
- WLK_LOC_DRV
- WLK_LRF_DRV
- WLK_EXP_DRV
- WLK_COM_WLK
- WLK_HVY_WLK
- WLK_LOC_WLK
- WLK_LRF_WLK
- WLK_EXP_WLK
- WLK_TRN_WLK
hwy_paths:
- SOV
- SOVTOLL
- HOV2
- HOV2TOLL
- HOV3
- HOV3TOLL
beam_asim_hwy_measure_map:
TIME: TIME_minutes
DIST: DIST_miles
BTOLL: null
VTOLL: VTOLL_FAR
beam_asim_transit_measure_map:
WAIT: null
TOTIVT: TOTIVT_IVT_minutes
KEYIVT: KEYIVT_minutes
FERRYIVT: FERRYIVT_minutes
FAR: VTOLL_FAR
DTIM: DTIM_minutes
DDIST: DDIST_miles
WAUX: WAUX_minutes
WEGR: WEGR_minutes
WACC: WACC_minutes
IWAIT: null
XWAIT: null
BOARDS: BOARDS
IVT: TOTIVT_IVT_minutes
asim_output_tables:
prefix: final_
tables:
- checkpoints
- land_use
- households
- persons
- tours
- trips
- joint_tour_participants
- plans
asim_from_usim_col_maps:
households:
persons: PERSONS # asim preproc
PERSONS: hhsize # asim settings.yaml
cars: auto_ownership # asim preproc
# VEHICL: auto_ownership # asim annotate_households.csv
workers: num_workers # asim settings.yaml
persons:
member_id: PNUM # asim preproc
land_use:
ZONE: TAZ # asim settings.yaml
COUNTY: county_id # asim settings.yaml
asim_to_usim_col_maps:
households:
hhsize: persons # asim postproc
num_workers: workers # asim postproc
auto_ownership: cars # asim postproc
persons:
PNUM: member_id # asim postproc
workplace_taz: work_zone_id # asim postproc
school_taz: school_taz_id # asim postproc
#########################################################################################################
################################
# MISC. PILATES SETTINGS #
################################
# GEOGRAPHY SETTINGS
FIPS:
sfbay:
state: "06"
counties:
- "001"
- "013"
- "041"
- "055"
- "075"
- "081"
- "085"
- "095"
- "097"
austin:
state: "48"
counties:
- "021"
- "053"
- "055"
- "209"
- "453"
- "491"
local_crs:
sfbay: EPSG:7131
austin: EPSG:32140
# VALIDATION METRIC LIBRARY
validation_metrics:
growth:
- population
- employment
- residential_units
commute_dists:
mode_shares:
auto_ownership:
density_gradients:
rent:
access:
var: employment
cost: minutes
levels:
- 15
- 45
jobs:
access:
var: employment
cost: minutes
levels:
- 15
- 45
population:
access:
var: employment
cost: minutes
levels:
- 15
- 45