InterpolatingAntenna

Package: inet.physicallayer.antenna

InterpolatingAntenna

compound module

This antenna model computes the antenna gain from the direction of the signal using linear interpolation for all 3 euler angles independently of each other. The gain parameters contain a sequence of angle [degree] and gain [dB] pairs. The first pair must be at 0 [degree].

Inheritance diagram

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

Extends

Name Type Description
AntennaBase compound module

This module servces as the base module for antenna models.

Parameters

Name Type Default value Description
mobilityModule string ".mobility"

the path to the mobility module relative to the network node

numAntennas int 1

the number of antennas in the antenna array

headingGains string "0 0"

sequence of angle [degree] and gain [dB] pairs

elevationGains string "0 0"

sequence of angle [degree] and gain [dB] pairs

bankGains string "0 0"

sequence of angle [degree] and gain [dB] pairs

Properties

Name Value Description
display i=device/antennatower
class InterpolatingAntenna

Source code

//
// This antenna model computes the antenna gain from the direction of the signal
// using linear interpolation for all 3 euler angles independently of each other.
// The gain parameters contain a sequence of angle [degree] and gain [dB] pairs.
// The first pair must be at 0 [degree].
//
module InterpolatingAntenna extends AntennaBase
{
    parameters:
        string headingGains = default("0 0");   // sequence of angle [degree] and gain [dB] pairs
        string elevationGains = default("0 0"); // sequence of angle [degree] and gain [dB] pairs
        string bankGains = default("0 0");      // sequence of angle [degree] and gain [dB] pairs
        @class(InterpolatingAntenna);
}
File: src/inet/physicallayer/antenna/InterpolatingAntenna.ned