Hi all,

>
> I found a very astonishing thing in Tossim simulator because I got
> extremely different result from one simulation to an other.
> In the first simulation I get the packet delivery rate = ~ 0.9
> in the second I get the packet delivery rate = 0 !!!!!!!!!!!!!!
> I found that it is illogical result.
>
> I am using this code to turn mote aff and restart the second simulation:
>
> for simul in range(1,(nbrsimulation + 1)):
>     t = Tossim([])
>     r = t.radio()
>     numnodes = 2
>     for i in range(0, numnodes):
>         m = t.getNode(i);
>         time = randint(t.ticksPerSecond(), 10 * t.ticksPerSecond())
>         m.bootAtTime(time)
>
>         ******************************
>         ******************************
>
>         *******ADDing**************
>         *******GAIN &**************
>         *******Noise****************
>
>         ******************************
>         ******************************
>     for i in range(0, numnodes):
>         m = t.getNode(i);
>         m.turnOff()
>
>
>
> Could someone explain to me why?
>
>
> Thanks for all
>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to