NarrowbandReceiverBase

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

NarrowbandReceiverBase

compound module

Serves as a base module for narrowband receiver models.

analogModel : like IReceiverAnalogModel

IReceiverAnalogModel: The receiver analog model describes the connecting piece between the technology-dependent part of...

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

IErrorModel: The error model describes how the signal to noise ratio affects the amount of errors at the...

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

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

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

Known subclasses

Name Type Description
ApskReceiver compound module

This receiver model receives a transmission successfully if the minimum of the signal-to-noise and interference ratio over the duration of the reception is sufficiently high. It uses the error model to compute the error rate based on this value and the used modulation.

Ieee80211Receiver compound module

This receiver model receives an IEEE 802.11 transmission successfully if the minimum of the signal to noise and interference ratio over the duration of the reception is sufficiently high. It uses one of the IEEE 802.11 specific error models to compute the error rate based on this value and the used operation mode.

Ieee802154NarrowbandReceiver compound module (no description)

Extends

Name Type Description
SnirReceiverBase compound module

Serves as a base module for SNIR receiver 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

ignoreInterference bool false

True means interfering transmissions are ignored when determining whether a reception is successful or not

signalAnalogRepresentation string "scalar"
snirThreshold double

Reception is not successful if the SNIR is below this threshold (unsuccessful reception)

snirThresholdMode string "min"
energyDetection double

No signal is detected at all below this reception power threshold (idle state)

sensitivity double

Reception is not possible if the signal power is below sensitivity (idle or busy states)

centerFrequency double

Center frequency of the band where this receiver listens on the medium

bandwidth double

Bandwidth of the band where this receiver listens on the medium

modulation string

One of "BPSK", "16-QAM", "256-QAM"

Properties

Name Value Description
class Module
display i=block/wrx

Source code

//
// Serves as a base module for narrowband receiver models.
//
module NarrowbandReceiverBase extends SnirReceiverBase like IReceiver
{
    parameters:
        double energyDetection @unit(dBm); // No signal is detected at all below this reception power threshold (idle state)
        double sensitivity @unit(dBm);     // Reception is not possible if the signal power is below sensitivity (idle or busy states)
        double centerFrequency @unit(Hz); // Center frequency of the band where this receiver listens on the medium
        double bandwidth @unit(Hz);        // Bandwidth of the band where this receiver listens on the medium
        string modulation;                 // One of "BPSK", "16-QAM", "256-QAM"
        analogModel.defaultSensitivity = default(this.sensitivity);
        analogModel.defaultCenterFrequency = default(this.centerFrequency);
        analogModel.defaultBandwidth = default(this.bandwidth);
        @display("i=block/wrx");

    submodules:
        errorModel: <> like IErrorModel if typename != "" {
            @display("p=100,100");
        }
}

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