with Friis propagation loss model, this is not possible. This model
simply calculates the signal power at the receiver, depending on the
distance, frequency and antenna gains. This is deterministic and as
long as you do not change the frequency or antenna gains, the received
signal strength decreases with the distance only, eventually dropping
below your receive threshold. So your nodes are either in
communication range or not.
What you want is another or an additional fading model, which is
probabilistic, modeling multipath propagation, interference and the
like. The only such model implemented to my knowledge in ns3 is the
Nakagami fading model. With special parameters, this model equals the
Rayleigh fading model, see the model documentation for details.
However, which model you use should strongly depend on the scenario
you are modeling. Outdoor scenarios typically use different models
than indoor scenarios.
You should keep this in mind, when using the Friis free space
propagation loss model as well.
Regards,
Sascha
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
In order to get accurate results, you have to increase the number of iterations (e.g. send 1000 packets and get average). If you are only sending 10, then you can't get proper statistical results.
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/mUTozt2NTvUJ.
did you try changing the seed number?
--
Chiave pubblica http://luca.costantino.googlepages.com/luca.costantino.asc
Prima di tutto vennero a prendere gli zingari e fui contento, perché
rubacchiavano.
Poi vennero a prendere gli ebrei e stetti zitto, perché mi stavano antipatici.
Poi vennero a prendere gli omosessuali, e fui sollevato, perché mi
erano fastidiosi.
Poi vennero a prendere i comunisti, e io non dissi niente, perché non
ero comunista.
Un giorno vennero a prendere me, e non c’era rimasto nessuno a protestare.
(Martin Niemöller)
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
http://www.nsnam.org/docs/release/3.13/doxygen/classns3_1_1_seed_manager.html