Click or drag to resize

PhasorValueBaseCalculateVars Method

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

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
public static Power CalculateVars(
	IPhasorValue voltage,
	IPhasorValue current
)
View Source

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.
Exceptions
ExceptionCondition
ArgumentNullExceptionvoltage and current must not be null.
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.
See Also