RollingPhaseEstimatorStep Method

Push one interleaved sample-group (IA, IB, IC, VA, VB, VC) with its epoch nanoseconds.

Definition

Namespace: Gemstone.PhasorProtocols.SelCWS
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.169 -- Release Build+e4259ba28a774b11cdfe2fb15417e91c0c3ba498
public bool Step(
	double ia,
	double ib,
	double ic,
	double va,
	double vb,
	double vc,
	long epochNanoseconds,
	PhaseEstimateHandler phaseEstimateHandler
)

Parameters

ia  Double
Current sample for phase A current.
ib  Double
Current sample for phase B current.
ic  Double
Current sample for phase C current.
va  Double
Current sample for phase A voltage.
vb  Double
Current sample for phase B voltage.
vc  Double
Current sample for phase C voltage.
epochNanoseconds  Int64
Timestamp in nanoseconds since epoch.
phaseEstimateHandler  PhaseEstimateHandler
Handler for phase estimate result.

Return Value

Boolean
true when an estimate is available (filter has filled) and it is time to publish at target OutputRateHz; otherwise, false.

Remarks

The data referenced in the span-based properties of the PhaseEstimate parameter provided to the PhaseEstimateHandler delegate is owned by the RollingPhaseEstimator instance, it is only valid during the scope of the delegate call. If you need to retain the data, make a copy.

See Also