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

Inheritance diagram

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

Known subclasses

Name Type Description
ApskDimensionalTransmitter 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.

Ieee80211DimensionalTransmitter compound module

This transmitter model produces IEEE 802.11 transmissions that have dimensional transmission power (that changes over time and/or frequency) in their analog representation. The bit domain, symbol domain, and sample domains of the transmissions are not represented.

Ieee802154NarrowbandDimensionalTransmitter compound module (no description)

Extends

Name Type Description
NarrowbandTransmitterBase compound module

This module servces as a base module for narrowband transmitter models.

Parameters

Name Type Default value Description
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
display i=block/wtx
class DimensionalTransmitterBase

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