The invention discloses a photovoltaic cluster power prediction method based on step-by-step spatial feature clustering and an improved graph
attention network, and relates to the photovoltaic field, and the method comprises the following steps: constructing a distributed photovoltaic cluster
data set, the method comprises the following steps: performing
primary clustering division by taking the physical characteristics of a photovoltaic module as characteristics to be input into an
affinity propagation AP
algorithm, then performing secondary clustering division by taking a
solar altitude angle sequence as characteristics to be input into the AP
algorithm, and finally dividing a photovoltaic cluster into a plurality of sub-clusters; for each photovoltaic sub-cluster, sorting and merging historical power and historical meteorological
time sequence data, and inputting the historical power and historical meteorological
time sequence data into a GAT-
Encoder-Decoder
deep learning model for training; reasoning and outputting a day-ahead power prediction result of each
power station in the sub-cluster; and accumulating the prediction results of all the power stations to obtain a power prediction result of the whole photovoltaic cluster. According to the invention, clustering calculation is carried out through step-by-step spatial features so as to obtain a sub-cluster division result which can better reflect the spatial feature state of the
photovoltaic power station, and the correlation of the output of the
photovoltaic power station in the sub-cluster is improved.