RollingPhaseEstimator Constructor
Initializes a new instance of the
RollingPhaseEstimator class implementing
the IEEE C37.118-2018 Annex D phasor estimation algorithm.
Namespace: Gemstone.PhasorProtocols.SelCWSAssembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.169 -- Release Build+e4259ba28a774b11cdfe2fb15417e91c0c3ba498
Gemstone.PhasorProtocols.SelCWS.RollingPhaseEstimator = function(sampleRateHz, outputRateHz, nominalFrequency, filterClass);
Parameters
- sampleRateHz Double
-
Input sample rate in Hz (samples per second). Must be > 0 and an integer multiple of
both nominalFrequency and outputRateHz.
- outputRateHz Double
-
Output report rate in Hz (estimates per second). Must be > 0 and <= sampleRateHz.
The sample rate must be an integer multiple of this value.
- nominalFrequency LineFrequency
-
Nominal line frequency (50Hz or 60Hz). Determines the filter parameters.
- filterClass FilterClass (Optional)
-
IEEE C37.118 filter class: P for Protection (fast response)
or M for Measurement (better out-of-band rejection).
| ArgumentOutOfRangeException |
Thrown if rates are non-positive, output rate exceeds input rate, or sample rate is not
an integer multiple of the nominal frequency or report rate.
|
| ArgumentException |
Thrown if the nominalFrequency and outputRateHz combination
is not supported for M-class filters per IEEE C37.118-2018 Table D.1.
|