GBDT-based shopping mall air conditioning cooling load prediction method, storage medium and equipment

Through the GBDT model and hyperparameter optimization technology, the problem of distribution changes and data requirements in the air conditioning cooling load prediction of shopping mall buildings is solved, and high-precision and applicable cooling load prediction is achieved, which is suitable for large public buildings with cyclic changes in cooling load.

CN112001439BActive Publication Date: 2024-09-13ZHUHAI SHUANGSAI MECHANICAL & ELECTRICAL EQUIP ENG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010839514.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-19
Publication Date
2024-09-13
Estimated Expiration
2040-08-19

AI Technical Summary

Technical Problem

It is difficult to accurately predict the cooling load demand of shopping mall building air-conditioning with existing technology, especially when the distribution of cooling load on working days and holidays is poorly differentiated, and deep neural networks require a large amount of data training, resulting in high complexity and limited practical applications.

Method used

A shopping mall building air conditioning cooling load prediction method based on gradient boosting decision tree (GBDT) is used to collect real-time and historical data for Pearson analysis to filter features, establish a GBDT model, and use grid search-cross-validation to optimize hyperparameters to improve prediction accuracy. .

Benefits of technology

It achieves accurate prediction of the cooling load of shopping mall buildings, improves the prediction accuracy and applicability, and overcomes the problem of the traditional model's insufficient adaptability to changes in cooling load distribution and the excessive data demand of deep neural networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112001439B
    Figure CN112001439B
Patent Text Reader

Abstract

The present invention discloses a method, storage medium and device for predicting the cooling load of air conditioners in shopping malls based on GBDT, collects cooling load data, performs normalization processing as cooling load energy consumption prediction; establishes a load prediction model based on a gradient boosting decision tree algorithm; inputs data after data preprocessing into the prediction model for training, selects a grid search-cross validation method, and optimizes the three hyperparameters with the greatest impact on the performance of the GBDT model; establishes a final cooling load prediction model by completing the optimization of the prediction model parameters, and obtains a predicted cooling load curve according to the parameters and structure of the prediction model; evaluates the prediction performance of the prediction model, and uses the prediction error for evaluation, the deviation between the true value and the predicted value constitutes the prediction error, and completes the prediction of the cooling load of the air conditioners in shopping malls. The present invention has good prediction accuracy, versatility and applicability, and is particularly suitable for large public buildings with periodic changes in cooling load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of air conditioning cooling load prediction for shopping mall buildings, and specifically relates to a shopping mall building air conditioning cooling load prediction method, storage medium and equipment based on a gradient boosting decision tree (GBDT). Background Art

[0002] Building energy consumption accounts for an increasing proportion of my country's energy consumption, rising from 10% in the late 1970s to 28% at present, and is becoming the main source of consumption in my country's urban production and life. The total annual energy consumption of various types of large public buildings in my country is about twice that of similar buildings in developed countries abroad. Therefore, it is of great significance to control the growth of building energy consumption and realize energy-saving design of new buildings while ensuring people's demand for building use. Accurate load forecasting helps to reasonably arrange the start and stop of various electromechanical equipment units, which can effectively reduce costs, save energy consumption, and improve economic and social benefits.

[0003] At present, artificial neural network models, support vector machine models and hybrid models are widely used in cooling load prediction methods. Due to the operating characteristics of shopping malls, the cooling load distribution is uneven, the cooling load demand on holidays is significantly higher than that on weekdays, and the cooling load varies greatly on different dates. The traditional single prediction model is difficult to adapt to such changes, and the combined prediction model is highly complex and limited in practical application. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a shopping mall building air-conditioning cooling load prediction method, storage medium and equipment based on gradient boosting decision tree (GBDT) in view of the deficiencies in the above-mentioned prior art, which overcomes the shortcoming of the SVR model in that the cooling load distribution on weekdays and holidays is low, and effectively solves the deficiency that deep neural networks require a large amount of data training.

[0005] The present invention adopts the following technical solutions:

[0006] A method for predicting cooling load of air conditioning in shopping mall buildings based on GBDT, comprising the following steps:

[0007] S1. Collect the real-time cooling load data of the air conditioners in the shopping mall building, perform Pearson analysis on the historical cooling load data of the air conditioners in the shopping mall building, select the features with the Pearson correlation coefficient within the threshold as the input features of the cooling load prediction model, and normalize the selected input feature data as the input of the cooling load energy consumption prediction;

