Quote:
Originally Posted by shahidz
sir i follow the steps there is no errors but leach results iResults is lik this in leach.out file;
Creating sensor nodes... - uAMPS.tcl
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 (100 == BS) - uAMPS.tcl
* NOTE: no connection pattern specified. - wireless.tcl
Loading scenario file... - wireless.tcl
Node 0: (67.837825076579037,0.95365322239401429)
Node 1: (5.6106347616811441,59.567387057266842)
Node 2: (12.847064953691822,12.473798362758847)
Node 3: (51.243302110230225,83.015594297561606)
Node 4: (76.816643763713842,16.092541495381173)
Node 5: (88.698179828328165,94.414985316998795)
Node 6: (49.698749394015756,71.163323927281112)
Node 7: (18.752563846648002,37.040607369058115)
Node 8: (66.948251550527402,58.999779009725792)
...................................
..................................
98: ***************************************** - ns-leach.tcl
THRESH = 0.050000000000000003 - ns-leach.tcl
99: ***************************************** - ns-leach.tcl
Cluster Head 50 broadcasting ADV at time 5.7404830743281555e-06 - ns-leach.tcl
Cluster Head 56 broadcasting ADV at time 4.8870923780310403e-05 - ns-leach.tcl
Cluster Head 16 broadcasting ADV at time 0.00016140597944772149 - ns-leach.tcl
0: Warning!!! No Cluster Head ADVs were heard! - ns-leach.tcl
Data being sent to the Base Station - ns-leach.tcl
Node 0 sending {{0 , 0.0048719999999999996}} to BS at time 0.013465274531230925 - ns-leach.tcl
Data was sent to the base station - ns-leach.tcl
1: Warning!!! No Cluster Head ADVs were heard! - ns-leach.tcl
Data being sent to the Base Station - ns-leach.tcl
Node 1 sending {{1 , 0.0048719999999999996}} to BS at time 0.012239155448238902 - ns-leach.tcl
Data was sent to the base station - ns-leach.tcl
2: Warning!!! No Cluster Head ADVs were heard! - ns-leach.tcl
Data being sent to the Base Station - ns-leach.tcl
Node 2 sending {{2 , 0.0048719999999999996}} to BS at time 0.012945966055211595 - ns-leach.tcl
...........................67 rcvd ADV_CH from 16 at 0.33364361777913587 - ns-leach.tcl
31 rcvd ADV_CH from 16 at 0.33364361788491947 - ns-leach.tcl
11 rcvd ADV_CH from 16 at 0.3336436179188581 - ns-leach.tcl
9 rcvd ADV_CH from 16 at 0.33364362299438544 - ns-leach.tcl
51 rcvd ADV_CH from 16 at 0.33364362462953173 - ns-leach.tcl
87 rcvd ADV_CH from 16 at 0.33364362688108407 - ns-leach.tcl
18 rcvd ADV_CH from 16 at 0.33364362735704434 - ns-leach.tcl
24 rcvd ADV_CH from 16 at 0.33364363429386978 - ns-leach.tcl
32 rcvd ADV_CH from 16 at 0.33364363613921899 - ns-leach.tcl
92 rcvd ADV_CH from 16 at 0.33364363891190763 - ns-leach.tcl
71 rcvd ADV_CH from 16 at 0.33364364084311054 - ns-leach.tcl
91 rcvd ADV_CH from 16 at 0.33364364201171126 - ns-leach.tcl
3 rcvd ADV_CH from 16 at 0.33364364223858051 - ns-leach.tcl
89 rcvd ADV_CH from 16 at 0.33364364625598525 - ns-leach.tcl
38 rcvd ADV_CH from 16 at 0.3336436463900514 - ns-leach.tcl
69 rcvd ADV_CH from 16 at 0.33364364734956253 - ns-leach.tcl
47 rcvd ADV_CH from 16 at 0.33364364801128948 - ns-leach.tcl.......
...................................
20 rcvd ADV_CH from 16 at 0.33364364824451009 - ns-leach.tcl
54 rcvd ADV_CH from 16 at 0.33364365300295423 - ns-leach.tcl
14 rcvd ADV_CH from 16 at 0.33364365537481516 - ns-leach.tcl
44 rcvd ADV_CH from 16 at 0.33364366051695843 - ns-leach.tcl
53 rcvd ADV_CH from 16 at 0.33364366092919312 - ns-leach.tcl
84 rcvd ADV_CH from 16 at 0.33364366210324747 - ns-leach.tcl
59 rcvd ADV_CH from 16 at 0.33364366286144348 - ns-leach.tcl
33 rcvd ADV_CH from 16 at 0.33364366297826886 - ns-leach.tcl
88 rcvd ADV_CH from 16 at 0.33364366342678803 - ns-leach.tcl
66 rcvd ADV_CH from 16 at 0.33364366417508545 - ns-leach.tcl
22 rcvd ADV_CH from 16 at 0.33364366726669897 - ns-leach.tcl
78 rcvd ADV_CH from 16 at 0.33364366750468966 - ns-leach.tcl
39 rcvd ADV_CH from 16 at 0.33364367266601147 - ns-leach.tcl
58 rcvd ADV_CH from 16 at 0.333643673745808 - ns-leach.tcl
99 rcvd ADV_CH from 16 at 0.33364367849856996 - ns-leach.tcl
13 rcvd ADV_CH from 16 at 0.33364368430653335 - ns-leach.tcl
42 rcvd ADV_CH from 16 at 0.33364368438965203 - ns-leach.tcl
12 rcvd ADV_CH from 16 at 0.33364369708120972 - ns-leach.tcl
23 rcvd ADV_CH from 16 at 0.33364370812057337 - ns-leach.tcl
55 rcvd ADV_CH from 16 at 0.33364372172901358 - ns-leach.tcl
62 rcvd ADV_CH from 16 at 0.33364373402705838 - ns-leach.tcl
85 rcvd ADV_CH from 16 at 0.33364373545352966 - ns-leach.tcl
5 rcvd ADV_CH from 16 at 0.33364374581619727 - ns-leach.tcl
Warning! There are no nodes in this cluster (16)! - ns-leach.tcl
Data being sent to the Base Station - ns-leach.tcl
Node 16 sending {{16 , 1.004872}} to BS at time 1.0075435984161345 - ns-leach.tcl
Data was sent to the base station - ns-leach.tcl
Warning! There are no nodes in this cluster (50)! - ns-leach.tcl
Data being sent to the Base Station - ns-leach.tcl
Node 50 sending {{50 , 1.004872}} to BS at time 1.0127675275974681 - ns-leach.tcl
Data was sent to the base station - ns-leach.tcl
Warning! There are no nodes in this cluster (56)! - ns-leach.tcl
Data being sent to the Base Station - ns-leach.tcl
Node 56 sending {{56 , 1.004872}} to BS at time 1.0067879248526748 - ns-leach.tcl
Data was sent to the base station - ns-leach.tcl
Node 0 is DEAD!!!! - ns-leach.tcl
Node 1 is DEAD!!!! - ns-Node 3 is DEAD!!!! - ns-leach.tcl
Node 4 is DEAD!!!! - ns-leach.tcl
Node 5 is DEAD!!!! - ns-leach.tcl
Node 6 is DEAD!!!! - ns-leach.tcl
Node 7 is DEAD!!!! - ns-leach.tcl
Node 8 is DEAD!!!! - ns-leach.tcl
Node 9 is DEAD!!!! - ns-leach.tclleach.tcl
Node 2 is DEAD!!!! - ns-leach.tcl
...............................
.............................
Node 94 is DEAD!!!! - ns-leach.tcl
Node 95 is DEAD!!!! - ns-leach.tcl
At 1.0999999999999999: - mit/uAMPS/stats.tcl
Total Energy = 2.7531270577825055
Total Data = 0
Total Alive = 4
Simulation complete. - mit/uAMPS/stats.tcl
num_nodes is set 101
mac/channel.cc: sendUp - Calc highestAntennaZ_ and distCST_
mac/channel.cc: highestAntennaZ_ = 1.5, distCST_ = 221.2
|
Hi there, can I know what are the steps that you followed to get this results?
I'm having the same problem: No CH ADVs were heard and data is 0 always. My results are such:
Creating sensor nodes...
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 (100 == BS)
*** NOTE: no connection pattern specified.
Loading scenario file...
Node 0: (65.745973803916002,92.581722416254564)
Node 1: (21.008649990432268,92.380389195112684)
Node 2: (37.201202259027028,40.606367467253641)
Node 3: (71.218022131928251,61.297971318148988)
Node 4: (35.003944130150579,11.288995440718249)
Node 5: (34.146372151629237,98.076752432657756)
Node 6: (75.978135678906995,64.526355389750734)
Node 7: (94.45503554048716,5.7823289678349754)
Node 8: (83.602962402441989,14.98909784247591)
Node 9: (21.767438492629417,45.338745622587737)
Node 10: (8.2976788321033492,59.088131160982016)
.................................................
.................................................
98: *******************************************
THRESH = 0.050000000000000003
99: *******************************************
Warning dst_ is no longer being supported in NS. dst_ 0xffffffff
Use dst_addr_ and dst_port_ instead
Warning dst_ is no longer being supported in NS. dst_ 0xffffffff
Use dst_addr_ and dst_port_ instead
................................................
0: Warning!!! No Cluster Head ADVs were heard!
Data being sent to the Base Station
Data was sent to the base station
1: Warning!!! No Cluster Head ADVs were heard!
Data being sent to the Base Station
Data was sent to the base station
2: Warning!!! No Cluster Head ADVs were heard!
Data being sent to the Base Station
Data was sent to the base station
3: Current cluster-head is 3, code is 1, dist is 139.0
4: Warning!!! No Cluster Head ADVs were heard!
Data being sent to the Base Station
Data was sent to the base station
..........................................
..........................................
Warning! There are no nodes in this cluster (3)!
Data being sent to the Base Station
Data was sent to the base station
Warning! There are no nodes in this cluster (14)!
Data being sent to the Base Station
.........................................
.........................................
Node 0 is DEAD!!!!
Node 1 is DEAD!!!!
Node 2 is DEAD!!!!
Node 3 is DEAD!!!!
Node 4 is DEAD!!!!
Node 5 is DEAD!!!!
Node 6 is DEAD!!!!
Node 7 is DEAD!!!!
Node 8 is DEAD!!!!
Node 9 is DEAD!!!!
Node 10 is DEAD!!!!
........................................
........................................
Node 95 is DEAD!!!!
At 1.0999999999999999:
Total Energy = 2.7329719516298452
Total Data = 0
Total Alive = 4
Simulation complete.
num_nodes is set 101
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 222.8
alive = 0
Can someone please help me? Thank you in advance.