Text this: Optimal location of distributed generator for power loss reduction via particle swarm optimization