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.164 -- Release Build+6702c515f0dd5ff2666fab734b3300f444325a3e
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