Gemstone Numeric Library
Show/Hide TOC

# PhasorCalculateRelativePhase Method

Calculates phase φ of voltage relative to current, i.e., angle difference between current and voltage phasor.

## Definition

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

    public static Angle CalculateRelativePhase(
    	Phasor voltage,
    	Phasor current
    )

VB
View Source Request Example

    Public Shared Function CalculateRelativePhase (
    	voltage As Phasor,
    	current As Phasor
    ) As Angle

C++
View Source Request Example

    public:
    static Angle CalculateRelativePhase(
    	Phasor voltage,
    	Phasor current
    )

JavaScript
View Source Request Example

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

#### Parameters

voltage Phasor
  Voltage phasor.
current Phasor
  Current phasor.

#### Return Value

Angle
Calculated phase of specified voltage phasor relative to specified current phasor.

## Exceptions

ArgumentException | voltage and current must have proper Type.

## See Also

#### Reference

Phasor Structure
Gemstone.Numeric.EE Namespace