-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
52 lines (47 loc) · 928 Bytes
/
config.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
ITERATIONS = 10
NUM_PHAR = 11
SEED = 42
DEBUG = False
MAX_PHAR_NUM = NUM_PHAR - 4
SIM_HOUR = 3600
NUM_HOUR = 9
BASE_INTERVAL = 60
SIM_TIME = SIM_HOUR * NUM_HOUR
INTERVAL_ARGS = [
0.00798,
0.01122,
0.01190,
0.01047,
0.00621,
0.00724,
0.01127,
0.01054,
0.00740
]
# require SIM_TIME to be SIM_HOUR * 2
SAMPLE_SCHEDULE = [
[1, 1, 1, 1, 1],
[7, 7, 7, 7, 7]
]
INIT_SCHEDULE_PLAN = [
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1],
[MAX_PHAR_NUM, 1, 1, 1, 1]
]
BEST_SCHEDULE_PLAN = [
[3, 2, 2, 3, 1],
[3, 2, 2, 3, 1],
[3, 2, 2, 3, 1],
[3, 2, 2, 3, 1],
[3, 2, 2, 3, 1],
[3, 3, 2, 2, 1],
[3, 3, 1, 3, 1],
[3, 2, 2, 3, 1],
[3, 2, 2, 3, 1]
]