What if you run the same simulation to the paper(s)? Anyway, you'd
better speak to the original authors for this.

On 2/27/06, YoungTae Noh <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> thx in advance, I built LEACH on ns-2.27.
>
> To check that the LEACH works correctly, after changing some
> parameter, I simulated wireless.tcl file based on leach_test shell
> script file.
>
>
> With these changed parameters  (in leach_test file)
> -------------------------------------------------------------------------------------------
> # energy values.  How much energy does each node have initially
> eq_energy=1
> init_energy=0.25
> # stop is the time to stop the simulation if it is still running
> stop=250
> # x,y is the size of the field
> x=1000
> y=1000
> # bs_x, bs_y is the location of the base station in the field.
> bs_x=50
> bs_y=150
> -------------------------------------------------------------------------------------------
> In addition to,
>
> Since the field 100by100 is changed into 50by50,
> the coordinates of all nodes (in ns-2.27\mit\uAMPS\sims\100nodes.txt)
> are divided by 2.
> -------------------------------------------------------------------------------------------
>
>
>
>
> These changed parameters are for comparing results from this with the
> results from the original paper below.
>
> W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, "Energy-efficient
> routing protocols for wireless microsensor networks," in Proc.
> 33rd Hawaii Int. Conf. System Sciences (HICSS), Maui, HI, Jan. 2000.
>
>
>
>
>
> Unfortunately, the results bt'n two simultions are very different!
>
>
>
>
> With using these parameters, my result in 'leach.out' file is around
> --------------------------------------
>
> At 139.09999999999638:
>   Total Energy = 40.297139964540001
>   Total Data = 2510
>   Total Alive = 4
>
> Simulation complete.
>
> --------------------------------------
>
> In this simulation,cluster heads are changed  every 2.5sec. (thus, 56
> rounds totally)
>
>
> But, in W. Heinzelman's paper, when the last node dies, the number of
> total rounds is 665 with the same parameters.
>
>
> This is somewhat strange.
>
>
>
> So, I want to ask you,
>
>
> Did I make some mistakes?
>
> Or, should I port LEACH on NS-2.1b5 ?
>
> Thank for reading this.
>
>
>
>
>
> Hopely, waiting for reply.
>
>

Reply via email to