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.
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.
When either set to ‘interferenceRange’ or ‘communicationRange’ the radio medium doesn’t send signals to a radio if it’s outside the provided range
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
When enabled, the medium writes one line per transmission into the communication log file
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
//// 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//moduleScalarRadioMediumextendsRadioMedium{parameters:signalAnalogRepresentation=default("scalar");}