This document describes a simulation of a three-phase shunt active power filter using a fuzzy logic controller to compensate for current harmonics from a non-linear load. It discusses how active power filters can mitigate harmonics and reactive power issues. The simulation shows that the fuzzy logic controller is able to keep the source current balanced, sinusoidal and in phase with the voltage after compensation, reducing the total harmonic distortion from 28.61% to 3.85%. The fuzzy logic controller provides an effective control approach without requiring an accurate mathematical model of the system.