Package: inet.physicallayer.wireless.noise
NoiseTransmitter
compound moduleTransmitter module that generates noise signals with configurable parameters. Creates noise transmissions with specified duration, center frequency, bandwidth, and power. Used by ~NoiseSource to produce interference in wireless networks for testing protocol robustness and simulating realistic channel conditions.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| TransmitterBase | compound module | (no description) |
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 |
| signalAnalogRepresentation | string | "scalar" |
Determines the analog domain signal representation of transmissions |
| duration | double | ||
| centerFrequency | double | nan Hz | |
| bandwidth | double | 0Hz | |
| power | double | ||
| gainFunctionCacheLimit | int | 0 |
Limits the number of gain functions cached for a given duration, centerFrequency, and bandwidth |
Properties
| Name | Value | Description |
|---|---|---|
| class | NoiseTransmitter | |
| display | i=block/wtx |
Source code
// // Transmitter module that generates noise signals with configurable parameters. // Creates noise transmissions with specified duration, center frequency, // bandwidth, and power. Used by ~NoiseSource to produce interference in wireless // networks for testing protocol robustness and simulating realistic channel // conditions. // module NoiseTransmitter extends TransmitterBase like ITransmitter { parameters: volatile double duration @unit(s); volatile double centerFrequency @unit(Hz) = default(nan Hz); volatile double bandwidth @unit(Hz) = default(0Hz); volatile double power @unit(W); int gainFunctionCacheLimit = default(0); // Limits the number of gain functions cached for a given duration, centerFrequency, and bandwidth @class(NoiseTransmitter); @display("i=block/wtx"); }File: src/inet/physicallayer/wireless/noise/NoiseTransmitter.ned