This document presents the design and analysis of an adaptive neural controller for a Voltage Source Converter (VSC) based Static Synchronous Compensator (STATCOM). It discusses various pulse-width modulation (PWM) techniques, particularly selective harmonic elimination, to optimize voltage regulation and minimize total harmonic distortion (THD) in power systems. The proposed method complies with IEEE standards and demonstrates improved performance in harmonics elimination through simulations and comparisons.