This project has moved and is read-only. For the latest updates, please go here.

I cannot get the Power Calculator to perform any work.

Nov 15, 2012 at 8:01 PM

I have created a Power Calculation; actually, I've tried several, and none have worked. I can Initialize my Power Calculation adapter without any errors displaying on the Console, but when I examine the output measurements via the 'Real-time Device Measurements', the values are always 'N/A'. I have enclosed the SQL results from CustomActionAdapterDetail and MeasurementDetail views for the adapter and the 6 measurement used by it; 4 input and two output.

## Just noticed that this discussion page has no attachments.

Measurements:

CompanyID,CompanyAcronym,CompanyName,SignalID,HistorianID,HistorianAcronym,HistorianConnectionString,PointID,PointTag,AlternateTag,DeviceID,NodeID,DeviceAcronym,DeviceName,FramesPerSecond,DeviceEnabled,ContactList,VendorDeviceID,VendorDeviceName,VendorDeviceDescription,ProtocolID,ProtocolAcronym,ProtocolName,SignalTypeID,PhasorSourceIndex,PhasorLabel,PhasorType,Phase,SignalReference,Adder,Multiplier,Description,Subscribed,Internal,Enabled,EngineeringUnits,Source,SignalAcronym,SignalName,SignalTypeSuffix,Longitude,Latitude,ID
33,NEISO,New England ISO,C23CE476-D999-47FC-B790-7948B40C963A,1,PPA,,324,NEISO_BE_CARVER726_01-PA8:VH,NULL,24,DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,BE_CARVER726_01,Be_Carver726_01,30,1,NULL,NULL,NULL,NULL,1,IeeeC37_118V1,IEEE C37.118-2005,4,8,L331_B_V +SV,V,+,BE_CARVER726_01-PA8,0,1,NULL,0,1,1,Degrees,Phasor,VPHA,Voltage Phase Angle,PA,-98.600000,37.500000,PPA:324
33,NEISO,New England ISO,76CA9E87-8395-40BD-8565-7B381993DAC9,1,PPA,,4381,BE_CARVER726_01#L331_B_V#L331_B_I#MVAR,,24,DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,BE_CARVER726_01,Be_Carver726_01,30,1,NULL,NULL,NULL,NULL,1,IeeeC37_118V1,IEEE C37.118-2005,10,0,NULL,NULL,NULL,BE_CARVER726_01#L331_B_V#L331_B_I#MVAR,0,1,"MVAR Measurement for Device: BE_CARVER726_01, Voltage Phasor: L331_B_V +SV Current Phasor: L331_B_I +SI",0,1,1,,PMU,CALC,Calculated Value,CV,-98.600000,37.500000,PPA:4381
33,NEISO,New England ISO,FE353000-2F51-4914-845D-82EF6E15FD65,1,PPA,,318,NEISO_BE_CARVER726_01-PA5:IH,NULL,24,DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,BE_CARVER726_01,Be_Carver726_01,30,1,NULL,NULL,NULL,NULL,1,IeeeC37_118V1,IEEE C37.118-2005,2,5,L331_B_I +SI,I,+,BE_CARVER726_01-PA5,0,1,NULL,0,1,1,Degrees,Phasor,IPHA,Current Phase Angle,PA,-98.600000,37.500000,PPA:318
33,NEISO,New England ISO,9DFBCB71-C605-4EF3-9A88-8C78495B97D8,1,PPA,,317,NEISO_BE_CARVER726_01-PM5:I,NULL,24,DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,BE_CARVER726_01,Be_Carver726_01,30,1,NULL,NULL,NULL,NULL,1,IeeeC37_118V1,IEEE C37.118-2005,1,5,L331_B_I +SI,I,+,BE_CARVER726_01-PM5,0,1,NULL,0,1,1,Amps,Phasor,IPHM,Current Magnitude,PM,-98.600000,37.500000,PPA:317
33,NEISO,New England ISO,96587315-EC9E-4178-BF25-C85178A11DC3,1,PPA,,323,NEISO_BE_CARVER726_01-PM8:V,NULL,24,DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,BE_CARVER726_01,Be_Carver726_01,30,1,NULL,NULL,NULL,NULL,1,IeeeC37_118V1,IEEE C37.118-2005,3,8,L331_B_V +SV,V,+,BE_CARVER726_01-PM8,0,1,NULL,0,1,1,Volts,Phasor,VPHM,Voltage Magnitude,PM,-98.600000,37.500000,PPA:323
33,NEISO,New England ISO,A6AA774C-3F7B-4ADC-A135-E9C0630E1E93,1,PPA,,4380,BE_CARVER726_01#L331_B_V#L331_B_I#MW,,24,DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,BE_CARVER726_01,Be_Carver726_01,30,1,NULL,NULL,NULL,NULL,1,IeeeC37_118V1,IEEE C37.118-2005,10,0,NULL,NULL,NULL,BE_CARVER726_01#L331_B_V#L331_B_I#MW,0,1,"MW Measurement for Device: BE_CARVER726_01, Voltage Phasor: L331_B_V +SV Current Phasor: L331_B_I +SI",0,1,1,,PMU,CALC,Calculated Value,CV,-98.600000,37.500000,PPA:4380

Action Adapter:

NodeID,ID,AdapterName,AssemblyName,TypeName,ConnectionString,LoadOrder,Enabled,NodeName
DFC9FBDF-FD01-4D47-986F-2C2574AA97BF,9,POWER#BE_CARVER726_01#L331_B_V#L331_B_I,PowerCalculations.dll,PowerCalculations.PowerCalculator,inputMeasurementKeys={PPA:323;PPA:324;PPA:317;PPA:318};outputMeasurements={PPA:4380;PPA:4381};framesPerSecond=30;lagTime=3;leadTime=1,22,1,Default