[0008] S2. Establish a load forecasting model H(x) based on a gradient boosting decision tree algorithm, input the normalized data in step S1 into the load forecasting model for training, and optimize the hyperparameters of the load forecasting model;

[0009] S3, using a grid search-cross validation method to optimize the hyperparameters of the load forecasting model established in step S2;

[0010] S4, completing the optimization of load prediction model parameters through step S3, establishing the final load prediction model, predicting the cooling load data through training, and obtaining the predicted cooling load curve according to the parameters and structure of the load prediction model;

[0011] S5. Evaluate the prediction performance of the load prediction model in step S4 by using the root mean square error (CV-RMSE) of the coefficient of variation, the mean absolute error (MAE) and the square determination coefficient (R) 2 The results were evaluated by comparing the difference between the predicted value and the actual value of the prediction model. The prediction error was used to evaluate the GBDT network model. The deviation between the true value and the predicted value constituted the prediction error, and the cooling load prediction of the air conditioning in the shopping mall building was completed.

[0012] Specifically, step S1 is as follows:

[0013] S101. Real-time collection of real-time cooling load data of shopping mall buildings using ice storage air conditioners for cooling in summer, including outdoor dry-bulb temperature, relative humidity, solar radiation, wind speed and hourly cooling load data;

[0014] S102, by analyzing the features that affect the model performance (X i ) and cooling load (Y i )Pearson correlation analysis is performed to obtain the correlation coefficient, which shows the correlation between the feature and the cooling load. When the correlation coefficient is greater than the set threshold, the feature is extracted as the input feature;

[0015] S103: Before training and predicting the cooling load prediction model, the input features are normalized using zero mean normalization.

[0016] Furthermore, in step S102, the sample data (X i ,Y i The Pearson correlation coefficient r between ) is calculated as follows:

[0017]

[0018] Among them, X i and Y i are the sample data at the i-th moment respectively; and is the sample mean, and n is the number of samples in the data set.

[0019] Specifically, step S2 is as follows:

[0020] S201, using a regression tree represented by a gradient boosting decision tree algorithm as a base learner;

[0021] S202, the first step of generating a strong learner is to initialize the CART base learner to build an initial model and determine a constant value C that minimizes the loss function L;

[0022] S203. After completing m iterations, the final load forecasting model H(x) is obtained.

[0023] Specifically, in step S203, the load forecasting model H(x) is as follows:

[0024]

[0025] Among them, h0(x) is the initial model constructed by initializing the CART base learner, M is the number of units representing the feature space division, J is the number of regression tree leaf nodes, and C mj To find the predicted value that minimizes the loss function L through linear search, I() is the indicator function. If x belongs to Q mj region, then I() is 1, on the contrary, if x does not belong to Q mj area, then I() is 0, Q mj is the area corresponding to the leaf node.

[0026] Specifically, in step S3, the three hyperparameters that have the greatest impact on the performance of the GBDT model are optimized: the number of trees N, the learning rate ε of the model, and the complexity C of the model. All hyperparameter value combinations under the set conditions are determined through grid search, and then the GBDT model of each hyperparameter combination is cross-checked. 2 As the cross-validation evaluation index, the hyperparameter combination and value with the best prediction performance are selected; the normalized input vector containing time, temperature, humidity, solar radiation, and historical cooling load is input into the GBDT network model to train the load forecasting model; the training samples are trained to adjust the model parameters N, ε, and C of the load forecasting model, and the model parameters are saved after the search number for the end of training is reached.

[0027] Furthermore, the hyperparameter value combination is N=400, ε=0.1, and C=7.

[0028] Specifically, in step S5, the root mean square error CV-RMSE of the coefficient of variation, the mean absolute error MAE and the square determination coefficient R 2 Specifically:

[0029]

[0030]

[0031]

[0032] Among them, y i and are the actual load value and load forecast value at the i-th moment respectively; is the average value of the true value of the air conditioning cooling load, and n is the number of samples in all test sets.

[0033] Another technical solution of the present invention is a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device, the computing device executes any of the methods described.

[0034] Another technical solution of the present invention is a computing device, comprising:

[0035] One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described.

