The invention discloses an office
building energy consumption prediction method and
system, and relates to the technical field of
energy consumption prediction, and the method comprises the steps: collecting the current office
building energy consumption data; decomposing the load sequence into a plurality of
modal components, calculating the
sample entropy of each
modal component, and recombining the
modal components by using a K-means clustering
algorithm according to the calculation result of the
sample entropy; taking each mode component after recombination as a node, taking the
time sequence similarity between the mode components as an edge between the nodes, and constructing a graph structure; inputting the graph structure into a GCN-Transform model, extracting spatial features of nodes in the graph structure, and introducing a self-attention mechanism to extract
time sequence features; inputting the spatial-temporal characteristics into a full-connection layer to obtain an
energy consumption predicted value in a future period of time; according to the method, space cooperation and time dependence can be considered at the same time in a complex and changeable
energy consumption scene, so that a more accurate prediction result is provided.