5G-LENA nr-v3.1-69-g2dd513a7
The 5G/NR module for the ns-3 simulator
Loading...
Searching...
No Matches
scenario-parameters.h
1// Copyright (c) 2019 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
2//
3// SPDX-License-Identifier: GPL-2.0-only
4
5#ifndef SCENARIO_PARAMETERS_H
6#define SCENARIO_PARAMETERS_H
7
8#include <ns3/vector.h>
9
10namespace ns3
11{
12
17{
18 public:
23 {
24 NONE = 0,
25 SINGLE = 1,
26 TRIPLE = 3
27 };
28
32 virtual ~ScenarioParameters();
33
38 void SetBsHeight(double h);
39
44 void SetUtHeight(double h);
45
49 uint32_t GetNumSectorsPerSite() const;
50
57 void SetSectorization(uint32_t numSectors);
58
63 void SetScenarioParameters(const std::string& scenario);
64
69 void SetScenarioParameters(const ScenarioParameters& scenario);
70
74 void SetUMaParameters();
75
79 void SetUMiParameters();
80
84 void SetRMaParameters();
85
86 // Keep the data members public to facilitate defining custom scenarios
87 double m_isd{-1.0};
88 double m_bsHeight{-1.0};
89 double m_utHeight{-1.0};
91 double m_minBsUtDistance{-1.0};
92 double m_antennaOffset{-1.0};
93
95 static double MAX_ANTENNA_OFFSET;
96};
97
98} // namespace ns3
99
100#endif // SCENARIO_PARAMETERS_H
Basic simulation scenario parameters.
void SetUMiParameters()
Sets the Urban Micro (UMi) scenario parameters.
void SetUMaParameters()
Sets the Urban Macro (UMa) scenario parameters.
void SetBsHeight(double h)
SetGnbHeight.
double m_isd
Inter-site distance (ISD) in meters.
uint32_t GetNumSectorsPerSite() const
Gets the number of sectors per site.
void SetUtHeight(double h)
SetUeHeight.
SiteSectorizationType m_sectorization
Number of sectors per site.
double m_bsHeight
Height of gNB nodes.
void SetRMaParameters()
Sets rural Macro scenario parameters.
virtual ~ScenarioParameters()
~ScenarioParameters
void SetSectorization(SiteSectorizationType numSectors)
Sets the number of sectors of every site.
double m_minBsUtDistance
Minimum distance between BS and UT in meters.
SiteSectorizationType
Type of site sectorization.
@ NONE
Unconfigured value.
@ TRIPLE
Site with 3 120º-width sectors.
@ SINGLE
Site with a 360º-width sector.
void SetScenarioParameters(const std::string &scenario)
Sets parameters to the specified scenario.
double m_utHeight
Height of UE nodes.
double m_antennaOffset
Cell antenna offset in meters w.r.t. site location.