Hi everybody,
I did some further investigation, and it turns out that the
YansWifiChannelHelper has the log-distance propagation loss model
already installed by default. In my baseline simulation, I had added
a log-distance loss model, which yielded a "cascaded channel" effect;
thus, I was getting a path loss of -38.688dBm from the default loss
model, and then the loss model that I added yielded a total path loss
of -38.688dBm-55.7086dB = -94.3966dBdBm. When I removed the loss
model from my baseline simulation and only used the default model in
the YansWifiChannelHelper, I obtained the expected path loss of
-38.688dBm. Sorry for the inconvenience.
This does raise another question for me: would it be possible to
disable the default log-distance loss model in the
YansWifiChannelHelper and use a different loss model as the "base loss
model" in my simulation? For example, I'd like to use the three-log-
distance loss model as my "base loss model" and then layer the
Nakagami fading model on top of it. As of now, it seems that by using
the YansWifiChannelHelper, I have to use the default log-distance
model as a part of any compound channel model that I devise.
Thank you very much.
Caleb Lo