5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
cttc-fh-compression.cc File Reference

A multi-cell network deployment with site sectorization. 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/lte-module.h"
#include "ns3/mobility-module.h"
#include "ns3/nr-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/rng-seed-manager.h"
#include "ns3/three-gpp-ftp-m1-helper.h"
#include <algorithm>
#include <iostream>
#include "ns3/log.h"
+ Include dependency graph for cttc-fh-compression.cc:

Go to the source code of this file.

Functions

template<typename T >
Ptr< T > CreateLowLatTft (uint16_t start, uint16_t end, std::string dir)
 
template Ptr< ns3::EpcTft > CreateLowLatTft< ns3::EpcTft > (uint16_t, uint16_t, std::string)
 
template Ptr< ns3::NrEpcTftCreateLowLatTft< ns3::NrEpcTft > (uint16_t, uint16_t, std::string)
 
std::vector< int16_t > GetMcsVectorFromInput (const std::string &pattern)
 
void Set5gLenaSimulatorParameters (HexagonalGridScenarioHelper gridScenario, std::string scenario, std::string radioNetwork, std::string errorModel, std::string operationMode, std::string direction, uint16_t numerology, std::string pattern1, std::string pattern2, bool uniformPattern, NodeContainer gnbSector1Container, NodeContainer gnbSector2Container, NodeContainer gnbSector3Container, NodeContainer ueSector1Container, NodeContainer ueSector2Container, NodeContainer ueSector3Container, Ptr< NrPointToPointEpcHelper > &baseNrEpcHelper, Ptr< NrHelper > &nrHelper, NetDeviceContainer &gnbSector1NetDev, NetDeviceContainer &gnbSector2NetDev, NetDeviceContainer &gnbSector3NetDev, NetDeviceContainer &ueSector1NetDev, NetDeviceContainer &ueSector2NetDev, NetDeviceContainer &ueSector3NetDev, int16_t maxMcsDl1, int16_t maxMcsDl2, std::vector< int16_t > &maxMcsVector, bool uniformMcs, bool uniformLambda)
 

Detailed Description

A multi-cell network deployment with site sectorization.

This example describes how to setup a simulation using the 3GPP channel model from TR 38.901. This example consists of an hexagonal grid deployment consisting on a central site and a number of outer rings of sites around this central site. Each site is sectorized, meaning that a number of three antenna arrays or panels are deployed per gNB. These three antennas are pointing to 30º, 150º and 270º w.r.t. the horizontal axis. We allocate a band to each sector of a site, and the bands are contiguous in frequency.

We provide a number of simulation parameters that can be configured in the command line, such as the number of UEs per cell or the number of outer rings. Please have a look at the possible parameters to know what you can configure through the command line.

With the default configuration, the example will create one DL flow per UE. The example will print on-screen the end-to-end result of each flow, as well as writing them on a file.

$ ./ns3 run "cttc-fh-compression --PrintHelp"

Definition in file cttc-fh-compression.cc.

Function Documentation

◆ CreateLowLatTft()

template<typename T >
Ptr< T > CreateLowLatTft ( uint16_t  start,
uint16_t  end,
std::string  dir 
)

Definition at line 860 of file cttc-fh-compression.cc.

◆ GetMcsVectorFromInput()

std::vector< int16_t > GetMcsVectorFromInput ( const std::string &  pattern)

Definition at line 133 of file cttc-fh-compression.cc.

◆ Set5gLenaSimulatorParameters()

void Set5gLenaSimulatorParameters ( HexagonalGridScenarioHelper  gridScenario,
std::string  scenario,
std::string  radioNetwork,
std::string  errorModel,
std::string  operationMode,
std::string  direction,
uint16_t  numerology,
std::string  pattern1,
std::string  pattern2,
bool  uniformPattern,
NodeContainer  gnbSector1Container,
NodeContainer  gnbSector2Container,
NodeContainer  gnbSector3Container,
NodeContainer  ueSector1Container,
NodeContainer  ueSector2Container,
NodeContainer  ueSector3Container,
Ptr< NrPointToPointEpcHelper > &  baseNrEpcHelper,
Ptr< NrHelper > &  nrHelper,
NetDeviceContainer &  gnbSector1NetDev,
NetDeviceContainer &  gnbSector2NetDev,
NetDeviceContainer &  gnbSector3NetDev,
NetDeviceContainer &  ueSector1NetDev,
NetDeviceContainer &  ueSector2NetDev,
NetDeviceContainer &  ueSector3NetDev,
int16_t  maxMcsDl1,
int16_t  maxMcsDl2,
std::vector< int16_t > &  maxMcsVector,
bool  uniformMcs,
bool  uniformLambda 
)