mininet-wifi icon indicating copy to clipboard operation
mininet-wifi copied to clipboard

propagationModel.py---------antenna's height doesn't seem to make a difference on power received.

Open CharlieAx10 opened this issue 3 years ago • 4 comments

Hello, i'm currently working with propagation models using the mininet-wifi script titled propagationModels.py, i found out that whenever i vary the antenna's height (transmitter and receiver or both) the received power on the station (receiver) doesn't change at all, it only varies if i manipulate the gain on the receiver or transmitter antenna, my question would be, why doesn't the antenna height affect the received power ? Even if i give it the value of 0, the received power doesn't change at all, why would this be? i'd appreciate any help.

CharlieAx10 avatar Feb 27 '21 23:02 CharlieAx10

Which propagation model are you using? Does it consider the antenna height in its formula?

ramonfontes avatar Feb 27 '21 23:02 ramonfontes

Which propagation model are you using? Does it consider the antenna height in its formula?

After reviewing the theory, i was able to find out that on the friis model, which was the one i was looking at first, the equation for received power doesn't rely on the antennas heights but the gain of them and the transmitted power. This leads me to the following question, does the transmitted power have a predetermined value that could be modified?

(I think i just found the answer to my own question)

i tried the two ray ground model next and noticed that the received power does change if i give different values for their antenna heights, as the equation needs those values to calculate the received power. Really appreciate the help, thank you.

CharlieAx10 avatar Feb 28 '21 06:02 CharlieAx10

Hello, quick question, on the propagation Models file, are the units used for antenna heights given in meters or centimeters? I was wondering, since the method logDistance can be used for indoors as well as outdoors but if we were talking about an indoor environment; then the units would be centimeters for a transmitter and receiver. However, I can’t use float numbers for antenna heights, only integers base 10.

CharlieAx10 avatar Mar 05 '21 04:03 CharlieAx10

This commit https://github.com/intrig-unicamp/mininet-wifi/commit/f0ee3857642281efe8a868b1b3c5d2b8e6096561 might solve the issue

ramonfontes avatar Mar 05 '21 10:03 ramonfontes