Package: inet.physicallayer.wireless.common.antenna
ConstantGainAntenna
compound moduleThis antenna model describes an antenna that has an antenna gain indepent of the transmission or reception direction.
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 |
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 |
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); }File: src/inet/physicallayer/wireless/common/antenna/ConstantGainAntenna.ned