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

A simple NR example demonstrating the simulation of different spectrum channels. This example showcases configuration of the spectrum channel with antenna and propagation models that explicitly model multiple antenna elements (phased arrays), and with antenna and propagation models that abstract away the individual elements (called 'non-phased' herein). The 3GPP propagation models require Uniform Planar Array and propagation models of the PhasedArraySpectrumPropagationLossModel type. Other propagation models are designed to use antenna models without explicit array configuration (e.g., ParabolicAntennaModel) and with propagation models (e.g., TraceFadingLossModel) that do not take into account the explicit array configuration. This comment is a reminder that propagation models are also dependent on the antenna type. More...

#include "ns3/command-line.h"
#include "ns3/constant-velocity-mobility-model.h"
#include "ns3/flow-monitor-module.h"
#include "ns3/isotropic-antenna-model.h"
#include "ns3/multi-model-spectrum-channel.h"
#include "ns3/nr-module.h"
#include "ns3/parabolic-antenna-model.h"
#include "ns3/point-to-point-helper.h"
#include "ns3/pointer.h"
#include "ns3/udp-client-server-helper.h"
+ Include dependency graph for gsoc-nr-channel-models.cc:

Go to the source code of this file.

Detailed Description

A simple NR example demonstrating the simulation of different spectrum channels. This example showcases configuration of the spectrum channel with antenna and propagation models that explicitly model multiple antenna elements (phased arrays), and with antenna and propagation models that abstract away the individual elements (called 'non-phased' herein). The 3GPP propagation models require Uniform Planar Array and propagation models of the PhasedArraySpectrumPropagationLossModel type. Other propagation models are designed to use antenna models without explicit array configuration (e.g., ParabolicAntennaModel) and with propagation models (e.g., TraceFadingLossModel) that do not take into account the explicit array configuration. This comment is a reminder that propagation models are also dependent on the antenna type.

In this example, the user can simulate a phased-array channel or the Friis model (non-phased array model). By default, the example uses the 3GPP channel model with the default channel condition and Urban Macro scenario. When selecting to simulate using the Friis model, the ParabolicAntennaModel will be used as the antenna type.

The simulation generates multiple text files containing flow statistics and pathloss traces. Each SpectrumChannel produces distinct pathloss traces, which may or may not affect the statistical results.

Note
This example was produced during the Google Summer of Code 2024 program. The main author is João Albuquerque, under the supervision of Biljana Bojovic, Amir Ashtari, Gabriel Ferreira, in project: 5G NR Module Benchmark and Analysis for Distinct Channel Models

joao..nosp@m.barb.nosp@m.osa.a.nosp@m.lbuq.nosp@m.uerqu.nosp@m.e@it.nosp@m.ec.uf.nosp@m.pa.b.nosp@m.r

Definition in file gsoc-nr-channel-models.cc.