openPDC Synchrophasor Help
CalculatePower Method (voltage, current)
NamespacesTVA.PhasorProtocolsPhasorValueBaseCalculatePower(IPhasorValue, IPhasorValue)
Calculates watts from imaginary and real components of a voltage and current phasor.
Declaration Syntax
C#Visual BasicVisual C++
public static Power CalculatePower(
	IPhasorValue voltage,
	IPhasorValue current
)
Public Shared Function CalculatePower ( _
	voltage As IPhasorValue, _
	current As IPhasorValue _
) As Power
public:
static Power CalculatePower(
	IPhasorValue^ voltage, 
	IPhasorValue^ current
)
Parameters
voltage (IPhasorValue)
Voltage phasor.
current (IPhasorValue)
Current phasor.
Return Value
Calculated watts from imaginary and real components of specified voltage and current phasors.
Exceptions
ExceptionCondition
ArgumentNullExceptionvoltage and current must not be null.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0