The application discloses a method for establishing a short-term building cold load prediction model based on a
Transformer model, a prediction method and
computer equipment, belongs to the technical field of building cold load prediction, and solves the problem of low prediction accuracy of existing building cold load prediction. The method comprises the following steps: selecting feature variables required for building cold load prediction, wherein the feature variables comprise weather feature variables and time feature variables; obtaining
linear correlation of each two feature variables, and selecting feature variables linearly independent with each other as input data of a prediction model; establishing a
data set with a sequence information mode according to the input data of the prediction model, and generating a sequence input
data set according to the
data set with the sequence information mode; dividing the sequence input data set into training data and
test data, training a model based on a
Transformer network; and obtaining the short-term building cold load prediction model based on the
Transformer model according to the model based on the Transformer network after training. The application is suitable for predicting short-term building cold load.