Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CharlieAx10 opened this issue Feb 27, 2021 · 4 comments

Comments

@CharlieAx10
Copy link

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.

@ramonfontes
Copy link
Member

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

@CharlieAx10
Copy link
Author

CharlieAx10 commented Feb 28, 2021

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
Copy link
Author

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.

@ramonfontes
Copy link
Member

This commit f0ee385 might solve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants