Package: inet.physicallayer.wireless.common.medium
ScalarRadioMedium
compound moduleRadio medium model that uses scalar representation for signal power. Provides a simpler and more computationally efficient alternative to dimensional models by representing signals as single scalar values rather than as functions of time and frequency. Suitable for simulations where detailed physical layer behavior is not required.
<b>See also:</b> ScalarMediumAnalogModel, ScalarTransmitterAnalogModel, ScalarReceiverAnalogModel
<b>See also:</b> DimensionalRadioMedium, UnitDiskRadioMedium
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. |
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 |
| physicalEnvironmentModule | string | "physicalEnvironment" |
Module path of the physical environment model |
| signalAnalogRepresentation | string | "scalar" | |
| rangeFilter | string | "" |
filter parameters that control when signals are sent to receiver radios |
| radioModeFilter | bool | false |
When enabled, the radio medium doesn't send signals to a radio if it's neither in receiver nor in transceiver mode |
| listeningFilter | bool | false |
When enabled, the radio medium doesn't send signals to a radio if it listens on the channel in an incompatible mode (e.g. different carrier frequency and bandwidth, different modulation) |
| macAddressFilter | bool | false |
When enabled, the radio medium doesn't send signals to a radio if the destination MAC address differs |
| recordTransmissionLog | bool | false |
logging parameters |
| recordReceptionLog | bool | false |
When enabled, the medium writes one line per reception into the communication log file |
| sameTransmissionStartTimeCheck | string | "error" |
Specifies what should happen if two transmissions start at the same moment |
Properties
| Name | Value | Description |
|---|---|---|
| class | RadioMedium | |
| display | i=misc/sun |
Signals
| Name | Type | Unit | Description |
|---|---|---|---|
| radioRemoved | |||
| signalDepartureStarted | |||
| radioAdded | |||
| signalArrivalStarted | |||
| signalAdded | |||
| signalDepartureEnded | |||
| signalRemoved | |||
| signalArrivalEnded |
Unassigned submodule parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| neighborCache.refillPeriod | double |
Source code
// // Radio medium model that uses scalar representation for signal power. Provides // a simpler and more computationally efficient alternative to dimensional models // by representing signals as single scalar values rather than as functions of // time and frequency. Suitable for simulations where detailed physical layer // behavior is not required. // // @see ScalarMediumAnalogModel, ScalarTransmitterAnalogModel, ScalarReceiverAnalogModel // @see DimensionalRadioMedium, UnitDiskRadioMedium // module ScalarRadioMedium extends RadioMedium { parameters: signalAnalogRepresentation = default("scalar"); }File: src/inet/physicallayer/wireless/common/medium/ScalarRadioMedium.ned