![]() |
5G-LENA nr-v3.3-120-gdac69c56
The 5G/NR module for the ns-3 simulator
|
Creates a configurable NR TDD/FDD deployment with up to 2 gNBs, for testing a notching mask. More...
#include "ns3/antenna-module.h"
#include "ns3/applications-module.h"
#include "ns3/config-store-module.h"
#include "ns3/config-store.h"
#include "ns3/core-module.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/ideal-beamforming-algorithm.h"
#include "ns3/internet-apps-module.h"
#include "ns3/internet-module.h"
#include "ns3/ipv4-global-routing-helper.h"
#include "ns3/log.h"
#include "ns3/nr-helper.h"
#include "ns3/nr-mac-scheduler-tdma-rr.h"
#include "ns3/nr-module.h"
#include "ns3/nr-point-to-point-epc-helper.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/point-to-point-module.h"
Go to the source code of this file.
Creates a configurable NR TDD/FDD deployment with up to 2 gNBs, for testing a notching mask.
This example is used to study notching. By default the notching mask (mask with 0s and 1s, where 0s denote the RBs to be notched) is configured to all ones, meaning that no notched RBs are defined.
The user can select through the command line the number of RBs to be notched, as well as the starting RB. If for example we want to mute RBs from 12 to 17, then the starting RB has to be set to 12 and the number of notched RBs to 6. All gNBs then, will be assigned the same notched mask. The user can see the impact of the mask in the user throughput. As the notched resources increase, it can be seen how the throughput is decreased and vice versa.
TDD or FDD mode can be selected through the command line, as well as TDMA/OFDMA and DL or/and UL traffic. In case of TDD only 1 BWP is created, while for the FDD case a pair of DL/UL BWPs are created.
Please notice that the size of the mask depends on the bandwidth (BW). In this example we support only BWs of 5, 10 and 20 MHz. If a user wants to test different BWs or different mask sizes, will have to modify the example accordingly.
Also notice that the number of notched RBs must be chosen wisely. If for example someone sets the number of notched RBs too high and executes the example for a high number of UEs, then it will result in error since there will not be sufficient resources for the UE transmissions. In such case, either reduce the number of UEs or the number of notched RBs.
The example will print on-screen the end-to-end result of DL (and/or UL) flows, as well as writing them on a file.
Definition in file cttc-nr-notching.cc.