BreakpointPathLoss¶
Package: inet.physicallayer.wireless.common.pathloss
compound module BreakpointPathLoss
Path loss model that uses a dual-slope approach with different path loss exponents for different distance ranges. Models signal attenuation with a breakpoint distance that divides propagation into two regions, each with its own path loss characteristics. Particularly useful for environments where propagation behavior changes significantly at a certain distance, such as indoor/outdoor transitions or urban scenarios with varying obstacle densities.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Base module for all INET compound modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
l01 |
double |
Initial path loss for the near-distance region |
|
l02 |
double |
Initial path loss for the far-distance region |
|
alpha1 |
double |
Path loss exponent for the near-distance region |
|
alpha2 |
double |
Path loss exponent for the far-distance region |
|
breakpointDistance |
double |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
BreakpointPathLoss |
Source code¶
//
// Path loss model that uses a dual-slope approach with different path loss
// exponents for different distance ranges. Models signal attenuation with a
// breakpoint distance that divides propagation into two regions, each with its
// own path loss characteristics. Particularly useful for environments where
// propagation behavior changes significantly at a certain distance, such as
// indoor/outdoor transitions or urban scenarios with varying obstacle densities.
//
module BreakpointPathLoss extends Module like IPathLoss
{
parameters:
double l01 @unit(dB); // Initial path loss for the near-distance region
double l02 @unit(dB); // Initial path loss for the far-distance region
double alpha1; // Path loss exponent for the near-distance region
double alpha2; // Path loss exponent for the far-distance region
double breakpointDistance @unit(m);
@class(BreakpointPathLoss);
}
File: src/inet/physicallayer/wireless/common/pathloss/BreakpointPathLoss.ned