Compound Module ConstantGainAntenna

Package: inet.physicallayer.antenna
File: src/inet/physicallayer/antenna/ConstantGainAntenna.ned

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

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.

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

gain double

antenna gain indepent of transmission or reception direction

Properties:

Name Value Description
display i=device/antennatower
class ConstantGainAntenna

Source code:

//
// This antenna model describes an antenna that has an antenna gain indepent of
// the transmission or reception direction.
//
module ConstantGainAntenna extends AntennaBase
{
    parameters:
        double gain @unit(dB); // antenna gain indepent of transmission or reception direction
        @class(ConstantGainAntenna);
}