electricpy.pfcorrection¶
- electricpy.pfcorrection(S, PFold, PFnew, VLL=None, VLN=None, V=None, freq=60)[source]¶
Power Factor Correction Function.
Function to evaluate the additional reactive power and capacitance required to achieve the desired power factor given the old power factor and new power factor.
- Parameters:
S (float) – Apparent power consumed by the load.
PFold (float) – The current (old) power factor, should be a decimal value.
PFnew (float) – The desired (new) power factor, should be a decimal value.
VLL (float, optional) – The Line-to-Line Voltage; default=None
VLN (float, optional) – The Line-to-Neutral Voltage; default=None
V (float, optional) – Voltage across the capacitor, ignores line-to-line or line-to-neutral constraints. default=None
freq (float, optional) – System frequency, default=60
- Returns:
C (float) – Required capacitance in Farads.
Qc (float) – Difference of reactive power, (Qc = Qnew - Qold)