AntennaBase

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

AntennaBase

compound module

This module servces as the base module for antenna models.

mobility : like IMobility

IMobility: The module interface for mobility models.

Source:
mobility: <default("")> like IMobility if typename != "" {
    parameters:
        @display("p=100,100;is=s");
}

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
AxiallySymmetricAntenna compound module

This antenna model computes the antenna gain from the direction using linear interpolation. The gain parameter contains a sequence of angle [degree] and gain [dB] pairs. The first pair must be at 0 [degree].

ConstantGainAntenna compound module

This antenna model describes an antenna that has an antenna gain indepent of the transmission or reception direction.

CosineAntenna compound module

Models a hypotetical antenna with a cosine-based radiation pattern. This antenna model is commonly used in the real world to approximate various directional antennas.

DipoleAntenna compound module

This antenna model describes the well-known dipole antenna or doublet. It consists of two identical conductive elements, which are bilaterally symmetrical.

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].

IsotropicAntenna compound module

This antenna model describes the theoretical point source which radiates the same intensity of radiation in all directions.

ParabolicAntenna compound module

This model is based on a parabolic approximation of the main lobe radiation pattern. A similar model appears in

Parameters

Name Type Default value Description
mobilityModule string

the path to the mobility module relative to this module, only used if no mobility submodule is present

numAntennas int 1

the number of antennas in the antenna array

Properties

Name Value Description
display i=device/antennatower

Source code

//
// This module servces as the base module for antenna models.
//
module AntennaBase like IAntenna
{
    parameters:
        string mobilityModule; // the path to the mobility module relative to this module, only used if no mobility submodule is present
        int numAntennas = default(1); // the number of antennas in the antenna array
        mobility.subjectModule = default(""); // disable subject module of mobility submodule by default
        @display("i=device/antennatower");
    submodules:
        mobility: <default("")> like IMobility if typename != "" {
            parameters:
                @display("p=100,100;is=s");
        }
}

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