![]() |
5G-LENA nr-v4.0
The 5G/NR module for the ns-3 simulator
|
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"
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::NrEpcTft > | CreateLowLatTft< 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) |
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.
Definition in file cttc-fh-compression.cc.
Ptr< T > CreateLowLatTft | ( | uint16_t | start, |
uint16_t | end, | ||
std::string | dir | ||
) |
Definition at line 860 of file cttc-fh-compression.cc.
std::vector< int16_t > GetMcsVectorFromInput | ( | const std::string & | pattern | ) |
Definition at line 133 of file cttc-fh-compression.cc.
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 | ||
) |
Set the channel model for the bands. The channel model is the same for all the bands. Initialize both fading and propagation
Definition at line 238 of file cttc-fh-compression.cc.
References ns3::CcBwpCreator::CreateOperationBandContiguousCc(), ns3::NrAmc::ErrorModel, ns3::CcBwpCreator::GetAllBwps(), ns3::NodeDistributionScenarioInterface::GetAntennaOrientationRadians(), ns3::NodeDistributionScenarioInterface::GetNumCells(), ns3::DirectPathBeamforming::GetTypeId(), ns3::QuasiOmniDirectPathBeamforming::GetTypeId(), and ns3::CcBwpCreator::SimpleOperationBandConf::m_numBwp.