DimensionalTransmitterBase

Package: inet.physicallayer.wireless.common.base.packetlevel

DimensionalTransmitterBase

compound module

This transmitter model produces transmissions that use dimensional transmission power (that changes over time and/or frequency) in their analog representation and the configured modulation.

Allowed expressions for time and frequency coordinates in the gains parameters:

  s|c|e
  s|c|e+-quantity
  s|c|e+-b|d
  s|c|e+-b|d+-quantity
  s|c|e+-b|d*number
  s|c|e+-b|d*number+-quantity
where s = start, e = end, c = center frequency, b = bandwidth, d = duration. For example: c-b*0.5-1MHz

analogModel : like ITransmitterAnalogModel

ITransmitterAnalogModel: The transmitter analog model describes the process which produces the signal analog domain...

Source:
analogModel: <default("")> like ITransmitterAnalogModel if typename != "" {
    @display("p=100,100");
}

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
NarrowbandTransmitterBase compound module

Serves as a base module for narrowband transmitter 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

signalAnalogRepresentation string "scalar"

Determines the analog domain signal representation of transmissions

preambleDuration double

Preamble duration

headerLength int

Number of header bits added to the length of the MAC frame

bitrate double

The bitrate of the transmitter is used to compute the duration of the transmission

power double

Transmission power

centerFrequency double

Center frequency of the band where the transmitter transmits on the medium

bandwidth double

Bandwidth of the band where the transmitter transmits on the medium

codeRate double 1
modulation string "BPSK"

"BPSK", "16-QAM", "256-QAM"

gainFunctionCacheLimit int 0

Limits the number of gain functions cached for a given duration, centerFrequency and bandwidth

timeGains string "left s 0dB either e 0dB right"

Sequence of interpolation method, time, gain tuples; time can be an expression, gain is in [dB] or [0..inf); default value is a flat signal

timeGainsNormalization string ""

Determines how the time gains function is normalized, no normalization by default

frequencyGains string "left s 0dB either e 0dB right"

Sequence of interpolation method, frequency, gain tuples; frequency can be an expression, gain is in [dB] or [0..1]; default value is a flat signal

frequencyGainsNormalization string "integral"

Determines how the frequency gains function is normalized, integral normalization by default

Properties

Name Value Description
class DimensionalTransmitterBase
display i=block/wtx

Source code

//
// This transmitter model produces transmissions that use dimensional
// transmission power (that changes over time and/or frequency) in their analog
// representation and the configured modulation.
//
// Allowed expressions for time and frequency coordinates in the gains parameters:
// <pre>
//   s|c|e
//   s|c|e+-quantity
//   s|c|e+-b|d
//   s|c|e+-b|d+-quantity
//   s|c|e+-b|d*number
//   s|c|e+-b|d*number+-quantity
// </pre>
// where s = start, e = end, c = center frequency, b = bandwidth, d = duration. For example: c-b*0.5-1MHz
//
module DimensionalTransmitterBase extends NarrowbandTransmitterBase
{
    parameters:
        int gainFunctionCacheLimit = default(0); // Limits the number of gain functions cached for a given duration, centerFrequency and bandwidth
        string timeGains = default("left s 0dB either e 0dB right"); // Sequence of interpolation method, time, gain tuples; time can be an expression, gain is in [dB] or [0..inf); default value is a flat signal
        string timeGainsNormalization @enum("","maximum","integral") = default(""); // Determines how the time gains function is normalized, no normalization by default
        string frequencyGains = default("left s 0dB either e 0dB right"); // Sequence of interpolation method, frequency, gain tuples; frequency can be an expression, gain is in [dB] or [0..1]; default value is a flat signal
        string frequencyGainsNormalization @enum("","maximum","integral") = default("integral"); // Determines how the frequency gains function is normalized, integral normalization by default
        modulation = default("BPSK");
        @class(DimensionalTransmitterBase);
}

File: src/inet/physicallayer/wireless/common/base/packetlevel/DimensionalTransmitterBase.ned