The integration of a high proportion of distributed PV into distribution networks can cause power backfeeding and voltage limit violations. This paper introduces moment difference analysis theory for distribution networks, reframing PV consumption as the balancing moment difference equations. When maximum node voltage approaches the upper limit, the moment difference between PV and load stabilizes to an approximately constant, termed the standard moment difference. The standard moment difference represents the limit of the network's capacity to consume distributed PV. Essentially, the PV moment is the target for integration, while the load moment serves as the resource to consume the PV moment. Based on this theory, a method for energy storage configuration is proposed. Simplifying a complex multi-branch distribution network into single-branch lines and solving linear equations determines the optimal storage configuration. This method was tested on the Jibei Power Grid and the IEEE 33 and 69 bus systems, increasing computational efficiency by 1611.47–4973.82 times compared to the PSO algorithm, while maintaining an error margin of less than 2.6 %. Furthermore, the discharging strategy reduces the ESS capacity to between 12.39 % and 31.69 % of the original estimate, thereby enhancing both the economic and practical appeal of the approach.