Phasor Data Type

Phasor Property/Attribute Table
Property Name Xml Name Type Description
UniqueId Uid Guid A statistically unique identifier for the instance of the Phasor data type. Lazily instantiated.
MagnitudeResidualKey MagnitudeResidualKey String A string key used to uniquely map the residual of the voltage magnitude as an output measurement.
AngleResidualKey AngleResidualKey String A string key used to uniquely map the residual of the voltage angle as an output measurement.
Measurement Measurement PhasorMeasurement The PhasorMeasurement of the Phasor. See below table for PhasorMeasurement properties & attributes.
Estimate Estimate PhasorEstimate The PhasorEstimate of the Phasor. See below table for PhasorEstimate properties & attributes.


Phasor Measurement Property/Attribute Table
Property Name Xml Name Type Description
VoltageLevelID BaseKV Integer The InternalID of the VoltageLevel object which defines the base KV of the instance of the PhasorMeasurement data type. This is set both at the Node and the measurement level because of a side effect of the extensibility of the Synchrophasor Analytics package. The PhasorMeasurement class definitions can be used outside the context of a network model for other calculations this way.
MagnitudeKey MagnitudeKey String A string key used to uniquely identify the input measurement to map to the Magnitude property of the PhasorMeasurement.
AngleKey AngleKey String A string key used to uniquely identify the input measurement to map to the AngleInDegrees property of the PhasorMeasurement.
Type Type PhasorType The PhasorType of the PhasorMeasurement. Either VoltagePhasor or CurrentPhasor. This is redundant in the context of PhasorGroups but is useful when dealing with single phasor objects.
MeasurementVariance Variance Double The statistical variance of the phasor measurements. Assumed a scalar value.
RCF RCF Double The Ratio Correction Factor of the PhasorMeasurement. When indicated by the MeasurementShould-BeCalibrated property, this will be applied to the input measurement as a magnitude multiplier.
PACF PACF Double The Phase Angle Correction Factor of the PhasorMeasurement. When indicated by the MeasurementShould-BeCalibrated property, this will be applied to the input measurement as an additive offset to the angle.
MeasurementShould-BeCalibrated Calibrated Boolean A flag which indicates whether the RCF and PACF values should be applied to the input measurements.
InstrumentTransformer-CalibrationSetting CalibrationType CalibrationSetting No longer in use. Set to ‘Inactive’


Phasor Estimate Property/Attribute Table
Property Name Xml Name Type Description
VoltageLevelID BaseKV Integer The InternalID of the VoltageLevel object which defines the base KV of the instance of the PhasorEstimate data type.
MagnitudeKey “ “ String A string key used to uniquely identify the output measurement to map to the Magnitude property of the PhasorEstimate.
AngleKey “ “ String A string key used to uniquely identify the output measurement to map to the AngleInDegrees property of the PhasorEstimate.
Type “ “ PhasorType The PhasorType of the PhasorEstimate. Either VoltagePhasor or CurrentPhasor.


<PositiveSequence Uid="2267385d-233f-45b4-91ee-70e9612fe0e6" MagnitudeResidualKey="Undefined" AngleResidualKey="Undefined">
	<Measurement BaseKV="2" MagnitudeKey="BusA.BusA 230kV BUS.VM" AngleKey="BusA.BusA 230kV BUS.VA" Type="V" Variance="0.002" RCF="1" PACF="0" Calibrated="false" CalibrationType="Inactive" /> 
	<Estimate BaseKV="2" MagnitudeKey="BusA.BusA 230kV BUS.VM_230" AngleKey="BusA.BusA 230kV BUS.VA_230" Type="V" /> 
</PositiveSequence>

using SynchrophasorAnalytics.Measurements; 

//...

Phasor phasor = new Phasor()
{
     Measurement = measurement,
     Estimate = estimate,
     MagnitudeResidualKey = "ResidualOutput:8",
     AngleResidualKey = "ResidualOutput:9"
};

using SynchrophasorAnalytics.Measurements; 

//...

PhasorEstimate estimate = new PhasorEstimate()
{
     Type = PhasorType.VoltagePhasor,
     BaseKV = GetVoltageLevelFromSomewhere(),
     MagnitudeKey = "MagnitudeOutput:5",
     AngleKey = "AngleOutput:6"
};

Last edited Sep 15, 2014 at 11:31 PM by kevinjones, version 3