C# Class FaultAlgorithms.MeasurementDataSet

Represents a set of 3-phase line-to-neutral and line-to-line time-domain power data.
Exibir arquivo Open project: GridProtectionAlliance/openXDA Class Usage Examples

Public Properties

Property Type Description
AN MeasurementData
BN MeasurementData
CN MeasurementData

Public Methods

Method Description
CalculateSampleRates ( double frequency ) : void

Uses system frequency to calculate the sample rate for each set of MeasurementData in this measurement data set.

ExportCurrentDataToCSV ( string fileName ) : void
ExportToCSV ( string fileName, MeasurementDataSet voltageData, MeasurementDataSet currentData ) : void
ExportVoltageDataToCSV ( string fileName ) : void

Writes all measurement data to a CSV file.

MeasurementDataSet ( ) : System

Creates a new MeasurementDataSet.

SetSampleRate ( int sampleRate ) : void

Explicitly sets the sample rate for each set of MeasurementData in this measurement data set.

Private Methods

Method Description
CalculateSampleRate ( double frequency, MeasurementData measurementData ) : void

Method Details

CalculateSampleRates() public method

Uses system frequency to calculate the sample rate for each set of MeasurementData in this measurement data set.
public CalculateSampleRates ( double frequency ) : void
frequency double The frequency of the measured system, in Hz.
return void

ExportCurrentDataToCSV() public method

public ExportCurrentDataToCSV ( string fileName ) : void
fileName string
return void

ExportToCSV() public static method

public static ExportToCSV ( string fileName, MeasurementDataSet voltageData, MeasurementDataSet currentData ) : void
fileName string
voltageData MeasurementDataSet
currentData MeasurementDataSet
return void

ExportVoltageDataToCSV() public method

Writes all measurement data to a CSV file.
public ExportVoltageDataToCSV ( string fileName ) : void
fileName string Export file name.
return void

MeasurementDataSet() public method

Creates a new MeasurementDataSet.
public MeasurementDataSet ( ) : System
return System

SetSampleRate() public method

Explicitly sets the sample rate for each set of MeasurementData in this measurement data set.
public SetSampleRate ( int sampleRate ) : void
sampleRate int The sample rate.
return void

Property Details

AN public_oe property

Line-to-neutral A-phase data.
public MeasurementData,FaultAlgorithms AN
return MeasurementData

BN public_oe property

Line-to-neutral B-phase data.
public MeasurementData,FaultAlgorithms BN
return MeasurementData

CN public_oe property

Line-to-neutral C-phase data.
public MeasurementData,FaultAlgorithms CN
return MeasurementData