Divisions of power system are affected by different parameters like natural disasters and unforeseen events. This case is important for improvement of present networks or design of new networks, and it can prepare the network for fast restoration with minimum damage. The objective of this study is to increase security of energy supply in sensitive points using renewable energy resources so that networks technical constraints is satisfied beside energy resources uncertainty and sensitive loads priorities. Due to the presence of DG units and the uncertainty of their power, common methods of security evaluation of energy supply are not applicable directly. Finally, a comprehensive algorithm based on imperialist competitive algorithm, scenario reduction, and optimal power flow is proposed and supply adequacy of consumers is evaluated by solving a set of optimal power flow equations. The proposed model is presented in MATLAB and GAMS environments and optimal mix of energy resources is obtained to increase reliability of network. Final results show the effectiveness of the proposed algorithm in optimal design of hybrid energy resources and remarkable improvement of energy supply security.