This paper discusses a combined system of thyristor-controlled reactors (TCR) and shunt active filters for compensating harmonic and reactive power to enhance power quality in power systems. The methodology includes simulations in MATLAB that demonstrate a reduction in total harmonic distortion from 30.26% to 4.01% after compensation. Ultimately, the integration of these components aims to improve reactive power flow and eliminate current harmonics caused by non-linear loads.