-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscenarios_policies.py
100 lines (97 loc) · 2.54 KB
/
scenarios_policies.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
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
# Custom scenarios
av_vot_factor = 0.5
scenarios_without_vot = {
"0_current": {
"av_cost_factor": 1.0,
"av_density": 1.5,
"induced_demand": 1.0,
},
"1_moderate_progress": {
"av_cost_factor": 0.5,
"av_density": 1.0,
"induced_demand": 1.125,
},
"2_extensive_progress": {
"av_cost_factor": 0.25,
"av_density": 0.5,
"induced_demand": 1.25,
},
"3_extreme_progress": {
"av_cost_factor": 0.125,
"av_density": 0.333333,
"induced_demand": 1.5,
},
"4_private_race_to_the_bottom": {
"av_cost_factor": 0.125,
"av_density": 1.5,
"induced_demand": 1.25,
},
"5_shared_race_to_the_bottom": {
"av_cost_factor": 0.125,
"av_density": 0.5,
"induced_demand": 1.25,
},
"6_dense_progress": {
"av_cost_factor": 0.25,
"av_density": 0.333333,
"induced_demand": 1.125,
},
}
# Add av_vot_factor to all scenarios
scenarios = {key: value | {"av_vot_factor": av_vot_factor} for key, value in scenarios_without_vot.items()}
policies = {
"0_no_policy": {
"policy_area": "city",
"policy_speed_reduction": 0,
"policy_tarif": 0,
"policy_tarif_time": "day",
},
"1_autoluw_peak": {
"policy_area": "autoluw",
"policy_speed_reduction": 1,
"policy_tarif": 5,
"policy_tarif_time": "peak",
},
"2_autoluw_day": {
"policy_area": "autoluw",
"policy_speed_reduction": 1,
"policy_tarif": 5,
"policy_tarif_time": "day",
},
"3_city_peak": {
"policy_area": "city",
"policy_speed_reduction": 1,
"policy_tarif": 5,
"policy_tarif_time": "peak",
},
"4_city_day": {
"policy_area": "city",
"policy_speed_reduction": 1,
"policy_tarif": 5,
"policy_tarif_time": "day",
},
"5_city_speed_reduction": {
"policy_area": "city",
"policy_speed_reduction": 1,
"policy_tarif": 0,
"policy_tarif_time": "day",
},
"6_city_peak_tarif": {
"policy_area": "city",
"policy_speed_reduction": 0,
"policy_tarif": 5,
"policy_tarif_time": "peak",
},
"7_city_day_tarif": {
"policy_area": "city",
"policy_speed_reduction": 0,
"policy_tarif": 5,
"policy_tarif_time": "day",
},
"8_all_out": {
"policy_area": "city",
"policy_speed_reduction": 1,
"policy_tarif": 10,
"policy_tarif_time": "day",
},
}