A modified PSO technique for electrical engineering applications