5G-LENA  nr-v3.0-25-g90be5d1
The 5G/NR module for the ns-3 simulator
cttc-nr-mimo-demo.cc File Reference

An example that shows how to setup and use MIMO. More...

#include "ns3/antenna-module.h"
#include "ns3/applications-module.h"
#include "ns3/config-store-module.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-nr-mimo-demo.cc:

Go to the source code of this file.

Detailed Description

An example that shows how to setup and use MIMO.

This example describes how to setup a simulation using MIMO. The scenario consists of a simple topology, in which there is only one gNB and one UE. An additional pair of gNB and UE can be enabled to simulate the interference (see enableInterfNode). Example creates one DL flow that goes through only BWP.

The example prints on-screen and into the file the end-to-end result of the flow. To see all the input parameters run:

$ ./ns3 run cttc-nr-mimo-demo -- --PrintHelp

MIMO is enabled by default. To disable it run:

  • $ ./ns3 run cttc-nr-mimo-demo -- --enableMimoFeedback=0

Definition in file cttc-nr-mimo-demo.cc.