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.178 -- Release Build+637be28bb791acbdd84bb7f11d11beacd0a820c2
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