Calculates watts from imaginary and real components of a voltage and current phasor.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual 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 )
![](../icons/collapse_all.gif)
- voltage (IPhasorValue)
- Voltage phasor.
- current (IPhasorValue)
- Current phasor.
![](../icons/collapse_all.gif)
Calculated watts from imaginary and real components of specified voltage and current phasors.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | voltage and current must not be null. |