This work focuses on the extraction of harmonic current and the compensation of reactive power using the shunt active power philtre (SAPF). An algorithm based on (ADALINE) Neural Network and Real and Imaginary Instantaneous Forces (ANN-RIIP) is designed to extract and classify harmonic components in order to achieve this...