forked from SEMCOG/semcog_urbansim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimulation_LargeArea_control_unitlevel_calibhlcms.py
46 lines (41 loc) · 1.53 KB
/
Simulation_LargeArea_control_unitlevel_calibhlcms.py
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
import orca
import shutil
import warnings
warnings.filterwarnings("ignore")
import os
import models, utils
from urbansim.utils import misc, networks
orca.run(["refiner",
'build_networks',
"neighborhood_vars"] +
orca.get_injectable('repm_step_names_regional') + # In place of ['nrh_simulate', 'rsh_simulate']
["increase_property_values"]) # Hack to make more feasibility
orca.run([
"scheduled_demolition_events",
"random_demolition_events",
"scheduled_development_events",
"refiner",
"households_transition",
"fix_lpr",
"households_relocation",
"jobs_transition",
"jobs_relocation",
"feasibility",
"residential_developer",
"non_residential_developer"] +
orca.get_injectable('repm_step_names_regional') + # In place of ['nrh_simulate', 'rsh_simulate']
["increase_property_values"] + # Hack to make more feasibility
orca.get_injectable('hlcm_step_names_calib') +
orca.get_injectable('elcm_step_names_lacontrol_unitlevel') +
["elcm_home_based",
"jobs_scaling_model",
"gq_pop_scaling_model",
# "travel_model", Fixme: on hold
],
iter_vars=range(2016, 2045 + 1),
data_out='runs/run_semcog_lacontrol_clustvars_calibhlcms_3.h5',
out_base_tables=['jobs', 'base_job_space','households', 'persons', 'buildings', 'parcels',
'zones', 'semmcds', 'counties','large_areas'],
out_run_tables=['buildings', 'jobs', 'base_job_space', 'parcels', 'households', 'persons'],
out_interval=10,
compress=True)