Class IntermittentConnectionErrorModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] The Intermittent Connection Error Model can be added to any physical component on an entity, and is used as a part of the power system. It allows for the simulation of faulty connections between electrical components causing an open circuit.
public class IntermittentConnectionErrorModel : UniverseModel
- Inheritance
-
IntermittentConnectionErrorModel
Constructors
IntermittentConnectionErrorModel()
Default constructor
protected IntermittentConnectionErrorModel()
Fields
IntermittentMean
The Intermittent particular mean
[Unit(UnitType.SECOND)]
public double IntermittentMean
Field Value
IntermittentStd
The Intermittent standard deviation
[Unit(UnitType.SECOND)]
public double IntermittentStd
Field Value
Properties
IsConnected
Tracks the state of the error model connection
public bool IsConnected { get; }
Property Value
Methods
OnBegin(double)
Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.
protected override void OnBegin(double time)
Parameters
time
double[s] Current time of the simulation before the tick
OnUpdate(double, double)
Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.
protected override void OnUpdate(double time, double step)