[0036] Compared with the prior art, the present invention has at least the following beneficial effects:

[0037] The present invention provides a shopping mall building air conditioning cooling load prediction method based on GBDT. Aiming at the problem that the cooling load of shopping mall buildings is unevenly distributed, the cooling load varies greatly on different dates, the traditional single prediction model is difficult to adapt to such changes, the combined prediction model is highly complex, and the practical application is limited, a shopping mall building air conditioning cooling load prediction method based on GBDT is proposed. By utilizing the advantages of ensemble learning technology, various types of data, including continuous values ​​and discrete values, can be flexibly processed. With relatively little parameter adjustment time, the prediction readiness rate can also be relatively high. The use of the GBDT model overcomes the shortcoming of the SVR model's low differentiation of cooling load distribution on weekdays and holidays, and also effectively solves the deficiency that deep neural networks require a large amount of data for training.

[0038] Furthermore, compensating for missing and abnormal data in the selected data can effectively solve the problem of data reliability. In order to avoid prediction errors caused by different orders of magnitude of input layer parameters, normalizing the input data can effectively solve the prediction errors of the network model caused by data errors.

[0039] Further, in step S102, the features (X i ) and cooling load (Y i)Pearson correlation analysis is performed to screen the input features of the cooling load prediction model. This can reduce the feature dimension while ensuring the integrity of the feature information, avoid the loss of feature information caused by too low feature dimensions and avoid the information redundancy caused by too high feature dimensions of the prediction model input, which introduces interference.

[0040] Furthermore, the use of the gradient boosting decision tree algorithm to construct the cooling load prediction model can make the prediction results of the model approach the true value step by step as each CART tree is established, thereby gradually improving the prediction accuracy of the model.

[0041] Furthermore, the number of parameters is small, the search dimension is low, and the model is easy to obtain the approximate range of parameters based on experience. The particle swarm algorithm (PSO) is prone to waste resources, so it is not suitable for parameter optimization of the GBDT model in the present invention. The grid search-cross validation method is used to optimize the three hyperparameters that have the greatest impact on the performance of the GBDT model: the number of trees (N), the learning rate of the model (ε), and the complexity of the model (C), and the hyperparameter combination and value with the best prediction performance are selected to reduce resource waste.

[0042] Furthermore, when the hyperparameter value combination is N = 400, ε = 0.1, and C = 7, the R 2 The largest value means that the model has the best prediction performance.

[0043] Furthermore, using the root mean square error of the coefficient of variation (CV-RMSE) to evaluate the accuracy of the prediction model can not only eliminate the impact of the different average levels of the two digital sequence values ​​on the degree of discreteness of the comparison, but also eliminate the impact of the evaluation comparison caused by the different dimensional units of the two sequences. It can more perfectly reflect the degree of variation of the series. Using the mean absolute error (MAE) can better reflect the actual situation of the prediction value error.

[0044] In summary, the method of the present invention accurately predicts the cooling load of shopping mall buildings, and the prediction accuracy is higher than that of the deep neural network prediction model and the support vector regression prediction model. It has good prediction accuracy, versatility and applicability, and is particularly suitable for large public buildings with periodic changes in cooling load. It is an effective technology for cooling load prediction and control of ice storage air-conditioning systems, and the cooling load prediction data provided is more useful for energy-saving planning and energy conservation planning.

[0045] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is a graph of cooling load changes for a week;

[0047] Figure 2The results of the correlation analysis are shown in Figure 1, where (a) is the outdoor dry-bulb temperature correlation analysis result, (b) is the solar radiation correlation analysis result, (c) is the historical cooling load correlation analysis result, and (d) is the relative humidity correlation analysis result.

[0048] Figure 3 A flowchart of the method of the present invention;

[0049] Figure 4 This is a comparison chart of the prediction results of DNN, SVM, and GBDT;

[0050] Figure 5 This is a comparison chart of the magnified effects of the forecast results on August 3 and August 4. DETAILED DESCRIPTION

