This document discusses using an adaptive fuzzy logic controller (FLC)-based shunt active power filter (APF) to address power quality issues caused by nonlinear loads in a distribution power system integrated with solar energy. A shunt APF uses a shared DC link voltage source to compensate for load current harmonics and fluctuations. An adaptive FLC is proposed to dynamically adjust the control parameters of the shunt APF to best handle varying conditions. MATLAB/Simulink simulations validate that the proposed system can improve power quality by reducing total harmonic distortion and current fluctuations.