Gemstone Numeric Library
Show/Hide TOC

# PhasorCalculateReactivePower Method

Calculates reactive power Q, i.e., total volt-amperes of reactive power, from imaginary and real components of a voltage and current phasor.

## Definition

Namespace: Gemstone.Numeric.EE
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.154 -- Release Build+9c55d1e3f6f7e7a168a3c7771afde278e919c61c
C#
View Source Request Example

    public static Power CalculateReactivePower(
    	Phasor voltage,
    	Phasor current
    )

VB
View Source Request Example

    Public Shared Function CalculateReactivePower (
    	voltage As Phasor,
    	current As Phasor
    ) As Power

C++
View Source Request Example

    public:
    static Power CalculateReactivePower(
    	Phasor voltage,
    	Phasor current
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.EE.Phasor.CalculateReactivePower = function(voltage, current);

#### Parameters

voltage Phasor
  Voltage phasor.
current Phasor
  Current phasor.

#### Return Value

Power
Calculated vars from imaginary and real components of specified voltage and current phasors.

## Exceptions

ArgumentException | voltage and current must have proper Type.

## See Also

#### Reference

Phasor Structure
Gemstone.Numeric.EE Namespace