Distributed generation (DG) with renewable energy resources is gaining importance in modern power systems for its environmental beneficiaries. In this work, decentralized generation system is introduced using distributed renewable energy resources considering its economic feasibility a comparative study has made to find the optimal power operation and optimum installable capacities of distributed energy resources (DER) for minimum energy cost. Gravitation search algorithm (GSA) is used to solve this optimization problem.