The invention discloses a multi-scale
power load prediction method and
system, and the method comprises the steps: obtaining
time series data related to power generation, and decomposing the
time series data into a plurality of sub-
series data, so as to capture key periodic features in the data; the
time sequence data and the subsequences are sent into an
encoder and a decoder for
feature extraction, in the
encoder, local important information is extracted through an expansion causal convolutional network, correlation features between the subsequences are fused into a subsequent attention module, in the
encoder, an attention mechanism is sampled through a probabilistic fragment, and the
time sequence data and the subsequences are extracted; randomly calculating the attention of a plurality of local blocks, performing dynamic
pruning, capturing global dependency on coarse
granularity through a multi-scale sparse attention mechanism, identifying a macroscopic mode of a sequence, and calculating a relationship between time steps on fine
granularity to capture local dependency; and constructing and training a prediction model based on the encoder and the decoder, outputting a prediction result of the
power load data, and performing result evaluation through
dimensionality reduction and a
loss function.