The invention discloses a clustering and neural network-based
power quality prediction method for a power distribution network containing a
distributed power supply. The method comprises the steps oftraining
data acquisition and normalization
processing; performing clustering division on the historical input
data set; dividing a
training set and a
verification set; enabling BP neural network prediction to perform model training; Solving an optimal
training set division mode; obtaining predicted input variable values and normalizing the predicted input variable values; determining cluster affiliation of the input variable value; performing
electric energy quality prediction output and reverse normalization; making a
power quality prediction result assessment. The method has the advantagesthat 1, the BP neural network is used for effectively predicting the
power quality of the DG-containing power distribution network; 2, a k-means
algorithm is used to carry out classification preprocessing on the neural network
training set by using a means clustering
algorithm, and providing different prediction models for each class, so as to overcome the defect that a BP neural network is easy to fall into a local optimal solution, and obviously reduce the prediction error; and 3, the training set, the
verification set division mode and the
hidden layer node number N are circularly changed for multiple times, and the probability of obtaining the optimal model is improved.