5G-LENA  nr-v3.0-29-g83cc959
The 5G/NR module for the ns-3 simulator
cttc-3gpp-channel-nums.cc File Reference

Simple topology numerologies example. 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/internet-apps-module.h"
#include "ns3/internet-module.h"
#include "ns3/mobility-module.h"
#include "ns3/nr-module.h"
#include "ns3/point-to-point-module.h"
+ Include dependency graph for cttc-3gpp-channel-nums.cc:

Go to the source code of this file.

Detailed Description

Simple topology numerologies example.

This example allows users to configure the numerology and test the end-to-end performance for different numerologies. In the following figure we illustrate the simulation setup.

For example, UDP packet generation rate can be configured by setting "--lambda=1000". The numerology can be toggled by the argument, e.g. "--numerology=1". Additionally, in this example two arguments are added "bandwidth" and "frequency", both in Hz units. The modulation scheme of this example is in test mode, and it is fixed to 28.

By default, the program uses the 3GPP channel model, without shadowing and with line of sight ('l') option. The program runs for 0.4 seconds and one single packet is to be transmitted. The packet size can be configured by using the following parameter: "--packetSize=1000".

This simulation prints the output to the terminal and also to the file which is named by default "cttc-3gpp-channel-nums-fdm-output" and which is by default placed in the root directory of the project.

To run the simulation with the default configuration one shall run the following in the command line:

./ns3 run cttc-3gpp-channel-nums

Definition in file cttc-3gpp-channel-nums.cc.