The invention discloses a planning method and system for optimizing a micro-grid containing distributed power sources and stored energy, wherein the planning method and system are based on an intelligent optimization algorithm. The planning method is used for optimizing the micro-grid containing the distributed power sources and the stored energy, and comprises the steps that basic data are provided for a planning and design scheme, and modeling and load flow calculation are performed on an area to be planned; a micro-grid wiring mode suitable for the area to be planned is determined; site locations, to be chosen, of the multi-type distributed power sources are determined; a site distribution and capacity determining model is established, and a grid frame of the micro-grid containing the distributed power sources and the stored energy is planned and designed; a joint planning scheme and a joint planning module under a decided investment subject are formed; the joint planning scheme is output and evaluated. According to the planning method and system for optimizing the micro-grid containing the distributed power sources and the stored energy, on the basis of basic characteristic study of the distributed power sources and the micro-grid, planning for optimizing the micro-grid containing the photovoltaic power sources is systematically studied, the positions, capacities and the grid frame structures of all kinds of distributed power sources in the micro-grid in the specified planning area are reasonably allocated, and the micro-grid optimization planning scheme which is complete, effective and high in integrity, and is closely integrated with engineering practice is established.