[0051] The invention provides a method for predicting the cooling load of air conditioners in shopping malls based on a gradient boosting decision tree (GBDT). First, the original data are collected, and the original data set includes outdoor dry-bulb temperature, relative humidity, solar radiation, wind speed, and hourly cooling load data; the factors affecting the air conditioning energy consumption of the shopping mall are analyzed, that is, the current cooling load of the building and the historical cooling load of the building, the outdoor dry-bulb temperature, relative humidity, solar radiation, and wind speed are subjected to Pearson analysis, and the input features of the cooling load prediction model are screened; before model training and prediction, the input features are normalized, and a 0-mean normalization method is used here to normalize the input features; an initial model is established according to a sample set, and then a CART regression tree is constructed in the direction of the negative gradient of a loss function, and the output result of each newly constructed CART tree will correct the prediction result of the current model; a grid search-cross validation method is used to optimize the three hyperparameters that have the greatest impact on the performance of the GBDT model: the number of trees N, the learning rate ε of the model, and the complexity C of the model; all hyperparameter value combinations under set conditions are determined by grid search, and then the GBDT model of each hyperparameter combination is cross-checked, and the prediction result is corrected by R. 2 As the cross-validation evaluation index, the hyperparameter combination and value with the best prediction performance are selected to establish the load forecasting model; the root mean square error CV-RMSE of the coefficient of variation, the mean absolute error MAE and the square determination coefficient R 2 To evaluate the performance of the prediction model and complete the air conditioning cooling load prediction.

[0052] See also Figure 3 The present invention provides a method for predicting the cooling load of air conditioners in shopping malls based on a gradient boosting decision tree (GBDT), comprising the following steps:

[0053] S1. Collect the cooling load data of the air conditioners in the shopping mall building (including historical cooling load, outdoor dry bulb temperature, relative humidity, solar radiation, wind speed, etc.), perform Pearson analysis on the current cooling load of the air conditioners in the shopping mall building and the historical cooling load, outdoor dry bulb temperature, relative humidity, solar radiation, and wind speed of the building, and screen the input features of the cooling load prediction model. Normalize the processed energy consumption data as the cooling load energy consumption prediction;

[0054] S101. The data set used is real-time monitoring data from a shopping mall, which uses ice storage air conditioners for cooling in summer. The original data set includes outdoor dry bulb temperature, relative humidity, solar radiation, wind speed, and hourly cooling load data, which are recorded from May 1 to August 31. Because ice storage air conditioners store ice at night and cool during the day, the building energy consumption monitoring platform of the shopping mall starts recording daily data from 8:00 to 22:00, with a recording interval of 1 hour. Some data from the original data set are shown in Table 1. The cooling load distribution for a consecutive week in the original data set is as follows: Figure 1 shown.

[0055] Table 1 Part of the original data

[0056]

[0057] S102. By performing Pearson correlation analysis on the features that affect the performance of the model, the correlation coefficient can be obtained. The correlation coefficient shows the degree of correlation between the feature and the cooling load. When the correlation coefficient is greater than the set threshold, the feature is extracted as the input feature. Table 2 shows the results of the Pearson correlation analysis between different physical quantities and the cooling load in the original data set used in this study. The correlation coefficient threshold is selected as 0.4, the Pearson correlation coefficient of the outdoor dry-bulb temperature is 0.563, the Pearson correlation coefficient of relative humidity is -0.312, the Pearson correlation coefficient of solar radiation is 0.745, and the Pearson correlation coefficient of wind speed is 0.135. The results show that there is a strong correlation between the outdoor dry-bulb temperature, solar radiation, relative humidity and the cooling load of the ice storage air-conditioning system of the shopping mall building.

