LEach simulation

153 views
Skip to first unread message

Riham Elhabyan

unread,
Sep 23, 2011, 2:29:12 PM9/23/11
to J-Sim Users
Hi all

iam trying to run the leach simulation from Nicholas Merizzi patch ,
however there is something wrong i have the following in the output
Sensor1 Location: (13.4497168211, 97.9687049975, 0.0)
Sensor2 Location: (18.0074681332, 38.3897177122, 0.0)
Sensor3 Location: (4.79567692838, 69.8071178374, 0.0)
******** Round 0 Sensor1 Is a cluster head at time 0.1 **********
******** Round 0 Sensor2 Is a cluster head at time 0.1 **********
******** Round 0 Sensor3 Is a cluster head at time 0.1 **********
Warning: There are no nodes in cluster 3
Warning: There are no nodes in cluster 1
Warning: There are no nodes in cluster 2
CH3 Is sending data to BS
CH1 Is sending data to BS
CH2 Is sending data to BS
CH1 Is sending data to BS
CH3 Is sending data to BS
CH2 Is sending data to BS
CH1 Is sending data to BS
CH3 Is sending data to BS
CH2 Is sending data to BS
******** Round 0 Sensor1 Is a cluster head at time 25.1 **********
******** Round 0 Sensor3 Is a cluster head at time 25.1 **********
Sensor2: Warning No Cluster Head ADVs were heard at time: 27.1
Warning: There are no nodes in cluster 1
Warning: There are no nodes in cluster 3
CH1 Is sending data to BS
CH3 Is sending data to BS
CH1 Is sending data to BS
CH3 Is sending data to BS
CH2 Is sending data to BS
******** Round 0 Sensor3 Is a cluster head at time 50.1 **********
Sensor1: Warning No Cluster Head ADVs were heard at time: 52.1
Sensor2: Warning No Cluster Head ADVs were heard at time: 52.1
Warning: There are no nodes in cluster 3
CH3 Is sending data to BS
******** Round 0 Sensor1 Is a cluster head at time 75.1 **********
******** Round 0 Sensor3 Is a cluster head at time 75.1 **********
Sensor2: Warning No Cluster Head ADVs were heard at time: 77.1
Warning: There are no nodes in cluster 1
Warning: There are no nodes in cluster 3
CH1 Is sending data to BS
CH3 Is sending data to BS
******** Round 0 Sensor2 Is a cluster head at time 100.1 **********
******** Round 0 Sensor3 Is a cluster head at time 100.1 **********
Sensor1: Warning No Cluster Head ADVs were heard at time: 102.1
Warning: There are no nodes in cluster 2
Warning: There are no nodes in cluster 3
CH2 Is sending data to BS
CH3 Is sending data to BS
******** Round 0 Sensor1 Is a cluster head at time 125.1 **********
******** Round 0 Sensor2 Is a cluster head at time 125.1 **********
******** Round 0 Sensor3 Is a cluster head at time 125.1 **********


does anyone know why this warning?

savan

unread,
Apr 1, 2012, 5:32:05 AM4/1/12
to j-sim...@googlegroups.com
can u post the complete code
ill take a look at it

Eng Sajad Panhwar

unread,
Apr 3, 2012, 2:55:08 PM4/3/12
to j-sim...@googlegroups.com
yes i will  send you leach protocol .


On Sun, Apr 1, 2012 at 2:32 AM, savan <savan...@gmail.com> wrote:
can u post the complete code
ill take a look at it


--
You received this message because you are subscribed to the Google Groups "J-Sim Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/j-sim-users/-/5SMkO9yki_oJ.
To post to this group, send email to j-sim...@googlegroups.com.
To unsubscribe from this group, send email to j-sim-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/j-sim-users?hl=en.

haq...@gmail.com

unread,
Jul 29, 2015, 12:03:10 AM7/29/15
to J-Sim Users, sajadpa...@gmail.com
Hi Sajad.
Hope you will fine. Dear i need LEACH implementation in j-sim. can you please provide it??
Thanks
Reply all
Reply to author
Forward
0 new messages