C# Class PowerCalculations.PowerMultiCalculator.PowerMultiCalculatorAdapter

Inheritance: GSF.TimeSeries.Adapters.ActionAdapterBase
Show file Open project: GridProtectionAlliance/gsf

Private Properties

Property Type Description
AddOutputMeasurement GSF.TimeSeries.Measurement
GetMeasurement GSF.TimeSeries.Measurement

Public Methods

Method Description
Initialize ( ) : void

Loads configuration from the database and configures adapter to run with that configuration

PowerMultiCalculatorAdapter ( ) : System

Creates the adapter

Protected Methods

Method Description
PublishFrame ( IFrame frame, int index ) : void

Calculates MW, MVAR and MVA then publishes those measurements

Private Methods

Method Description
AddOutputMeasurement ( System.Guid signalID, HashSet outputMeasurements ) : Measurement
GetMeasurement ( System.Guid signalID ) : Measurement

Method Details

Initialize() public method

Loads configuration from the database and configures adapter to run with that configuration
public Initialize ( ) : void
return void

PowerMultiCalculatorAdapter() public method

Creates the adapter
public PowerMultiCalculatorAdapter ( ) : System
return System

PublishFrame() protected method

Calculates MW, MVAR and MVA then publishes those measurements
protected PublishFrame ( IFrame frame, int index ) : void
frame IFrame Input values for calculation
index int Index of frame within second.
return void