The present invention discloses a method and device for locating a fault section of a distribution network based on a dynamic weight update strategy, and relates to the field of
distribution networks or other related fields. The method comprises: responding to a detection instruction, using a
chaotic mapping strategy to generate a
population, receiving a segment actual vector, calculating an expected vector, using an improved
fitness function to obtain segment fitness, forward sorting the fitness set, selecting the top three individuals in the sorting as wolves of the
gray wolf algorithm, using a dynamic weight update strategy to update the position of the wolf, using a
mutation and
crossover strategy for the individuals of the
population to obtain a mutated
crossover individual, when the fitness of the mutated
crossover individual is less than that of the individuals of the
population, using the mutated crossover individual to replace the individuals of the population to obtain a
new population, and obtaining a
target population by iterating the
new population, and locating the fault section in the segment vector represented by the optimal individual in the
target population. The present invention solves the technical problems in the related art that the
algorithm converges slowly and is prone to fall into the dilemma of local optimal solutions.