In recent years, distributed generation (DG) technology has developed rapidly. Renewable energy, represented by wind energy and solar energy, has been widely studied and utilized. In order to give full play to the advantages of distributed generation and to meet the challenges of DG access to the power grid, the multi-scenario analysis method commonly used in DG optimal allocation method is studied in this paper. In order to solve the problems that may arise from using large-scale scenes in the planning of DG considering uncertainties by using multi-scene analysis method, the cluster analysis method suitable for large-scale scene reduction in scene reduction method is introduced firstly, and then an improved clustering algorithm is proposed. The validity of the scene reduction method is tested, and the feasibility of the reduction method is verified. Finally, the method mentioned in this paper is compared with other commonly used methods through IEEE-33 node system.