YTPQC-AHF based on 3-level topology, is an Active Harmonic Compensation Filter (AHF) system designed to eliminate harmonic oscillations and reduce costs consequently. AHF is a versatile solution, easily tailored to deliver power factor improvement, voltage variation control, flicker mitigation and load balancing functionality, and highly improved power quality in networks while reducing harmonic pollution.