Improve data analysis
BIN
results/CCGrid2021_paper_250.pdf
Normal file
|
@ -21,8 +21,8 @@ finalStats=data%>%filter(isSender!=0)%>%group_by(simkey,wireless,wakeupfor)%>%su
|
|||
#finalStats=finalStats%>%left_join(hintAdded,by=c("simkey","wireless","wakeupfor"))
|
||||
|
||||
# Sender energy
|
||||
senderEnergy=data%>%filter(isSender!=0)%>%group_by(simkey,wireless,wakeupfor)%>%summarise(senderEnergy=mean(energy))
|
||||
receiverEnergy=data%>%filter(isSender==0)%>%group_by(simkey,wireless,wakeupfor)%>%summarise(receiverEnergy=mean(energy))
|
||||
senderEnergy=data%>%filter(isSender!=0)%>%group_by(simkey,wireless,wakeupfor)%>%summarise(senderEnergy=mean(energy),senderEnergy_sd=sd(energy))
|
||||
receiverEnergy=data%>%filter(isSender==0)%>%group_by(simkey,wireless,wakeupfor)%>%summarise(receiverEnergy=mean(energy),receiverEnergy_sd=sd(energy))
|
||||
finalStats=finalStats%>%left_join(senderEnergy,by=c("simkey","wireless","wakeupfor"))
|
||||
finalStats=finalStats%>%left_join(receiverEnergy,by=c("simkey","wireless","wakeupfor"))
|
||||
|
||||
|
@ -32,6 +32,25 @@ receiverUptime=data%>%filter(isSender==0)%>%group_by(simkey,wireless,wakeupfor)%
|
|||
finalStats=finalStats%>%left_join(senderUptime,by=c("simkey","wireless","wakeupfor"))
|
||||
finalStats=finalStats%>%left_join(receiverUptime,by=c("simkey","wireless","wakeupfor"))
|
||||
|
||||
# avgTimedataRcv
|
||||
avgTimeDataRcvData=data%>%filter(timeDataRcv!=-1)%>%group_by(simkey,wireless,wakeupfor)%>%summarise(avgTimeDataRcv=mean(timeDataRcv))
|
||||
finalStats=finalStats%>%left_join(avgTimeDataRcvData,by=c("simkey","wireless","wakeupfor"))
|
||||
|
||||
# Uptime Overhead compare to baseline
|
||||
baseline=finalStats%>%filter(simkey=="baseline")%>%select(senderUptime,receiverUptime,simkey,wireless,wakeupfor)
|
||||
keys=unique(finalStats$simkey)
|
||||
baseline=baseline%>%uncount(length(keys),.id="id")%>%mutate(simkey=keys[id])
|
||||
finalStats=finalStats%>%left_join(baseline,by=c("simkey","wireless","wakeupfor"),suffix = c("","_baseline"))
|
||||
finalStats=finalStats%>%mutate(senderUptimeOverhead=senderUptime-senderUptime_baseline)
|
||||
finalStats=finalStats%>%mutate(receiverUptimeOverhead=receiverUptime-receiverUptime_baseline)
|
||||
|
||||
# Energy Overhead (percent) compare to baseline
|
||||
baseline=finalStats%>%filter(simkey=="baseline")%>%select(senderEnergy,receiverEnergy,simkey,wireless,wakeupfor)
|
||||
baseline=baseline%>%uncount(length(keys),.id="id")%>%mutate(simkey=keys[id])
|
||||
finalStats=finalStats%>%left_join(baseline,by=c("simkey","wireless","wakeupfor"),suffix = c("","_baseline"))
|
||||
finalStats=finalStats%>%mutate(senderEnergyOverheadPercent=r_((senderEnergy-senderEnergy_baseline)/senderEnergy*100))
|
||||
finalStats=finalStats%>%mutate(receiverEnergyOverheadPercent=r_((receiverEnergy-receiverEnergy_baseline)/receiverEnergy*100))
|
||||
|
||||
# Comparison
|
||||
finalStats=finalStats%>%left_join(ccgrid,by=c("simkey","wireless","wakeupfor"),suffix = c("","_ccgrid"))
|
||||
finalStats=finalStats%>%mutate(senderEnergy_err=abs(r_((senderEnergy-senderEnergy_ccgrid)/senderEnergy)*100))
|
||||
|
@ -43,6 +62,12 @@ finalStats=finalStats%>%mutate(receiverUptime_err=abs(r_((receiverUptime-receive
|
|||
sendFail=data%>%filter(node=="on0")%>%group_by(simkey,wireless,wakeupfor)%>%summarise(nSendFail=mean(nSendFail))
|
||||
finalStats=finalStats%>%left_join(sendFail,by=c("simkey","wireless","wakeupfor"))
|
||||
|
||||
# Add nWakeUp to stats
|
||||
nWakeUpRcv=data%>%filter(node!="on0")%>%group_by(simkey,wireless,wakeupfor)%>%summarise(nWakeUpRcv=mean(nWakeUp))
|
||||
finalStats=finalStats%>%left_join(nWakeUpRcv,by=c("simkey","wireless","wakeupfor"))
|
||||
nWakeUpSend=data%>%filter(node=="on0")%>%group_by(simkey,wireless,wakeupfor)%>%summarise(nWakeUpSender=mean(nWakeUp))
|
||||
finalStats=finalStats%>%left_join(nWakeUpSend,by=c("simkey","wireless","wakeupfor"))
|
||||
|
||||
|
||||
ggplot(finalStats,aes(x=simkey,senderEnergy_err,color=wireless,group=wireless))+geom_point()+geom_line()+facet_wrap(~wakeupfor)+xlab("Scenarios") + ylab("Sender Energy Relative Error (%)") + expand_limits(x = 0, y = 0)
|
||||
ggsave("err_sender_energy.png",width=7,height = 5)
|
||||
|
@ -57,7 +82,6 @@ ggplot(finalStats,aes(x=simkey,receiverUptime_err,color=wireless,group=wireless)
|
|||
ggsave("err_rcv_accuptime.png",width=7,height = 5)
|
||||
|
||||
|
||||
stopifnot(1)
|
||||
# Generate plots
|
||||
ggplot(finalEnergy,aes(x=simkey,y=energy,fill=wireless))+
|
||||
geom_bar(stat="identity",position=position_dodge())+
|
||||
|
@ -67,12 +91,11 @@ ggplot(finalEnergy,aes(x=simkey,y=energy,fill=wireless))+
|
|||
geom_text(aes(label = r_(energy+sd), y= energy+sd),vjust=-0.4,position=position_dodge(0.9))+
|
||||
geom_text(aes(label = r_(energy-sd), y= energy-sd),vjust=+1.5,position=position_dodge(0.9))+
|
||||
geom_text(aes(label = r_(energy), y= energy/2),fontface="bold",colour="white",position=position_dodge(0.9))
|
||||
ggsave("energy.png")
|
||||
|
||||
ggsave("energy.png",width=13,height = 6)
|
||||
|
||||
ggplot(finalStats,aes(x=simkey,y=success,fill=wireless))+
|
||||
geom_bar(stat="identity",position=position_dodge())+
|
||||
xlab("Scenarios")+ylab("Energy (J)")+
|
||||
xlab("Scenarios")+ylab("Number of Transmission Success")+
|
||||
geom_errorbar(position=position_dodge(0.9),aes(ymin=success-sd_success, ymax=success+sd_success),width=0.5,size=1.5,) +
|
||||
geom_text(aes(label = r_(success+sd_success), y= success+sd_success),vjust=-0.4,position=position_dodge(0.9))+
|
||||
geom_text(aes(label = r_(success-sd_success), y= success-sd_success),vjust=+1.5,position=position_dodge(0.9))+
|
||||
|
@ -80,6 +103,26 @@ ggplot(finalStats,aes(x=simkey,y=success,fill=wireless))+
|
|||
facet_wrap(~ wakeupfor) +
|
||||
ggsave("success.png")
|
||||
|
||||
ggplot(finalStats,aes(x=simkey,y=avgTimeDataRcv,fill=wireless))+
|
||||
geom_bar(stat="identity",position=position_dodge())+
|
||||
xlab("Scenarios")+ylab("Average Data Received Time")+
|
||||
facet_wrap(~ wakeupfor) +
|
||||
ggsave("avgDataTimeRcv.png")
|
||||
|
||||
ggplot(finalStats,aes(x=simkey,y=nWakeUpRcv,fill=wireless))+
|
||||
geom_bar(stat="identity",position=position_dodge())+
|
||||
xlab("Scenarios")+ylab("Average Number of receiver Wake up")+
|
||||
facet_wrap(~ wakeupfor) +
|
||||
ggsave("nWakeUpRcv.png")
|
||||
|
||||
ggplot(finalStats,aes(x=simkey,y=nWakeUpSender,fill=wireless))+
|
||||
geom_bar(stat="identity",position=position_dodge())+
|
||||
xlab("Scenarios")+ylab("Average Number of sender Wake up")+
|
||||
facet_wrap(~ wakeupfor) +
|
||||
ggsave("nWakeUpSender.png")
|
||||
|
||||
|
||||
|
||||
##### Save tables #####
|
||||
tf="tables-energy.org"
|
||||
write("",file=tf)
|
||||
|
|
BIN
results/avgDataTimeRcv.png
Normal file
After Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 295 KiB After Width: | Height: | Size: 250 KiB |
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 119 KiB |
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 113 KiB |
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
BIN
results/nWakeUpRcv.png
Normal file
After Width: | Height: | Size: 120 KiB |
BIN
results/nWakeUpSender.png
Normal file
After Width: | Height: | Size: 124 KiB |
|
@ -46,7 +46,7 @@ seed=0
|
|||
simtime=86400 # One day
|
||||
wakeupevery=3600
|
||||
wakeupfor=60
|
||||
n_nodes=12
|
||||
n_nodes=13
|
||||
extended="false"
|
||||
hint="false"
|
||||
poff=0
|
||||
|
|
|
@ -20,25 +20,7 @@ run-simulation () {
|
|||
# Init logs
|
||||
[ $gen_log -eq 1 ] && echo -e "* seed=$seed simtime=$simtime wakeupevery=$wakeupevery wakeupfor=$wakeupfor n_nodes=$n_nodes extended=$extended hint=$hint poff=$poff pon=$pon prx=$prx ptx=$ptx datasize=$datasize bitrate=$bitrate \n" >> "${log_file}"
|
||||
|
||||
# Run simulations
|
||||
if [ -e "$results" ]
|
||||
then
|
||||
# Create new result file
|
||||
if [ $gen_log -eq 1 ]
|
||||
then
|
||||
$simulator 2>&1 | tee -a "${log_file}" | $parser | sed 1d | sed "s/$/,${avalues}/" >> "$results"
|
||||
else
|
||||
$simulator 2>&1 | $parser | sed 1d | sed "s/$/,${avalues}/" >> "$results"
|
||||
fi
|
||||
else
|
||||
# Use existing result file
|
||||
if [ $gen_log -eq 1 ]
|
||||
then
|
||||
$simulator 2>&1 | tee -a "${log_file}" | $parser | sed "1 s/$/,${aheaders}/g" | sed "2,\$s/$/,${avalues}/" > "$results"
|
||||
else
|
||||
$simulator 2>&1 | $parser | sed "1 s/$/,${aheaders}/g" | sed "2,\$s/$/,${avalues}/" > "$results"
|
||||
fi
|
||||
fi
|
||||
$simulator 2>&1
|
||||
}
|
||||
|
||||
# Default Parameters
|
||||
|
@ -64,14 +46,6 @@ run-scenarios() {
|
|||
# Configure number of seed per scenarios
|
||||
nseed=1
|
||||
|
||||
# Baseline
|
||||
avalues="baseline,$wireless,$wakeupfor"
|
||||
for seed in $(seq 1 $nseed)
|
||||
do
|
||||
printf "\rBaseline...${seed}"
|
||||
#run-simulation
|
||||
done
|
||||
echo
|
||||
|
||||
# Hint
|
||||
hint="true"
|
||||
|
@ -84,29 +58,7 @@ run-scenarios() {
|
|||
hint="false"
|
||||
echo
|
||||
|
||||
# Extended
|
||||
extended="true"
|
||||
avalues="extended,$wireless,$wakeupfor"
|
||||
for seed in $(seq 1 $nseed)
|
||||
do
|
||||
printf "\rExtended...${seed}"
|
||||
#run-simulation
|
||||
done
|
||||
extended="false"
|
||||
echo
|
||||
|
||||
# Hint+Extended
|
||||
extended="true"
|
||||
hint="true"
|
||||
avalues="hintandextended,$wireless,$wakeupfor"
|
||||
for seed in $(seq 1 $nseed)
|
||||
do
|
||||
printf "\rHint + Extended...${seed}"
|
||||
#run-simulation
|
||||
done
|
||||
extended="false"
|
||||
hint="false"
|
||||
echo
|
||||
}
|
||||
|
||||
# Clean previous runs
|
||||
|
@ -123,7 +75,7 @@ do
|
|||
prx=0.16
|
||||
ptx=0.16
|
||||
latency=0
|
||||
#run-scenarios
|
||||
run-scenarios
|
||||
|
||||
# NbIot
|
||||
echo "----- Run NbIoT (wakeupfor=$wakeupfor) -----"
|
||||
|
@ -133,7 +85,7 @@ do
|
|||
prx=0.65
|
||||
ptx=0.65
|
||||
latency=0.01
|
||||
run-scenarios
|
||||
#run-scenarios
|
||||
done
|
||||
|
||||
echo "Logs: $log_file"
|
80002
results/results.csv
|
@ -1,13 +0,0 @@
|
|||
node,isSender,nSend,nWakeUp,nDataRcv,nSendFail,nRcvFail,totalUptime,seed,hint_added,energy,simkey,wireless,wakeupfor
|
||||
on6,0,0,24,0,0,1428,1440.000000,1,0,584.450000,hint,nbiot,60
|
||||
on9,0,0,24,0,0,1440,1440.000000,1,0,576.000000,hint,nbiot,60
|
||||
on11,0,0,24,0,0,1420,1440.000000,1,0,589.650000,hint,nbiot,60
|
||||
on8,0,0,24,1,0,439,1441.989680,1,0,606.052580,hint,nbiot,60
|
||||
on2,0,0,24,1,0,483,1440.010320,1,0,602.010836,hint,nbiot,60
|
||||
on10,0,0,24,0,0,1440,1440.000000,1,0,576.000000,hint,nbiot,60
|
||||
on5,0,0,24,0,0,1431,1440.000000,1,0,582.500000,hint,nbiot,60
|
||||
on3,0,0,24,0,0,1440,1440.000000,1,0,576.000000,hint,nbiot,60
|
||||
on4,0,0,24,0,0,1440,1440.000000,1,0,576.000000,hint,nbiot,60
|
||||
on1,0,0,24,0,0,1440,1440.000000,1,0,576.000000,hint,nbiot,60
|
||||
on7,0,0,24,1,0,282,1494.979360,1,1,636.160160,hint,nbiot,60
|
||||
on0,1,3,24,0,0,0,1440.000000,1,0,840.550000,hint,nbiot,60
|
|
BIN
results/scheduler/a.png
Normal file
After Width: | Height: | Size: 195 KiB |
14
results/scheduler/analysis.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
wai=$(dirname $(readlink -f "$0")) # Current script directory
|
||||
|
||||
log=$1
|
||||
out=$2
|
||||
|
||||
# Generate csv
|
||||
cat $log | $wai/data.awk > $wai/data.csv
|
||||
cat $log | $wai/hint.awk > $wai/hint.csv
|
||||
cat $log | $wai/hint_fw.awk > $wai/hint_fw.csv
|
||||
|
||||
Rscript $wai/wakeup.R
|
||||
mv $wai/schedule.png $out
|
15
results/scheduler/data.awk
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/awk -f
|
||||
|
||||
BEGIN {
|
||||
RS="\n"
|
||||
FS=" "
|
||||
CSV_HEADER="node,ts"
|
||||
CSV_DATA=""
|
||||
skip=1
|
||||
print(CSV_HEADER)
|
||||
}
|
||||
|
||||
/received data success/ {
|
||||
gsub("]","",$0)
|
||||
print($4","$2)
|
||||
}
|
13
results/scheduler/data.csv
Normal file
|
@ -0,0 +1,13 @@
|
|||
node,ts
|
||||
on10,2638.620640
|
||||
on11,6749.010320
|
||||
on7,6789.030960
|
||||
on12,6829.051600
|
||||
on2,6869.672240
|
||||
on3,7709.010320
|
||||
on5,12961.010320
|
||||
on4,13002.630960
|
||||
on6,20732.010320
|
||||
on9,23145.010320
|
||||
on8,35670.620640
|
||||
on1,42285.010320
|
|
15
results/scheduler/hint.awk
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/awk -f
|
||||
|
||||
BEGIN {
|
||||
RS="\n"
|
||||
FS=" "
|
||||
CSV_HEADER="node,wakets,duration,rcvat"
|
||||
CSV_DATA=""
|
||||
skip=1
|
||||
print(CSV_HEADER)
|
||||
}
|
||||
|
||||
/add a new hint/ {
|
||||
gsub("]","",$0)
|
||||
print($4","$10","$15","$2)
|
||||
}
|
11
results/scheduler/hint.csv
Normal file
|
@ -0,0 +1,11 @@
|
|||
node,wakets,duration,rcvat
|
||||
on10,6709.000000,180.000000,2598.010320
|
||||
on2,6709.000000,180.000000,3632.010000
|
||||
on7,7556.000000,180.000000,6749.020320
|
||||
on2,7556.000000,180.000000,6749.020640
|
||||
on12,7556.000000,180.000000,6789.030960
|
||||
on2,7556.000000,180.000000,6829.061920
|
||||
on5,12921.000000,180.000000,11912.010000
|
||||
on4,12921.000000,180.000000,12029.810000
|
||||
on4,15336.000000,180.000000,12961.020320
|
||||
on8,38215.000000,180.000000,35630.010320
|
|
15
results/scheduler/hint_fw.awk
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/awk -f
|
||||
|
||||
BEGIN {
|
||||
RS="\n"
|
||||
FS=" "
|
||||
CSV_HEADER="node,ts"
|
||||
CSV_DATA=""
|
||||
skip=1
|
||||
print(CSV_HEADER)
|
||||
}
|
||||
|
||||
/forward a hint successfully/ {
|
||||
gsub("]","",$0)
|
||||
print($4","$2)
|
||||
}
|
7
results/scheduler/hint_fw.csv
Normal file
|
@ -0,0 +1,7 @@
|
|||
node,ts
|
||||
on10,3632.010000
|
||||
on11,6749.020320
|
||||
on2,6789.030960
|
||||
on2,11912.010000
|
||||
on2,12029.810000
|
||||
on5,12961.020320
|
|
54358
results/scheduler/j
Normal file
54364
results/scheduler/j2
Normal file
54348
results/scheduler/log.txt
Normal file
45
results/scheduler/wakeup.R
Normal file
|
@ -0,0 +1,45 @@
|
|||
library("tidyverse")
|
||||
library("gridExtra")
|
||||
|
||||
pdf(NULL)
|
||||
|
||||
# Load data
|
||||
data=read_csv("wakeup.csv")
|
||||
yorder=str_sort(unique(data$node),numeric=TRUE)
|
||||
data=data%>%mutate(node=factor(node,levels=yorder))
|
||||
|
||||
# Load hint
|
||||
hint=read_csv("hint.csv")
|
||||
|
||||
# Load hint forward
|
||||
hint_fw=read_csv("hint_fw.csv")
|
||||
|
||||
# Load data
|
||||
data_rcv=read_csv("data.csv")
|
||||
|
||||
|
||||
# Configure axis
|
||||
ts_range=seq(0, 24)*3600
|
||||
ts_labels=ts_range/3600
|
||||
|
||||
# Plot
|
||||
p1=ggplot(data,aes(x=wakets,y=node))+
|
||||
geom_hline(aes(yintercept=node),color="grey",size=3)+
|
||||
geom_vline(data=hint,aes(xintercept=wakets,color="Hint slots"),show.legend = FALSE,linetype="longdash",size=0.3)+
|
||||
geom_linerange(aes(xmin=wakets,xmax=sleepts),size=10)+
|
||||
geom_linerange(data=hint,aes(xmin=wakets,xmax=wakets+duration,color="Hint slots"),size=10)+
|
||||
geom_point(data=data_rcv,aes(x=ts,color="Data received"),shape=18,size=4)+
|
||||
geom_point(data=hint,aes(x=rcvat,color="Hint received"),shape=18,size=3)+
|
||||
geom_point(data=hint_fw,aes(x=ts,color="Hint Forwarded"),shape=18,size=2)+
|
||||
xlab("Time (hours)")+ylab("Node")+
|
||||
scale_x_continuous(breaks = ts_range, labels=ts_labels)+
|
||||
scale_colour_manual(name="Legend",values=c("Hint slots"="blue","Data received"="red","Hint received"="green","Hint Forwarded"="purple"))+
|
||||
theme(panel.grid.major.x = element_line(size = 1.2),panel.grid.major.y = element_blank(),panel.grid.minor = element_blank())
|
||||
|
||||
stats=data%>%group_by(node)%>%summarise(n=n())%>%mutate(n=n-24)
|
||||
|
||||
p2=ggplot(stats,aes(x=node,y=n))+
|
||||
geom_bar(stat="identity")+xlab("Node")+ylab("Extra wake up count")
|
||||
|
||||
p=grid.arrange(p1,p2,heights=c(10,5))
|
||||
ggsave(plot=p,"schedule.png",dpi=300,width = 10,height=10)
|
43
results/scheduler/wakeup.awk
Executable file
|
@ -0,0 +1,43 @@
|
|||
#!/usr/bin/awk -f
|
||||
|
||||
BEGIN {
|
||||
RS="\n"
|
||||
FS=" "
|
||||
CSV_HEADER="node,wakets,sleepts,duration"
|
||||
CSV_DATA=""
|
||||
skip=1
|
||||
}
|
||||
|
||||
/wakes up/{
|
||||
gsub("]","",$0)
|
||||
wakets[$4][length(wakets[$4])+1]=$2
|
||||
skip=0
|
||||
}
|
||||
|
||||
/is sleeping/{
|
||||
gsub("]","",$0)
|
||||
if(!skip){
|
||||
sleepts[$4][length(sleepts[$4])+1]=$2
|
||||
}
|
||||
}
|
||||
|
||||
/LOG2PARSE/{
|
||||
gsub("]","",$0)
|
||||
endts[$6][length(endts[$6])+1]=$2
|
||||
}
|
||||
|
||||
END {
|
||||
print(CSV_HEADER);
|
||||
for(node in wakets){
|
||||
for(j=1;j<=length(wakets[node]);j++){
|
||||
start=wakets[node][j]
|
||||
end=endts[node][1]
|
||||
# Pay attention, the last sleep report for the last wake up is not printed
|
||||
# so use the printed sleep only if available (otherwise we use the en of the simulation)
|
||||
if(j<=length(sleepts[node])){
|
||||
end=sleepts[node][j]
|
||||
}
|
||||
print(node","start","end","end-start)
|
||||
}
|
||||
}
|
||||
}
|
321
results/scheduler/wakeup.csv
Normal file
|
@ -0,0 +1,321 @@
|
|||
node,wakets,sleepts,duration
|
||||
on10,2598.000000,2778.620640,180.621
|
||||
on10,3631.000000,3812.000000,181
|
||||
on10,6709.000000,6890.000000,181
|
||||
on10,7630.000000,7811.000000,181
|
||||
on10,12711.000000,12892.000000,181
|
||||
on10,15161.000000,15341.010320,180.01
|
||||
on10,18515.000000,18696.000000,181
|
||||
on10,22105.000000,22285.000000,180
|
||||
on10,25260.000000,25440.000000,180
|
||||
on10,31065.000000,31245.000000,180
|
||||
on10,34264.000000,34444.000000,180
|
||||
on10,38322.000000,38502.989680,180.99
|
||||
on10,39741.000000,39922.000000,181
|
||||
on10,45097.000000,45277.000000,180
|
||||
on10,47018.000000,47198.000000,180
|
||||
on10,52730.000000,52910.000000,180
|
||||
on10,55140.000000,55320.000000,180
|
||||
on10,57970.000000,58150.000000,180
|
||||
on10,61221.000000,61401.000000,180
|
||||
on10,65896.000000,66076.000000,180
|
||||
on10,68723.000000,68903.000000,180
|
||||
on10,73507.000000,73687.000000,180
|
||||
on10,75985.000000,76165.000000,180
|
||||
on10,81795.000000,81975.000000,180
|
||||
on10,83332.000000,83512.000000,180
|
||||
on2,2225.000000,2405.000000,180
|
||||
on2,3628.000000,3808.010000,180.01
|
||||
on2,6709.000000,6889.672240,180.672
|
||||
on2,7556.000000,7737.000000,181
|
||||
on2,10076.000000,10257.000000,181
|
||||
on2,11911.000000,12092.000000,181
|
||||
on2,14705.000000,14885.000000,180
|
||||
on2,19506.000000,19686.000000,180
|
||||
on2,24215.000000,24395.000000,180
|
||||
on2,26893.000000,27073.000000,180
|
||||
on2,28874.000000,29054.000000,180
|
||||
on2,35152.000000,35332.000000,180
|
||||
on2,38827.000000,39007.000000,180
|
||||
on2,41051.000000,41231.000000,180
|
||||
on2,44551.000000,44731.000000,180
|
||||
on2,48520.000000,48700.000000,180
|
||||
on2,51640.000000,51820.000000,180
|
||||
on2,57059.000000,57239.000000,180
|
||||
on2,58570.000000,58750.000000,180
|
||||
on2,64350.000000,64530.000000,180
|
||||
on2,66903.000000,67083.000000,180
|
||||
on2,69221.000000,69401.000000,180
|
||||
on2,74964.000000,75144.000000,180
|
||||
on2,78822.000000,79002.000000,180
|
||||
on2,81068.000000,81248.000000,180
|
||||
on2,85116.000000,85296.000000,180
|
||||
on11,1158.000000,1338.000000,180
|
||||
on11,6611.000000,6792.000000,181
|
||||
on11,7732.000000,7912.020640,180.021
|
||||
on11,12859.000000,13040.000000,181
|
||||
on11,16425.000000,16605.000000,180
|
||||
on11,19220.000000,19400.000000,180
|
||||
on11,22910.000000,23090.000000,180
|
||||
on11,26222.000000,26402.000000,180
|
||||
on11,30051.000000,30231.989680,180.99
|
||||
on11,35650.000000,35830.630960,180.631
|
||||
on11,36843.000000,37024.000000,181
|
||||
on11,41612.000000,41792.000000,180
|
||||
on11,44874.000000,45054.000000,180
|
||||
on11,48148.000000,48328.000000,180
|
||||
on11,53983.000000,54163.000000,180
|
||||
on11,54339.000000,54519.000000,180
|
||||
on11,60812.000000,60992.000000,180
|
||||
on11,63504.000000,63684.000000,180
|
||||
on11,66790.000000,66970.000000,180
|
||||
on11,71418.000000,71598.000000,180
|
||||
on11,72431.000000,72611.000000,180
|
||||
on11,77829.000000,78009.000000,180
|
||||
on11,79757.000000,79937.000000,180
|
||||
on11,83602.000000,83782.000000,180
|
||||
on3,863.000000,1043.000000,180
|
||||
on3,6928.000000,7108.000000,180
|
||||
on3,7669.000000,7850.000000,181
|
||||
on3,11304.000000,11484.000000,180
|
||||
on3,17457.000000,17637.000000,180
|
||||
on3,18342.000000,18522.000000,180
|
||||
on3,24551.000000,24731.000000,180
|
||||
on3,28391.000000,28571.000000,180
|
||||
on3,29171.000000,29351.000000,180
|
||||
on3,32535.000000,32715.000000,180
|
||||
on3,36702.000000,36882.000000,180
|
||||
on3,41786.000000,41966.000000,180
|
||||
on3,44841.000000,45021.000000,180
|
||||
on3,50117.000000,50297.000000,180
|
||||
on3,50678.000000,50858.000000,180
|
||||
on3,55715.000000,55895.000000,180
|
||||
on3,57977.000000,58157.000000,180
|
||||
on3,62215.000000,62395.000000,180
|
||||
on3,65876.000000,66056.000000,180
|
||||
on3,70128.000000,70308.000000,180
|
||||
on3,74735.000000,74915.000000,180
|
||||
on3,77916.000000,78096.000000,180
|
||||
on3,80387.000000,80567.000000,180
|
||||
on3,82904.000000,83084.000000,180
|
||||
on12,2250.000000,2430.000000,180
|
||||
on12,6763.000000,6944.000000,181
|
||||
on12,7556.000000,7737.000000,181
|
||||
on12,9835.000000,10015.000000,180
|
||||
on12,12467.000000,12647.000000,180
|
||||
on12,17949.000000,18129.000000,180
|
||||
on12,21139.000000,21319.000000,180
|
||||
on12,23799.000000,23979.000000,180
|
||||
on12,26306.000000,26486.000000,180
|
||||
on12,29258.000000,29438.000000,180
|
||||
on12,33040.000000,33220.000000,180
|
||||
on12,37074.000000,37254.000000,180
|
||||
on12,42084.000000,42265.000000,181
|
||||
on12,45060.000000,45241.000000,181
|
||||
on12,47093.000000,47273.000000,180
|
||||
on12,51815.000000,51995.000000,180
|
||||
on12,55020.000000,55200.000000,180
|
||||
on12,61143.000000,61323.000000,180
|
||||
on12,63458.000000,63638.000000,180
|
||||
on12,65742.000000,65922.000000,180
|
||||
on12,70016.000000,70196.000000,180
|
||||
on12,72005.000000,72185.000000,180
|
||||
on12,76524.000000,76704.000000,180
|
||||
on12,82665.000000,82845.000000,180
|
||||
on12,83926.000000,84106.000000,180
|
||||
on4,1866.000000,2046.000000,180
|
||||
on4,6890.000000,7070.000000,180
|
||||
on4,8125.000000,8305.000000,180
|
||||
on4,12029.000000,12209.010000,180.01
|
||||
on4,12921.000000,13101.000000,180
|
||||
on4,15220.000000,15517.000000,297
|
||||
on4,20794.000000,20974.989680,180.99
|
||||
on4,23054.000000,23235.000000,181
|
||||
on4,28394.000000,28574.000000,180
|
||||
on4,29230.000000,29410.000000,180
|
||||
on4,35833.000000,36013.000000,180
|
||||
on4,36097.000000,36277.000000,180
|
||||
on4,43087.000000,43267.000000,180
|
||||
on4,43375.000000,43555.000000,180
|
||||
on4,47757.000000,47937.000000,180
|
||||
on4,53478.000000,53658.000000,180
|
||||
on4,54546.000000,54726.000000,180
|
||||
on4,58693.000000,58873.000000,180
|
||||
on4,62889.000000,63069.000000,180
|
||||
on4,67532.000000,67712.000000,180
|
||||
on4,69043.000000,69223.000000,180
|
||||
on4,73405.000000,73585.000000,180
|
||||
on4,76519.000000,76699.000000,180
|
||||
on4,81559.000000,81739.000000,180
|
||||
on4,86093.000000,86273.000000,180
|
||||
on5,1934.000000,2114.000000,180
|
||||
on5,4944.000000,5124.000000,180
|
||||
on5,8620.000000,8800.000000,180
|
||||
on5,11869.000000,12049.300000,180.3
|
||||
on5,12921.000000,13102.000000,181
|
||||
on5,15969.000000,16149.000000,180
|
||||
on5,18516.000000,18696.000000,180
|
||||
on5,24283.000000,24463.000000,180
|
||||
on5,28635.000000,28815.000000,180
|
||||
on5,30516.000000,30696.000000,180
|
||||
on5,32408.000000,32588.000000,180
|
||||
on5,38574.000000,38754.000000,180
|
||||
on5,42136.000000,42317.000000,181
|
||||
on5,43911.000000,44091.000000,180
|
||||
on5,48737.000000,48917.000000,180
|
||||
on5,50438.000000,50618.000000,180
|
||||
on5,55141.000000,55321.000000,180
|
||||
on5,59370.000000,59550.000000,180
|
||||
on5,62845.000000,63025.000000,180
|
||||
on5,67338.000000,67518.000000,180
|
||||
on5,71855.000000,72035.000000,180
|
||||
on5,74603.000000,74783.000000,180
|
||||
on5,79125.000000,79305.000000,180
|
||||
on5,79600.000000,79780.000000,180
|
||||
on5,84405.000000,84585.000000,180
|
||||
on6,1613.000000,1793.000000,180
|
||||
on6,4641.000000,4821.000000,180
|
||||
on6,9448.000000,9628.000000,180
|
||||
on6,11727.000000,11907.000000,180
|
||||
on6,17870.000000,18050.000000,180
|
||||
on6,20516.000000,20732.010320,216.01
|
||||
on6,23729.000000,23909.000000,180
|
||||
on6,28514.000000,28694.000000,180
|
||||
on6,30569.000000,30749.000000,180
|
||||
on6,33859.000000,34039.000000,180
|
||||
on6,36782.000000,36962.000000,180
|
||||
on6,42939.000000,43119.000000,180
|
||||
on6,45175.000000,45355.000000,180
|
||||
on6,48174.000000,48354.000000,180
|
||||
on6,51482.000000,51662.000000,180
|
||||
on6,55600.000000,55780.000000,180
|
||||
on6,60492.000000,60672.000000,180
|
||||
on6,61255.000000,61435.000000,180
|
||||
on6,66846.000000,67026.000000,180
|
||||
on6,68402.000000,68582.000000,180
|
||||
on6,75503.000000,75683.000000,180
|
||||
on6,77684.000000,77864.000000,180
|
||||
on6,81854.000000,82034.000000,180
|
||||
on6,85982.000000,86162.000000,180
|
||||
on7,129.000000,309.000000,180
|
||||
on7,6701.000000,6882.000000,181
|
||||
on7,7556.000000,7737.000000,181
|
||||
on7,10236.000000,10416.000000,180
|
||||
on7,11441.000000,11622.000000,181
|
||||
on7,17425.000000,17605.000000,180
|
||||
on7,19345.000000,19525.000000,180
|
||||
on7,23846.000000,24026.000000,180
|
||||
on7,27747.000000,27927.000000,180
|
||||
on7,29095.000000,29275.000000,180
|
||||
on7,34803.000000,34983.000000,180
|
||||
on7,37383.000000,37563.000000,180
|
||||
on7,39764.000000,39944.000000,180
|
||||
on7,46029.000000,46209.000000,180
|
||||
on7,48222.000000,48402.000000,180
|
||||
on7,53878.000000,54058.000000,180
|
||||
on7,56507.000000,56687.000000,180
|
||||
on7,60481.000000,60661.000000,180
|
||||
on7,63369.000000,63549.000000,180
|
||||
on7,67045.000000,67225.000000,180
|
||||
on7,71165.000000,71345.000000,180
|
||||
on7,75544.000000,75724.000000,180
|
||||
on7,76837.000000,77017.000000,180
|
||||
on7,79965.000000,80145.000000,180
|
||||
on7,85635.000000,85815.000000,180
|
||||
on8,2802.000000,2982.000000,180
|
||||
on8,6411.000000,6591.000000,180
|
||||
on8,7947.000000,8127.000000,180
|
||||
on8,13504.000000,13684.000000,180
|
||||
on8,17204.000000,17384.000000,180
|
||||
on8,19310.000000,19490.000000,180
|
||||
on8,23885.000000,24065.000000,180
|
||||
on8,28133.000000,28313.000000,180
|
||||
on8,29610.000000,29790.000000,180
|
||||
on8,35630.000000,35811.000000,181
|
||||
on8,38215.000000,38396.000000,181
|
||||
on8,39574.000000,39754.000000,180
|
||||
on8,41344.000000,41524.000000,180
|
||||
on8,44174.000000,44354.000000,180
|
||||
on8,46928.000000,47108.000000,180
|
||||
on8,51090.000000,51270.000000,180
|
||||
on8,56779.000000,56959.000000,180
|
||||
on8,58041.000000,58221.000000,180
|
||||
on8,64783.000000,64963.000000,180
|
||||
on8,67744.000000,67924.000000,180
|
||||
on8,69579.000000,69759.000000,180
|
||||
on8,73404.000000,73584.000000,180
|
||||
on8,76330.000000,76510.000000,180
|
||||
on8,79285.000000,79465.000000,180
|
||||
on8,84994.000000,85174.000000,180
|
||||
on9,2900.000000,3080.000000,180
|
||||
on9,3840.000000,4020.000000,180
|
||||
on9,8559.000000,8739.000000,180
|
||||
on9,11552.000000,11732.000000,180
|
||||
on9,15877.000000,16057.000000,180
|
||||
on9,20124.000000,20304.000000,180
|
||||
on9,23096.000000,23276.010320,180.01
|
||||
on9,25878.000000,26058.000000,180
|
||||
on9,31644.000000,31824.000000,180
|
||||
on9,34643.000000,34823.000000,180
|
||||
on9,37292.000000,37472.000000,180
|
||||
on9,41647.000000,41827.000000,180
|
||||
on9,46753.000000,46933.000000,180
|
||||
on9,48286.000000,48466.000000,180
|
||||
on9,53290.000000,53470.000000,180
|
||||
on9,54762.000000,54942.000000,180
|
||||
on9,58716.000000,58896.000000,180
|
||||
on9,64063.000000,64243.000000,180
|
||||
on9,67306.000000,67486.000000,180
|
||||
on9,72000.000000,72180.000000,180
|
||||
on9,72901.000000,73081.000000,180
|
||||
on9,76705.000000,76885.000000,180
|
||||
on9,81979.000000,82159.000000,180
|
||||
on9,85652.000000,85832.000000,180
|
||||
on0,2593.000000,2773.000000,180
|
||||
on0,6709.000000,6889.000000,180
|
||||
on0,7556.000000,7736.000000,180
|
||||
on0,12921.000000,13101.000000,180
|
||||
on0,15336.000000,15516.000000,180
|
||||
on0,20692.000000,20872.000000,180
|
||||
on0,23105.000000,23285.000000,180
|
||||
on0,27274.000000,27454.000000,180
|
||||
on0,29996.000000,30176.000000,180
|
||||
on0,35538.000000,35718.000000,180
|
||||
on0,38215.000000,38395.000000,180
|
||||
on0,42103.000000,42285.010320,182.01
|
||||
on0,46183.000000,46363.000000,180
|
||||
on0,47289.000000,47469.000000,180
|
||||
on0,50759.000000,50939.000000,180
|
||||
on0,55720.000000,55900.000000,180
|
||||
on0,60407.000000,60587.000000,180
|
||||
on0,63697.000000,63877.000000,180
|
||||
on0,64955.000000,65135.000000,180
|
||||
on0,68828.000000,69008.000000,180
|
||||
on0,72977.000000,73157.000000,180
|
||||
on0,75876.000000,76056.000000,180
|
||||
on0,79921.000000,80101.000000,180
|
||||
on0,84304.000000,84484.000000,180
|
||||
on1,1388.000000,1568.000000,180
|
||||
on1,4259.000000,4439.000000,180
|
||||
on1,7336.000000,7516.000000,180
|
||||
on1,14025.000000,14205.000000,180
|
||||
on1,15777.000000,15957.000000,180
|
||||
on1,18690.000000,18870.000000,180
|
||||
on1,24094.000000,24274.000000,180
|
||||
on1,27080.000000,27260.000000,180
|
||||
on1,28998.000000,29178.000000,180
|
||||
on1,35250.000000,35430.000000,180
|
||||
on1,37910.000000,38090.000000,180
|
||||
on1,42245.000000,42425.010320,180.01
|
||||
on1,45142.000000,45323.000000,181
|
||||
on1,50215.000000,50395.000000,180
|
||||
on1,51518.000000,51698.000000,180
|
||||
on1,55047.000000,55227.000000,180
|
||||
on1,60552.000000,60732.000000,180
|
||||
on1,62442.000000,62622.000000,180
|
||||
on1,66260.000000,66440.000000,180
|
||||
on1,68644.000000,68824.000000,180
|
||||
on1,73731.000000,73911.000000,180
|
||||
on1,77419.000000,77599.000000,180
|
||||
on1,81164.000000,81344.000000,180
|
||||
on1,83737.000000,83917.000000,180
|
|
Before Width: | Height: | Size: 220 KiB After Width: | Height: | Size: 220 KiB |
|
@ -1,33 +1,33 @@
|
|||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|---------:|--------:|
|
||||
|baseline |lora | 60| 16.33402| 585.4111|
|
||||
|extended |lora | 60| 112.39053| 644.3322|
|
||||
|hint |lora | 60| 22.56875| 590.1444|
|
||||
|hintandextended |lora | 60| 123.70498| 654.4311|
|
||||
|baseline |lora | 60| 12.08547| 583.8016|
|
||||
|extended |lora | 60| 115.69712| 643.3609|
|
||||
|hint |lora | 60| 19.98529| 588.8910|
|
||||
|hintandextended |lora | 60| 122.76077| 652.4087|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|--------:|--------:|
|
||||
|baseline |nbiot | 60| 60.62894| 609.8450|
|
||||
|extended |nbiot | 60| 58.92077| 608.2217|
|
||||
|hint |nbiot | 60| 91.72314| 633.2152|
|
||||
|hintandextended |nbiot | 60| 92.83686| 631.2778|
|
||||
|baseline |nbiot | 60| 40.35285| 602.7284|
|
||||
|extended |nbiot | 60| 49.89496| 604.8062|
|
||||
|hint |nbiot | 60| 62.56728| 622.7394|
|
||||
|hintandextended |nbiot | 60| 60.60395| 622.9200|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|---------:|--------:|
|
||||
|baseline |lora | 180| 98.67312| 1792.831|
|
||||
|extended |lora | 180| 116.10499| 1798.595|
|
||||
|hint |lora | 180| 195.63195| 2030.565|
|
||||
|hintandextended |lora | 180| 158.38142| 1907.159|
|
||||
|baseline |lora | 180| 76.10034| 1784.001|
|
||||
|extended |lora | 180| 120.81175| 1798.744|
|
||||
|hint |lora | 180| 221.13014| 2071.106|
|
||||
|hintandextended |lora | 180| 144.56696| 1912.820|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|--------:|--------:|
|
||||
|baseline |nbiot | 180| 233.8910| 1834.046|
|
||||
|extended |nbiot | 180| 198.1495| 1810.336|
|
||||
|hint |nbiot | 180| 346.7823| 2078.100|
|
||||
|hintandextended |nbiot | 180| 343.5100| 2056.359|
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|---------:|--------:|
|
||||
|baseline |nbiot | 180| 82.67308| 1786.374|
|
||||
|extended |nbiot | 180| 73.09319| 1772.271|
|
||||
|hint |nbiot | 180| 210.98239| 2045.656|
|
||||
|hintandextended |nbiot | 180| 203.59603| 2018.582|
|
||||
|
||||
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| receiverEnergy| senderUptime| receiverUptime| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|--------------:|------------:|--------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|
|
||||
|baseline |lora | 60| 0.000000| 0.000| 632.3280| 581.1460| 1440.000| 1439.923| 0.0| 0.0| 619.73| 579.84| 1440.00| 1440.00| 2| 0| 0| 0| 0|
|
||||
|extended |lora | 60| 1.505359| 5.735| 982.8520| 613.5576| 2090.090| 1500.527| 2.0| 7.7| 1207.61| 627.35| 2564.53| 1523.52| -23| -2| -23| -2| 0|
|
||||
|hint |lora | 60| 0.000000| 0.000| 641.9022| 585.4391| 1440.000| 1449.476| 0.0| 0.0| 753.42| 957.64| 1440.00| 2354.94| -17| -64| 0| -62| 0|
|
||||
|hintandextended |lora | 60| 1.635282| 6.185| 1027.2315| 620.5401| 2129.752| 1513.171| 2.2| 9.8| 1397.98| 663.58| 2904.50| 1602.39| -36| -7| -36| -6| 0|
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderUptime| receiverUptime| avgTimeDataRcv| senderUptime_baseline| receiverUptime_baseline| id| senderUptimeOverhead| receiverUptimeOverhead| senderEnergy_baseline| receiverEnergy_baseline| id_baseline| senderEnergyOverheadPercent| receiverEnergyOverheadPercent| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail| nWakeUpRcv| nWakeUpSender|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|---------------:|--------------:|-----------------:|------------:|--------------:|--------------:|---------------------:|-----------------------:|--:|--------------------:|----------------------:|---------------------:|-----------------------:|-----------:|---------------------------:|-----------------------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|----------:|-------------:|
|
||||
|baseline |lora | 60| 0.000000| 0.000| 617.1992| 13.92286| 581.0185| 6.43567| 1440.000| 1439.928| NA| 1440| 1439.928| 1| 0.0000| 0.00000| 617.1992| 581.0185| 1| 0.00| 0.00| 0.0| 0.0| 619.73| 579.84| 1440.00| 1440.00| 0| 0| 0| 0| 0| 23.99625| 24|
|
||||
|extended |lora | 60| 1.539880| 6.125| 1009.7080| 112.14261| 612.8320| 36.56959| 2132.270| 1499.413| 39764.48| 1440| 1439.928| 2| 692.2700| 59.48542| 617.1992| 581.0185| 2| 38.87| 5.19| 2.0| 7.7| 1207.61| 627.35| 2564.53| 1523.52| 20| 2| 20| 2| 0| 23.99625| 24|
|
||||
|hint |lora | 60| 0.000000| 0.000| 628.2949| 19.46385| 585.6074| 16.15719| 1440.000| 1450.278| NA| 1440| 1439.928| 3| 0.0000| 10.34992| 617.1992| 581.0185| 3| 1.77| 0.78| 0.0| 0.0| 753.42| 957.64| 1440.00| 2354.94| 20| 64| 0| 62| 0| 24.16542| 24|
|
||||
|hintandextended |lora | 60| 1.639455| 6.625| 1040.5143| 116.74540| 620.0665| 39.90174| 2177.281| 1512.382| 39160.28| 1440| 1439.928| 4| 737.2809| 72.45389| 617.1992| 581.0185| 4| 40.68| 6.30| 2.2| 9.8| 1397.98| 663.58| 2904.50| 1602.39| 34| 7| 33| 6| 0| 24.14500| 24|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| receiverEnergy| senderUptime| receiverUptime| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|--------------:|------------:|--------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|
|
||||
|baseline |nbiot | 60| 1.291633| 2.255| 787.9910| 593.6499| 1440.000| 1439.923| 1.12| 1.27| 749.69| 591.07| 1440.00| 1440.00| 5| 0| 0| 0| 0|
|
||||
|extended |nbiot | 60| 1.585075| 6.010| 789.8257| 591.7123| 1482.840| 1443.758| 1.80| 7.16| 946.39| 599.13| 1788.32| 1447.54| -20| -1| -21| 0| 0|
|
||||
|hint |nbiot | 60| 2.356878| 4.230| 881.7522| 610.6209| 1440.000| 1462.637| 3.45| 9.72| 1007.06| 702.59| 1440.00| 1666.51| -14| -15| 0| -14| 0|
|
||||
|hintandextended |nbiot | 60| 1.824016| 6.860| 907.3576| 606.1796| 1484.538| 1459.460| 2.36| 9.41| 1066.66| 623.30| 1901.47| 1492.53| -18| -3| -28| -2| 0|
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderUptime| receiverUptime| avgTimeDataRcv| senderUptime_baseline| receiverUptime_baseline| id| senderUptimeOverhead| receiverUptimeOverhead| senderEnergy_baseline| receiverEnergy_baseline| id_baseline| senderEnergyOverheadPercent| receiverEnergyOverheadPercent| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail| nWakeUpRcv| nWakeUpSender|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|---------------:|--------------:|-----------------:|------------:|--------------:|--------------:|---------------------:|-----------------------:|--:|--------------------:|----------------------:|---------------------:|-----------------------:|-----------:|---------------------------:|-----------------------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|----------:|-------------:|
|
||||
|baseline |nbiot | 60| 1.326565| 2.405| 716.2964| 43.43334| 593.2644| 21.04193| 1440.000| 1439.928| 41794.55| 1440| 1439.928| 1| 0.00000| 0.000000| 716.2964| 593.2644| 1| 0.00| 0.00| 1.12| 1.27| 749.69| 591.07| 1440.00| 1440.00| 5| 0| 0| 0| 0| 23.99625| 24|
|
||||
|extended |nbiot | 60| 1.635013| 6.490| 763.3750| 49.83593| 591.5921| 14.83692| 1486.482| 1443.817| 38750.19| 1440| 1439.928| 2| 46.48215| 3.889388| 716.2964| 593.2644| 2| 6.17| -0.28| 1.80| 7.16| 946.39| 599.13| 1788.32| 1447.54| 24| 1| 20| 0| 0| 23.99625| 24|
|
||||
|hint |nbiot | 60| 2.428676| 4.605| 766.0904| 72.31226| 610.7935| 44.17384| 1440.000| 1463.261| 41424.25| 1440| 1439.928| 3| 0.00000| 23.333204| 716.2964| 593.2644| 3| 6.50| 2.87| 3.45| 9.72| 1007.06| 702.59| 1440.00| 1666.51| 31| 15| 0| 14| 0| 24.37250| 24|
|
||||
|hintandextended |nbiot | 60| 1.879164| 7.580| 790.4368| 54.84866| 608.9603| 34.56977| 1483.177| 1462.101| 37225.93| 1440| 1439.928| 4| 43.17667| 22.172950| 716.2964| 593.2644| 4| 9.38| 2.58| 2.36| 9.41| 1066.66| 623.30| 1901.47| 1492.53| 35| 2| 28| 2| 0| 24.29042| 24|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| receiverEnergy| senderUptime| receiverUptime| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|--------------:|------------:|--------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|
|
||||
|baseline |lora | 180| 1.255250| 1.835| 2101.411| 1764.778| 4319.945| 4317.934| 1.40| 1.91| 2026.23| 1755.92| 4320.00| 4320.00| 4| 1| 0| 0| 0|
|
||||
|extended |lora | 180| 1.104752| 9.825| 2168.013| 1765.011| 4761.910| 4355.365| 0.70| 11.45| 2692.46| 1772.35| 6038.78| 4364.27| -24| 0| -27| 0| 0|
|
||||
|hint |lora | 180| 1.522858| 10.050| 2195.374| 2015.582| 4319.945| 4832.081| 0.00| 12.00| 2094.09| 2169.50| 4320.00| 5344.86| 5| -8| 0| -11| 0|
|
||||
|hintandextended |lora | 180| 0.562456| 10.735| 2318.551| 1869.760| 4791.917| 4543.989| 0.24| 11.94| 2757.79| 1867.34| 6155.50| 4600.09| -19| 0| -28| -1| 0|
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderUptime| receiverUptime| avgTimeDataRcv| senderUptime_baseline| receiverUptime_baseline| id| senderUptimeOverhead| receiverUptimeOverhead| senderEnergy_baseline| receiverEnergy_baseline| id_baseline| senderEnergyOverheadPercent| receiverEnergyOverheadPercent| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail| nWakeUpRcv| nWakeUpSender|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|---------------:|--------------:|-----------------:|------------:|--------------:|--------------:|---------------------:|-----------------------:|--:|--------------------:|----------------------:|---------------------:|-----------------------:|-----------:|---------------------------:|-----------------------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|----------:|-------------:|
|
||||
|baseline |lora | 180| 1.2632315| 1.915| 2024.816| 51.29690| 1763.933| 28.60502| 4319.945| 4317.908| 42122.74| 4319.945| 4317.908| 1| 0.0000| 0.00000| 2024.816| 1763.933| 1| 0.00| 0.00| 1.40| 1.91| 2026.23| 1755.92| 4320.00| 4320.00| 0| 0| 0| 0| 0| 23.96708| 23.99|
|
||||
|extended |lora | 180| 1.1395031| 10.695| 2200.902| 86.90754| 1765.231| 24.06196| 4817.775| 4356.038| 29727.01| 4319.945| 4317.908| 2| 497.8300| 38.13042| 2024.816| 1763.933| 2| 8.00| 0.07| 0.70| 11.45| 2692.46| 1772.35| 6038.78| 4364.27| 22| 0| 25| 0| 0| 23.96708| 23.99|
|
||||
|hint |lora | 180| 1.3531928| 11.055| 2133.820| 50.32577| 2065.879| 228.93189| 4319.945| 4932.097| 38450.82| 4319.945| 4317.908| 3| 0.0000| 614.18917| 2024.816| 1763.933| 3| 5.11| 14.62| 0.00| 12.00| 2094.09| 2169.50| 4320.00| 5344.86| 2| 5| 0| 8| 0| 27.20625| 23.99|
|
||||
|hintandextended |lora | 180| 0.5207021| 11.765| 2251.250| 70.23605| 1884.618| 109.03452| 4875.151| 4569.616| 21068.30| 4319.945| 4317.908| 4| 555.2062| 251.70799| 2024.816| 1763.933| 4| 10.06| 6.40| 0.24| 11.94| 2757.79| 1867.34| 6155.50| 4600.09| 23| 1| 26| 1| 0| 25.06333| 23.99|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| receiverEnergy| senderUptime| receiverUptime| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|--------------:|------------:|--------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|
|
||||
|baseline |nbiot | 180| 1.2720418| 9.200| 2582.264| 1766.027| 4319.945| 4317.934| 1.33| 9.90| 2117.65| 1761.78| 4320.00| 4320.00| 18| 0| 0| 0| 0|
|
||||
|extended |nbiot | 180| 1.0582887| 9.975| 2456.997| 1751.549| 4343.803| 4319.913| 0.87| 11.23| 2311.52| 1760.92| 4868.78| 4323.71| 6| -1| -12| 0| 0|
|
||||
|hint |nbiot | 180| 0.6046512| 10.715| 2971.540| 1996.878| 4319.945| 4501.213| 0.37| 11.92| 2180.07| 1868.54| 4320.00| 4576.83| 27| 6| 0| -2| 0|
|
||||
|hintandextended |nbiot | 180| 0.5713204| 10.735| 2949.652| 1975.150| 4334.482| 4482.790| 0.41| 11.88| 2151.14| 1822.44| 4906.10| 4473.32| 27| 8| -13| 0| 0|
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderUptime| receiverUptime| avgTimeDataRcv| senderUptime_baseline| receiverUptime_baseline| id| senderUptimeOverhead| receiverUptimeOverhead| senderEnergy_baseline| receiverEnergy_baseline| id_baseline| senderEnergyOverheadPercent| receiverEnergyOverheadPercent| sd_success_ccgrid| success_ccgrid| senderEnergy_ccgrid| receiverEnergy_ccgrid| senderUptime_ccgrid| receiverUptime_ccgrid| senderEnergy_err| receiverEnergy_err| senderUptime_err| receiverUptime_err| nSendFail| nWakeUpRcv| nWakeUpSender|
|
||||
|:---------------|:--------|---------:|----------:|-------:|------------:|---------------:|--------------:|-----------------:|------------:|--------------:|--------------:|---------------------:|-----------------------:|--:|--------------------:|----------------------:|---------------------:|-----------------------:|-----------:|---------------------------:|-----------------------------:|-----------------:|--------------:|-------------------:|---------------------:|-------------------:|---------------------:|----------------:|------------------:|----------------:|------------------:|---------:|----------:|-------------:|
|
||||
|baseline |nbiot | 180| 1.3010915| 10.025| 2029.482| 39.95947| 1766.115| 43.982210| 4319.945| 4317.908| 30213.49| 4319.945| 4317.908| 1| 0.00000| 0.0000| 2029.482| 1766.115| 1| 0.00| 0.00| 1.33| 9.90| 2117.65| 1761.78| 4320.00| 4320.00| 4| 0| 0| 0| 0| 23.96708| 23.99|
|
||||
|extended |nbiot | 180| 1.1007535| 10.880| 2021.314| 32.59292| 1751.517| 9.914506| 4345.909| 4319.845| 27126.21| 4319.945| 4317.908| 2| 25.96430| 1.9374| 2029.482| 1766.115| 2| -0.40| -0.83| 0.87| 11.23| 2311.52| 1760.92| 4868.78| 4323.71| 14| 1| 12| 0| 0| 23.96708| 23.99|
|
||||
|hint |nbiot | 180| 0.4927617| 11.780| 2053.867| 21.19100| 2044.972| 219.502254| 4319.945| 4527.499| 20936.63| 4319.945| 4317.908| 3| 0.00000| 209.5909| 2029.482| 1766.115| 3| 1.19| 13.64| 0.37| 11.92| 2180.07| 1868.54| 4320.00| 4576.83| 6| 9| 0| 1| 0| 25.07833| 23.99|
|
||||
|hintandextended |nbiot | 180| 0.4580656| 11.785| 2040.722| 14.09534| 2016.737| 211.769483| 4335.303| 4504.253| 19100.67| 4319.945| 4317.908| 4| 15.35839| 186.3448| 2029.482| 1766.115| 4| 0.55| 12.43| 0.41| 11.88| 2151.14| 1822.44| 4906.10| 4473.32| 5| 10| 13| 1| 0| 24.94875| 23.99|
|
||||
|
||||
|
||||
|
|
|
@ -18,6 +18,11 @@
|
|||
#define CLOCK (simgrid::s4u::Engine::get_clock())
|
||||
#define CNAME (selfName.c_str())
|
||||
#define FOR(t) (t<uptime?t:uptime)
|
||||
#define ADD_EVENT(HINT) \
|
||||
{ \
|
||||
XBT_INFO("%s add a new hint at %f for a duration of %f",CNAME,HINT->hint,HINT->duration); \
|
||||
i.AddEvent(HINT->hint, HINT->duration); \
|
||||
}
|
||||
#define TRACK_UPTIME(instruction) \
|
||||
{ \
|
||||
double uptimeTrack=CLOCK; \
|
||||
|
@ -44,6 +49,7 @@
|
|||
simgrid::s4u::Mailbox *m_ded= simgrid::s4u::Mailbox::by_name(hint_forward->DedicatedMailbox); \
|
||||
MODE_TX(); \
|
||||
SEND(m_ded->put(hint_forward,0,uptime)); \
|
||||
XBT_INFO("%s forward a hint successfully",CNAME); \
|
||||
} \
|
||||
catch(...){ \
|
||||
XBT_INFO("%s fail to forward a hint",CNAME); \
|
||||
|
@ -134,6 +140,7 @@ static void obs_node(std::vector<std::string> args) {
|
|||
Payload *hint_forward=NULL; // Contains the hint to forward
|
||||
bool is_sender=i.is_sender; // This variable might change if all receiver have received the data
|
||||
bool isObserver=false;
|
||||
double timeDataRcv=-1;
|
||||
while(i.ShouldContinue()){
|
||||
// Start by sleeping
|
||||
XBT_INFO("%s is sleeping",CNAME);
|
||||
|
@ -166,6 +173,7 @@ static void obs_node(std::vector<std::string> args) {
|
|||
simgrid::s4u::Mailbox *m_ded= simgrid::s4u::Mailbox::by_name(p->DedicatedMailbox);
|
||||
MODE_TX();
|
||||
SEND(m_ded->put(p,p->DataSize,uptime)); // Send the actual hint
|
||||
MODE_ON();
|
||||
XBT_INFO("%s sent a hint successfully",CNAME);
|
||||
}
|
||||
catch(...){}
|
||||
|
@ -209,6 +217,7 @@ static void obs_node(std::vector<std::string> args) {
|
|||
catch(...){}
|
||||
}
|
||||
sendhint_mode=!sendhint_mode; // Switch back and forth between sending hint and data
|
||||
MODE_ON();
|
||||
}
|
||||
// ---------- RECEIVER ----------
|
||||
else if(!isObserver){
|
||||
|
@ -235,7 +244,7 @@ static void obs_node(std::vector<std::string> args) {
|
|||
MODE_ON();
|
||||
XBT_INFO("%s received a forwarded hint successfully",CNAME);
|
||||
if(CLOCK < p->hint){
|
||||
i.AddEvent(p->hint, p->duration);
|
||||
ADD_EVENT(p);
|
||||
hint_forward=new Payload(*p);
|
||||
hint_added++;
|
||||
}
|
||||
|
@ -250,7 +259,7 @@ static void obs_node(std::vector<std::string> args) {
|
|||
XBT_INFO("%s received a hint successfully",CNAME);
|
||||
hint_forward=new Payload(*p); // Enable hint forwarding
|
||||
if(CLOCK < p->hint){
|
||||
i.AddEvent(p->hint, p->duration);
|
||||
ADD_EVENT(p);
|
||||
hint_forward=new Payload(*p);
|
||||
hint_added++;
|
||||
}
|
||||
|
@ -268,6 +277,7 @@ static void obs_node(std::vector<std::string> args) {
|
|||
p=m_ded->get<Payload>(uptime); // Fetch data until sended or uptime expire
|
||||
// If we reach here, data has been received successfully
|
||||
XBT_INFO("%s received data successfully",CNAME);
|
||||
timeDataRcv=CLOCK;
|
||||
if(p->HasHint){
|
||||
XBT_INFO("%s received a hint along with data successfully",CNAME);
|
||||
hint_forward=new Payload(*p); // Enable hint forwarding
|
||||
|
@ -337,5 +347,5 @@ static void obs_node(std::vector<std::string> args) {
|
|||
}
|
||||
// Done
|
||||
MODE_OFF()
|
||||
XBT_INFO("Observation node %s finished [LOG2PARSE](node:%s|isSender:%d|nSend:%d|nWakeUp:%d|nDataRcv:%d|nSendFail:%d|nRcvFail:%d|totalUptime:%f|seed:%d|hint_added:%d)",CNAME,CNAME,i.is_sender,nSend,nWakeUp,nDataRcv,nSendFail,nRcvFail,totalUptime,i.seed,hint_added);
|
||||
XBT_INFO("Observation node %s finished [LOG2PARSE](node:%s|isSender:%d|nSend:%d|nWakeUp:%d|nDataRcv:%d|nSendFail:%d|nRcvFail:%d|totalUptime:%f|seed:%d|hint_added:%d|timeDataRcv:%f)",CNAME,CNAME,i.is_sender,nSend,nWakeUp,nDataRcv,nSendFail,nRcvFail,totalUptime,i.seed,hint_added,timeDataRcv);
|
||||
}
|