This paper presents an improved solution for optimal placement and sizing of active power conditioner (APC) to enhance power quality in distribution systems using the improved discrete firefly algorithm (IDFA). A multi-objective optimization problem is formulated to improve voltage profile, minimize voltage total harmonic distortion and minimize total investment cost. The performance of the proposed algorithm is validated on the IEEE 16- and 69-bus test systems using the Matlab software. The obtained results are compared with the conventional discrete firefly algorithm, genetic algorithm and discrete particle swarm optimization. The comparison of results showed that the proposed IDFA is the most effective method among others in determining optimum location and size of APC in distribution systems. 
Optimum placement of active power conditioner in distribution systems using improved discrete firefly algorithm for power quality enhancement