Enumerations | |
| enum | O2iPenetrationFieldKey : uint64_t { DISTANCE_2D_IN_1 = 0 , DISTANCE_2D_IN_2 = 1 , DEVIATION = 2 } |
| Field keys of kO2iPenetrationField. More... | |
| enum | SFCL_params { S_LOS_sigF , S_NLOS_sigF , S_NLOS_CL , Ka_LOS_sigF , Ka_NLOS_sigF , Ka_NLOS_CL } |
| The enumerator used for code clarity when performing parameter assignment in the GetLoss Methods. More... | |
Functions | |
| double | ComputeAtmosphericAbsorptionLoss (double freq, double elevAngle) |
| Computes the atmospheric absorption loss using the formula described in 3GPP TR 38.811, Sec 6.6.4. | |
| double | ComputeClutterLoss (double freq, const std::map< int, std::vector< float > > *sfcl, double elevAngleQuantized) |
| Computes the clutter loss using the formula described in 3GPP TR 38.811, Sec 6.6.6.1-4 and 6.6.6.2, respectively. | |
| double | ComputeIonosphericPlusTroposphericScintillationLoss (double freq, double elevAngleQuantized, bool ionoScintLossEnabled, bool tropoScintLossEnabled) |
| Computes the ionospheric plus tropospheric scintillation loss using the formulas described in 3GPP TR 38.811, Sec 6.6.6.1-4 and 6.6.6.2, respectively. | |
| double | ComputeNtnPathloss (double freq, double dist3d) |
| Computes the free-space path loss using the formula described in 3GPP TR 38.811, Table 6.6.2. | |
| std::tuple< double, double, double, double > | GetBsUtDistancesAndHeights (ns3::Ptr< const ns3::MobilityModel > a, ns3::Ptr< const ns3::MobilityModel > b) |
| Get the base station and user terminal relative distances and heights. | |
| std::tuple< double, double > | GetBsUtHeightsUmiStreetCanyon (double heightA, double heightB) |
| Get the base station and user terminal heights for the UmiStreetCanyon scenario. | |
| double | O2iHighLossTw (double frequency) |
| High-loss O2I penetration loss through the external wall, TR 38.901 Table 7.4.3-2. | |
| double | O2iLowLossTw (double frequency) |
| Low-loss O2I penetration loss through the external wall, TR 38.901 Table 7.4.3-2. | |
| double | SampleO2iDistance2dIn (const ns3::Vector &position, double maxDistance, bool minOfTwo) |
| Sample the spatially consistent O2I 2D-in distance at a terminal position (TR 38.901 Sec. | |
Variables | |
| const double | atmosphericAbsorption [101] |
| Array containing the attenuation given by atmospheric absorption. | |
| constexpr double | kDistance2dInCorrelationDistance = 25.0 |
| Correlation distance of the uniform variables of the 2D-in distance, TR 38.901 Sec. 7.6.3.3. | |
| constexpr double | kO2iHighLossStd = 6.5 |
| Standard deviation in dB of the high-loss penetration loss, TR 38.901 Table 7.4.3-2. | |
| constexpr double | kO2iLowLossStd = 4.4 |
| Standard deviation in dB of the low-loss penetration loss, TR 38.901 Table 7.4.3-2. | |
| const ns3::SpatialGaussianField | kO2iPenetrationField |
| Indoor-distance and penetration-loss-deviation random fields, see SpatialGaussianField. | |
| constexpr double | kPenetrationDeviationCorrelationDistance = 10.0 |
| Correlation distance of the penetration loss deviation, TR 38.901 Sec. 7.6.3.3. | |
| const ns3::SpatialGaussianField | kShadowFadingField {ns3::SpatialGaussianField::Salt::SHADOW_FADING} |
| Shadow-fading random fields, one per (site, condition), see SpatialGaussianField. | |
| constexpr double | M_C = 299792458.0 |
| speed of light in vacuum [m/s] (Issue 1092) | |
| constexpr double | OUT_OF_DOMAIN_LOSS_DB = 500.0 |
| Finite, large loss returned for links outside the domain of the TR 38.811 model (non-positive elevation angles), in dB. | |
| const std::map< int, std::vector< float > > | SFCL_DenseUrban |
| The map containing the 3GPP value regarding Shadow Fading and Clutter Loss tables for the NTN Dense Urban scenario. | |
| const std::map< int, std::vector< float > > | SFCL_SuburbanRural |
| The map containing the 3GPP value regarding Shadow Fading and Clutter Loss tables for the NTN Suburban and Rural scenarios. | |
| const std::map< int, std::vector< float > > | SFCL_Urban |
| The map containing the 3GPP value regarding Shadow Fading and Clutter Loss tables for the NTN Urban scenario. | |
| const std::map< int, float > | troposphericScintillationLoss |
| Map containing the Tropospheric attenuation in dB with 99% probability at 20 GHz in Toulouse used for tropospheric scintillation losses. | |
| enum anonymous_namespace{three-gpp-propagation-loss-model.cc}::O2iPenetrationFieldKey : uint64_t |
Field keys of kO2iPenetrationField.
| Enumerator | |
|---|---|
| DISTANCE_2D_IN_1 | first uniform variable of the 2D-in distance |
| DISTANCE_2D_IN_2 | second uniform variable of the 2D-in distance |
| DEVIATION | penetration loss deviation |
Definition at line 40 of file three-gpp-propagation-loss-model.cc.
| enum anonymous_namespace{three-gpp-propagation-loss-model.cc}::SFCL_params |
The enumerator used for code clarity when performing parameter assignment in the GetLoss Methods.
| Enumerator | |
|---|---|
| S_LOS_sigF | |
| S_NLOS_sigF | |
| S_NLOS_CL | |
| Ka_LOS_sigF | |
| Ka_NLOS_sigF | |
| Ka_NLOS_CL | |
Definition at line 115 of file three-gpp-propagation-loss-model.cc.
| double anonymous_namespace{three-gpp-propagation-loss-model.cc}::ComputeAtmosphericAbsorptionLoss | ( | double | freq, |
| double | elevAngle ) |
Computes the atmospheric absorption loss using the formula described in 3GPP TR 38.811, Sec 6.6.4.
| freq | the operating frequency |
| elevAngle | the elevation angle between the communicating nodes |
Definition at line 279 of file three-gpp-propagation-loss-model.cc.
References atmosphericAbsorption.
| double anonymous_namespace{three-gpp-propagation-loss-model.cc}::ComputeClutterLoss | ( | double | freq, |
| const std::map< int, std::vector< float > > * | sfcl, | ||
| double | elevAngleQuantized ) |
Computes the clutter loss using the formula described in 3GPP TR 38.811, Sec 6.6.6.1-4 and 6.6.6.2, respectively.
| freq | the operating frequency |
| elevAngleQuantized | the quantized elevation angle between the communicating nodes |
| sfcl | the nested map containing the Shadow Fading and Clutter Loss values for the NTN Suburban and Rural scenario |
Definition at line 343 of file three-gpp-propagation-loss-model.cc.
References Ka_NLOS_CL, and S_NLOS_CL.
| double anonymous_namespace{three-gpp-propagation-loss-model.cc}::ComputeIonosphericPlusTroposphericScintillationLoss | ( | double | freq, |
| double | elevAngleQuantized, | ||
| bool | ionoScintLossEnabled, | ||
| bool | tropoScintLossEnabled ) |
Computes the ionospheric plus tropospheric scintillation loss using the formulas described in 3GPP TR 38.811, Sec 6.6.6.1-4 and 6.6.6.2, respectively.
The ionospheric term applies below 6 GHz and the tropospheric term at 6 GHz and above; either can be excluded via its enable flag.
| freq | the operating frequency |
| elevAngleQuantized | the quantized elevation angle between the communicating nodes |
| ionoScintLossEnabled | whether to apply the ionospheric scintillation loss |
| tropoScintLossEnabled | whether to apply the tropospheric scintillation loss |
Definition at line 306 of file three-gpp-propagation-loss-model.cc.
References troposphericScintillationLoss.
| double anonymous_namespace{three-gpp-propagation-loss-model.cc}::ComputeNtnPathloss | ( | double | freq, |
| double | dist3d ) |
Computes the free-space path loss using the formula described in 3GPP TR 38.811, Table 6.6.2.
| freq | the operating frequency |
| dist3d | the 3D distance between the communicating nodes |
Definition at line 264 of file three-gpp-propagation-loss-model.cc.
| std::tuple< double, double, double, double > anonymous_namespace{three-gpp-propagation-loss-model.cc}::GetBsUtDistancesAndHeights | ( | ns3::Ptr< const ns3::MobilityModel > | a, |
| ns3::Ptr< const ns3::MobilityModel > | b ) |
Get the base station and user terminal relative distances and heights.
| a | the mobility model of terminal a |
| b | the mobility model of terminal b |
Definition at line 220 of file three-gpp-propagation-loss-model.cc.
References ns3::ThreeGppChannelConditionModel::Calculate2dDistance(), and ns3::CalculateDistance().
| std::tuple< double, double > anonymous_namespace{three-gpp-propagation-loss-model.cc}::GetBsUtHeightsUmiStreetCanyon | ( | double | heightA, |
| double | heightB ) |
Get the base station and user terminal heights for the UmiStreetCanyon scenario.
| heightA | the first height in meters |
| heightB | the second height in meters |
Definition at line 241 of file three-gpp-propagation-loss-model.cc.
High-loss O2I penetration loss through the external wall, TR 38.901 Table 7.4.3-2.
| frequency | The centre frequency in Hz. |
Definition at line 104 of file three-gpp-propagation-loss-model.cc.
Low-loss O2I penetration loss through the external wall, TR 38.901 Table 7.4.3-2.
| frequency | The centre frequency in Hz. |
Definition at line 91 of file three-gpp-propagation-loss-model.cc.
| double anonymous_namespace{three-gpp-propagation-loss-model.cc}::SampleO2iDistance2dIn | ( | const ns3::Vector & | position, |
| double | maxDistance, | ||
| bool | minOfTwo ) |
Sample the spatially consistent O2I 2D-in distance at a terminal position (TR 38.901 Sec.
7.6.3.3).
| position | Terminal position (only x and y are used). |
| maxDistance | Upper bound of the uniform variables in meters. |
| minOfTwo | True for the minimum of two uniform variables (TR 38.901 Table 7.4.3-2), false for a single one (Table 7.4.3-3). |
Definition at line 70 of file three-gpp-propagation-loss-model.cc.
References DISTANCE_2D_IN_1, DISTANCE_2D_IN_2, kDistance2dInCorrelationDistance, kO2iPenetrationField, and u.
Array containing the attenuation given by atmospheric absorption.
100 samples are selected for frequencies from 1GHz to 100GHz. In order to get the atmospheric absorption loss for a given frequency f: 1- round f to the closest integer between 0 and 100. 2- use the obtained integer to access the corresponding element in the array, that will give the attenuation at that frequency. Data is obtained form ITU-R P.676 Figure 6.
Definition at line 180 of file three-gpp-propagation-loss-model.cc.
Referenced by ComputeAtmosphericAbsorptionLoss().
|
constexpr |
Correlation distance of the uniform variables of the 2D-in distance, TR 38.901 Sec. 7.6.3.3.
Definition at line 48 of file three-gpp-propagation-loss-model.cc.
Referenced by SampleO2iDistance2dIn().
Standard deviation in dB of the high-loss penetration loss, TR 38.901 Table 7.4.3-2.
Definition at line 57 of file three-gpp-propagation-loss-model.cc.
Standard deviation in dB of the low-loss penetration loss, TR 38.901 Table 7.4.3-2.
Definition at line 54 of file three-gpp-propagation-loss-model.cc.
| const ns3::SpatialGaussianField anonymous_namespace{three-gpp-propagation-loss-model.cc}::kO2iPenetrationField |
Indoor-distance and penetration-loss-deviation random fields, see SpatialGaussianField.
Both are properties of the terminal location rather than of the link, so they are not keyed on the site.
Definition at line 36 of file three-gpp-propagation-loss-model.cc.
Referenced by SampleO2iDistance2dIn().
|
constexpr |
Correlation distance of the penetration loss deviation, TR 38.901 Sec. 7.6.3.3.
Definition at line 51 of file three-gpp-propagation-loss-model.cc.
| const ns3::SpatialGaussianField anonymous_namespace{three-gpp-propagation-loss-model.cc}::kShadowFadingField {ns3::SpatialGaussianField::Salt::SHADOW_FADING} |
Shadow-fading random fields, one per (site, condition), see SpatialGaussianField.
Definition at line 29 of file three-gpp-propagation-loss-model.cc.
speed of light in vacuum [m/s] (Issue 1092)
Definition at line 362 of file three-gpp-propagation-loss-model.cc.
|
constexpr |
Finite, large loss returned for links outside the domain of the TR 38.811 model (non-positive elevation angles), in dB.
Definition at line 252 of file three-gpp-propagation-loss-model.cc.
| const std::map<int, std::vector<float> > anonymous_namespace{three-gpp-propagation-loss-model.cc}::SFCL_DenseUrban |
The map containing the 3GPP value regarding Shadow Fading and Clutter Loss tables for the NTN Dense Urban scenario.
Definition at line 129 of file three-gpp-propagation-loss-model.cc.
| const std::map<int, std::vector<float> > anonymous_namespace{three-gpp-propagation-loss-model.cc}::SFCL_SuburbanRural |
The map containing the 3GPP value regarding Shadow Fading and Clutter Loss tables for the NTN Suburban and Rural scenarios.
Definition at line 161 of file three-gpp-propagation-loss-model.cc.
| const std::map<int, std::vector<float> > anonymous_namespace{three-gpp-propagation-loss-model.cc}::SFCL_Urban |
The map containing the 3GPP value regarding Shadow Fading and Clutter Loss tables for the NTN Urban scenario.
Definition at line 145 of file three-gpp-propagation-loss-model.cc.
| const std::map<int, float> anonymous_namespace{three-gpp-propagation-loss-model.cc}::troposphericScintillationLoss |
Map containing the Tropospheric attenuation in dB with 99% probability at 20 GHz in Toulouse used for tropospheric scintillation losses.
From Table 6.6.6.2.1-1 of 3GPP TR 38.811.
Definition at line 197 of file three-gpp-propagation-loss-model.cc.
Referenced by ComputeIonosphericPlusTroposphericScintillationLoss().