Text this: Optimal allocation and sizing of capacitor bank and distributed generation using particle swarm optimization