C# Class FaultAlgorithms.CycleData

Contains data for a single cycle over all three line-to-neutral conductors.
显示文件 Open project: GridProtectionAlliance/openXDA Class Usage Examples

Public Properties

Property Type Description
AN Conductor
BN Conductor
CN Conductor
StartTime System.DateTime

Public Methods

Method Description
CalculateSequenceComponents ( Cycle anCycle, Cycle bnCycle, Cycle cnCycle ) : ComplexNumber[]

Calculates the positive, negative, and zero sequence components and returns them in an array with indexes 1, 2, and 0 respectively.

CycleData ( ) : System

Creates a new instance of the CycleData class.

CycleData ( int cycleIndex, int sampleRateDivisor, double frequency, MeasurementDataSet voltageDataSet, MeasurementDataSet currentDataSet ) : System

Creates a new instance of the CycleData class.

Method Details

CalculateSequenceComponents() public static method

Calculates the positive, negative, and zero sequence components and returns them in an array with indexes 1, 2, and 0 respectively.
public static CalculateSequenceComponents ( Cycle anCycle, Cycle bnCycle, Cycle cnCycle ) : ComplexNumber[]
anCycle Cycle The cycle of A-to-neutral data to be used.
bnCycle Cycle The cycle of B-to-neutral data to be used.
cnCycle Cycle The cycle of C-to-neutral data to be used.
return ComplexNumber[]

CycleData() public method

Creates a new instance of the CycleData class.
public CycleData ( ) : System
return System

CycleData() public method

Creates a new instance of the CycleData class.
public CycleData ( int cycleIndex, int sampleRateDivisor, double frequency, MeasurementDataSet voltageDataSet, MeasurementDataSet currentDataSet ) : System
cycleIndex int The index of the cycle being created.
sampleRateDivisor int The value to divide from the sample rate to determine the index of the sample at the start of the cycle.
frequency double The frequency of the measured system, in Hz.
voltageDataSet MeasurementDataSet The data set containing voltage measurements.
currentDataSet MeasurementDataSet The data set containing current measurements.
return System

Property Details

AN public_oe property

A-to-neutral conductor
public Conductor,FaultAlgorithms AN
return Conductor

BN public_oe property

B-to-neutral conductor
public Conductor,FaultAlgorithms BN
return Conductor

CN public_oe property

C-to-neutral conductor
public Conductor,FaultAlgorithms CN
return Conductor

StartTime public_oe property

Timestamp of the start of the cycle.
public DateTime,System StartTime
return System.DateTime