The distributed distribution (DG) access distribution network (Distribution Network, DN), its output has randomness and volatility, which brings challenges to the distribution network partition. In order to obtain a stable full-network partition, this paper proposes a partition method based on AP clustering for distributed PV access distribution network. First of all, for the distributed photovoltaic access distribution network, the effect of its output on the voltage, an integrated electrical distance indicator applicable to all nodes except balanced nodes is proposed; Secondly, considering the distribution of photovoltaic power by discrete probability distribution and establishing the electrical distance expectation matrix between nodes as the partition basis, AP clustering is used to partition all nodes except balanced nodes, and the above method is verified by IEEE-123 node system. The results show the effectiveness and feasibility of the proposed method. The partition method is superior to the previous method, reducing the complexity of partitioning the PQ node and the PV node respectively, and avoiding the human subjectivity caused by artificially determining the number of clusters, and the randomness and fluctuation of the distributed photovoltaic output. Sex considerations have wide applicability.