Buildings Aware Propagation Loss Model for Wi-Fi

92 views
Skip to first unread message

Aitor

unread,
Jan 4, 2022, 3:40:45 AM1/4/22
to ns-3-users
Hi,

Are NS3 Building Propagation Loss Models such as, HybridBuildingsPropagationLossModel and OhBuildingsPropagationLossModel aware of custom buildings built with the “ns3/buildings-module.h” for Wi-Fi?

I have done a couple of experiments with and without buildings and the SNR results are exactly the same.

I have followed the available guides for Wi-Fi and buildings, but I still encounter this issue. I would like to know if the buildings I generate with the buildings-module are meant to be taken into consideration when performing a simulation.

~~~~~~~~~~~~~~~~~~Code summary~~~~~~~~~~~~~~~~~~~~~
// Yans Wi-Fi Physical layer Set-up
uint16_t frequency = 2412; // 80211g/n channel 1
YansWifiPhyHelper wifiPhy;
YansWifiChannelHelper wifiChannel;
wifiChannel.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel");
// Building aware model
wifiChannel.AddPropagationLoss("ns3::HybridBuildingsPropagationLossModel",
                               "Frequency", DoubleValue(frequency * 1e6),
                               "RooftopLevel", DoubleValue(10),
                               "Environment", StringValue("OpenAreas"),
                               "CitySize", StringValue("Large"),
                               "ShadowSigmaOutdoor", DoubleValue(7.0),
                               "ShadowSigmaIndoor", DoubleValue(8.0),
                               "ShadowSigmaExtWalls", DoubleValue(5.0)
);
wifiPhy.SetChannel (wifiChannel.Create ());

… (Conf: Wi-Fi station, mobility, etc)

// At the end of the mobility configuration, I call the Building's helper
// to Install the MobilityBuildingsInfo to the nodes.
BuildingsHelper::Install (nodes);
BuildingsHelper::Install (ap);
~~~~~~~~~~~~~~~~~~End Code summary~~~~~~~~~~~~~~~~~~~~~

PD: I am using ns-3.34 on macOS

Thank you in advance,

Aitor
Reply all
Reply to author
Forward
0 new messages