Abstract: The first contribution of this paper is to present three alternative analytical expressions to identify the location, size and power factor of a single DG unit with a goal of minimizing power losses. These expressions are easily adapted to accommodate different types of renewable DG units for minimizing energy losses by considering the time-varying demand and different operating conditions of DG units. Second objective is to minimize the cost of plantation of renewable energy source at the buses with high losses. This cost also must be minimized in coordination with losses minimization. A meta heuristic algorithm, firefly optimization is used for this purpose. Results are compared with the other metaheuristic algorithm, widely used in literature, particle swarm optimization (PSO). Comparative results in form of losses and voltage profile improvement shows effectiveness of our algorithm.

Keywords: Distributed Generation, Firefly Optimization, PSO