[0058] Two samples (X i ,Y i The Pearson correlation coefficient calculation formula is as follows:

[0059]

[0060] Among them, X i and Y i are the sample data at the i-th moment respectively; and is the sample mean, and n is the number of samples in the data set.

[0061] Table 2 Correlation analysis between physical quantities and cooling load

[0062]

[0063] Figure 2 The results of Pearson correlation analysis between historical outdoor dry-bulb temperature, historical solar radiation, historical cooling load, and historical relative humidity and cooling load values ​​are shown in Figure 2. The thresholds of Pearson correlation coefficients are selected as 0.5, 0.65, 0.8, and 0.4, respectively. t(T), t(SR), t-1(SR), t-2(SR), t-1(CL), t-2(CL), and t(RH) are used as input features of the prediction model in this study.

[0064] S103. Because the units and value ranges of the model input features are different, the input features must be normalized before model training and prediction. The present invention uses zero mean normalization to normalize the input features. The processed data conforms to the standard normal distribution, that is, the mean is 0 and the standard deviation is 1. The specific formula is:

[0065]

[0066] Among them, x is the input feature, μ is the mean of the input feature, and δ is the standard deviation of the input feature.

[0067] S2. The load forecasting model based on the gradient boosting decision tree algorithm is:

[0068]

[0069] Among them, h0(x) is the initial model constructed by initializing the CART base learner, M is the number of units representing the feature space division, that is, the number of CART regression trees contained in the model, J is the number of regression tree leaf nodes, and Q mj is the area of ​​its corresponding leaf node, C mj To find the predicted value that minimizes the loss function L through linear search, I() is the indicator function. If x belongs to Q mj If x does not belong to Q, I() is 1. mj The area is 0.

[0070] The load forecasting method based on the gradient boosting decision tree algorithm is as follows: Figure 3 As shown, specifically:

[0071] S201, Gradient Boosting Decision Tree Algorithm The regression tree represented by the following formula is used as the base learner:

[0072]

[0073] Where D = {(xi ,y i )}, (i=1,2,3,...,n) represents the training samples used, M represents the number of units in which the feature space is divided, Represents an optimal output on each unit, R m Indicates the segmentation unit.

[0074] S202, the first step in generating a strong learner is to initialize the CART base learner to build an initial model and determine the constant value C that minimizes the loss function L:

[0075]

[0076] in,

[0077] The initial model is iterated m times, where m = 1, 2, 3, ...M.

[0078] Calculate the negative gradient r of the loss function L mi as follows:

[0079]

[0080] Where D = {(x i ,y i )}, i = 1, 2, 3...n, represents the training samples used, h m-1 (x i ) represents the regression prediction value of the i-th feature after the previous iteration.

[0081] Using (x i ,r mi ) fits the mth CART regression tree, and the area of ​​its corresponding leaf node can be expressed as Q mj (j=1,2,3...j), J represents the number of leaf nodes.

[0082] For the leaf node region R mj The predicted value represented by is used to find the predicted value C that minimizes the loss function L through linear search. mj .

[0083]

[0084] Using the new CART regression tree C mj , update the load forecasting model and obtain a new strong learner h m (x):

[0085]

[0086] S203. After completing m iterations, the final load forecasting model H(x) can be obtained:

[0087]

[0088] S3. Use grid search-cross validation to optimize the three hyperparameters that have the greatest impact on the performance of the GBDT model: the number of trees N, the learning rate ε of the model, and the complexity C of the model. Use grid search to determine all the hyperparameter value combinations under the set conditions, and then cross-check the GBDT model for each hyperparameter combination. 2 As the cross-validation evaluation indicator, the hyperparameter combination and value with the best prediction performance are selected.

[0089] Table 3 shows the grid search value range and search step of the GBDT model hyperparameters; the starting search value is 50, the ending search value is 400, and the search step is 10; the starting search value is 0.01, the ending search value is 0.3, and the search step is 0.01; the starting search value is 3, the ending search value is 10, and the search step is 1.

[0090] Table 3 Grid search of hyperparameters

[0091]

[0092]

[0093] The normalized input vector containing time, temperature, humidity, solar radiation, and historical cooling load is input into the network model for model training. The training samples are trained to adjust the model parameters of the prediction model: (N, ε, C). The model parameters are saved after the search number for the end of training is reached.

[0094] Table 4 is the result of grid search-cross validation of the GBDT model used in this study. From the information in the table, we can know that the prediction performance of the model is different under different parameter value combinations. 2 As N increases, but after N>400, the effect of N on the R2 of the model becomes insignificant. The smaller ε is, the larger N is, which is consistent with the previous analysis. When the other two parameters are constant, the larger C is, the smaller the R2 of the model is. 2 The larger the value, but after the value of C changes to 7, R 2 The change is not obvious. Finally, the optimal hyperparameter value combination is selected as N=400, ε=0.1, and C=7.

[0095] Table 4. Some results of hyperparameter search

[0096]

[0097]

[0098] S4. Through step S3, the prediction model parameters are optimized and the cooling load prediction model is established. After the cooling load data is predicted through training and the parameters and structure of the prediction model are obtained, the predicted cooling load curve can be obtained, such as Figure 4 , Figure 5 As shown, Figure 4 In order to compare the load forecasting results of different algorithms, this embodiment uses DNN, SVM and GBDT prediction results for comparison. Figure 5 This is a comparison chart of the magnified effects of the forecast results on August 3 and August 4.

[0099] S5. The prediction performance of the model was evaluated using the root mean square error of the coefficient of variation (CV-RMSE), the mean absolute error (MAE) and the squared coefficient of determination (R 2 ) to evaluate the results, compare the difference between the predicted value of the prediction model and the actual value, and use the prediction error to evaluate the GBDT network model. The deviation between the true value and the predicted value constitutes the prediction error.

[0100] The root mean square error of the coefficient of variation (CV-RMSE), mean absolute error (MAE) and squared coefficient of determination (R 2 ) specifically:

[0101]

[0102]

[0103]

[0104] Among them, y i and are the actual load value and load forecast value at the i-th moment respectively; is the average value of the actual value of the air conditioning cooling load, and n is the number of samples in all test sets. CV-RMSE is considered to be a reasonable statistical evaluation indicator in previous studies. The CV-RMSE of the day-ahead prediction model is required to be less than 30%, and the CV-RMSE of the intraday prediction model is required to be less than 10%. MAE reflects the absolute error between the cooling load predicted by the model and the actual cooling load. R 2 The closer the value is to 1, the better the prediction performance of the model. 2 In previous studies, values ​​higher than 0.97 were considered sufficient for practical applications.

[0105] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention described and shown in the drawings here can usually be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0106] In order to verify the advantages of the GBDT model in cold load forecasting, support vector machines, deep neural networks and the GBDT forecasting model used in the present invention are used for comparison. The DNN model used in this embodiment has 4 hidden layers, with 15, 15, 30, and 15 neurons in each layer, and 100 iterations; the particle swarm optimization algorithm (PSO) is used to determine the specific values ​​of the SVR model hyperparameters, and the hyperparameter optimization results of the SVR load forecasting model are shown in Table 5.

