Package: inet.physicallayer.wireless.common.base.packetlevel
AntennaBase
compound moduleServes as the base module for antenna models.
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 angles [degree] and gains [dB] pairs. The first pair must be at 0 [degree]. |
| ConstantGainAntenna | compound module |
This antenna model describes an antenna that has an antenna gain independent of the transmission or reception direction. |
| CosineAntenna | compound module |
Models a hypothetical 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 |
Defines an antenna based on a parabolic approximation of the main lobe radiation pattern. A similar model appears in |
Extends
| Name | Type | Description |
|---|---|---|
| Module | compound module |
Base module for all INET compound modules. |
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 |
| 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 |
|---|---|---|
| class | Module | |
| display | i=device/antennatower |
Source code
// // Serves as the base module for antenna models. // module AntennaBase extends Module 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