File size: 1,927 Bytes
463ee03
 
 
d47fa16
77ce535
3c44f43
 
d47fa16
3c44f43
 
d47fa16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3c44f43
d47fa16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
MODEL_PATH_ITP_AIR='./models/AirInceptionTime.pt'
MODEL_PATH_ITP_ENER='./models/EnerInceptionTime.pt'
MODEL_PATH_ITP_BOIL='./models/BoilerInceptionTime.pt'

DATA_PATH='/data'
AIR_PREPROCESSOR_PATH='data/preproc_pipe.pkl'
AIR_SCALING_DATA='data/exp_pipe.pkl'

ENER_PREPROCESSOR_PATH='data/Enerpreproc_pipe.pkl'
ENER_SCALING_DATA='data/Ener_exp_pipe.pkl' 

AIR_DATETIME_COL='timestamp'
#the current model is only for 1 device and of a specific appliance only
AIR_COLOUMNS=['air_inlet_temp_deg_f', 'average_cfm', 'average_kw',
       'compressor_room_air_generated_cfm',
       'compressor_room_energy_cosumed_kwh', 'specific_power_kw_100cfm',
       'percentage_loading_based_on_air_supplied_design_600cfm']

#the below columns provide no relavant information to the model
AIR_DROP_COLOUMNS=['data_id','ideal_specific_power_kw_100cfm','device_id']

ENERGY_DATETIME='parameter_timestamp'
ENERGY_COLOUMNS=['current_ir', 'electrical_energy', 'frequency', 'power', 'powerfactor',
       'pressure', 'temperature', 'voltage_vb',
       'voltage_vr', 'voltage_vy']
ENERGY_DROP_COLOUMNS=["location","current_ib","current_iy","device_1_state","device_2_state","device_id","device_name",'id',"device_type"]

BOILER_PREPROCESSOR_PATH='data/boiler_preproc_pipe.pkl'
BOILER_DATETIME='DateString'
BOILER_COLOUMNS=['Boiler2_Feed Water Temp (T-4) (°F)','Boiler2_Gas Flow (G-2) (MMBtu)', 'Boiler2_Make Up Flow (W-17) (kGal)','Boiler2_Steam Flow (S-1) (lbs)']
#Frequency of the incoming data
FREQUENCY='1H'
METHOD='ffill'
VALUE=0

#No. of values needed to be looked back
FCST_HISTORY=200

#No. of Timestamps predicted in the future
FCST_HORIZON=168 #1 Week
VALID_SIZE=0.1
TEST_SIZE=0.2

#Training Parameters for a new Model
ARCH_CONFIG=dict(
    n_layers=3,
    n_heads=4,
    d_model=16,
    d_ff=128,
    attn_dropout=0.0,
    dropout=0.3,
    patch_len=24,
    stride=2,
    padding_patch=True,
)#Only needed when using PatchTst

N_EPOCH=100