In this article. our purpose was improving the DFIG stability with tuning of STATCOM control parameters. In order to select the objective function. we proposed a method with the name of integral of time absolute error index or ITAE then optimization process was done by genetic algorithm. Optimization results showed that the speed of genetic algorithm response was good and after 6th generation. the algorithm reaches to optimal value.
The large difference between ITAE values in the case of STATCOM tuned (KSTATCOM = 68.47) and without STATCOM (KSTATCOM = 1.45) proved that the performance of ITAE objective function is very good to find the minimum of values. With executing the simulation. we observed that although DFIG speed oscillations is not very intensive during short circuits that can be solved in little times but with the STATCOM tuned. DFIG speed oscillations were damped sufficiently. About the DFIG active power oscillations and DFIG voltage oscillation it can be said that this oscillation is very sever and with the STATCOM tuned. oscillations damping time and stability of oscillation were enhanced properly. Then SVC is selected in order to show the better performance of STATCOM in comparison with each other.