In recent years, with the changing concept of electrical energy, distributed generation systems have gained more importance. Distributed generation systems can contribute to distribution networks by increasing energy supply security, reducing power losses, and improving voltage stability. Optimal locations and sizes should be determined to obtain maximum benefit from distributed generation systems that will be connected to distribution networks. This paper presents a multi objective placement and sizing optimization model of distributed generation systems to minimize power losses and voltage deviations. The proposed model is implemented on a 40 bus real radial network using particle swarm algorithm and whale optimization algorithm. The obtained results on different load scenarios using particle swarm algorithm and whale optimization algorithm algorithms are presented comparatively.