C# Class FaultAlgorithms.Cycle

Represents a cycle of single phase power frequency-domain data.
Datei anzeigen Open project: GridProtectionAlliance/openXDA Class Usage Examples

Public Properties

Property Type Description
Complex ComplexNumber
Error double
Frequency double
Peak double

Public Methods

Method Description
Cycle ( ) : System

Creates a new instance of the Cycle class.

Cycle ( int startSample, double frequency, MeasurementData waveFormData ) : System

Creates a new instance of the Cycle class.

Method Details

Cycle() public method

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

Cycle() public method

Creates a new instance of the Cycle class.
public Cycle ( int startSample, double frequency, MeasurementData waveFormData ) : System
startSample int The index of the start of the cycle.
frequency double The frequency of the measured system, in Hz.
waveFormData MeasurementData The time-domain data to be used to calculate frequency-domain values.
return System

Property Details

Complex public_oe property

The complex number representation of the RMS phasor.
public ComplexNumber Complex
return ComplexNumber

Error public_oe property

The error between the sine fit and the given data values.
public double Error
return double

Frequency public_oe property

The actual frequency of the cycle in hertz.
public double Frequency
return double

Peak public_oe property

The most extreme data point in the cycle.
public double Peak
return double