This document summarizes a research paper that presents a new control algorithm called the Modified Synchronous Reference Frame (MSRF) Theory to generate reference currents for a three-phase shunt active power filter (SAPF) to mitigate harmonics in power systems. The SAPF injects compensating currents to cancel out harmonic currents from nonlinear loads, making the source current sinusoidal. The MSRF method calculates the transformation angle from the AC network voltages rather than a phase-locked loop, allowing it to better isolate harmonics. Simulation results showed the SAPF reduced the total harmonic distortion to 3.25% using the MSRF control algorithm. Passive filters are limited and can cause resonance, while the SAPF