Debug simulator
Before Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 188 KiB |
Before Width: | Height: | Size: 252 KiB |
Before Width: | Height: | Size: 119 KiB |
Before Width: | Height: | Size: 115 KiB |
Before Width: | Height: | Size: 160 KiB |
Before Width: | Height: | Size: 136 KiB |
Before Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 80 KiB |
|
@ -12,7 +12,7 @@ results="${wai}/results.csv"
|
|||
aheaders="simkey,wireless,wakeupfor"
|
||||
avalues="none,none,none"
|
||||
log_file="${wai}/logs/$(date +%s).org" && mkdir -p "${wai}/logs/"
|
||||
gen_log=1 # Should we generate logs ?
|
||||
gen_log=0 # Should we generate logs ?
|
||||
|
||||
run-simulation () {
|
||||
# Generate inputs
|
||||
|
@ -51,18 +51,18 @@ prx=0.16
|
|||
ptx=0.16
|
||||
datasize=1000000 # 1Mb
|
||||
hintsize=8 # Integer
|
||||
hintdist=$wakeupevery # Hint distance while using farhint
|
||||
hintdist=10800 # Hint distance while using farhint
|
||||
latency=0 # in Seconds
|
||||
shutdown_on_rcv="false"
|
||||
unschedule_on_rcv="false"
|
||||
farhint="false"
|
||||
farhint="true"
|
||||
bitrate="100kbps"
|
||||
|
||||
|
||||
|
||||
run-scenarios() {
|
||||
# Configure number of seed per scenarios
|
||||
nseed=1
|
||||
nseed=200
|
||||
|
||||
# Baseline
|
||||
avalues="baseline,$wireless,$wakeupfor"
|
||||
|
|
41834
results/results.csv
|
@ -3,11 +3,11 @@ on8,4398.000320
|
|||
on10,8258.000320
|
||||
on6,8299.600960
|
||||
on4,11766.000320
|
||||
on5,16301.000640
|
||||
on1,18165.000320
|
||||
on2,18205.000960
|
||||
on12,18289.600640
|
||||
on11,18340.600640
|
||||
on1,16300.000320
|
||||
on2,16340.000960
|
||||
on3,18165.000320
|
||||
on11,18206.600960
|
||||
on12,18290.600320
|
||||
on7,22575.000320
|
||||
on9,25587.000320
|
||||
on3,29232.000320
|
||||
on9,29140.000320
|
||||
on5,29180.000960
|
||||
|
|
|
|
@ -1,18 +1,18 @@
|
|||
node,wakets,duration,rcvat
|
||||
on4,8218.000000,180.000000,4398.000320
|
||||
on4,16260.000000,180.000000,4398.000320
|
||||
on4,8218.000000,180.000000,4398.000640
|
||||
on6,11726.000000,180.000000,8258.000320
|
||||
on6,22535.000000,180.000000,8258.000320
|
||||
on4,11726.000000,180.000000,8258.000640
|
||||
on2,16260.000000,180.000000,11906.000640
|
||||
on7,16260.000000,180.000000,12051.000640
|
||||
on5,16260.000000,180.000000,12200.800640
|
||||
on1,16260.000000,180.000000,16208.200000
|
||||
on2,18125.000000,180.000000,16261.000320
|
||||
on1,18125.000000,180.000000,16301.000960
|
||||
on7,18125.000000,180.000000,16301.000960
|
||||
on2,22535.000000,180.000000,18165.000320
|
||||
on7,22535.000000,180.000000,18165.000640
|
||||
on12,22535.000000,180.000000,18249.000320
|
||||
on11,22535.000000,180.000000,18300.000320
|
||||
on9,25547.000000,180.000000,24298.000000
|
||||
on3,34755.000000,180.000000,29192.000000
|
||||
on3,16260.000000,180.000000,12567.000000
|
||||
on9,16260.000000,180.000000,14754.000000
|
||||
on11,16260.000000,180.000000,14755.000000
|
||||
on7,22535.000000,180.000000,15801.000000
|
||||
on2,16260.000000,180.000000,16231.000000
|
||||
on1,16260.000000,180.000000,16232.000000
|
||||
on3,18125.000000,180.000000,16300.000640
|
||||
on9,29100.000000,180.000000,16300.000640
|
||||
on11,18125.000000,180.000000,16301.000640
|
||||
on11,29100.000000,180.000000,18165.000320
|
||||
on12,29100.000000,180.000000,18249.000000
|
||||
on5,29100.000000,180.000000,19138.000000
|
||||
on5,41983.000000,180.000000,29140.000320
|
||||
|
|
|
|
@ -1,12 +1,16 @@
|
|||
node,ts
|
||||
on8,4398.000320
|
||||
on10,8258.000320
|
||||
on6,11906.000640
|
||||
on2,12051.000640
|
||||
on7,12200.800640
|
||||
on2,16208.200000
|
||||
on1,16261.000320
|
||||
on2,16301.000960
|
||||
on1,18165.000320
|
||||
on2,24298.000000
|
||||
on12,29192.000000
|
||||
on8,12567.000000
|
||||
on3,14754.000000
|
||||
on9,14755.000000
|
||||
on6,15801.000000
|
||||
on8,16231.000000
|
||||
on8,16232.000000
|
||||
on8,16300.000320
|
||||
on1,16300.000640
|
||||
on3,16301.000640
|
||||
on3,18165.000320
|
||||
on3,18249.000000
|
||||
on3,19138.000000
|
||||
on9,29140.000320
|
||||
|
|
|
|
@ -5,9 +5,7 @@ on2,7307.000000,7487.000000,180
|
|||
on2,11906.000000,12086.000000,180
|
||||
on2,16052.000000,16232.000000,180
|
||||
on2,16260.000000,16440.000000,180
|
||||
on2,18125.000000,18305.000000,180
|
||||
on2,18629.000000,18809.000000,180
|
||||
on2,22535.000000,22715.000000,180
|
||||
on2,24126.000000,24306.000000,180
|
||||
on2,27021.000000,27201.000000,180
|
||||
on2,30940.000000,31120.000000,180
|
||||
|
@ -55,11 +53,12 @@ on3,3879.000000,4059.000000,180
|
|||
on3,8872.000000,9052.000000,180
|
||||
on3,12460.000000,12640.000000,180
|
||||
on3,14753.000000,14933.000000,180
|
||||
on3,16260.000000,16440.000000,180
|
||||
on3,18125.000000,18305.000000,180
|
||||
on3,19080.000000,19260.000000,180
|
||||
on3,23366.000000,23546.000000,180
|
||||
on3,28542.000000,28722.000000,180
|
||||
on3,29192.000000,29372.000000,180
|
||||
on3,34755.000000,34935.000000,180
|
||||
on3,35481.000000,35661.000000,180
|
||||
on3,37027.000000,37207.000000,180
|
||||
on3,41644.000000,41824.000000,180
|
||||
|
@ -80,10 +79,11 @@ on11,3701.000000,3881.000000,180
|
|||
on11,7941.000000,8121.000000,180
|
||||
on11,11372.000000,11552.000000,180
|
||||
on11,14657.000000,14837.000000,180
|
||||
on11,18300.000000,18480.000000,180
|
||||
on11,22535.000000,22715.000000,180
|
||||
on11,16260.000000,16440.000000,180
|
||||
on11,18125.000000,18480.000000,355
|
||||
on11,23929.000000,24109.000000,180
|
||||
on11,27867.000000,28047.000000,180
|
||||
on11,29100.000000,29280.000000,180
|
||||
on11,29463.000000,29643.000000,180
|
||||
on11,35740.000000,35920.000000,180
|
||||
on11,37138.000000,37318.000000,180
|
||||
|
@ -106,7 +106,7 @@ on4,8218.000000,8398.000000,180
|
|||
on4,8426.000000,8606.000000,180
|
||||
on4,11726.000000,11906.000000,180
|
||||
on4,12910.000000,13090.000000,180
|
||||
on4,16399.000000,16579.000000,180
|
||||
on4,16260.000000,16579.000000,319
|
||||
on4,18069.000000,18249.000000,180
|
||||
on4,22587.000000,22767.000000,180
|
||||
on4,26241.000000,26421.000000,180
|
||||
|
@ -132,10 +132,9 @@ on12,10214.000000,10394.000000,180
|
|||
on12,11441.000000,11621.000000,180
|
||||
on12,17789.000000,17969.000000,180
|
||||
on12,18249.000000,18429.000000,180
|
||||
on12,22535.000000,22715.000000,180
|
||||
on12,24684.000000,24864.000000,180
|
||||
on12,25778.000000,25958.000000,180
|
||||
on12,29150.000000,29330.000000,180
|
||||
on12,29100.000000,29330.000000,230
|
||||
on12,34012.000000,34192.000000,180
|
||||
on12,38358.000000,38538.000000,180
|
||||
on12,41415.000000,41595.000000,180
|
||||
|
@ -155,14 +154,15 @@ on5,796.000000,976.000000,180
|
|||
on5,6968.000000,7148.000000,180
|
||||
on5,10284.000000,10464.000000,180
|
||||
on5,12200.000000,12380.000000,180
|
||||
on5,16260.000000,16440.000000,180
|
||||
on5,16874.000000,17054.000000,180
|
||||
on5,19136.000000,19316.000000,180
|
||||
on5,23431.000000,23611.000000,180
|
||||
on5,28535.000000,28715.000000,180
|
||||
on5,29100.000000,29280.000000,180
|
||||
on5,31912.000000,32092.000000,180
|
||||
on5,33244.000000,33424.000000,180
|
||||
on5,39233.000000,39413.000000,180
|
||||
on5,41983.000000,42163.000000,180
|
||||
on5,42498.000000,42678.000000,180
|
||||
on5,44113.000000,44293.000000,180
|
||||
on5,48807.000000,48987.000000,180
|
||||
|
@ -179,9 +179,10 @@ on5,85966.000000,86146.000000,180
|
|||
on6,2430.000000,2610.000000,180
|
||||
on6,6024.000000,6204.000000,180
|
||||
on6,8144.000000,8324.000000,180
|
||||
on6,11726.000000,11975.000000,249
|
||||
on6,11795.000000,11975.000000,180
|
||||
on6,15800.000000,15980.000000,180
|
||||
on6,20361.000000,20541.000000,180
|
||||
on6,22535.000000,22715.000000,180
|
||||
on6,24330.000000,24510.000000,180
|
||||
on6,27397.000000,27577.000000,180
|
||||
on6,28895.000000,29075.000000,180
|
||||
|
@ -205,8 +206,6 @@ on7,6571.000000,6751.000000,180
|
|||
on7,10296.000000,10476.000000,180
|
||||
on7,12051.000000,12231.000000,180
|
||||
on7,15735.000000,15915.000000,180
|
||||
on7,16260.000000,16440.000000,180
|
||||
on7,18125.000000,18305.000000,180
|
||||
on7,19353.000000,19533.000000,180
|
||||
on7,22535.000000,22776.000000,241
|
||||
on7,25545.000000,25725.000000,180
|
||||
|
@ -255,10 +254,11 @@ on9,5568.000000,5748.000000,180
|
|||
on9,8857.000000,9037.000000,180
|
||||
on9,14162.000000,14342.000000,180
|
||||
on9,14753.000000,14933.000000,180
|
||||
on9,16260.000000,16440.000000,180
|
||||
on9,20801.000000,20981.000000,180
|
||||
on9,24297.000000,24477.000000,180
|
||||
on9,25547.000000,25727.000000,180
|
||||
on9,27442.000000,27622.000000,180
|
||||
on9,29100.000000,29280.000000,180
|
||||
on9,30012.000000,30192.000000,180
|
||||
on9,34980.000000,35160.000000,180
|
||||
on9,37795.000000,37975.000000,180
|
||||
|
@ -280,7 +280,7 @@ on0,4358.000000,4538.000000,180
|
|||
on0,8218.000000,8398.000000,180
|
||||
on0,11726.000000,11906.000000,180
|
||||
on0,16260.000000,16440.000000,180
|
||||
on0,18125.000000,18340.600640,215.601
|
||||
on0,18125.000000,18305.000000,180
|
||||
on0,22535.000000,22715.000000,180
|
||||
on0,25547.000000,25727.000000,180
|
||||
on0,29100.000000,29280.000000,180
|
||||
|
@ -304,7 +304,6 @@ on1,3903.000000,4083.000000,180
|
|||
on1,7508.000000,7688.000000,180
|
||||
on1,11360.000000,11540.000000,180
|
||||
on1,16207.000000,16387.000000,180
|
||||
on1,18125.000000,18305.000000,180
|
||||
on1,20188.000000,20368.000000,180
|
||||
on1,24844.000000,25024.000000,180
|
||||
on1,27462.000000,27642.000000,180
|
||||
|
|
|
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 174 KiB |
|
@ -4,30 +4,30 @@
|
|||
|baseline |lora | 60| 12.24495| 583.9238|
|
||||
|extended |lora | 60| 115.45964| 642.2366|
|
||||
|hint |lora | 60| 20.53987| 589.3509|
|
||||
|hintandextended |lora | 60| 123.07434| 651.6290|
|
||||
|hintandextended |lora | 60| 142.30234| 679.9952|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|--------:|--------:|
|
||||
|baseline |nbiot | 60| 40.62495| 602.8455|
|
||||
|extended |nbiot | 60| 49.75572| 604.3217|
|
||||
|hint |nbiot | 60| 69.17474| 626.8900|
|
||||
|hintandextended |nbiot | 60| 61.78016| 624.0911|
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|---------:|--------:|
|
||||
|baseline |nbiot | 60| 40.62495| 602.8455|
|
||||
|extended |nbiot | 60| 49.75572| 604.3217|
|
||||
|hint |nbiot | 60| 101.40657| 679.7818|
|
||||
|hintandextended |nbiot | 60| 83.66817| 677.4064|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|---------:|--------:|
|
||||
|baseline |lora | 180| 77.41662| 1785.603|
|
||||
|extended |lora | 180| 119.55052| 1800.430|
|
||||
|hint |lora | 180| 222.97426| 2078.584|
|
||||
|hintandextended |lora | 180| 147.42256| 1927.343|
|
||||
|hint |lora | 180| 219.41919| 2140.711|
|
||||
|hintandextended |lora | 180| 161.85374| 2006.330|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd| energy|
|
||||
|:---------------|:--------|---------:|---------:|--------:|
|
||||
|baseline |nbiot | 180| 81.64431| 1785.846|
|
||||
|extended |nbiot | 180| 73.56576| 1773.858|
|
||||
|hint |nbiot | 180| 217.20916| 2067.135|
|
||||
|hintandextended |nbiot | 180| 206.56366| 2039.936|
|
||||
|hint |nbiot | 180| 294.00684| 2244.321|
|
||||
|hintandextended |nbiot | 180| 293.44331| 2223.047|
|
||||
|
||||
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderJPS| receiverJPS| 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.3707| 15.40303| 581.1365| 6.459283| Inf| Inf| 1440.000| 1440.000| NA| 1440| 1440| 1| 0.000| 0.00000| 617.3707| 581.1365| 1| 0.00| 0.00| 0.0| 0.0| 619.73| 579.84| 1440.00| 1440.00| 0| 0| 0| 0| 0| 24.00000| 24|
|
||||
|extended |lora | 60| 1.710035| 6.020| 1004.3600| 124.07447| 612.0597| 36.358622| 166.8372| 101.67104| 2125.620| 1498.043| 38318.86| 1440| 1440| 2| 685.620| 58.04250| 617.3707| 581.1365| 2| 38.53| 5.05| 2.0| 7.7| 1207.61| 627.35| 2564.53| 1523.52| 20| 2| 21| 2| 0| 24.00000| 24|
|
||||
|hint |lora | 60| 0.000000| 0.000| 628.7368| 21.71158| 586.0687| 16.668949| Inf| Inf| 1440.000| 1451.071| NA| 1440| 1440| 3| 0.000| 11.07083| 617.3707| 581.1365| 3| 1.81| 0.84| 0.0| 0.0| 753.42| 957.64| 1440.00| 2354.94| 20| 63| 0| 62| 0| 24.18167| 24|
|
||||
|hintandextended |lora | 60| 1.864229| 6.545| 1035.7591| 133.41310| 619.6181| 40.088172| 158.2520| 94.67045| 2170.513| 1511.632| 37908.27| 1440| 1440| 4| 730.513| 71.63233| 617.3707| 581.1365| 4| 40.39| 6.21| 2.2| 9.8| 1397.98| 663.58| 2904.50| 1602.39| 35| 7| 34| 6| 0| 24.15708| 24|
|
||||
|baseline |lora | 60| 0.000000| 0.000| 617.3707| 15.40303| 581.1365| 6.459283| Inf| Inf| 1440.000| 1440.000| NA| 1440| 1440| 1| 0.0000| 0.00000| 617.3707| 581.1365| 1| 0.00| 0.00| 0.0| 0.0| 619.73| 579.84| 1440.00| 1440.00| 0| 0| 0| 0| 0| 24.00000| 24|
|
||||
|extended |lora | 60| 1.710035| 6.020| 1004.3600| 124.07447| 612.0597| 36.358622| 166.8372| 101.67104| 2125.620| 1498.043| 38318.86| 1440| 1440| 2| 685.6200| 58.04250| 617.3707| 581.1365| 2| 38.53| 5.05| 2.0| 7.7| 1207.61| 627.35| 2564.53| 1523.52| 20| 2| 21| 2| 0| 24.00000| 24|
|
||||
|hint |lora | 60| 0.000000| 0.000| 628.7368| 21.71158| 586.0687| 16.668949| Inf| Inf| 1440.000| 1451.071| NA| 1440| 1440| 3| 0.0000| 11.07083| 617.3707| 581.1365| 3| 1.81| 0.84| 0.0| 0.0| 753.42| 957.64| 1440.00| 2354.94| 20| 63| 0| 62| 0| 24.18167| 24|
|
||||
|hintandextended |lora | 60| 1.983341| 8.105| 1133.5016| 135.79800| 642.2030| 42.818728| 139.8521| 79.23541| 2315.029| 1548.783| 38514.59| 1440| 1440| 4| 875.0288| 108.78281| 617.3707| 581.1365| 4| 45.53| 9.51| 2.2| 9.8| 1397.98| 663.58| 2904.50| 1602.39| 23| 3| 25| 3| 0| 24.57250| 24|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderJPS| receiverJPS| 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.430808| 2.445| 714.7880| 49.02168| 593.5170| 21.37475| 292.3468| 242.74722| 1440.000| 1440.000| 42375.37| 1440| 1440| 1| 0.00000| 0.000000| 714.788| 593.517| 1| 0.00| 0.00| 1.12| 1.27| 749.69| 591.07| 1440.00| 1440.00| 5| 0| 0| 0| 0| 24.00000| 24|
|
||||
|extended |nbiot | 60| 1.855482| 6.380| 760.8320| 55.22064| 591.2792| 14.72265| 119.2527| 92.67699| 1487.380| 1443.640| 37096.61| 1440| 1440| 2| 47.38000| 3.639583| 714.788| 593.517| 2| 6.05| -0.38| 1.80| 7.16| 946.39| 599.13| 1788.32| 1447.54| 24| 1| 20| 0| 0| 24.00000| 24|
|
||||
|hint |nbiot | 60| 2.942835| 4.805| 771.8607| 91.95847| 614.8091| 50.83790| 160.6370| 127.95194| 1440.000| 1467.255| 41862.09| 1440| 1440| 3| 0.00000| 27.255417| 714.788| 593.517| 3| 7.39| 3.46| 3.45| 9.72| 1007.06| 702.59| 1440.00| 1666.51| 30| 14| 0| 14| 0| 24.44875| 24|
|
||||
|hintandextended |nbiot | 60| 2.203674| 7.590| 790.8555| 63.04322| 610.1941| 35.96660| 104.1970| 80.39448| 1483.782| 1462.936| 35280.76| 1440| 1440| 4| 43.78212| 22.935581| 714.788| 593.517| 4| 9.62| 2.73| 2.36| 9.41| 1066.66| 623.30| 1901.47| 1492.53| 35| 2| 28| 2| 0| 24.31583| 24|
|
||||
|baseline |nbiot | 60| 1.430808| 2.445| 714.7880| 49.02168| 593.5170| 21.37475| 292.34683| 242.74722| 1440.000| 1440.000| 42375.37| 1440| 1440| 1| 0.0000| 0.000000| 714.788| 593.517| 1| 0.00| 0.00| 1.12| 1.27| 749.69| 591.07| 1440.00| 1440.00| 5| 0| 0| 0| 0| 24.00000| 24|
|
||||
|extended |nbiot | 60| 1.855482| 6.380| 760.8320| 55.22064| 591.2792| 14.72265| 119.25266| 92.67699| 1487.380| 1443.640| 37096.61| 1440| 1440| 2| 47.3800| 3.639583| 714.788| 593.517| 2| 6.05| -0.38| 1.80| 7.16| 946.39| 599.13| 1788.32| 1447.54| 24| 1| 20| 0| 0| 24.00000| 24|
|
||||
|hint |nbiot | 60| 3.721674| 7.720| 856.1741| 114.87873| 665.0825| 85.06339| 110.90337| 86.15058| 1440.000| 1514.933| 46831.39| 1440| 1440| 3| 0.0000| 74.933333| 714.788| 593.517| 3| 16.51| 10.76| 3.45| 9.72| 1007.06| 702.59| 1440.00| 1666.51| 18| 6| 0| 10| 0| 25.23000| 24|
|
||||
|hintandextended |nbiot | 60| 1.945069| 10.225| 864.5722| 55.33749| 661.8092| 64.54540| 84.55474| 64.72462| 1496.797| 1506.949| 34520.76| 1440| 1440| 4| 56.7969| 66.948983| 714.788| 593.517| 4| 17.32| 10.32| 2.36| 9.41| 1066.66| 623.30| 1901.47| 1492.53| 23| 6| 27| 1| 0| 25.01583| 24|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderJPS| receiverJPS| 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.2390627| 2.180| 2032.692| 50.76923| 1765.012| 27.66107| 932.4275| 809.6384| 4320.000| 4320.000| 42419.08| 4320| 4320| 1| 0.0000| 0.00000| 2032.692| 1765.012| 1| 0.00| 0.00| 1.40| 1.91| 2026.23| 1755.92| 4320.00| 4320.00| 0| 1| 0| 0| 0| 24.00000| 24|
|
||||
|extended |lora | 180| 1.0044999| 10.855| 2201.590| 70.02724| 1767.001| 23.29608| 202.8181| 162.7822| 4809.255| 4359.608| 29587.20| 4320| 4320| 2| 489.2550| 39.60792| 2032.692| 1765.012| 2| 7.67| 0.11| 0.70| 11.45| 2692.46| 1772.35| 6038.78| 4364.27| 22| 0| 26| 0| 0| 24.00000| 24|
|
||||
|hint |lora | 180| 1.3466411| 11.175| 2131.674| 48.36516| 2074.159| 231.11420| 190.7538| 185.6071| 4320.000| 4948.670| 36906.37| 4320| 4320| 3| 0.0000| 628.66958| 2032.692| 1765.012| 3| 4.64| 14.90| 0.00| 12.00| 2094.09| 2169.50| 4320.00| 5344.86| 2| 5| 0| 8| 0| 27.34250| 24|
|
||||
|hintandextended |lora | 180| 0.3293056| 11.890| 2259.088| 58.36925| 1899.698| 115.42555| 189.9990| 159.7728| 4886.747| 4603.282| 19470.01| 4320| 4320| 4| 566.7469| 283.28220| 2032.692| 1765.012| 4| 10.02| 7.09| 0.24| 11.94| 2757.79| 1867.34| 6155.50| 4600.09| 22| 2| 26| 0| 0| 25.25167| 24|
|
||||
|hint |lora | 180| 1.1766574| 11.680| 2137.520| 49.34660| 2140.977| 227.93773| 183.0068| 183.3028| 4320.000| 4950.965| 40716.87| 4320| 4320| 3| 0.0000| 630.96542| 2032.692| 1765.012| 3| 4.90| 17.56| 0.00| 12.00| 2094.09| 2169.50| 4320.00| 5344.86| 2| 1| 0| 8| 0| 27.32917| 24|
|
||||
|hintandextended |lora | 180| 0.0707107| 11.995| 2254.609| 49.24474| 1985.641| 150.37354| 187.9624| 165.5390| 4868.832| 4691.548| 20730.43| 4320| 4320| 4| 548.8321| 371.54776| 2032.692| 1765.012| 4| 9.84| 11.11| 0.24| 11.94| 2757.79| 1867.34| 6155.50| 4600.09| 22| 6| 26| 2| 0| 25.72708| 24|
|
||||
|
||||
|
||||
|simkey |wireless | wakeupfor| sd_success| success| senderEnergy| senderEnergy_sd| receiverEnergy| receiverEnergy_sd| senderJPS| receiverJPS| 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.1911630| 10.365| 2034.667| 34.18321| 1765.111| 39.153314| 196.3017| 170.2953| 4320.000| 4320.000| 30233.28| 4320| 4320| 1| 0.00000| 0.000000| 2034.667| 1765.111| 1| 0.00| 0.00| 1.33| 9.90| 2117.65| 1761.78| 4320.00| 4320.00| 4| 0| 0| 0| 0| 24.00000| 24|
|
||||
|extended |nbiot | 180| 0.8976659| 11.115| 2026.210| 25.82125| 1752.828| 7.507188| 182.2951| 157.6994| 4343.050| 4321.865| 27060.74| 4320| 4320| 2| 23.05000| 1.864583| 2034.667| 1765.111| 2| -0.42| -0.70| 0.87| 11.23| 2311.52| 1760.92| 4868.78| 4323.71| 14| 0| 12| 0| 0| 24.00000| 24|
|
||||
|hint |nbiot | 180| 0.3628129| 11.845| 2053.789| 19.20640| 2068.247| 225.978814| 173.3887| 174.6093| 4320.000| 4548.535| 18711.42| 4320| 4320| 3| 0.00000| 228.535000| 2034.667| 1765.111| 3| 0.93| 14.66| 0.37| 11.92| 2180.07| 1868.54| 4320.00| 4576.83| 6| 10| 0| 1| 0| 25.22208| 24|
|
||||
|hintandextended |nbiot | 180| 0.3263549| 11.905| 2042.550| 10.96412| 2039.718| 214.977097| 171.5708| 171.3329| 4332.536| 4529.625| 17101.38| 4320| 4320| 4| 12.53635| 209.624688| 2034.667| 1765.111| 4| 0.39| 13.46| 0.41| 11.88| 2151.14| 1822.44| 4906.10| 4473.32| 5| 11| 13| 1| 0| 25.11625| 24|
|
||||
|baseline |nbiot | 180| 1.1911630| 10.365| 2034.667| 34.183211| 1765.111| 39.153314| 196.3017| 170.2953| 4320.000| 4320.000| 30233.28| 4320| 4320| 1| 0.00000| 0.000000| 2034.667| 1765.111| 1| 0.00| 0.00| 1.33| 9.90| 2117.65| 1761.78| 4320.00| 4320.00| 4| 0| 0| 0| 0| 24.00000| 24|
|
||||
|extended |nbiot | 180| 0.8976659| 11.115| 2026.210| 25.821247| 1752.828| 7.507188| 182.2951| 157.6994| 4343.050| 4321.865| 27060.74| 4320| 4320| 2| 23.05000| 1.864583| 2034.667| 1765.111| 2| -0.42| -0.70| 0.87| 11.23| 2311.52| 1760.92| 4868.78| 4323.71| 14| 0| 12| 0| 0| 24.00000| 24|
|
||||
|hint |nbiot | 180| 0.1218575| 11.985| 2057.177| 17.609348| 2259.917| 300.761565| 171.6460| 188.5621| 4320.000| 4632.254| 19588.29| 4320| 4320| 3| 0.00000| 312.254167| 2034.667| 1765.111| 3| 1.09| 21.89| 0.37| 11.92| 2180.07| 1868.54| 4320.00| 4576.83| 6| 17| 0| 1| 0| 25.64917| 24|
|
||||
|hintandextended |nbiot | 180| 0.0997484| 11.990| 2044.794| 7.165297| 2237.901| 300.688797| 170.5416| 186.6473| 4332.622| 4614.769| 17867.67| 4320| 4320| 4| 12.62246| 294.769118| 2034.667| 1765.111| 4| 0.50| 21.13| 0.41| 11.88| 2151.14| 1822.44| 4906.10| 4473.32| 5| 19| 13| 3| 0| 25.55000| 24|
|
||||
|
||||
|
||||
|
|
|
@ -101,6 +101,7 @@ double Inputs::GetHintTS(double clock){
|
|||
if(wake_ts[i]>=(clock+hintdist))
|
||||
return(wake_ts[i]);
|
||||
}
|
||||
return(wake_ts.back());
|
||||
}
|
||||
return(GetNextTS());
|
||||
}
|
||||
|
@ -111,6 +112,7 @@ double Inputs::GetHintDuration(double clock){
|
|||
if(wake_ts[i]>=(clock+hintdist))
|
||||
return(wake_duration[i]);
|
||||
}
|
||||
return(wake_duration.back());
|
||||
}
|
||||
return GetNextDuration();
|
||||
}
|
||||
|
@ -122,9 +124,9 @@ void Inputs::GotoNextEvent(){
|
|||
|
||||
void Inputs::ResetEvents(double clock){
|
||||
wake_ts=wake_ts_backup;
|
||||
wake_duration=wake_duration_backup;;
|
||||
wake_duration=wake_duration_backup;
|
||||
// Restore current event
|
||||
while(HasNext() && (GetTS()+GetNextDuration()) < clock){
|
||||
while(HasNext() && (GetNextTS()+GetNextDuration()) < clock){
|
||||
GotoNextEvent();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -285,6 +285,9 @@ static void obs_node(std::vector<std::string> args) {
|
|||
}
|
||||
if(i.shutdown_on_rcv)
|
||||
upuntil=CLOCK;
|
||||
// Check if we use unschedule_on_rcv
|
||||
if(i.unschedule_on_rcv)
|
||||
i.ResetEvents(CLOCK);
|
||||
nDataRcv++;
|
||||
isObserver=true;
|
||||
is_sender=false;
|
||||
|
@ -344,11 +347,9 @@ static void obs_node(std::vector<std::string> args) {
|
|||
uptime=upuntil-CLOCK; // Note that uptime can be < 0 in extended mode
|
||||
uptime=uptime > 0 ? uptime : 0; // Just in case
|
||||
}
|
||||
// Check if we use unschedule_on_rcv
|
||||
if(i.unschedule_on_rcv)
|
||||
i.ResetEvents(CLOCK);
|
||||
// Load next event
|
||||
i.GotoNextEvent();
|
||||
|
||||
nWakeUp++; // Increase the number of wake up
|
||||
totalUptime+=CLOCK-upsince; // Synchronize total uptime
|
||||
}
|
||||
|
|