\mindpowered\electricalcElectriCalc

A library for calculations related to electrical wiring and circuits

Summary

Methods
Properties
Constants
__construct()
ConvertPhaseAngleToPowerFactor()
ConvertPowerFactorToPhaseAngle()
CalculateSinglePhasePower()
CalculateThreePhasePower()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

ElectriCalc

ConvertPhaseAngleToPowerFactor()

ConvertPhaseAngleToPowerFactor(float  $phaseAngle) : float

Convert from Phase Angle to Power Factor

Parameters

float $phaseAngle

Phase Angle in degrees

Returns

float —

Power Factor

ConvertPowerFactorToPhaseAngle()

ConvertPowerFactorToPhaseAngle(float  $powerFactor) : float

Convert from Power Factor to Phase Angle

Parameters

float $powerFactor

Power Factor

Returns

float —

Phase Angle in degrees

CalculateSinglePhasePower()

CalculateSinglePhasePower(float  $voltage, float  $current) : float

Calcualte single phase power based on measured voltage and current

Parameters

float $voltage

Measured voltage in Volts

float $current

Measured current in Amps

Returns

float —

Apparent Power in VA

CalculateThreePhasePower()

CalculateThreePhasePower(float  $voltage, string  $lineTo, float  $current) : float

Calcualte three phase power based on measured voltage and current

Parameters

float $voltage

Measured voltage in Volts

string $lineTo

Which voltage was measured. Must be "line" or "netural"

float $current

Measured current in Amps

Returns

float —

Apparent Power in VA