ConstantSpeedPropagation¶
Package: inet.physicallayer.wireless.common.propagation
compound module ConstantSpeedPropagation
This propagation model computes the propagation time to be proportional to the traveled distance, the ratio is determined by the constant propagation speed parameter.
Usage diagram¶
Inheritance diagram¶
Used in compound modules¶
Name |
Type |
Description |
|---|---|---|
compound module |
The medium model describes the shared physical medium where communication takes place. It keeps track of radios, noise sources, ongoing transmissions, background noise, and other ongoing noises. The medium computes when, where and how transmissions and noises arrive at receivers. It also efficiently provides the set of interfering transmissions and noises for the receivers. |
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Serves as a base module for propagation models. |
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 |
propagationSpeed |
double |
299792458mps |
The theoretical propagation speed of signals on the medium (used by path loss models) |
ignoreMovementDuringTransmission |
bool |
true |
True means that the movement of the transmitter and the receiver during signal transmission is ignored |
ignoreMovementDuringPropagation |
bool |
true |
True means that the movement of the transmitter and the receiver during signal propagation is ignored |
ignoreMovementDuringReception |
bool |
true |
True means that the movement of the transmitter and the receiver during signal reception is ignored |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
ConstantSpeedPropagation |
|
display |
i=block/timer |
Source code¶
//
// This propagation model computes the propagation time to be proportional to
// the traveled distance, the ratio is determined by the constant propagation
// speed parameter.
//
module ConstantSpeedPropagation extends PropagationBase
{
parameters:
bool ignoreMovementDuringTransmission = default(true); // True means that the movement of the transmitter and the receiver during signal transmission is ignored
bool ignoreMovementDuringPropagation = default(true); // True means that the movement of the transmitter and the receiver during signal propagation is ignored
bool ignoreMovementDuringReception = default(true); // True means that the movement of the transmitter and the receiver during signal reception is ignored
@class(ConstantSpeedPropagation);
}
File: src/inet/physicallayer/wireless/common/propagation/ConstantSpeedPropagation.ned