5G-LENA nr-v3.3-120-gdac69c56
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
cttc-lte-ca-demo.cc File Reference

Example for setting LTE CA scenario. More...

#include "ns3/antenna-module.h"
#include "ns3/applications-module.h"
#include "ns3/bandwidth-part-gnb.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/ipv4-global-routing-helper.h"
#include "ns3/log.h"
#include "ns3/mobility-module.h"
#include "ns3/nr-helper.h"
#include "ns3/nr-module.h"
#include "ns3/nr-point-to-point-epc-helper.h"
#include "ns3/point-to-point-helper.h"
+ Include dependency graph for cttc-lte-ca-demo.cc:

Go to the source code of this file.

Detailed Description

Example for setting LTE CA scenario.

This example describes how to setup a simulation using the 3GPP channel model from TR 38.901. This example consists of 1 gNb and 1 UE. Have a look at the possible parameters to know what you can configure through the command line.

The example allows 2 configurations:

An exclusivley TDD scenario, with 2 bands including 1 and 2 CCs, respectively. Each CC includes 1 BWP. In this case 3 flows are created, 2 DL and 1 UL.

A mixed TDD/FDD scenario with 2 bands including 1 and 2 CCs respectively. The 1st and the 2nd CC include 1 TDD BWP each, while the 3rd CC is set to FDD operation mode, thus it includes 2 BWPs (one for DL and 1 for UL). In this case 4 flows are created, 2 DL and 2 UL.

The example will print on-screen the end-to-end result of one (or two) flows, as well as writing them on a file.

$ ./ns3 run "cttc-lte-ca-demo --PrintHelp"

Definition in file cttc-lte-ca-demo.cc.