forked from MingjunZhong/transferNILM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Arguments.py
45 lines (42 loc) · 1.05 KB
/
Arguments.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
from Logger import log
import socket
params_appliance = {
'kettle': {
'windowlength': 599,
'on_power_threshold': 2000,
'max_on_power': 3998,
'mean': 700,
'std': 1000,
's2s_length': 128, },
'microwave': {
'windowlength': 599,
'on_power_threshold': 200,
'max_on_power': 3969,
'mean': 500,
'std': 800,
's2s_length': 128},
'fridge': {
'windowlength': 599,
'on_power_threshold': 50,
'max_on_power': 3323,
'mean': 200,
'std': 400,
's2s_length': 512},
'dishwasher': {
'windowlength': 599,
'on_power_threshold': 10,
'max_on_power': 3964,
'mean': 700,
'std': 1000,
's2s_length': 1536},
'washingmachine': {
'windowlength': 599,
'on_power_threshold': 20,
'max_on_power': 3999,
'mean': 400,
'std': 700,
's2s_length': 2000}
}
log('Parameters: ')
machine_name = socket.gethostname()
log('Machine name: ' + machine_name)