Tiago Silva wrote:
>
> Am I using this model correctly?
Your screenshot shows both
(a) "Add attenuation for (freq, lambda, phi, gamma, att)"
and
(b) "sqrdistance is: "
In Veins 5a1,
(a) is ouput by TwoRayInterferenceModel.cc
and
(b) is output by SimplePathlossModel.cc
Thus, I'm guessing that you are attenuating signals twice based on distance, first using
model (a) - the red line of [1].
and then again, using
model (b) - the top blue line of [1].
If this is the case, edit config.xml to include either model (a) or (b), not both.
Best,
Christoph
[1]
http://veins.car2x.org/documentation/modules/#tworay
--
Jun.-Prof. Dr.-Ing. Christoph Sommer
Cooperative Mobile Systems (CCS Labs)
Heinz Nixdorf Institute, Paderborn University, Germany
http://www.ccs-labs.org/~sommer/