Power Factor Correction with Capacitor Bank Tool
Run the .m file to use the GUI (or drag the .m file into the command window)
INPUT:
Peak Real Power(P)
Peak Reactive Power(Q)
Proposed Capacitor Bank (kVAr)
*Estimated Monthly Penalty ($)
OUTPUT:
Phase Angle: ɵ = arctan(Q/P)
Power Factor: pf = cos(ɵ)
Apparent Power: S = P / pf
*Yearly Savings: Monthly Penalty x 12
*(assumes you're designing to compensate for a reactive demand charge and that you will chose a value for you capacitor bank that will fully compensate the reactive demand)
Cite As
Charles Kennedy (2026). Power Factor Correction with Capacitor Bank Tool (https://in.mathworks.com/matlabcentral/fileexchange/73081-power-factor-correction-with-capacitor-bank-tool), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.