ErrorModelBase

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

compound module ErrorModelBase

Serves as the base module for error models.

ErrorModelBase

Inheritance diagram

Known subclasses

Name

Type

Description

ApskErrorModel

compound module

This error model determines packet error rate, bit error rate, and symbol error rate by using the well-known formula that corresponds to the modulation. It assumes no forward error correction or any other technique is used in the physical signal.

StochasticErrorModel

compound module

This error model provides parameters to specify the constant packet error rate, bit error rate, and symbol error rate for receptions independent of any interfering transmission or noise.

Ieee80211BerTableErrorModel

compound module

(no description)

Ieee80211NistErrorModel

compound module

(no description)

Ieee80211YansErrorModel

compound module

(no description)

Ieee802154ErrorModel

compound module

(no description)

Extends

Name

Type

Description

Module

compound module

Base module for all INET compound modules.

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

corruptionMode

string

“packet”

snirMode

string

“min”

snirOffset

double

0dB

Offset the calculated SNIR before further computing the PER, BER, SER or corrupt bits and symbols

Properties

Name

Value

Description

class

ErrorModelBase

display

i=block/broadcast

this can be used, for example, to represent cross symbol interference due to OFDM lobe overlapping, symbol frequency/time offset mismatch, and symbol frequency/time size mismatch

Source code

//
// Serves as the base module for error models.
//
module ErrorModelBase extends Module like IErrorModel
{
    parameters:
        string corruptionMode @enum("packet", "chunk", "byte", "bit") = default("packet");
        string snirMode @enum("min", "mean") = default("min");
        double snirOffset @unit(dB) = default(0dB); // Offset the calculated SNIR before further computing the PER, BER, SER or corrupt bits and symbols
                                                    // this can be used, for example, to represent cross symbol interference due to OFDM lobe overlapping, symbol frequency/time offset mismatch, and symbol frequency/time size mismatch
        @display("i=block/broadcast");
        @class(ErrorModelBase);
}

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