![]() |
5G-LENA nr-v3.3-81-g75c7590d
The 5G/NR module for the ns-3 simulator
|
A hegagonal topology example used to show how to configure different NGMN types of traffics or NGMN mixed scenario. More...
#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/log.h"
#include "ns3/mobility-module.h"
#include "ns3/network-module.h"
#include "ns3/nr-module.h"
#include "ns3/point-to-point-module.h"
#include <ns3/antenna-module.h>
#include <ns3/nr-radio-environment-map-helper.h>
#include <ns3/ping-helper.h>
#include <ns3/rng-seed-manager.h>
#include <ns3/three-gpp-ftp-m1-helper.h>
#include <ns3/three-gpp-http-client.h>
#include <ns3/three-gpp-http-helper.h>
#include <ns3/three-gpp-http-server.h>
#include <ns3/three-gpp-http-variables.h>
#include <ns3/traffic-generator-ngmn-ftp-multi.h>
#include <ns3/traffic-generator-ngmn-gaming.h>
#include <ns3/traffic-generator-ngmn-video.h>
#include <ns3/traffic-generator-ngmn-voip.h>
#include <algorithm>
#include <iostream>
Go to the source code of this file.
Enumerations | |
enum | TrafficTypeConf { UDP_CBR , FTP_3GPP_M1 , NGMN_FTP , NGMN_VIDEO , NGMN_HTTP , NGMN_GAMING , NGMN_VOIP , NGMN_MIXED } |
Functions | |
static std::ostream & | operator<< (std::ostream &os, const TrafficTypeConf &item) |
operator << for TrafficTypeConf | |
static std::istream & | operator>> (std::istream &is, TrafficTypeConf &item) |
void | Set5gLenaSimulatorParameters (HexagonalGridScenarioHelper gridScenario, std::string scenario, std::string radioNetwork, std::string operationMode, std::string direction, 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, bool uniformLambda) |
A hegagonal topology example used to show how to configure different NGMN types of traffics or NGMN mixed scenario.
The 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.
Please have a look at the possible parameters to know what you can configure through the command line.
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-nr-traffic-ngmn-mixed.cc.
enum TrafficTypeConf |
Definition at line 580 of file cttc-nr-traffic-ngmn-mixed.cc.
|
inlinestatic |
operator << for TrafficTypeConf
os | output stream |
item | TrafficType to print |
Definition at line 598 of file cttc-nr-traffic-ngmn-mixed.cc.
|
inlinestatic |
Definition at line 634 of file cttc-nr-traffic-ngmn-mixed.cc.
void Set5gLenaSimulatorParameters | ( | HexagonalGridScenarioHelper | gridScenario, |
std::string | scenario, | ||
std::string | radioNetwork, | ||
std::string | operationMode, | ||
std::string | direction, | ||
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, | ||
bool | uniformLambda | ||
) |
Set the spectrum channel using the selected scenario
Definition at line 152 of file cttc-nr-traffic-ngmn-mixed.cc.
References ns3::CcBwpCreator::CreateOperationBandContiguousCc(), ns3::NrAmc::ErrorModel, ns3::CcBwpCreator::GetAllBwps(), ns3::NodeDistributionScenarioInterface::GetAntennaOrientationRadians(), ns3::DirectPathBeamforming::GetTypeId(), ns3::QuasiOmniDirectPathBeamforming::GetTypeId(), and ns3::CcBwpCreator::SimpleOperationBandConf::m_numBwp.