openPDC Synchrophasor Help
AverageAngleValueFilter Method (source)
NamespacesTVA.PhasorProtocolsPhasorValueBaseAverageAngleValueFilter(IEnumerable<(Of <<'(IMeasurement>)>>))
Calculates an average of the specified sequence of IMeasurement phase angle values.
Declaration Syntax
C#Visual BasicVisual C++
public static double AverageAngleValueFilter(
	IEnumerable<IMeasurement> source
)
Public Shared Function AverageAngleValueFilter ( _
	source As IEnumerable(Of IMeasurement) _
) As Double
public:
static double AverageAngleValueFilter(
	IEnumerable<IMeasurement^>^ source
)
Parameters
source (IEnumerable<(Of <(<'IMeasurement>)>)>)
Sequence of IMeasurement values over which to run calculation.
Return Value
Average of the specified sequence of IMeasurement phase angle values.
Remarks
Phase angles wrap, so this algorithm takes the wrapping into account when calculating the average.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0