![]() |
5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
|
Rem beam configuration example. More...
#include "ns3/antenna-module.h"
#include "ns3/config-store.h"
#include "ns3/core-module.h"
#include "ns3/internet-module.h"
#include "ns3/log.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/nr-helper.h"
#include "ns3/nr-module.h"
Go to the source code of this file.
Rem beam configuration example.
This is a simple example which can be used to test different configurations of gNB antenna array parameters and visualize its radiation through REM map. Parameters that can be provided as input through the command line to configure antenna array and its beamforming vector are:
The rest of parameters are for REM map configuration, such as parameters for resolution and REM area.
./ns3 run "rem-beam-example"
The output of this example are REM csv files from which REM figures can be generated with the following command:
If no simTag is specified then to plot run the following command:
The following files will be generated (in the root project folder if not specified differently): nr-rem–sinr.png, nr-rem–snr.png and nr-rem–ipsd.png
Definition in file rem-beam-example.cc.