Table of Contents

Class TransmitterPacketCorruptionErrorModel

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

This implements a data loss model which adjusts the fraction that the transmitter looses data. This will corrupt data produced by the transmitter.

public class TransmitterPacketCorruptionErrorModel : ComponentModel<Transmitter>
Inheritance
TransmitterPacketCorruptionErrorModel
Inherited Members

Constructors

TransmitterPacketCorruptionErrorModel()

protected TransmitterPacketCorruptionErrorModel()

Fields

PacketCorruptionFraction

[-] The fraction between 0 and 1 that a particular packet will be corrupted.

[EditableVariable("-", 0, 1, false, "", "", false)]
public double PacketCorruptionFraction

Field Value

double

Methods

OnUpdate(double, double)

Called each timestep during a event tick

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

delta timestep (seconds)