Abstract: The quality of electricity is a big problem in terms of electrical energy. Nowadays, power quality problems include a huge role of instability effects such as voltage sags, flickers, melodic ...