Bugzilla – Bug 2450
LogDistancePropagationLossModel is not continuous
Last modified: 2016-10-12 15:28:37 UTC
The reference discussion is here: https://groups.google.com/forum/#!topic/ns-3-users/bBEUYHwvZwU Summarizing, LogDistancePropagationLossModel::DoCalcRxPower is not continuous when one reaches the minimum distance (minor nuisance, but still a nuisance). Moreover, Krishna (the poster) also suggests to clarify if the units are in dBm or dB.
Created attachment 2611 [details] model behavior before patch
Created attachment 2612 [details] model behavior after patch
I've just fixed the discontinuity issue in changeset 4da9433a490d following Krishna's proposal, which I think made perfectly sense. See the attached figures for the change in model behavior. As for dBm vs dB: TX power is in dBm and gain values are in dB, and that's the way it should be. I think that the comments in the code and the doxygen documentation are already clear on this matter.