Hi, i'm a new user of the mailing list. I'm starting to use TOSSIM, i've
read the docs and searched the ML but I'm not sure about
the "gain" value passed to TOSSIM in the input file format:
gain src dest g
For example, let's say I have a network topology, and i want to calculate
the gains to be fed into TOSSIM by means of an external program (say,
Octave). I want to give TOSSIM the gains according to Free-Space
propagation, that is:
P_t * G_t * G_r *
\lambda^2
P_{received}(d) =
-------------------------------------------------------------------------------
(4*\pi )^2 * d^2 *
L
which, in dB, becomes:
P_{received}(d)_dB = P_{t,dB} + G_{t,dB} + G_{r,dB} + 20*log10(lambda) -
20*log10(4*\pi) - 20*log10(d) +
20*log10(L)
What am i supposed to use in the calculation in Octave? Am I supposed to
feed TOSSIM the result of the whole formula? Or does it, for example,
calculates internally (P_{t,dB} + G_{t,dB} + G_{r,dB}) and i just need to
feed it this number (20*log10(lambda) - 20*log10(4*\pi) - 20*log10(d) +
20*log10(L))?
Thank you for your help,
Regards,
Paolo.
2008/12/27 Paolo <[email protected]>
> Hi, i'm a new user of the mailing list. I'm starting to use TOSSIM, i've
> read the docs and searched the ML but I'm not sure about
> the "gain" value passed to TOSSIM in the input file format:
>
> gain src dest g
>
> For example, let's say I have a network topology, and i want to calculate
> the gains to be fed into TOSSIM by means of an external program (say,
> Ocatave). I want to give TOSSIM the gains according to Free-Space
> propagation, that is:
>
> P_t * G_t * G_r
> P_{received}(d) = -------------------------------------------
> (4 )2d2L
>
>
>
>
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help