Particle swarm optimization method is used for allocation of DGs.
An unbalanced IEEE 123 distribution network is used.
OpenDSS is used in a co-simulation environment with MATLAB.
Proposed method reduces the computation times significantly.
This method can also be used for the allocation of D-STATCOM and battery Storage.