This paper presents an optimization model for the optimal placement of hybrid system of diesel generator, wind turbines and photovoltaic. For this, the proposed objective function has been formulated based on: cost of purchasing equipment, cost of gas split, distance from electrical substation, cost of land acquisition, costs of water split. The calculations are done based on amount of investment for each 3 types of DGs, generating time of each, operation and maintenance costs and bank financial supports (loans). The aim of the optimization process is to design the system with a loss of load probability that is less than 1%. The problem has been optimized by Honey-bee mating optimization (HBMO) algorithm. The honey bee is a social insect that can only survive as a member of a community, or colony. Simulation has been performed on a practical test system in Iran. The results obtained of the proposed algorithm were analyzed and compared with related values of Particle Swam Optimization (PSO) algorithm and related values of genetic algorithm.