-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
43 lines (41 loc) · 1.51 KB
/
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
PhLow = 7.492199508244225e-06
PhHigh = 7.492200201592762e-06
wakeupThresholdLow = 0.005
wakeupThresholdHigh = 0.025
shutdownThresholdLow = 0.0002;
shutdownThresholdHigh = 0.005;
Pidle_sleep = 7.5e-06
Pdeep_sleep = 0.9e-06
dp = 20;
nr = 1;
f_keep_alive = 10;
Nempty = 17
Epre_process = 2.5409238015131422e-06;
Tpre_process = 0.0005388759332874962;
nAdv = 6 ;
Eadv = nAdv * (5.598023530651275e-05 + Epre_process);
adv_interval = 0.1875;
Tadv = nAdv * (adv_interval + 10/2 /1000);
tc_Adv = nAdv * (0.0027330186631944445 + Tpre_process);
nInit = 22;
nBond = 28;
T_after_init = 1.7 ;#sec
Einit = 6.358929441284179e-05+nInit * 1.6448893448863953e-05 + nBond * 1.6944351656895466e-05 + Epre_process * (1 + nInit + nBond)
Tinit = nInit * 48.75e-3 + nBond * 7.5e-3
tc_init = 0.002236328125+nInit * 0.0009404829651903478 + nBond * 0.000917701198630137 + Tpre_process * (1 + nInit + nBond)
e_discon = 3 * 1.4405889498657227e-05 + 5.598023530651275e-05 + 4 * Epre_process;
tc_off = 3 * 0.0008921712239583334 + 0.0027330186631944445 + 4 * (Tpre_process);
e_keep_alive = 1.4405889498657227e-05;
tTransfer1peak = 0.0007495929582838159;
t_alive = 0.0008921712239583334 ;
T_cpu_in_ble_peak = 60e-6+350e-6 # preprocessing + post processing base on online power profiler
AlphaB = 0.002678e-6;
BetaB = 5.3304e-6;
AlphaR = 0.0037e-6;
BetaR = 1.051e-6;
power_100ms = 8.4261394530831e-6
energy_background = 0.0
et = 2.1772583946498385e-05
startUpEnergy0 = 124.39903531265259e-6
startUpEnergy = 235.885528577e-6
HistogramScale = 674.7953723340717/2096.756465838