-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings_pilates_sfbay.yaml
308 lines (283 loc) · 7.24 KB
/
settings_pilates_sfbay.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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
#########################################################################################################
############################
# PILATES SETTINGS #
############################
# scenario defs
region: sfbay
scenario: base
start_year: 2018
end_year: 2021
land_use_freq: 1
travel_model_freq: 1
vehicle_ownership_freq: 1
# simulation platforms (leave blank to turn off)
land_use_model:
travel_model: beam
activity_demand_model: activitysim
vehicle_ownership_model:
# docker or singularity
container_manager: docker
#singularity settings
singularity_images:
urbansim: block_model_v2_pb.sif
beam:
activitysim:
polaris:
# docker settings
docker_images:
urbansim: mxndrwgrdnr/block_model_v2_pb:latest
atlas: ghcr.io/lbnl-science-it/atlas:v1.0.7
beam: zaneedell/beam:0.9.3-omx
activitysim: zaneedell/activitysim:new-geoms.1
polaris: tbd
atlas:
docker_stdout: False
pull_latest: False
# skim settings
skims_zone_type: taz # one of [taz, block_group, block]
skims_fname: as-base-skims-sfbay-taz.omx
# skims_fname: as-base-skims-austin-bg.csv.gz
origin_skims_fname: as-origin-skims-sfbay-taz.csv.gz #file or folder name.
beam_router_directory: r5-simple-no-local
beam_geoms_fname: clipped_tazs.csv
# region_zone_type:
# austin: block_groups # one of [taz, block_groups, block]
# detroit: block_groups # one of [taz, block_groups, block]
# sfbay: taz # one of [taz, block_groups, block]
#########################################################################################################
###############################
# SUB-PLATFORM SETTINGS #
###############################
# URBANSIM
region_to_region_id:
sfbay: "06197001"
austin: "48197301"
seattle: "53199100"
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
## ATLAS: vehicle simulation (may call usim somewhere) - Ling/Tin/Yuhan
## Docker bind mounts: host == local; container == remote == client
atlas_host_input_folder: pilates/atlas/atlas_input
atlas_host_output_folder: pilates/atlas/atlas_output
atlas_container_input_folder: /atlas_input
atlas_container_output_folder: /atlas_output
atlas_basedir: /
atlas_codedir: /
atlas_sample_size: 0 # zero means no sampling, whole pop.
atlas_num_processes: 9 # suggested <9 for hima
atlas_beamac: 0 # 0 if use pre-processed accessibility RData, otherwise inline calc
atlas_formattable_command: "--freq {0} --outyear {1} --npe {2} --nsample {3} --basedir {4} --codedir {5} --beamac {6}"
# BEAM
beam_config: sfbay-pilates-base-omx.conf # OR austin-pilates-base.conf
beam_sample: 1.0
beam_replanning_portion: 0.4
beam_local_input_folder: pilates/beam/production/
beam_local_output_folder: pilates/beam/beam_output/
beam_scenario_folder: urbansim/
#beam_memory: "650g"
skim_zone_source_id_col: objectid
replan_iters: 4
replan_hh_samp_size: 0
replan_after: trip_scheduling # resume asim after this step
discard_plans_every_year: True
max_plans_memory: 3
final_asim_plans_folder: pilates/urbansim/output/final_plans
beam_simulated_hwy_paths:
- SOV
- HOV2
- HOV3
# POLARIS
polaris_local_data_folder: pilates/polaris/data
polaris_skim_keys:
base: 'auto_skims'
t: 't4' # 8-9am
impedances:
- ivtt
- cost
# MEP
mep_local_output_folder: pilates/postprocessing/MEP/
# ACTIVITYSIM
household_sample_size: 274783 # zero means no sampling, whole pop.
chunk_size: 12_000_000_000 # 4000000000
#num_processes: 90 # 94
asim_local_input_folder: pilates/urbansim/data/
asim_local_output_folder: pilates/urbansim/output/
asim_local_configs_folder: pilates/urbansim/configs/
asim_validation_folder: pilates/urbansim/validation
asim_formattable_command: "-h {0} -n {1} -c {2}"
region_to_asim_subdir:
austin: austin
detroit: detroit
sfbay: bay_area
seattle: seattle
region_to_asim_bucket:
austin: austin-activitysim
detroit: detroit-activitysim
sfbay: bayarea-activitysim
seattle: seattle-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
ridehail_path_map:
RH_SOLO: Solo
RH_POOLED: Pooled
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: IWAIT_minutes
XWAIT: XWAIT_minutes
BOARDS: BOARDS
beam_asim_ridehail_measure_map:
WAIT: waitTimeInMinutes
REJECTIONPROB: unmatchedRequestPortion
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
# POSTPROCESSING
postprocessing_output_folder: pilates/postprocessing/output
scenario_definitions:
name: "baseline"
lever: "default"
lever_position: 1.0
#########################################################################################################
################################
# 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"
seattle:
state: "53"
counties:
- "061"
- "035"
- "033"
- "053"
local_crs:
sfbay: EPSG:7131
austin: EPSG:32140
seattle: EPSG:32048
# 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