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
|
"""
Global Variables go here
OPP = OdiParPack
"""
config = {
'depot_num': 3, # number of depots
'veh_types': { # Vehicle type properties (capacity)
'typeA': 90,
'typeB': 45,
'typeC': 30
},
'veh_fleet': { # Initial vehicle fleet locations
'Lima': {
'typeA': 4,
'typeB': 7,
'typeC': 10
},
'Areq': {
'typeA': 1,
'typeB': 3,
'typeC': 6
},
'Truj': {
'typeA': 1,
'typeB': 5,
'typeC': 8
}
},
'veh_speed': { # Vehicle speed (depends on natural region) (km/h)
'costa': {
'costa': 70,
'sierra': 50,
'selva': 60 # temporal, no deberian haber tramos costa-selva
},
'sierra': {
'sierra': 60,
'selva': 55
},
'selva': {
'selva': 65
}
},
'veh_maint': {}, # Vehicle maintenance plans
'veh_breakdown_downtime': { # Segun tipo de averia de vehiculos (minutes)
# TODO: double check if values are correct
'moderada': 12 * 60,
'fuerte': 72 * 60,
'siniestro': 0
}
}
|