[0107] Table 5 Hyperparameters of SVR

[0108]

[0109] Table 6 is the comparison results of the evaluation indicators of the three cooling load prediction models: DNN, SVR, and GBDT.

[0110] Table 6 Prediction performance of SVM, DNN, and GBDT

[0111]

[0112] It can be concluded from Table 6 that the prediction accuracy of the method of the present invention is greatly improved compared with the traditional DNN and SVR prediction methods.

[0113] In summary, the present invention provides a shopping mall building air conditioning cooling load prediction method based on GBDT. Aiming at the problem that the cooling load of shopping mall buildings is unevenly distributed, the traditional single prediction model is difficult to adapt to such changes, the combined prediction model is highly complex, and the practical application is limited, a gradient boosting decision tree prediction model is introduced, and GBDT uses a grid search-cross validation training method when training network model parameters. In each iteration, all hyperparameter value combinations under the set conditions are determined by grid search, and then the GBDT model of each hyperparameter combination is cross-checked to obtain the best prediction result. 2As the cross-validation evaluation index, the hyperparameter combination and value with the best prediction performance are selected. Since the gradient boosting decision tree algorithm takes advantage of the advantages of ensemble learning technology, it can flexibly process various types of data, including continuous values ​​and discrete values. With relatively little parameter adjustment time, the prediction readiness rate can also be relatively high. The experimental results show that the method proposed in this paper is better than the traditional SVR and DNN prediction models in terms of prediction accuracy and time complexity. It overcomes the shortcomings of the SVR model in terms of low differentiation of cooling load distribution on weekdays and holidays, and effectively solves the deficiency of deep neural networks requiring a large amount of data training. It is an effective method for predicting the cooling load of air conditioners in shopping malls.

[0114] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0115] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0118] The above contents are only for explaining the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the claims of the present invention.

Claims

