Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
A18.5
A18.5
This simple example of a Propagation Model Plugin applies Free Space propagation loss with its default distance factor of 2, in case the antenna heights of TX and RX are greater than the limit given by the input annotation 'Height of antenna', otherwise it applies the factor given by the input annotation 'Distance coefficient'. If 'variation' is selected it uses the standard deviation given by the input annotation 'Standard deviation'.

...

  1. calculation of the resulting path loss
  2. consistency check
    1. the validity of the input parameter 'Distance coefficient';
    2. whether the value of the input parameter 'antenna height' conflicts with the antenna heights set on the system if the PMP is used for the system link or
    3. if the PMP is used for the interference link;
  3. description
    1. unique name of the plugin – must not be empty;
    2. optional but recommended description of the plugin characteristics;       
  4. Input annotations
    note that the value of 'variations' is either selecting or deselecting the variations by default.

Anchor
F503
F503
Figure 503: PMP example source code

...

You may notice that for the generation of the random Gaussian distribution value of the standard deviation the built-in Factory.distributionFactory() has been used.

Anchor
F504
F504
Figure 504: PMP example configuration panel

 

Anchor
F505
F505
Figure 505: PMP example consistency check warnings

...