Hi everybody,
I'm trying to make a simulation with the HybridBuildingsPropagationLossModel model.
The simplest simulation that I'm doing is with only two nodes and they can move also on the "z" coordinate, but they are always at the same height.
The problem is that they can communicate only at 2-3 meters... after that the communication link disappear. Looking at the received SNR I see that at a distance of less then 1 meter the SNR=~80 and with distance greater then 1 the SNR drop to 20-30. I don't added yet any building. What am I doing wrong? Here there is the channel definition, while in attachment you can find the whole code (almost).
/****************************************************************************************************/
YansWifiChannelHelper wifiChannel = YansWifiChannelHelper::Default ();
wifiChannel.AddPropagationLoss("ns3::HybridBuildingsPropagationLossModel",
"RooftopLevel", DoubleValue(10), "Environment", StringValue("OpenAreas"), "CitySize", StringValue("Large")
//"ShadowSigmaOutdoor", DoubleValue(0.0), "ShadowSigmaIndoor", DoubleValue(0.0), "ShadowSigmaExtWalls", DoubleValue(0.0)
);
YansWifiPhyHelper wifiPhy = YansWifiPhyHelper::Default ();
wifiPhy.SetChannel (wifiChannel.Create ());
NetDeviceContainer devices = wifi.Install (wifiPhy, wifiMac, nodes);
/****************************************************************************************************/
Thank you.
Angelo T.