Recently, new advanced techniques have been proposed to improve the quality of smart grids that use intermittent renewable energy sources. One of the most effective techniques is active filtering, which utilizes a power electronic converter in the smart load. This technique has the potential to enhance the power quality of the supply voltage by minimizing current harmonics, which is crucial. In this article, we propose a new command intelligence system based on Fuzzy PI fractional (fuzzy FOPI) and GA to control the harmonic currents generated by an active filter powered by a wind system.