ConstantSpeedPropagation

Package: inet.physicallayer.wireless.common.propagation

ConstantSpeedPropagation

compound module

This 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

This module servces as a base module for propagation models.

Parameters

Name Type Default value Description
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 the signal transmission is ignored

ignoreMovementDuringPropagation bool true

true means that the movement of the transmitter and the receiver during the signal propagation is ignored

ignoreMovementDuringReception bool true

true means that the movement of the transmitter and the receiver during the signal reception is ignored

Properties

Name Value Description
display i=block/timer
class ConstantSpeedPropagation

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 the signal transmission is ignored
        bool ignoreMovementDuringPropagation = default(true);  // true means that the movement of the transmitter and the receiver during the signal propagation is ignored
        bool ignoreMovementDuringReception = default(true);    // true means that the movement of the transmitter and the receiver during the signal reception is ignored
        @class(ConstantSpeedPropagation);
}

File: src/inet/physicallayer/wireless/common/propagation/ConstantSpeedPropagation.ned