StochasticErrorModel¶
Package: inet.physicallayer.wireless.common.errormodel.packetlevel
compound module StochasticErrorModel
This error model provides parameters to specify the constant packet error rate, bit error rate, and symbol error rate for receptions independent of any interfering transmission or noise.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Serves as the base module for error models. |
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 |
corruptionMode |
string |
“packet” |
|
snirMode |
string |
“min” |
|
snirOffset |
double |
0dB |
Offset the calculated SNIR before further computing the PER, BER, SER or corrupt bits and symbols |
packetErrorRate |
double |
nan |
A probability in the range [0, 1] or NaN if not set |
bitErrorRate |
double |
nan |
A probability in the range [0, 1] or NaN if not set |
symbolErrorRate |
double |
nan |
A probability in the range [0, 1] or NaN if not set |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
StochasticErrorModel |
|
display |
i=block/broadcast |
this can be used, for example, to represent cross symbol interference due to OFDM lobe overlapping, symbol frequency/time offset mismatch, and symbol frequency/time size mismatch |
Source code¶
//
// This error model provides parameters to specify the constant packet error
// rate, bit error rate, and symbol error rate for receptions independent of
// any interfering transmission or noise.
//
module StochasticErrorModel extends ErrorModelBase
{
parameters:
double packetErrorRate = default(nan); // A probability in the range [0, 1] or NaN if not set
double bitErrorRate = default(nan); // A probability in the range [0, 1] or NaN if not set
double symbolErrorRate = default(nan); // A probability in the range [0, 1] or NaN if not set
@class(StochasticErrorModel);
}
File: src/inet/physicallayer/wireless/common/errormodel/packetlevel/StochasticErrorModel.ned