Compound Module IdealRadioMedium

Package: inet.physicallayer.idealradio
File: src/inet/physicallayer/idealradio/IdealRadioMedium.ned

This radio medium model provides a very simple but fast and predictable physical layer behavior. It must be used in conjunction with the IdealRadio model.

See also IdealRadio, IdealAnalogModel, IdealTransmitter, and IdealReceiver.

IPropagation IAnalogModel IRadioBackgroundNoise IPathLoss IObstacleLoss IMediumLimitCache ICommunicationCache INeighborCache

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

The medium model describes the shared physical medium where communication takes place. It keeps track of radios, noise sources, ongoing transmissions, background noise, and other ongoing noises. The medium computes when, where and how transmissions and noises arrive at receivers. It also efficiently provides the set of interfering transmissions and noises for the receivers.

Networks:

Name Type Description
AODVNetwork network (no description)
HiddenNodeShowcase network (no description)
NeighborCacheTest network (no description)
Net network (no description)
ShortestPath network (no description)
SimpleRREQ network (no description)
SimpleRREQ2 network (no description)

Parameters:

Name Type Default value Description
physicalEnvironmentModule string "physicalEnvironment"

module path of the physical environment model

propagationType string "ConstantSpeedPropagation"

submodule type parameters

pathLossType string "FreeSpacePathLoss"

NED type of the path loss model

obstacleLossType string ""

NED type of the obstacle loss model

analogModelType string "IdealAnalogModel"

NED type of the analog model

backgroundNoiseType string ""

NED type of the background noise model

mediumLimitCacheType string "MediumLimitCache"

NED type of the medium limit cache model

neighborCacheType string ""

NED type of the neighbor cache model

communicationCacheType string "VectorCommunicationCache"

NED type of the communication cache model

rangeFilter string ""

filter parameters that control when radio frames are sent to receiver radios

radioModeFilter bool false

when enabled the radio medium doesn't send radio frames to a radio if it's neither in receiver nor in transceiver mode

listeningFilter bool false

when enabled the radio medium doesn't send radio frames to a radio if it listens on the channel in incompatible mode (e.g. different carrier frequency and bandwidth, different modulation)

macAddressFilter bool false

when enabled the radio medium doesn't send radio frames to a radio if it the destination mac address differs

recordCommunicationLog bool false

logging parameters

Properties:

Name Value Description
class RadioMedium
display i=misc/sun_s

Signals:

Name Type Unit
transmissionAdded
radioRemoved
transmissionStarted
receptionEnded
receptionStarted
radioAdded
transmissionRemoved
transmissionEnded

Unassigned submodule parameters:

Name Type Default value Description
neighborCache.refillPeriod double

Source code:

//
// This radio medium model provides a very simple but fast and predictable
// physical layer behavior. It must be used in conjunction with the ~IdealRadio
// model.
//
// See also ~IdealRadio, ~IdealAnalogModel, ~IdealTransmitter, and
// ~IdealReceiver.
//
module IdealRadioMedium extends RadioMedium
{
    parameters:
        propagationType = default("ConstantSpeedPropagation");
        pathLossType = default("FreeSpacePathLoss");
        analogModelType = default("IdealAnalogModel");
}