This document presents a comparative analysis of using a Unified Power Quality Conditioner (UPQC) to improve power quality in a 16-bus distribution system. A UPQC combines series and shunt active power filters to mitigate both voltage and current-based power quality issues. The document describes the components and control strategies of a UPQC. It then models a UPQC connected to the 16-bus system and compares the performance of using different controller types for the UPQC: proportional-integral (PI) controller, neural network, and adaptive neuro-fuzzy inference system (ANFIS). The modeling results show the effectiveness of a UPQC in enhancing power quality by reducing issues like voltage sag, harmonics, and interruptions.