ConstantTimePropagation

Package: inet.physicallayer.wireless.common.propagation

compound module ConstantTimePropagation

This propagation model computes the propagation time to be independent of the traveled distance. In other words, the propagation time is determined by a constant parameter.

ConstantTimePropagation

Inheritance 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)

propagationTime

double

0s

The time it takes for a signal to propagate from any transmitter to any receiver

Properties

Name

Value

Description

class

ConstantTimePropagation

display

i=block/timer

Source code

//
// This propagation model computes the propagation time to be independent of
// the traveled distance. In other words, the propagation time is determined by
// a constant parameter.
//
module ConstantTimePropagation extends PropagationBase
{
    parameters:
        double propagationTime @unit(s) = default(0s); // The time it takes for a signal to propagate from any transmitter to any receiver
        @class(ConstantTimePropagation);
}

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