This commit is contained in:
Loic Guegan 2021-08-26 14:45:44 +02:00
parent 9bbae8a423
commit 45ff3848e5
5 changed files with 17 additions and 17 deletions

Binary file not shown.

Binary file not shown.

View file

@ -87,7 +87,7 @@ energy180P=ggplot(energy180%>%dformat,aes(x=simkey,y=energy,fill=type))+
geom_label(data=success180%>%dformat(),aes(label = success_txt, y=100),label.padding=unit(0.35,"lines"),label.r=unit(0.09,"lines"),fill="#f0f0f0",label.size=0.5,fontface="bold",colour="black",position=position_dodge(0.9))+
facet_wrap(~wireless)+
xlab(element_blank())+ylab("Energy consumption (J)")+
labs(fill="180s uptime:")+theme(legend.position="top")+color2()+coord_cartesian(ylim=c(0,4500))
labs(fill="180s uptime:")+theme(legend.position="top")+color()+coord_cartesian(ylim=c(0,4500))
#ggsave("energy-180sec.png",width = 12,height=4.8)
totalUptime60=data%>%filter(wakeupfor==60)

Binary file not shown.

View file

@ -10,27 +10,27 @@
\midrule
\multicolumn{9}{c}{LoRa}\\
\midrule
\multirow{4}{*}{60}&baseline&\makebox[0.5cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 617.37}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 581.14}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill --}&\makebox[0.65cm]{\hfill --}\\
&extended&\makebox[0.5cm]{\hfill 6.02}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 1004.36}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 612.06}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill +62.68}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill +5.32}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 166.84}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 101.67}~{\color{blue!60}\textbf{=}}\\
&hint&\makebox[0.5cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 628.74}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 586.07}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill +1.84}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill +0.85}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill --}&\makebox[0.65cm]{\hfill --}\\
&hintandextended&\makebox[0.5cm]{\hfill 8.05}~{\color{green!60}\textbf{+1.51}}&\makebox[0.8cm]{\hfill 1130.67}~{\color{red!60}\textbf{+94.91}}&\makebox[0.8cm]{\hfill 639.55}~{\color{red!60}\textbf{+19.93}}&\makebox[0.7cm]{\hfill +83.14}~{\color{red!60}\textbf{+15.37}}&\makebox[0.7cm]{\hfill +10.05}~{\color{red!60}\textbf{+3.43}}&\makebox[0.65cm]{\hfill 140.37}~{\color{green!60}\textbf{-17.88}}&\makebox[0.65cm]{\hfill 79.4}~{\color{green!60}\textbf{-15.27}}\\
\multirow{4}{*}{60}&baseline&\makebox[0.5cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 764.49}~{\color{red!60}\textbf{+147.12}}&\makebox[0.8cm]{\hfill 578.68}~{\color{green!60}\textbf{-2.45}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill --}&\makebox[0.65cm]{\hfill --}\\
&extended&\makebox[0.5cm]{\hfill 22.89}~{\color{green!60}\textbf{+16.87}}&\makebox[0.8cm]{\hfill 2115.26}~{\color{red!60}\textbf{+1110.9}}&\makebox[0.8cm]{\hfill 593.32}~{\color{green!60}\textbf{-18.74}}&\makebox[0.7cm]{\hfill +176.69}~{\color{red!60}\textbf{+114.01}}&\makebox[0.7cm]{\hfill +2.53}~{\color{green!60}\textbf{-2.79}}&\makebox[0.65cm]{\hfill 92.43}~{\color{green!60}\textbf{-74.41}}&\makebox[0.65cm]{\hfill 25.93}~{\color{green!60}\textbf{-75.74}}\\
&hint&\makebox[0.5cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 788.4}~{\color{red!60}\textbf{+159.66}}&\makebox[0.8cm]{\hfill 704.39}~{\color{red!60}\textbf{+118.32}}&\makebox[0.7cm]{\hfill +3.13}~{\color{red!60}\textbf{+1.29}}&\makebox[0.7cm]{\hfill +21.72}~{\color{red!60}\textbf{+20.87}}&\makebox[0.65cm]{\hfill --}&\makebox[0.65cm]{\hfill --}\\
&hintandextended&\makebox[0.5cm]{\hfill 23.42}~{\color{green!60}\textbf{+16.88}}&\makebox[0.8cm]{\hfill 2134.2}~{\color{red!60}\textbf{+1098.44}}&\makebox[0.8cm]{\hfill 608.27}~{\color{green!60}\textbf{-11.35}}&\makebox[0.7cm]{\hfill +179.17}~{\color{red!60}\textbf{+111.4}}&\makebox[0.7cm]{\hfill +5.11}~{\color{green!60}\textbf{-1.51}}&\makebox[0.65cm]{\hfill 91.11}~{\color{green!60}\textbf{-67.14}}&\makebox[0.65cm]{\hfill 25.97}~{\color{green!60}\textbf{-68.7}}\\
\midrule
\multirow{4}{*}{180}&baseline&\makebox[0.5cm]{\hfill 2.18}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 2032.69}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 1764.97}~{\color{green!60}\textbf{-0.04}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 932.43}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 809.62}~{\color{green!60}\textbf{-0.02}}\\
&extended&\makebox[0.5cm]{\hfill 10.86}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 2201.59}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 1766.76}~{\color{green!60}\textbf{-0.24}}&\makebox[0.7cm]{\hfill +8.31}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill +0.1}~{\color{green!60}\textbf{-0.01}}&\makebox[0.65cm]{\hfill 202.82}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 162.76}~{\color{green!60}\textbf{-0.02}}\\
&hint&\makebox[0.5cm]{\hfill 11.57}~{\color{green!60}\textbf{+0.39}}&\makebox[0.8cm]{\hfill 2136.67}~{\color{red!60}\textbf{+5}}&\makebox[0.8cm]{\hfill 2096.91}~{\color{red!60}\textbf{+22.75}}&\makebox[0.7cm]{\hfill +5.12}~{\color{red!60}\textbf{+0.25}}&\makebox[0.7cm]{\hfill +18.81}~{\color{red!60}\textbf{+1.29}}&\makebox[0.65cm]{\hfill 184.67}~{\color{green!60}\textbf{-6.08}}&\makebox[0.65cm]{\hfill 181.24}~{\color{green!60}\textbf{-4.37}}\\
&hintandextended&\makebox[0.5cm]{\hfill 11.97}~{\color{green!60}\textbf{+0.08}}&\makebox[0.8cm]{\hfill 2280.6}~{\color{red!60}\textbf{+21.51}}&\makebox[0.8cm]{\hfill 1926.49}~{\color{red!60}\textbf{+26.79}}&\makebox[0.7cm]{\hfill +12.2}~{\color{red!60}\textbf{+1.06}}&\makebox[0.7cm]{\hfill +9.15}~{\color{red!60}\textbf{+1.52}}&\makebox[0.65cm]{\hfill 190.53}~{\color{red!60}\textbf{+0.53}}&\makebox[0.65cm]{\hfill 160.94}~{\color{red!60}\textbf{+1.17}}\\
\multirow{4}{*}{180}&baseline&\makebox[0.5cm]{\hfill 6.36}~{\color{green!60}\textbf{+4.18}}&\makebox[0.8cm]{\hfill 2412.24}~{\color{red!60}\textbf{+379.54}}&\makebox[0.8cm]{\hfill 1738.06}~{\color{green!60}\textbf{-26.95}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 379.58}~{\color{green!60}\textbf{-552.85}}&\makebox[0.65cm]{\hfill 273.49}~{\color{green!60}\textbf{-536.14}}\\
&extended&\makebox[0.5cm]{\hfill 46.8}~{\color{green!60}\textbf{+35.94}}&\makebox[0.8cm]{\hfill 4214.6}~{\color{red!60}\textbf{+2013.01}}&\makebox[0.8cm]{\hfill 1749.29}~{\color{green!60}\textbf{-17.71}}&\makebox[0.7cm]{\hfill +74.72}~{\color{red!60}\textbf{+66.41}}&\makebox[0.7cm]{\hfill +0.65}~{\color{red!60}\textbf{+0.53}}&\makebox[0.65cm]{\hfill 90.06}~{\color{green!60}\textbf{-112.76}}&\makebox[0.65cm]{\hfill 37.38}~{\color{green!60}\textbf{-125.4}}\\
&hint&\makebox[0.5cm]{\hfill 22.78}~{\color{green!60}\textbf{+11.61}}&\makebox[0.8cm]{\hfill 2418.8}~{\color{red!60}\textbf{+287.12}}&\makebox[0.8cm]{\hfill 3156.56}~{\color{red!60}\textbf{+1082.4}}&\makebox[0.7cm]{\hfill +0.27}~{\color{green!60}\textbf{-4.6}}&\makebox[0.7cm]{\hfill +81.61}~{\color{red!60}\textbf{+64.1}}&\makebox[0.65cm]{\hfill 106.16}~{\color{green!60}\textbf{-84.6}}&\makebox[0.65cm]{\hfill 138.54}~{\color{green!60}\textbf{-47.07}}\\
&hintandextended&\makebox[0.5cm]{\hfill 47.96}~{\color{green!60}\textbf{+36.07}}&\makebox[0.8cm]{\hfill 4297.84}~{\color{red!60}\textbf{+2038.75}}&\makebox[0.8cm]{\hfill 2954.54}~{\color{red!60}\textbf{+1054.84}}&\makebox[0.7cm]{\hfill +78.17}~{\color{red!60}\textbf{+67.03}}&\makebox[0.7cm]{\hfill +69.99}~{\color{red!60}\textbf{+62.36}}&\makebox[0.65cm]{\hfill 89.61}~{\color{green!60}\textbf{-100.39}}&\makebox[0.65cm]{\hfill 61.6}~{\color{green!60}\textbf{-98.17}}\\
\midrule
\multicolumn{9}{c}{NbIoT}\\
\midrule
\multirow{4}{*}{60}&baseline&\makebox[0.5cm]{\hfill 2.44}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 714.79}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 593.47}~{\color{green!60}\textbf{-0.05}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 292.35}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 242.73}~{\color{green!60}\textbf{-0.02}}\\
&extended&\makebox[0.5cm]{\hfill 6.38}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 760.83}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 591.14}~{\color{green!60}\textbf{-0.14}}&\makebox[0.7cm]{\hfill +6.44}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill -0.39}~{\color{green!60}\textbf{-0.02}}&\makebox[0.65cm]{\hfill 119.25}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 92.65}~{\color{green!60}\textbf{-0.02}}\\
&hint&\makebox[0.5cm]{\hfill 6.11}~{\color{green!60}\textbf{+1.31}}&\makebox[0.8cm]{\hfill 821.32}~{\color{red!60}\textbf{+49.46}}&\makebox[0.8cm]{\hfill 627.96}~{\color{red!60}\textbf{+13.15}}&\makebox[0.7cm]{\hfill +14.9}~{\color{red!60}\textbf{+6.92}}&\makebox[0.7cm]{\hfill +5.81}~{\color{red!60}\textbf{+2.22}}&\makebox[0.65cm]{\hfill 134.42}~{\color{green!60}\textbf{-26.21}}&\makebox[0.65cm]{\hfill 102.78}~{\color{green!60}\textbf{-25.18}}\\
&hintandextended&\makebox[0.5cm]{\hfill 9.82}~{\color{green!60}\textbf{+2.23}}&\makebox[0.8cm]{\hfill 858.74}~{\color{red!60}\textbf{+67.89}}&\makebox[0.8cm]{\hfill 635.36}~{\color{red!60}\textbf{+25.17}}&\makebox[0.7cm]{\hfill +20.14}~{\color{red!60}\textbf{+9.5}}&\makebox[0.7cm]{\hfill +7.06}~{\color{red!60}\textbf{+4.25}}&\makebox[0.65cm]{\hfill 87.45}~{\color{green!60}\textbf{-16.75}}&\makebox[0.65cm]{\hfill 64.7}~{\color{green!60}\textbf{-15.69}}\\
\multirow{4}{*}{60}&baseline&\makebox[0.5cm]{\hfill 11.51}~{\color{green!60}\textbf{+9.06}}&\makebox[0.8cm]{\hfill 1309.61}~{\color{red!60}\textbf{+594.82}}&\makebox[0.8cm]{\hfill 586.8}~{\color{green!60}\textbf{-6.72}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 113.83}~{\color{green!60}\textbf{-178.52}}&\makebox[0.65cm]{\hfill 51}~{\color{green!60}\textbf{-191.74}}\\
&extended&\makebox[0.5cm]{\hfill 38.19}~{\color{green!60}\textbf{+31.81}}&\makebox[0.8cm]{\hfill 1723.51}~{\color{red!60}\textbf{+962.68}}&\makebox[0.8cm]{\hfill 587.42}~{\color{green!60}\textbf{-3.86}}&\makebox[0.7cm]{\hfill +31.61}~{\color{red!60}\textbf{+25.16}}&\makebox[0.7cm]{\hfill +0.11}~{\color{red!60}\textbf{+0.48}}&\makebox[0.65cm]{\hfill 45.14}~{\color{green!60}\textbf{-74.12}}&\makebox[0.65cm]{\hfill 15.38}~{\color{green!60}\textbf{-77.29}}\\
&hint&\makebox[0.5cm]{\hfill 22.78}~{\color{green!60}\textbf{+17.98}}&\makebox[0.8cm]{\hfill 1500.26}~{\color{red!60}\textbf{+728.4}}&\makebox[0.8cm]{\hfill 1086.98}~{\color{red!60}\textbf{+472.17}}&\makebox[0.7cm]{\hfill +14.56}~{\color{red!60}\textbf{+6.57}}&\makebox[0.7cm]{\hfill +85.24}~{\color{red!60}\textbf{+81.65}}&\makebox[0.65cm]{\hfill 65.86}~{\color{green!60}\textbf{-94.78}}&\makebox[0.65cm]{\hfill 47.72}~{\color{green!60}\textbf{-80.24}}\\
&hintandextended&\makebox[0.5cm]{\hfill 47.65}~{\color{green!60}\textbf{+40.06}}&\makebox[0.8cm]{\hfill 2006.18}~{\color{red!60}\textbf{+1215.33}}&\makebox[0.8cm]{\hfill 1007.15}~{\color{red!60}\textbf{+396.96}}&\makebox[0.7cm]{\hfill +53.19}~{\color{red!60}\textbf{+42.55}}&\makebox[0.7cm]{\hfill +71.64}~{\color{red!60}\textbf{+68.83}}&\makebox[0.65cm]{\hfill 42.1}~{\color{green!60}\textbf{-62.09}}&\makebox[0.65cm]{\hfill 21.14}~{\color{green!60}\textbf{-59.26}}\\
\midrule
\multirow{4}{*}{180}&baseline&\makebox[0.5cm]{\hfill 10.37}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 2034.67}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 1761.97}~{\color{green!60}\textbf{-3.14}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 196.3}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 169.99}~{\color{green!60}\textbf{-0.3}}\\
&extended&\makebox[0.5cm]{\hfill 11.12}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 2026.21}~{\color{blue!60}\textbf{=}}&\makebox[0.8cm]{\hfill 1748.93}~{\color{green!60}\textbf{-3.9}}&\makebox[0.7cm]{\hfill -0.42}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill -0.74}~{\color{green!60}\textbf{-0.04}}&\makebox[0.65cm]{\hfill 182.3}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 157.35}~{\color{green!60}\textbf{-0.35}}\\
&hint&\makebox[0.5cm]{\hfill 11.96}~{\color{green!60}\textbf{+0.12}}&\makebox[0.8cm]{\hfill 2055.21}~{\color{red!60}\textbf{+1.43}}&\makebox[0.8cm]{\hfill 2028.09}~{\color{green!60}\textbf{-40.16}}&\makebox[0.7cm]{\hfill +1.01}~{\color{red!60}\textbf{+0.07}}&\makebox[0.7cm]{\hfill +15.1}~{\color{green!60}\textbf{-2.07}}&\makebox[0.65cm]{\hfill 171.84}~{\color{green!60}\textbf{-1.55}}&\makebox[0.65cm]{\hfill 169.57}~{\color{green!60}\textbf{-5.04}}\\
&hintandextended&\makebox[0.5cm]{\hfill 11.97}~{\color{green!60}\textbf{+0.07}}&\makebox[0.8cm]{\hfill 2044.19}~{\color{red!60}\textbf{+1.64}}&\makebox[0.8cm]{\hfill 2019.51}~{\color{green!60}\textbf{-20.2}}&\makebox[0.7cm]{\hfill +0.47}~{\color{red!60}\textbf{+0.08}}&\makebox[0.7cm]{\hfill +14.62}~{\color{green!60}\textbf{-0.94}}&\makebox[0.65cm]{\hfill 170.71}~{\color{green!60}\textbf{-0.87}}&\makebox[0.65cm]{\hfill 168.64}~{\color{green!60}\textbf{-2.69}}\\
\multirow{4}{*}{180}&baseline&\makebox[0.5cm]{\hfill 71.2}~{\color{green!60}\textbf{+60.84}}&\makebox[0.8cm]{\hfill 3974.87}~{\color{red!60}\textbf{+1940.21}}&\makebox[0.8cm]{\hfill 1763.54}~{\color{green!60}\textbf{-1.57}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.7cm]{\hfill 0}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 55.82}~{\color{green!60}\textbf{-140.48}}&\makebox[0.65cm]{\hfill 24.77}~{\color{green!60}\textbf{-145.53}}\\
&extended&\makebox[0.5cm]{\hfill 84.7}~{\color{green!60}\textbf{+73.59}}&\makebox[0.8cm]{\hfill 4045.23}~{\color{red!60}\textbf{+2019.02}}&\makebox[0.8cm]{\hfill 1751.24}~{\color{green!60}\textbf{-1.59}}&\makebox[0.7cm]{\hfill +1.77}~{\color{red!60}\textbf{+2.19}}&\makebox[0.7cm]{\hfill -0.7}~{\color{blue!60}\textbf{=}}&\makebox[0.65cm]{\hfill 47.76}~{\color{green!60}\textbf{-134.54}}&\makebox[0.65cm]{\hfill 20.67}~{\color{green!60}\textbf{-137.02}}\\
&hint&\makebox[0.5cm]{\hfill 95.26}~{\color{green!60}\textbf{+83.42}}&\makebox[0.8cm]{\hfill 4520.49}~{\color{red!60}\textbf{+2466.7}}&\makebox[0.8cm]{\hfill 2682.63}~{\color{red!60}\textbf{+614.38}}&\makebox[0.7cm]{\hfill +13.73}~{\color{red!60}\textbf{+12.79}}&\makebox[0.7cm]{\hfill +52.12}~{\color{red!60}\textbf{+34.94}}&\makebox[0.65cm]{\hfill 47.45}~{\color{green!60}\textbf{-125.93}}&\makebox[0.65cm]{\hfill 28.16}~{\color{green!60}\textbf{-146.45}}\\
&hintandextended&\makebox[0.5cm]{\hfill 99}~{\color{green!60}\textbf{+87.1}}&\makebox[0.8cm]{\hfill 4459.94}~{\color{red!60}\textbf{+2417.39}}&\makebox[0.8cm]{\hfill 2498.02}~{\color{red!60}\textbf{+458.3}}&\makebox[0.7cm]{\hfill +12.2}~{\color{red!60}\textbf{+11.82}}&\makebox[0.7cm]{\hfill +41.65}~{\color{red!60}\textbf{+26.09}}&\makebox[0.65cm]{\hfill 45.05}~{\color{green!60}\textbf{-126.52}}&\makebox[0.65cm]{\hfill 25.23}~{\color{green!60}\textbf{-146.1}}\\
\bottomrule
\end{tabular}
\end{table*}