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.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
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