Package: inet.physicallayer.wireless.common.propagation
ConstantSpeedPropagation
compound moduleThis propagation model computes the propagation time to be proportional to the traveled distance, the ratio is determined by the constant propagation speed parameter.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| PropagationBase | 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