A power system with different types of micro-sources are very popular in recent years. The aim of the paper is to make the environment green by reducing green house gases and meet the load demand in an efficient way. However, we propose a grid-connected microgrid system which meets the load demand in an efficient manner to achieve our objectives. The objective of this work is to find the optimal set points of controllable micro-sources in terms of cost minimization. The grid-connected microgrid also helps to exchange power with utility during different intervals of a day to meet the load demand. The significance and performance of the proposed strategy is proved through performing simulations in MATLAB. However, the overall cost of MG is less, while in schedulable microsources the cost of FC is less as compared to MT and DE.