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.158 -- Release Build+3874b6709118ff35f396fdd2fedd12aeea51803e
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