Click or drag to resize

ConnectionParameters Class

Represents the extra connection parameters required for a connection to a SEL CWS device.
Inheritance Hierarchy
SystemObject
  GSF.PhasorProtocolsConnectionParametersBase
    GSF.PhasorProtocols.SelCWSConnectionParameters

Namespace: GSF.PhasorProtocols.SelCWS
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.275-beta
Syntax
[SerializableAttribute]
public class ConnectionParameters : ConnectionParametersBase
View Source

The ConnectionParameters type exposes the following members.

Constructors
 NameDescription
Public methodConnectionParameters Creates a new ConnectionParameters.
Protected methodConnectionParameters(SerializationInfo, StreamingContext) Creates a new ConnectionParameters from serialization parameters.
Top
Properties
 NameDescription
Public propertyCalculatePhaseEstimates Gets or sets flag that determines if current and voltage phase estimates, frequency and dF/dt should be calculated for PoW data.
Public propertyCalculationFrameRate Gets or sets the configured frame rate for phase estimate calculations.
Public propertyEnableIntervalAveraging Gets or sets a flag that determines if interval averaging (boxcar averaging) is enabled across each publish interval when down-sampling.
Public propertyEnablePublishEMA Gets or sets a flag that determines if an additional exponential moving average (EMA) is applied to the published stream (after interval averaging).
Public propertyNominalFrequency Gets or sets the nominal LineFrequency of this SEL CWS device.
Public propertyPublishAnglesTauSeconds Gets or sets the EMA time constant τ (seconds) for published phase angles.
Public propertyPublishFrequencyTauSeconds Gets or sets the EMA time constant τ (seconds) for published frequency.
Public propertyPublishMagnitudesTauSeconds Gets or sets the EMA time constant τ (seconds) for published RMS magnitudes.
Public propertyPublishRocofTauSeconds Gets or sets the EMA time constant τ (seconds) for published ROCOF (dF/dt).
Public propertyRecalculationCycles Gets or sets the number of nominal cycles between full DFT recalculations for numerical stability.
Public propertyReferenceChannel Gets or sets the reference channel for frequency tracking.
Public propertyRepeatLastCalculatedValueWhenDownSampling Gets or sets flag that determines if last value should be repeated when down-sampling, i.e., when CalculationFrameRate is less than SEL CWS frame rate (commonly 3000Hz); otherwise NaN will be used.
Public propertySampleFrequencyTauSeconds Gets or sets the EMA time constant τ (seconds) for the internal per-sample frequency smoothing that occurs inside the estimator before any down-sampling/publish filtering.
Public propertySampleRocofTauSeconds Gets or sets the EMA time constant τ (seconds) for the internal per-sample ROCOF smoothing (computed from the internally smoothed frequency).
Public propertyTargetCycles Gets or sets the number of nominal cycles contained in the sliding DFT analysis window.
Public propertyValuesAreValid Determines if custom connection parameters are valid.
(Inherited from ConnectionParametersBase)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetObjectData Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides ConnectionParametersBaseGetObjectData(SerializationInfo, StreamingContext))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
This class is designed to be exposed by a "PropertyGrid" so a UI can request protocol specific connection parameters. As a result the CategoryAttribute and DescriptionAttribute elements should be defined for each of the exposed properties.
See Also