forked from ActivitySim/populationsim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.yaml
131 lines (109 loc) · 2.96 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
# This flag turns off integerization entirely (default False)
NO_INTEGERIZATION_EVER: True
# These settings are ignored if not integerizing
INTEGERIZE_WITH_BACKSTOPPED_CONTROLS: True
SUB_BALANCE_WITH_FLOAT_SEED_WEIGHTS: False
GROUP_BY_INCIDENCE_SIGNATURE: True
USE_SIMUL_INTEGERIZER: True
geographies: [DISTRICT, PUMA, TRACT, TAZ]
seed_geography: PUMA
# Tracing
# ------------------------------------------------------------------
trace_geography:
TAZ: 100
TRACT: 1
household_weight_col: WGTP
household_id_col: hh_id
total_hh_control: num_hh
max_expansion_factor: 5
min_expansion_factor: 0.2
#control_file_name: controls.csv
#data_dir: data
# input_pre_processor input_table_list
input_table_list:
- tablename: households
filename : seed_households.csv
index_col: hh_id
column_map:
SERIALNO: hh_id
- tablename: persons
# expression_filename: seed_persons_expressions.csv
filename : seed_persons.csv
column_map:
SERIALNO: hh_id
SPORDER: per_num
- tablename: geo_cross_walk
filename : geo_cross_walk.csv
column_map:
TRACTCE: TRACT
- tablename: TAZ_control_data
filename : taz_controls.csv
- tablename: TRACT_control_data
filename : tract_controls.csv
- tablename: DISTRICT_control_data
filename : region_controls.csv
run_list:
steps:
- input_pre_processor
- setup_data_structures
- initial_seed_balancing
- meta_control_factoring
- final_seed_balancing
- integerize_final_seed_weights
- sub_balancing.geography=TRACT
- sub_balancing.geography=TAZ
- expand_households
- summarize
- write_tables
- write_synthetic_population
#resume_after: expand_households
# "-m repop" command line option allows specification of repop run_list`
# expand_households options are append or replace
repop:
steps:
- input_pre_processor.table_list=repop_input_table_list
- repop_setup_data_structures
- initial_seed_balancing.final=true
- integerize_final_seed_weights.repop
- repop_balancing
- expand_households.repop;replace
- write_tables.repop
- write_synthetic_population.repop
resume_after: summarize
repop_control_file_name: repop_controls.csv
repop_input_table_list:
- filename : repop_taz_controls.csv
tablename: TAZ_control_data
# output_tables can specify either a list of output tables to include or to skip
# if neither is specified, then no checkpointed tables will be written
#
output_tables:
action: include
tables:
- PUMA_weights
- TAZ_weights
- TRACT_weights
- trace_TAZ_weights
- trace_TRACT_weights
- summary_hh_weights
- summary_TAZ
# - expanded_household_ids
#
#output_tables:
# action: include
# tables:
# - expanded_household_ids
output_synthetic_population:
household_id: household_id
households:
filename: synthetic_households.csv
columns:
- NP
- WGTP
- HTYPE
persons:
filename: synthetic_persons.csv
columns:
- per_num
- OSUTAG
- OCCP