PhasorValueBaseCalculateVars Method

Calculates vars (total volt-amperes of reactive power) from imaginary and real components of a voltage and current phasor.

Definition

Namespace: Gemstone.PhasorProtocols
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.153 -- Release Build+ada5559b3b674dd4675f3b08c42ff237a50f01ca
public static Power CalculateVars(
	IPhasorValue voltage,
	IPhasorValue current
)

Parameters

voltage  IPhasorValue
Voltage phasor.
current  IPhasorValue
Current phasor.

Return Value

Power
Calculated vars (total volt-amperes of reactive power) from imaginary and real components of specified voltage and current phasors.

Remarks

Although the Power units class technically represents watts (i.e., real power) and vars (i.e., imaginary power) are properly expressed in volt-amperes reactive (VAr), the calculated result is still a representation of power and therefore the Power units class is used to express the return value leaving the consumer to properly apply the needed engineering units for display purposes.

Exceptions

ArgumentNullExceptionvoltage and current must not be null.

See Also