1. A method for predicting cooling load of air conditioner in shopping malls based on GBDT, characterized in that: The following steps are involved: S1. Collect the real-time cooling load data of the air conditioners in the shopping mall building, perform Pearson analysis on the historical cooling load data of the air conditioners in the shopping mall building, select the features with the Pearson correlation coefficient within the threshold as the input features of the cooling load prediction model, and normalize the selected input feature data as the input of the cooling load energy consumption prediction; S2. Establish a load forecasting model H(x) based on a gradient boosting decision tree algorithm, input the normalized data in step S1 into the load forecasting model for training, and optimize the hyperparameters of the load forecasting model; S3, using the grid search-cross validation method to optimize the hyperparameters of the load forecasting model established in step S2, optimizing the three hyperparameters that have the greatest impact on the performance of the GBDT model: the number of trees N, the learning rate ε of the model, and the complexity C of the model. Through grid search, all the hyperparameter value combinations under the set conditions are determined, and then the GBDT model of each hyperparameter combination is cross-validated. 2 As the cross-check evaluation index, the hyperparameter combination and value with the best prediction performance are selected; the normalized input vector containing time, temperature, humidity, solar radiation, and historical cooling load is input into the GBDT network model to train the load forecasting model; the training samples are trained to adjust the model parameters N, ε, and C of the load forecasting model, and the model parameters are saved after the search number for the end of training is reached. The hyperparameter value combination is N = 400, ε = 0.1, and C = 7; S4, completing the optimization of load prediction model parameters through step S3, establishing the final load prediction model, predicting the cooling load data through training, and obtaining the predicted cooling load curve according to the parameters and structure of the load prediction model; S5. Evaluate the prediction performance of the load prediction model in step S4 by using the root mean square error (CV-RMSE) of the coefficient of variation, the mean absolute error (MAE) and the square determination coefficient (R) 2 The results were evaluated by comparing the difference between the predicted value and the actual value of the prediction model. The prediction error was used to evaluate the GBDT network model. The deviation between the true value and the predicted value constituted the prediction error, and the cooling load prediction of the air conditioning in the shopping mall building was completed.

2. The GBDT-based shopping mall air conditioning cooling load prediction method according to claim 1 is characterized in that: Step S1 is specifically as follows: S101. Real-time collection of real-time cooling load data of shopping mall buildings using ice storage air conditioners for cooling in summer, including outdoor dry-bulb temperature, relative humidity, solar radiation, wind speed and hourly cooling load data; S102, by affecting the model performance feature X i and cooling load Y i Pearson correlation analysis is performed to obtain the correlation coefficient, which shows the degree of correlation between the feature and the cooling load. When the correlation coefficient is greater than the set threshold, the feature is extracted as the input feature; S103: Before training and predicting the cooling load prediction model, the input features are normalized using zero mean normalization.

3. The shopping mall building air conditioning cooling load prediction method based on GBDT according to claim 2 is characterized in that: In step S102, the sample data (X i ,Y i The Pearson correlation coefficient r between ) is calculated as follows: Among them, X i and Y i are the sample data at the i-th moment respectively; and is the sample mean, n is the number of samples in the dataset.

4. The method for predicting cooling load of air conditioning in shopping malls based on GBDT according to claim 1 is characterized in that: Step S2 is specifically as follows: S201, using a regression tree represented by a gradient boosting decision tree algorithm as a base learner; S202, the first step of generating a strong learner is to initialize the CART base learner to build an initial model and determine a constant value C that minimizes the loss function L; S203. After completing m iterations, the final load forecasting model H(x) is obtained.

5. The method for predicting cooling load of air conditioning in shopping malls based on GBDT according to claim 1, characterized in that: In step S203, the load forecasting model H(x) is as follows: Among them, h0(x) is the initial model constructed by initializing the CART base learner, M is the number of units representing the feature space division, J is the number of regression tree leaf nodes, and C mj To find the predicted value that minimizes the loss function L through linear search, I() is the indicator function. If x belongs to Q mj region, then I() is 1, on the contrary, if x does not belong to Q mj area, then I() is 0, Q mj is the area corresponding to the leaf node.

6. The method for predicting cooling load of air conditioner in shopping mall based on GBDT according to claim 1 is characterized in that: In step S5, the root mean square error CV-RMSE of the coefficient of variation, the mean absolute error MAE and the squared determination coefficient R 2 Specifically: Among them, y i and are the actual load value and load forecast value at the i-th moment respectively; is the average value of the actual value of the air conditioning cooling load, n is the number of samples in all test sets.

7. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions which, when executed by a computing device, cause the computing device to perform any one of the methods according to claims 1 to 6.

8. A computing device, characterized in that include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing any one of the methods according to claims 1 to 6.