Refrigerating capacity prediction method, computer readable storage medium, and program product

By employing a dual-branch architecture of Long Short-Term Memory Network and Multilayer Perceptron, combined with dynamic weighted feature processing of cooling scenario labels, the interpretability and adaptability issues of the cooling capacity prediction model are resolved, achieving high-precision cooling capacity prediction and operation and maintenance decision support.

CN123179261APending Publication Date: 2026-11-27CHINA MOBILE GRP HENAN CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611006873.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-07
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, cooling capacity prediction models lack interpretability, making it difficult to adapt to the multivariate, nonlinear, and highly periodic cooling load changes in data centers. Furthermore, the model structure is rigid and cannot adapt to the dynamic drift of data distribution, resulting in insufficient prediction accuracy and adaptability to operation and maintenance decisions.

Method used

By employing a dual-branch architecture based on long short-term memory networks and multilayer perceptrons, combined with dynamic weighted feature processing of cooling scenario labels, and fusing baseline prediction and response prediction results, accurate prediction of cooling capacity is achieved.

Benefits of technology

It improves the accuracy and interpretability of cooling capacity prediction, enhances the adaptability and robustness of the model, and can respond in real time to changes in site-specific operating modes, thereby improving the fit and applicability of the prediction results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179261A_ABST
    Figure CN123179261A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a refrigeration capacity prediction method, a computer readable storage medium and a program product. The method comprises the following steps: determining a time sequence feature sequence corresponding to heat dissipation environment data according to a preset time window based on a time sequence of the heat dissipation environment data corresponding to a target site; determining a refrigeration scene label corresponding to a first time step based on a timestamp of the first time step in the heat dissipation environment data; performing weighted processing on a time sequence feature corresponding to the first time step in the time sequence feature sequence based on the refrigeration scene label corresponding to the first time step, to obtain a scene weighted feature of the time sequence feature sequence; obtaining a baseline prediction result by processing the scene weighted feature through a long short-term memory network; obtaining a response prediction result by processing a scene state value of the refrigeration scene label within a second preset time length through a multi-layer perception machine; and performing weighted fusion on the baseline prediction result and the response prediction result to obtain a predicted refrigeration capacity. According to the method provided in the embodiments of the present application, the accuracy of the predicted refrigeration capacity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of data processing technology, and in particular relates to a cooling capacity prediction method, a computer-readable storage medium, and a program product. Background Technology

[0002] With the development of technology, the demand for computing power is increasing, which leads to an increase in the demand for heat dissipation. In the context of data centers or computing centers, the demand for heat dissipation is even greater, requiring sufficient cooling capacity to maintain the temperature and other heat dissipation environmental data of the site in order to ensure the normal supply of computing power.

[0003] In existing technologies, cooling capacity can be predicted based on business rules. Specifically, business rules are incorporated into the cooling capacity prediction process as static input features, and the predicted cooling capacity is obtained through data preprocessing, typical model training, model optimization, and evaluation of prediction results.

[0004] However, the predicted cooling capacity obtained by using static business rules to predict cooling capacity through traditional model training methods lacks interpretability between the predicted cooling capacity and operation and maintenance decisions. This makes it difficult to adjust the model, and consequently, it is difficult to improve the accuracy of the predicted cooling capacity and the adaptability between the predicted cooling capacity and operation and maintenance decisions. Summary of the Invention

[0005] This application provides a cooling capacity prediction method, a computer-readable storage medium, and a program product, which can dynamically integrate time-related cooling scenario tags into the process of predicting cooling capacity, thereby improving the accuracy of cooling capacity prediction.

[0006] In a first aspect, embodiments of this application provide a method for predicting cooling capacity, the method comprising: Based on the time sequence of the heat dissipation environment data corresponding to the target site, the time sequence feature sequence corresponding to the heat dissipation environment data is determined according to a preset time window. Based on the timestamp corresponding to the first time step in the heat dissipation environment data, determine the cooling scenario label corresponding to the first time step; Based on the cooling scene label corresponding to the first time step, the time-series features corresponding to the first time step in the time-series feature sequence are weighted to obtain the scene-weighted features of the time-series feature sequence. The scene weighted features are processed by a long short-term memory network to obtain the baseline prediction results. The baseline prediction results are used to represent the change pattern of cooling capacity of the target site within a first preset time period. The scene state values ​​of the cooling scene tags within the second preset time period are processed by a multilayer perceptron to obtain the response prediction result. The scene state value represents the cooling scene tag corresponding to the target site within the second preset time period. The response prediction result is used to represent the fluctuation pattern of the cooling capacity of the target site within the second preset time period. The first preset time period is longer than the second preset time period. The baseline prediction results and the response prediction results are weighted and fused to obtain the predicted cooling capacity, which is used to represent the output load of the cooling system at the target site.

[0007] Secondly, embodiments of this application provide a cooling capacity prediction device, the device comprising: The time-series module is used to determine the time-series feature sequence corresponding to the heat dissipation environment data based on the time sequence of the heat dissipation environment data corresponding to the target site, according to a preset time window. The scenario module is used to determine the cooling scenario label corresponding to the first time step based on the timestamp corresponding to the first time step in the heat dissipation environment data. The weighting module is used to perform weighted processing on the time-series features corresponding to the first time step in the time-series feature sequence based on the cooling scene label corresponding to the first time step, so as to obtain the scene-weighted features of the time-series feature sequence. The baseline processing module is used to process the scene weighted features through a long short-term memory network to obtain the baseline prediction result. The baseline prediction result is used to represent the change pattern of cooling capacity of the target site within a first preset time period. The response processing module is used to process the scene state values ​​of the cooling scene tags within a second preset time period through a multilayer perceptron to obtain a response prediction result. The scene state value represents the cooling scene tag corresponding to the target site within the second preset time period. The response prediction result is used to represent the fluctuation pattern of the cooling capacity of the target site within the second preset time period. The first preset time period is longer than the second preset time period. The prediction module is used to perform weighted fusion of baseline prediction results and response prediction results to obtain the predicted cooling capacity, which is used to represent the output load of the cooling system at the target site.

[0008] Thirdly, embodiments of this application provide a terminal device, the device including: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the cooling capacity prediction method as described in the first aspect.

[0009] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the cooling capacity prediction method as described in the first aspect.

[0010] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the cooling capacity prediction method as described in the first aspect.

[0011] The cooling capacity prediction method, computer-readable storage medium, and program product of this application, based on the time sequence of the heat dissipation environment data corresponding to the target site, determine the time-series feature sequence corresponding to the heat dissipation environment data according to a preset time window, determine the cooling scene label corresponding to the first time step according to the timestamp corresponding to the first time step in the heat dissipation environment data, thereby determining the cooling scene label for each time step, and weighting the time-series feature sequence according to the cooling scene label corresponding to the first time step to obtain scene-weighted features. It can determine the weight of the time-series feature corresponding to the first time step according to the cooling scene label, thus obtaining scene-weighted features. This allows different cooling scene labels to be weighted according to different weights to obtain scene-weighted features, utilizing Long Short-Term Memory (LSTM). The network processes scene weighted features to obtain a baseline prediction result, which represents the variation pattern of cooling capacity at the target site within a first preset time period. This baseline prediction result is a long-term pattern for predicting cooling capacity. A multilayer perceptron processes the scene state values ​​of cooling scene labels within a second preset time period to obtain a response prediction result. The scene state value represents the cooling scene label corresponding to the target site in the second preset time period. The response prediction result represents the fluctuation pattern of cooling capacity at the target site within the second preset time period. The first preset time period is longer than the second preset time period. The response prediction result and the baseline prediction result are weighted and fused to obtain the predicted cooling capacity. This method can predict cooling capacity based on factors such as the cooling demand corresponding to the cooling scene label, thus improving the accuracy of the predicted cooling capacity. Attached Figure Description

[0012] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0013] Figure 1 This is a flowchart illustrating a cooling capacity prediction method provided in an embodiment of this application; Figure 2 This is a schematic diagram of a prediction model architecture provided in an embodiment of this application; Figure 3 This is a schematic diagram of a cooling capacity prediction device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0014] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0015] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0016] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of laws and regulations.

[0017] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0018] In existing technologies, Long Short-Term Memory (LSTM) networks are a variant of Recurrent Neural Networks (RNNs) used to handle long-term dependencies in time-series data. In the task of predicting cooling capacity, traditional LSTMs typically use historical cooling capacity as a single input feature to predict future cooling capacity through sequence modeling. While possessing some time-series modeling capabilities, they have limitations in areas such as feature simplification, overfitting tendency, hyperparameter dependence on manual adjustment, and large peak load prediction errors. They are also ill-suited to the multivariate, nonlinear, and highly periodic cooling load variations in data centers.

[0019] Bidirectional Long Short-Term Memory (BiLSTM) networks have shown superior performance to unidirectional LSTM in time-series prediction tasks such as speech recognition and text analysis by simultaneously capturing the positive and negative dependencies of time-series data. However, there are few application examples of BiLSTM used for predicting cooling capacity, and they are often not combined with enhancement techniques such as multi-feature fusion, regularization, and attention mechanisms, which do not fully explore the complex relationship between cooling capacity and multiple influencing factors.

[0020] Hyperparameter optimization is a crucial step in improving model performance. Traditional methods for hyperparameter optimization include grid search, random search, and Bayesian optimization. Due to its high efficiency and strong adaptability, Bayesian optimization has gradually become the mainstream method for automated hyperparameter tuning. However, in tasks involving predicting cooling capacity, hyperparameter optimization is often separated from feature engineering and model structure, failing to form an end-to-end integrated optimization system.

[0021] In existing technologies, there are also methods for short-term prediction of cooling energy consumption based on feature selection and fusion combined with deep learning. This involves collecting historical cooling energy consumption data and multi-dimensional operating parameters (such as IT load, ambient temperature and humidity) from the target site's monitoring system, calculating the correlation coefficient between the initial feature set and cooling energy consumption to complete preliminary selection, and then analyzing the non-linear relationship between the selected features and energy consumption using mutual information to construct fused features and form a feature input vector. An improved deep bidirectional long short-term memory network (SEN-MH-BiLSTM) is used as the core predictor, where the improved deep bidirectional long short-term memory network adds multi-head attention to the standard BiLSTM. The mechanism captures the correlation between different subspaces of features and embeds a squeeze-excitation network module to adaptively calibrate the importance weights of feature channels at each time step, enhancing the ability of the improved deep bidirectional long short-term memory network to extract key information. In addition, the SEN-MH-BiLSTM model is trained using time-series data after feature selection and fusion. The performance can be improved by improving the internal structure of the model. The hyperparameters such as the number of network layers, the number of neurons, and the learning rate are still adjusted by empirical settings or conventional grid search. Relevant indicators are determined on the test set to evaluate the accuracy of the improved deep bidirectional long short-term memory network and obtain the predicted value of future short-term cooling energy consumption for energy efficiency management reference.

[0022] In the existing technology, there are multiple types of cooling capacity prediction methods, which can be divided into three categories. The first category is prediction methods based on traditional statistical models or shallow machine learning models (such as ARIMA and SVR). These methods consume low computing resources and are easy to deploy. However, their model expressive power is limited, making it difficult to characterize the complex nonlinear and dynamic coupling relationship between data center cooling capacity and multiple variables such as IT load and environmental parameters. The prediction accuracy has an upper limit, and the ability to respond to sudden load fluctuations is insufficient, which cannot meet the needs of high-precision operation and maintenance.

[0023] The second category is prediction methods based on feature fusion and improved deep learning models (such as SEN-MH-BiLSTM). These methods enhance standard BiLSTM by feature selection and fusion and by introducing attention mechanisms, thereby improving the model's ability to perceive and utilize input features. However, feature engineering relies on static statistical fusion and cannot actively encode physical temporal patterns. The models used lack regularization mechanisms to ensure generalization ability, and the automation level of hyperparameter tuning and global optimization efficiency are low. Overall, the prediction methods lack the ability to continuously learn to adapt to data drift, and their long-term performance is prone to degradation.

[0024] The third category is cloud-based prediction services based on large-scale offline training and fixed models. This type of method can improve the model's versatility through centralized data training, but the model update frequency is low, which makes the model parameters and other data easy to become fixed. It also lacks lightweight incremental learning and edge adaptation mechanisms, and cannot respond in real time to changes in the unique operating mode or equipment status drift of a single target site. The long-term prediction performance degrades significantly, and cloud data transmission and computing also bring additional network and computing power overhead.

[0025] In summary, existing technologies suffer from static feature engineering, resulting in insufficient structure and interpretability of input features at the temporal level. Furthermore, the rigid model structure and shallow integration of business rules mean that there is a lack of mechanisms to guarantee its generalization to unknown data or its robustness in long-term operation. Additionally, the singular optimization objective and neglect of rule compliance lead to significant performance randomness, hindering automated and scalable application to target sites with diverse characteristics. Moreover, the determination of prediction results is a black box, making it difficult to support relevant operational decisions and potentially causing a disconnect between model improvement directions and core business needs. Finally, most related models are static, making it difficult to adapt to dynamic data distribution shifts.

[0026] To address the problems in the prior art, embodiments of this application provide a cooling capacity prediction method, a computer-readable storage medium, and a program product.

[0027] The cooling capacity prediction method provided in the embodiments of this application will be introduced first below.

[0028] Figure 1 A flowchart illustrating a cooling capacity prediction method according to an embodiment of this application is shown. Figure 1 As shown, the method may include the following steps: S101: Based on the time sequence of the heat dissipation environment data corresponding to the target site, determine the time sequence characteristic sequence corresponding to the heat dissipation environment data according to the preset time window.

[0029] Specifically, heat dissipation environment data of the target site can be obtained through the monitoring system of the target site. The target site can be a data center or computing center. The monitoring system can include, but is not limited to, temperature sensors deployed at the inlet and outlet of the evaporator of the chiller, electromagnetic flow meters deployed on the chilled water circulation pipeline, IT system power, outdoor dry and wet bulb temperature, temperature and humidity in the computer room, and a miniature weather station for monitoring outdoor weather conditions. The monitoring system monitors according to a preset sampling frequency to obtain heat dissipation environment data, which can be stored in comma-separated values ​​(CSV) format.

[0030] In addition, the heat dissipation environment data is sorted according to the time order of the heat dissipation environment data, and data segments are extracted according to the preset time window to obtain the time series feature sequence corresponding to the heat dissipation environment data. The length of the preset time window can be determined according to the actual needs of the prediction task of the thermal inertia time constant of the refrigeration system, the cold transfer delay, and the prediction of the cooling capacity. For example, it can be the past 12 hours, the past 24 hours, or 48 hours.

[0031] The embodiments of this application can organize heat dissipation environment data into a structured form with contextual time association, which facilitates the subsequent extraction of dynamic patterns following the time step, while preserving the temporal dependencies between heat dissipation environment data.

[0032] S102: Based on the timestamp corresponding to the first time step in the heat dissipation environment data, determine the cooling scenario label corresponding to the first time step.

[0033] Specifically, the cooling scenario label corresponding to the first time step is determined based on the timestamp corresponding to the first time step.

[0034] The first time step can be the moment corresponding to the latest time-series feature sequence in the preset time window, i.e., the current prediction moment.

[0035] Among them, the cooling scenario tags are preset and are related to the time period. The cooling scenario tags include high computing load scenario tags, equipment maintenance scenario tags, and peak-valley electricity price scenario tags. The high computing load scenario tag can be understood as the scenario tag for the period of large-scale data calculation. Its time period can be preset according to the time period required by the task. The equipment maintenance scenario tag is because the target site needs to be periodically inspected and maintained. Its time period is also preset. The peak-valley electricity price scenario tag is set according to the time period of peak-valley electricity price. It can be preset according to the time period of the local peak-valley electricity price.

[0036] The first time step can have multiple cooling scenario tags. For example, if equipment maintenance is carried out during off-peak electricity hours, the cooling scenario tags corresponding to the first time step include peak-valley electricity price scenario tags and equipment maintenance scenario tags.

[0037] This application embodiment directly obtains the cooling scenario label through the timestamp corresponding to the first time step, which has low computational overhead. Moreover, the cooling scenario label includes a variety of typical operating conditions of the target site, and the cooling scenario label corresponding to the first time step can be determined according to the same standard in different operation and maintenance stages and different electricity prices.

[0038] S103: Based on the cooling scene label corresponding to the first time step, the time-series features corresponding to the first time step in the time-series feature sequence are weighted to obtain the scene-weighted features of the time-series feature sequence.

[0039] Specifically, based on the cooling scene label corresponding to the first time step, the processing weights of the time-series features corresponding to the first time step in the time-series feature sequence are determined, and the time-step scene weighted features corresponding to the time-series features of the first time step are obtained. Each time step in the time-series feature sequence can be regarded as the first time step. The time-step scene weighted features of each time step are determined as the scene weighted feature sequence, i.e., the scene weighted features.

[0040] This can be understood as, as the time feature sequence is updated, each newly added time step is regarded as the first time step, thereby determining the time step scene weighted feature corresponding to each first time step in the time series feature sequence.

[0041] The essence of the processing weight is to configure a learnable scene gating vector for each cooling scene label. The value of each element reflects the sensitivity value of different temporal features under the current cooling scene label. For example, if the cooling scene label of the target site is a high computing load scene, it can be known that the heat generation mainly comes from the heat generation of IT equipment. Therefore, the weight corresponding to the temporal features of IT equipment is increased.

[0042] The weighted processing involves performing element-wise interactive operations on the scene gating vector and temporal features corresponding to the first time step to obtain the scene weighted features of the first time step.

[0043] In this embodiment, the timing features of the first time step in the timing feature sequence are determined by the cooling scene label and weighted to obtain scene weighted features, which can realize the mapping from cooling scene label to feature space.

[0044] S104: The scene-weighted features are processed through a long short-term memory network to obtain the baseline prediction results.

[0045] The baseline prediction results are used to represent the variation pattern of cooling capacity at the target site within a first preset time period.

[0046] Specifically, the scene-weighted features are processed through a long short-term memory network. That is, the scene-weighted features are input into the long short-term memory network according to the order of time steps in the temporal feature sequence to obtain the baseline prediction results.

[0047] Among them, the forget gate of the Long Short-Term Memory Network can determine data that can be of reference value for the prediction task of predicting cooling capacity based on the scene weighted features of the input, namely the change pattern of cooling capacity of the target site within the first preset time period, thereby reducing the situation of gradient vanishing of scene weighted features.

[0048] The Long Short-Term Memory (LSTM) network processes scene-weighted features sequentially and updates the internal state of the LTM network at each time step. After processing, the effective information of all scene-weighted features is compressed and encoded in the hidden state of the LTM network. The hidden state is extracted and passed to the linear regression layer to obtain the baseline prediction result.

[0049] This application embodiment processes scene-weighted features of a first preset duration using a long short-term memory network to obtain a baseline prediction result that can represent the pattern of cooling capacity changes, thereby improving the fit between the overall trend of predicted cooling capacity and the actual cooling capacity.

[0050] S105: Process the scene state values ​​of the cooling scene tags within the second preset time period using a multilayer perceptron to obtain the response prediction results.

[0051] The scene state value represents the cooling scene label corresponding to the target site in the second preset time period. The response prediction result is used to represent the fluctuation pattern of the cooling capacity of the target site in the second preset time period. The first preset time period is longer than the second preset time period.

[0052] Specifically, while processing the scene weighted features in the Long Short-Term Memory Network to obtain the baseline prediction results, the scene state value of the cooling scene label within the second preset time period is determined, wherein the scene state value is the numerical code of the cooling scene label.

[0053] In this method, the cooling scenario label of each time step can be converted into a fixed-length binary vector through multi-hot encoding. Each binary bit of the vector corresponds to a cooling scenario label. The binary vector is assigned a value according to the cooling scenario label corresponding to the first time step. For example, the cooling scenario labels include high computing load scenario label, equipment maintenance scenario label and peak-valley electricity price scenario label. The cooling scenario labels corresponding to the first time step are high computing load scenario label and peak-valley electricity price scenario label. Then the scenario state values ​​corresponding to each cooling scenario label are 1, 0 and 1 respectively.

[0054] In addition, the scene state values ​​of the cooling scene tags within a second preset time period are processed by a multilayer perceptron to obtain the response prediction result. The multilayer perceptron includes an input layer, at least one hidden layer and an output layer. Each neuron in the hidden layer is fully connected to all neurons in the previous layer. The received signals are weighted and summed and then processed by a nonlinear activation function to obtain the response prediction result.

[0055] Among them, the response prediction results indicate the fluctuation pattern of the cooling capacity of the target site within the second preset time period. The second preset time period is significantly shorter than the first preset time period. The fluctuation pattern is mainly caused by scene switching events, such as the step increase in IT power consumption when high computing power tasks are started, the active adjustment of cooling settings by maintenance personnel when peak electricity prices arrive, and the sudden shutdown or reduced operation of some cooling equipment when equipment maintenance begins. As a result, the impact on the cooling system of the target site manifests as a short-term dynamic response process.

[0056] The embodiments of this application process the scene state values ​​within a second preset time period using a multilayer perceptron. The resulting response prediction results can determine the short-term fluctuation pattern of the time-series feature sequence, while reducing the mutual interference between the baseline prediction results and the response prediction results, thereby providing an accurate and clear optimization direction for optimizing the multilayer perceptron.

[0057] S106: Weighted fusion of baseline prediction results and response prediction results to obtain predicted cooling capacity.

[0058] The predicted cooling capacity is used to represent the output load of the cooling system at the target site.

[0059] Specifically, the fusion weights corresponding to the baseline prediction results and the response weights corresponding to the response prediction results are obtained. The baseline prediction results and the response prediction results are then weighted and fused according to the fusion weights and response weights to obtain the predicted cooling capacity, which is used to represent the output load of the cooling system of the target site.

[0060] The sum of the fusion weight and the response weight is 1, which allows for the weighted fusion of the baseline prediction results and the response prediction results, thereby improving the accuracy and fitting effect of the predicted cooling capacity.

[0061] The predicted cooling capacity can be determined using the following formula: ; in, Indicates the predicted cooling capacity. Indicates the fusion weight. Indicates the baseline prediction result, Indicates response weight, This indicates the response weight.

[0062] in, The initial value can be set to 0.5, 0.7 or 0.9.

[0063] This application embodiment obtains the predicted cooling capacity by weighted fusion of the baseline prediction result and the response prediction result, which enables the baseline prediction result and the response prediction result to be superimposed and output, ensuring the prediction accuracy of the predicted cooling capacity during normal periods, while improving the prediction fit of scene switching nodes.

[0064] This application's embodiments incorporate refrigeration scene labels into the feature processing stage through a scene-weighted feature and dual-branch prediction architecture. This improves the accuracy of predicted refrigeration capacity under multiple refrigeration scene labels, while also enhancing the interpretability and robustness of the predicted refrigeration capacity.

[0065] In some embodiments, before determining the time-series feature sequence corresponding to the heat dissipation environment data according to a preset time window based on the time sequence of the heat dissipation environment data corresponding to the target site, the method further includes: The original environmental data of the target site is mapped based on the preset feature columns in the configuration file to obtain the original environmental data corresponding to each preset feature column; The normal range of the original environmental data for each preset feature column is determined by the interquartile range. Determine the environmental median of the raw environmental data within each normal range; Replace the original environmental data that are outside the normal range in each preset feature column with the environmental mean value to obtain the replaced environmental data for each preset feature column; The replacement environmental data and the original environmental data within the normal value range of each preset feature column are normalized to obtain the heat dissipation environmental data.

[0066] Specifically, the configuration file is obtained, which may include preset feature columns, such as cooling capacity, total power of IT system, outdoor dry bulb temperature, outdoor wet bulb temperature, computer room return air temperature, and computer room supply air humidity.

[0067] In addition, the original environmental data of the target site is mapped according to the preset feature columns to retain the original environmental data corresponding to the preset feature columns, reduce redundant monitoring items, and thus enable information that is scattered in multiple data tables or different data sources to be associated and aggregated according to a unified time primary key. It can also be configured to adapt the original environmental data to the sensor configuration differences of different target sites.

[0068] In addition, the normal range of the original environmental data of each preset feature column is determined by the interquartile range. The interquartile range is calculated for each preset feature column (e.g., cooling capacity, IT power) by calculating its first quartile (i.e., Q1, 25th percentile) and third quartile (i.e., Q3, 75th percentile).

[0069] The interquartile range of each preset feature column is determined based on the first quartile and the third quartile, i.e., IQR = Q3 - Q1, where IQR represents the interquartile range.

[0070] The normal value range of each preset feature column is determined based on the interquartile range of each preset feature column, which can be expressed as: [Q1-1.5IQR,Q3+1.5IQR] defines raw environmental data that falls outside the normal range as outliers, i.e., raw environmental data outside the normal range.

[0071] The outliers are replaced with the environmental median of the preset feature column to obtain the replaced environmental data for each preset feature column, so as to reduce the interference of outliers on the central trend and make the data of each preset feature column after replacement closer to the actual operating state.

[0072] Furthermore, the replacement environmental data and the original environmental data within the normal value range for each preset feature column are normalized to obtain the heat dissipation environmental data corresponding to each preset feature column. The normalization process can be expressed as follows: Xscaled = (X - Xmin) / (Xmax - Xmin), where Xscaled represents the heat dissipation environment data corresponding to each preset feature column, X represents each original environment data or replacement environment data, Xmin represents the minimum value in the preset feature column, and Xmax represents the maximum value in the preset feature column. This allows the heat dissipation environment data to be directly constructed using time-series feature sequences, eliminating scale differences and reducing the dominance of large numerical features in model weight updates.

[0073] Furthermore, before acquiring the original environmental data, the collected initial environmental data can be traversed to fill any missing values ​​that may exist. The filling method can be linear interpolation to ensure the continuity of the initial environmental data in the time dimension. At the same time, the filled initial environmental data and the original complete initial environmental data are determined as the original environmental data.

[0074] This application embodiment improves robustness by preprocessing the original environmental data to obtain heat dissipation environment data. At the same time, it eliminates the differential influence of different physical dimensions on the parameter updates of long short-term memory networks and multilayer perceptrons, thereby improving the stability and generalization ability of long short-term memory networks and multilayer perceptrons.

[0075] In some embodiments, based on the cooling scene label corresponding to the first time step, the time-series features corresponding to the first time step in the time-series feature sequence are weighted to obtain scene-weighted features of the time-series feature sequence, including: Initialize the gating vector corresponding to the cooling scenario label; The cooling scene label corresponding to the first time step is processed by a soft attention mechanism to obtain the activation value corresponding to the cooling scene label; The scene weights for the first time step are obtained by weighting the activation values ​​and the gate vectors. The time-series feature sequences are weighted based on scene weights to obtain scene-weighted features.

[0076] Specifically, the gating vectors corresponding to each cooling scenario label are initialized, that is, the gating vectors corresponding to the high computing load scenario label, the equipment maintenance scenario label, and the peak-valley electricity price scenario label are initialized respectively. The gating vector is a learnable parameter vector that matches the dimension of each time feature with the dimension of the feature vector of a single time step. Each cooling scenario label corresponds to an independent gating parameter, which reduces the difference in sensitivity of different cooling scenario labels to different dimensions of the same time feature.

[0077] For example, increase the weight of IT power corresponding to the high computing load scenario label, and increase the weight of chilled water flow and temperature difference related dimensions corresponding to the equipment maintenance scenario label.

[0078] The specific values ​​of the gating vectors corresponding to each cooling scenario label can be iteratively updated through backpropagation during the joint training of the Long Short-Term Memory Network and the Multilayer Perceptron. Meanwhile, the dimension of the gating vector is also a variable that can be determined by the hyperparameter search process.

[0079] In addition, the cooling scene label corresponding to the first time step is processed by a soft attention mechanism to obtain the activation value corresponding to each cooling scene label. The cooling scene label is passed into the soft attention mechanism in the form of discrete scene state values ​​or continuous proportion values ​​to obtain the corresponding activation value.

[0080] The hard selection mechanism only allows one cooling scene label to be fully activated (with a value of 1) while other cooling scene labels are completely suppressed (with a value of 0). It cannot handle the situation where multiple cooling scene labels coexist. Therefore, the soft attention mechanism is used to process it, assigning an activation value between 0 and 1 to each cooling scene label.

[0081] In addition, element-wise multiplication is performed based on the gating vector of the cooling scene label corresponding to the first time step and the corresponding activation value to perform weighted processing and obtain the scene weight of the first time step.

[0082] Among them, scene weight is a weight vector that integrates activation value and scene feature adjustment rules. It can be directly applied to the original time series features. The higher the activation value of the cooling scene label, the greater its influence on the scene weighted features.

[0083] In addition, the temporal feature sequence is weighted by scene weights, that is, the scene weights at each time step and the temporal features in the corresponding temporal feature sequence are weighted to obtain scene-weighted features.

[0084] Label each cooling scenario Initialize learnable gate vectors ,in, This is a tag for high-computing-load scenarios. Labels for equipment maintenance scenarios. For peak-valley electricity pricing scenario labeling, The initial dimension of the gating vector can be determined through architecture search. Candidate initial dimensions include 8, 16, and 32. A linear transformation is used to extend the initial dimension to the corresponding extended dimension of each temporal feature in the temporal feature sequence. The calculation process is as follows: ,in, This represents the total number of dimensions of the temporal features at a single time step. Indicates extended dimensions, This represents the linear transformation matrix corresponding to the extended dimension.

[0085] The scene weighted features can be determined using the following formula: ; in, This represents the scene weighted features at time t (i.e., time t). This represents the temporal characteristics at time t, and s represents the cooling scenario label. This represents the activation value of the cooling scenario label s at time t, enabling dynamic adjustment of the importance of temporal features under different cooling scenario labels.

[0086] This application embodiment obtains the gating vector by using the temporal features in the temporal feature sequence corresponding to the first time step and the corresponding cooling scene label. The above data is processed by a soft attention mechanism to achieve adaptive adjustment based on the cooling scene label and reduce the prediction deviation of the predicted cooling capacity.

[0087] In some embodiments, the hyperparameter determination process for long short-term memory networks and multilayer perceptrons includes: Multiple sets of hyperparameter combinations are randomly selected within the preset hyperparameter search space, and each set of hyperparameter combinations is used as the hyperparameters of multiple first base networks. The first basic network is simplified and iterated according to the first training iteration to obtain the first simplified network and hyperparameter combination; The training samples are input into the first simplified network to obtain the first simplified training result; The first simplified multi-objective loss value for each basic network is determined by using a multi-objective optimization function, based on the first simplified training result and the validation samples in the training samples. The second hyperparameter combination is determined iteratively in the preset hyperparameter search space through Bayesian optimization, and the second hyperparameter combination is used as the hyperparameter of the second base network. The second basic network is iterated according to the second training iteration to obtain the first iterative network and hyperparameter combination. The second training iteration is greater than the first training iteration. The training samples are input into the first iteration network to obtain the first iteration training results; The first-iteration multi-objective loss value for each first-iteration network is determined based on the first-iteration training results and validation samples using a multi-objective optimization function. The hyperparameter combination corresponding to the minimum value of the first simplified multi-objective loss and the first iterative multi-objective loss is used as the hyperparameter of the long short-term memory network and the multilayer perceptron.

[0088] Specifically, before actual deployment and application, the configuration of hyperparameters for the Long Short-Term Memory Network and the Multilayer Perceptron should be determined. The hyperparameters are pre-set configuration values ​​at the model structure level, including at least the temporal window length, the number of hidden layer neurons, the initial learning rate, the batch size, the dimension of the scene gating vector, and the fusion weights corresponding to the baseline prediction results and the response prediction results.

[0089] The values ​​of hyperparameters are difficult to learn directly from data through conventional gradient descent training. Their selection directly affects the representation ability and generalization performance of long short-term memory networks and multilayer perceptrons. They can be determined by a two-stage hyperparameter search method of Bayesian optimization, that is, finding the optimal combination of hyperparameters within a preset hyperparameter search space, so as to reduce the inefficiency and subjectivity caused by manual trial and error.

[0090] Furthermore, the training samples can be determined based on historical heat dissipation environment data, historical actual cooling capacity, and historical predicted cooling capacity. For the i-th time (i≥N), where N is the total number of time steps in the historical heat dissipation environment data, the feature matrix at time [iN, i-1] is taken as input X[i], and the historical actual cooling capacity at time [i] is taken as label y[i]. To maintain the causal relationship of the time series, the above data is divided into training samples (e.g., 70%), validation samples (e.g., 15%), and test samples (e.g., 15%) in chronological order. The validation samples are used for hyperparameter optimization and early stopping, and the test samples are used for performance evaluation.

[0091] The preset hyperparameter search space is the boundary of the hyperparameter search space. It can be pre-existed in a configuration file that includes preset feature columns. Each dimension of the preset hyperparameter search space corresponds to a hyperparameter, and its value range defines all possible candidate values ​​for that hyperparameter.

[0092] For example, Table 1 is a schematic table of the preset hyperparameter search space. As shown in Table 1, the time window length can be set with multiple candidate values, each corresponding to a different number of hours of historical data span. The hidden layer size can be set with multiple sets of candidate values, each corresponding to a different number of network units.

[0093] Table 1. Schematic diagram of the search space for preset hyperparameters In addition, multiple sets of hyperparameter combinations are randomly selected from the preset hyperparameter search space. Each set of hyperparameter combinations corresponds to the structural definition of a complete long short-term memory network and a multilayer perceptron. Multiple sets of non-repeating hyperparameter combinations can be generated by uniform random sampling within the preset hyperparameter search space.

[0094] Based on each hyperparameter combination, a first basic network corresponding to each hyperparameter combination is constructed. The basic network represents an initial model that has not been trained and is instantiated according to the structure defined by the hyperparameter combination. This includes long short-term memory networks and multilayer perceptrons, or other models.

[0095] The first basic network is simplified and iteratively trained on the training data for a first number of training iterations to obtain the first simplified network. The first number of training iterations is a small value. Its purpose is to allow the model parameters to reach an evaluable preliminary convergence state after a finite number of updates from a randomly initialized state. The advantage of simplified training is that it has lower overhead, thus allowing for a rapid evaluation of the possibility of a large number of hyperparameter combinations. In each iteration, 30% of the training data can be selected to participate in the iteration, and the first number of training iterations can be 5.

[0096] The training samples are input into each first simplified network for forward propagation calculation, yielding the first simplified training result for each network. This first simplified training result represents the training prediction output of the first simplified network for the cooling capacity of the training samples under the current hyperparameter combination and simplified training state. Since different hyperparameter combinations result in different structures for the first simplified networks, their convergence speed and prediction accuracy differ after the same number of training rounds. Therefore, the first simplified training result reflects the relative advantages and disadvantages of each hyperparameter combination in the early training stages.

[0097] Furthermore, each first simplified network is quantitatively evaluated using a multi-objective optimization function to determine the first simplified multi-objective loss value corresponding to each set of randomly sampled hyperparameter combinations. The multi-objective optimization function includes the first simplified training results and validation samples to obtain the first simplified multi-objective loss value. The lower the first simplified multi-objective loss value, the more accurate the prediction of the hyperparameter combination on the validation samples, and the more its prediction behavior conforms to the physical constraints and operation and maintenance scheduling rules of the refrigeration system.

[0098] In addition, the first stage is a simplified training stage, the main purpose of which is to expand the search breadth. However, there is a case where the high-performance hyperparameter combination is ignored. Therefore, the second hyperparameter combination is determined iteratively in the preset hyperparameter search space through Bayesian optimization, and the second hyperparameter combination is used as the hyperparameter of the second base network.

[0099] In this process, Bayesian optimization uses the hyperparameter combinations evaluated in the first stage and the corresponding first simplified multi-objective loss values ​​as historical observation data to construct a surrogate model to fit the mapping relationship between the hyperparameter combinations and the first simplified multi-objective loss values. The surrogate model can be a Gaussian process to balance exploration and optimization and determine multiple sets of second hyperparameter combinations.

[0100] The second hyperparameter combination determined by Bayesian optimization is used as the hyperparameter configuration of the second base network to construct the second base network. The second base network is then iteratively trained according to the second training iteration to obtain the first iterative network and its hyperparameter combination. The second training iteration is greater than the first training iteration, and the second training iteration can be 20 iterations.

[0101] The training samples are input into the first iteration network for forward propagation calculation to obtain the first iteration training result. Then, the first iteration multi-objective loss value is determined based on the first iteration training result and the validation samples through a multi-objective optimization function.

[0102] The Bayesian optimization process described above is used for multiple iterations, and each iteration determines the corresponding combination of hyperparameters and the first iteration multi-objective loss value.

[0103] Iterate through all the first simplified multi-objective loss values ​​and the first iterative multi-objective loss values, and select the set of hyperparameters with the smallest loss value as the hyperparameters for the Long Short-Term Memory network and the Multilayer Perceptron.

[0104] This application embodiment combines random sampling with Bayesian optimization to perform a two-stage search for hyperparameter combinations within a preset hyperparameter search space. This allows for the location of superior hyperparameter combinations within a large preset hyperparameter search space with lower computational cost, reducing the time overhead and subjective bias of repeated trials and adjustments to hyperparameters, and improving the efficiency and generalization ability when configuring hyperparameter combinations.

[0105] In some embodiments, the multi-objective optimization function is expressed as: ; in, Represents a multi-objective optimization function. This represents the root mean square error corresponding to the validation sample. This represents the coefficient of determination for the validation sample. The coefficient of determination is determined based on the similarity index between the actual cooling capacity in the validation sample and the training results. The training results include the first simplified training results and the first iterative training results. This represents the rule-based penalty loss, which is determined based on the discrete values ​​between the training results and the labeled samples of the cooling scene. This represents the first balance coefficient. This represents the second balance coefficient.

[0106] Specifically, the multi-objective optimization function uses the total loss value As an optimization objective, the lower the value, the better the overall performance of the model. The multi-objective optimization function is constructed in the form of weighted summation.

[0107] The root mean square error (RMSE) represents the error corresponding to the validation sample. It is calculated by taking the square root of the mean of the squared errors between all historical predicted cooling capacities and historical actual cooling capacities within the validation sample. During the hyperparameter search process, the RMSE directly anchors the model's basic predictive ability, causing hyperparameters to converge in the direction of reducing overall prediction bias. This allows for the selection of hyperparameter combinations with stronger generalization ability, reducing the risk of the model overfitting the training data.

[0108] The coefficient of determination for the validation sample is calculated based on the historical actual cooling capacity and the corresponding historical predicted cooling capacity in the validation sample. It reflects the proportion of variance in predicted cooling capacity that the model explains. The closer the value is to 1, the more completely the model covers the data variation patterns. Subtracting this coefficient from 1 gives the proportion of unexplained fluctuations, which is then multiplied by... This will be included in the total loss, of which, The selectable values ​​can be set to 0.01, 0.1, and 0.5, and are optimized together with other hyperparameters through the search space. The root mean square error is used to measure the magnitude of the absolute deviation, and the coefficient of determination is used to measure the fit of the relative fluctuation, so as to reduce the evaluation blind spot of a single indicator.

[0109] The rule-based penalty loss is calculated based on the discrete constraint relationship between the training results and the cooling scenario label samples. Corresponding prediction behavior boundaries are set for different cooling scenario labels. The loss can be set to 0 when the prediction result falls within the boundary, and a corresponding penalty value is generated according to the degree of deviation when it exceeds the boundary. The rule-based penalty loss can be determined by the business rules corresponding to the cooling scenario label. For example, the penalty for the predicted cooling capacity during peak electricity price periods is higher than the historical average for the same period, the penalty for the predicted cooling capacity not showing an upward trend after the start of high computing power tasks, and the penalty for the fluctuation range exceeding the normal range during equipment maintenance periods. It can directly participate in gradient backpropagation. The overall strength of constraints used to control business rules also falls under the adjustable dimension of hyperparameter search.

[0110] The embodiments of this application reduce the one-sidedness and singularity of single-objective optimization by using a multi-objective optimization function. At the same time, it balances the magnitude of prediction error, the ability of predicted cooling capacity to follow the trend of actual cooling capacity, and the degree of fit between the cooling behavior corresponding to the predicted cooling capacity and the physical operation law and operation and maintenance business constraints of the cooling system, thereby improving the overall constraint and thus improving the accuracy of predicted cooling capacity.

[0111] In some embodiments, the training process for Long Short-Term Memory networks and Multilayer Perceptrons includes: Based on hyperparameters, a basic long short-term memory network and a basic multilayer perceptron are constructed. The basic long short-term memory network is then trained to obtain the trained basic long short-term memory network. The basic multilayer perceptron and the trained basic long short-term memory network are jointly trained to obtain the long short-term memory network and the multilayer perceptron. The training process for the basic long short-term memory network includes: Training samples are processed using a basic long short-term memory network to obtain long short-term training results; The first training loss of the basic long short-term memory network is determined by using the first preset loss function, based on the long and short-term training results and the actual cooling capacity corresponding to the cooling scene labels in the training samples. The parameters of the long short-term memory network are updated based on the first training loss. The basic long short-term memory network is iteratively trained using training samples until the preset long short-term memory termination condition is met, resulting in the trained basic long short-term memory network.

[0112] Specifically, a basic long short-term memory network and a basic multilayer perceptron are constructed based on the hyperparameters obtained from the architecture search. The basic long short-term memory network and the basic multilayer perceptron are then trained to obtain the trained long short-term memory network and multilayer perceptron. The training phase can be divided into two stages.

[0113] In the first stage, the basic long short-term memory network is trained to obtain the trained basic long short-term memory network. In this stage, the basic multilayer perceptron is not trained.

[0114] In the second stage, the basic multilayer perceptron and the trained basic long short-term memory network are jointly trained to obtain the long short-term memory network and the multilayer perceptron.

[0115] In the first stage, the training process of the basic long short-term memory network includes processing training samples through the basic long short-term memory network so that the basic long short-term memory network sequentially performs temporal encoding, feature extraction and fully connected mapping operations on the training samples to obtain the long short-term training results. The long short-term training results are the training cooling capacity prediction results generated by the baseline branch, which correspond to the long-term steady-state change trend of the cooling system load. The bidirectional structure of the basic long short-term memory network can capture the forward and backward dependencies of the temporal data respectively.

[0116] The training samples include a sequence of historical time-series features within a continuous time step and the corresponding historical actual cooling capacity (i.e., the training actual cooling capacity).

[0117] Based on the first preset loss function, the first training loss of the basic long short-term memory network is determined by substituting the long short-term training results with the actual training cooling amounts corresponding to the cooling scene labels in the training samples. The first preset loss function includes prediction bias loss and coefficient of determination penalty loss. The prediction bias loss represents the degree of difference between the training prediction results output by the basic long short-term memory network and the actual training cooling amounts labeled in the training samples. The coefficient of determination penalty loss represents the ability of the training prediction results to follow the changing trends of the actual training cooling amounts.

[0118] The first preset loss function can be expressed as: ; ; ; in, This represents the first preset loss function. This represents the prediction bias loss in the first stage. This represents the penalty loss based on the decision coefficient in the first stage. This represents the third balancing coefficient, used to adjust the weight of the penalty loss in the determination coefficient. This represents the total number of training samples. This represents the actual cooling capacity corresponding to the i-th training sample. This represents the short-term and long-term training results corresponding to the i-th training sample. This represents the average actual cooling capacity of all training iterations in the current training round.

[0119] In addition, based on the first training loss, the gradient of the loss function with respect to each weight parameter in the basic long short-term memory network is calculated using the backpropagation algorithm, and the long short-term network parameters are updated by the optimizer according to the gradient value.

[0120] The basic long short-term memory network is iteratively trained according to the above training steps. During the iterative training process, the change of loss value on the validation samples is monitored to evaluate the performance of the trained basic long short-term memory network. When the validation loss value of the validation samples determined by the first loss function decreases by a certain percentage within a preset number of rounds within a preset range, or when the first iteration of the iterative training meets the first preset number of iterations, the preset long short-term termination iteration condition is met, the training of the basic long short-term memory network is stopped, and the trained basic long short-term memory network is obtained.

[0121] In this embodiment, a basic long short-term memory network and a basic multilayer perceptron are constructed by determining hyperparameters and trained to obtain a long-term memory network and a multilayer perceptron. During the training process, the basic long short-term memory network is trained separately, which allows the trained basic long short-term memory network to focus on fitting long-term temporal patterns, reducing interference caused by short-term scene fluctuations and improving the stability and accuracy of baseline prediction results.

[0122] In some embodiments, the joint training process of the base multilayer perceptron and the trained base long short-term memory network includes: By using the basic multilayer perceptron and the training gating vectors corresponding to each refrigeration scenario label, the trained basic long short-term memory network and basic multilayer perceptron are jointly trained to obtain the joint training results. The second training loss is determined by the second loss function based on the joint training results and the actual cooling capacity corresponding to the cooling scene labels in the training samples. The second loss function includes prediction bias loss, determination coefficient penalty loss and rule penalty loss. The balance coefficient corresponding to the rule-penalized loss is increased to the target value by a preset step size; Based on the second training loss, update the long-short-term network parameters, the sensing parameters corresponding to the basic multilayer perceptron, and the scene gating vectors corresponding to each cooling scene label. The basic long short-term memory network and basic multilayer perceptron are iteratively trained using training samples until the preset joint iteration conditions are met, thus obtaining the long short-term memory network and multilayer perceptron.

[0123] Specifically, the trained Long Short-Term Memory (LSTM) network has already acquired a preliminary ability to predict cooling capacity. It then enters the second stage, which is the joint training stage of the basic multilayer perceptron and the trained LSM network. This stage aims to collaboratively optimize the trained LSM network, the basic multilayer perceptron, and the gating vectors corresponding to each cooling scenario label under the guidance of the second loss function.

[0124] The weight parameters of the basic multilayer perceptron and the training gating vectors corresponding to each cooling scenario label are set to the initial state. The training samples are input into the basic multilayer perceptron and the trained basic long short-term memory network to obtain the joint training results. During the joint training process, the training samples are forward propagated through the basic multilayer perceptron and the trained basic long short-term memory network.

[0125] The second training loss is determined by comparing the joint training results with the actual cooling capacity corresponding to the cooling scenario labels using a second loss function. The second loss function includes prediction bias loss, determination coefficient penalty loss, and rule penalty loss. The rule penalty loss is used to determine whether the behavior of the joint training results under each cooling scenario label conforms to the preset operating rules. For example, in a high computing load scenario, does the recent trend of the joint training results show an upward direction? In a peak electricity price scenario, are the joint training results significantly higher than the historical average for the same period? In an equipment maintenance scenario, is the fluctuation range of the joint training results within a reasonable range?

[0126] The second preset loss function can be expressed as: ; ; ; ; ; ; ; in, This represents the second preset loss function. This represents the prediction bias loss in the second stage. This represents the penalty loss based on the determination coefficient in the second stage. This represents the fourth balancing coefficient, used to adjust the weight of the penalty loss in the determination coefficient. This represents the fifth balancing coefficient, used to adjust the weight of rule-penalized losses. This represents the total number of training samples. This represents the actual cooling capacity corresponding to the i-th training sample. This represents the short-term and long-term training results corresponding to the i-th training sample. This represents the average actual cooling output of all training iterations in the current training round. This indicates the peak electricity price constraint rules. This represents all training samples during peak electricity price periods. This represents the average actual cooling capacity during peak electricity price periods in history (same time period, same type of date), and serves as the rule threshold for this rule. This indicates a constraint rule for the upward trend of high computing power. Indicates the start time of the high-computing task. Indicates the time step index. express After the moment The joint training results at each time step This indicates the rules for limiting maintenance fluctuations. This represents the standard deviation of the joint training results during the equipment maintenance period. This represents the standard deviation of the joint training results during normal operating periods (excluding maintenance and high computing power).

[0127] During joint training, the balance coefficient corresponding to the rule-penalty loss (i.e., the fifth balance coefficient in the above formula) is gradually increased from the initial value to the target value according to a preset step size. This is done to gradually enhance the influence of rule constraints as the training rounds iterate, adjust the prediction behavior of the cooling capacity prediction task, and improve the balance between prediction accuracy and rule compliance.

[0128] Furthermore, based on the second training loss, the gradient of the second loss function with respect to three types of learnable parameters is determined using the backpropagation algorithm. These learnable parameters are: the network parameters of the Long Short-Term Memory network (including the weight matrix and bias vector of each scene-gated vector); the perception parameters of the basic multilayer perceptron (including the weight matrix and bias vector of each fully connected layer); and the element values ​​of the scene-gated vector corresponding to each cooling scene label. After obtaining each gradient, the optimizer simultaneously updates the aforementioned learnable parameters according to a preset learning rate.

[0129] The basic multilayer perceptron and the trained basic long short-term memory network are iteratively trained according to the above training steps. During the iterative training process, the change of loss value on the validation samples is monitored to evaluate the performance of the basic multilayer perceptron and the trained basic long short-term memory network. When the validation loss value of the validation samples determined by the second loss function decreases by a certain percentage within a preset number of rounds within a preset range, or when the second iteration number of the iterative training meets the second preset iteration number, it is determined that the preset joint iteration condition is met, and the training of the basic multilayer perceptron and the trained basic long short-term memory network is stopped, thus obtaining the multilayer perceptron and the basic long short-term memory network.

[0130] This application embodiment achieves the fusion of baseline prediction capability and scene response capability by adding rule-based penalty loss on the basis of the first stage pre-training to jointly optimize the basic multilayer perceptron and the trained basic long short-term memory network. This enables the long short-term memory network and the multilayer perceptron to form complementary prediction capabilities in the two dimensions of long-term steady-state prediction and short-term fluctuation response, respectively. The scene gating vector also adjusts the sensitivity distribution of the feature dimension according to the physical characteristics of each cooling scene label.

[0131] In some embodiments, the baseline prediction results and the response prediction results are weighted and fused to obtain the predicted cooling capacity, including: Obtain the fusion weights and determine the response weights based on the fusion weights; The baseline prediction results are weighted based on the fusion weights to obtain the weighted baseline prediction results. The response prediction results are weighted based on the response weights to obtain the weighted response prediction results. The sum of the weighted baseline prediction results and the weighted response prediction results is determined as the initial predicted cooling capacity; The initial predicted cooling capacity is corrected by residuals to obtain the predicted cooling capacity.

[0132] Specifically, the fusion weights are obtained, and the response weights are determined based on the fusion weights. The fusion weights are used as learnable parameters in the training of the Long Short-Term Memory Network and the Multilayer Perceptron. Their values ​​are selected from the candidate set during the hyperparameter search process. The sum of the fusion weights and the response weights is 1.

[0133] The fusion weight is used to adjust the contribution ratio of long-term steady-state patterns and short-term fluctuations in the predicted cooling capacity. The higher the fusion weight value, the more the predicted cooling capacity is biased towards the normal operating state of the cooling system, and the less affected by scene switching. For operating environments with different cooling scene labels, the fusion weight can be set as a scene-related dynamic parameter. The corresponding fusion weight is called under different activation values ​​to further improve the scene adaptation accuracy.

[0134] In addition, the baseline prediction results are weighted according to the fusion weight to obtain the weighted baseline prediction results, and the response prediction results are weighted according to the response weight to obtain the weighted response prediction results. The weighted baseline prediction results and the response prediction results are added element by element to obtain the initial predicted cooling capacity.

[0135] In addition, residual correction can be performed on the initial predicted cooling capacity. By modeling the distribution of the deviation, a correction amount can be added to the initial predicted cooling capacity, thereby calibrating the initial predicted cooling capacity toward the actual cooling capacity and obtaining the predicted cooling capacity.

[0136] The embodiments of this application can obtain the initial predicted cooling capacity through the weighted baseline prediction results and the weighted response prediction results, so as to ensure that the long-term trend and short-term fluctuations are closer to the actual cooling capacity under different operating conditions. Then, the initial predicted cooling capacity is corrected by residual correction, which reduces the systematic deviation in the predicted cooling capacity and improves the accuracy of the predicted cooling capacity.

[0137] In some embodiments, residual correction is performed on the initial predicted cooling capacity to obtain the predicted cooling capacity, including: Flatten the time-series feature sequence to obtain the time-series feature matrix; The prediction residuals are obtained by processing the time series feature matrix using a residual correction model. The predicted cooling capacity is obtained by correcting the initial predicted cooling capacity based on the predicted residual.

[0138] Specifically, the time series feature sequence is flattened, which means rearranging all the time series features belonging to the first time step in the time series feature sequence to form a two-dimensional matrix. This can be done by merging the time step dimension and the feature dimension into a single dimension. The time series feature matrix obtained after flattening has a two-dimensional structure.

[0139] The flattened temporal feature matrix is ​​input into the residual correction model for processing to obtain the prediction residual. The residual correction model is a pre-trained mapping model whose training objective is to establish a correspondence between the input feature combination and the prediction error on the validation samples.

[0140] The prediction residual is determined based on the temporal characteristics of the first time step, which determines the direction and magnitude of the possible deviation between the initial predicted cooling capacity and the actual cooling capacity.

[0141] The predicted residual is superimposed with the initial predicted cooling capacity to correct the initial predicted cooling capacity and obtain the predicted cooling capacity. Then, based on the error estimation information extracted from the feature space by the residual correction model, a compensation amount related to the current operating condition characteristics is applied to the output of the long short-term memory network and the multilayer perceptron.

[0142] The process of constructing the residual correction model includes forward propagation of the validation samples through a long short-term memory network to obtain preliminary predictions. The difference between the actual cooling capacity of the verification sample and the preliminary predicted value is determined as the residual value, which can be expressed as: ,in, This indicates the actual cooling capacity corresponding to the verification sample.

[0143] The validation predicted cooling capacity corresponding to the validation sample is flattened into a two-dimensional matrix. Using the residual e as the label, a linear regression model is trained. This linear regression model learns the linear relationship between the prediction error of the long short-term memory network and the multilayer perceptron and the validation predicted cooling capacity, thus obtaining the residual correction model.

[0144] In the application phase, the time-series feature matrix is ​​processed through the residual correction model to obtain the residual prediction value. The sum of the predicted residual value and the initial predicted cooling capacity is inversely transformed to restore the physical value of the predicted cooling capacity. At the same time, interpretability information is output, including but not limited to the contribution ratio of the baseline prediction result, the contribution ratio of the response prediction result, the heat map of the gating activation intensity of each scenario, and the ranking of feature importance.

[0145] In this embodiment, the time-series feature sequence is flattened and then input into the residual correction model for residual prediction. This allows the residual correction model to correct the direction and magnitude of the deviation of the initial prediction value based on all the information of the time-series feature sequence, thereby compensating for the calibration of the predicted cooling capacity and improving accuracy.

[0146] In some embodiments, after weighted fusion of the baseline prediction results and the response prediction results to obtain the predicted cooling capacity, the method further includes: Obtain the actual cooling capacity at the first real time step; Determine the prediction error between the actual cooling capacity and the predicted cooling capacity; If the prediction error exceeds the preset error threshold, the long short-term memory network parameters and the sensing parameters of the multilayer perceptron are adjusted based on the heat dissipation environment data corresponding to the first time step.

[0147] Specifically, the actual cooling capacity at the first time step is obtained, and the prediction errors of the actual cooling capacity and the predicted cooling capacity are determined. The prediction error can include root mean square error, mean absolute error, mean absolute percentage error, and coefficient of determination. Root mean square error is used to measure the overall level of prediction error and is more sensitive to larger errors. Mean absolute error is used to more intuitively reflect the magnitude of the average prediction error. Mean absolute percentage error is used to reflect the relative error and is convenient for comparison across datasets of different magnitudes. The coefficient of determination is used to measure the extent to which the long short-term memory network and multilayer perceptron explain the variance of the target variable, and the closer it is to 1, the better.

[0148] Furthermore, by selecting the top 10% of data points with the highest actual cooling capacity from the test samples to represent peak load scenarios, the root mean square error and mean absolute error can be calculated separately to evaluate the performance of long short-term memory networks and multilayer perceptrons under high-pressure operating conditions of concern to operation and maintenance.

[0149] It can also be quantified according to the rules, that is, the proportion of the violation rate during peak electricity price period when the predicted cooling capacity is greater than the historical average for the same period, the violation rate of the upward trend of the preset future time step (e.g., within 1 hour) after the start of high computing power tasks, that is, the proportion of the first difference mean not greater than 0, and the violation rate of fluctuation during equipment maintenance, that is, the proportion of the predicted standard deviation greater than 1.5 times the normal fluctuation.

[0150] It can also generate comparison curves between predicted and actual cooling capacity on test samples, error distribution histograms, etc., providing intuitive performance analysis.

[0151] Update methods include periodic incremental updates, exception-triggered updates, and synchronous updates from the data preprocessor.

[0152] Regular incremental updates, that is, automatically collecting new running data every week, fine-tuning the trained long short-term memory network and multilayer perceptron at a low learning rate (1 / 10 of the original optimal learning rate), instead of training from scratch, to efficiently utilize new knowledge.

[0153] Anomaly-triggered updates monitor the mean absolute percentage error of online predictions. When the mean absolute percentage error continuously exceeds a preset error threshold, the fine-tuning process of the long short-term memory network and multilayer perceptron is triggered.

[0154] The data preprocessor needs to be updated synchronously, as the distribution of data may change with the addition of new data. Therefore, it is necessary to periodically refit the normalizer (MinMaxScaler) with all available data (including new data) and recalculate the feature correlation coefficients to update the feature selection list, ensuring that the preprocessing logic is consistent with the current data distribution.

[0155] The embodiments of this application improve the accuracy of predicted cooling capacity by updating the Long Short-Term Memory Network and the Multilayer Perceptron through various update methods based on the prediction error between the actual cooling capacity and the predicted cooling capacity.

[0156] In some embodiments, Long Short-Term Memory (LSTM) networks and Multilayer Perceptrons (MLPs) can be viewed as multiple branches within the same prediction model. Figure 2 This is a schematic diagram of a prediction model architecture provided in an embodiment of this application, including a data layer 210, a preprocessing layer 220, a feature engineering layer 230, a hyperparameter optimization layer 240, a training scheduling layer 250, a model layer 260, an inference layer 270, a monitoring layer 280, and an update layer 290, which are applied to a cooling capacity prediction method.

[0157] Figure 3 This is a schematic diagram of a cooling capacity prediction device provided in an embodiment of this application. Figure 3 As shown, the cooling capacity prediction device may include a timing module 310, a scene module 320, a weighting module 330, a baseline processing module 340, a response processing module 350, and a prediction module 360.

[0158] The timing module 310 is used to determine the timing feature sequence corresponding to the heat dissipation environment data according to a preset time window based on the time sequence of the heat dissipation environment data corresponding to the target site. Scene module 320 is used to determine the cooling scene label corresponding to the first time step based on the timestamp corresponding to the first time step in the heat dissipation environment data; The weighting module 330 is used to perform weighted processing on the time-series features corresponding to the first time step in the time-series feature sequence based on the cooling scene label corresponding to the first time step, so as to obtain the scene-weighted features of the time-series feature sequence. The baseline processing module 340 is used to process the scene weighted features through a long short-term memory network to obtain the baseline prediction result. The baseline prediction result is used to represent the change pattern of cooling capacity of the target site within a first preset time period. The response processing module 350 is used to process the scene state value of the cooling scene tag within the second preset time period through the multilayer perceptron to obtain the response prediction result. The scene state value represents the cooling scene tag corresponding to the target site within the second preset time period. The response prediction result is used to represent the fluctuation pattern of the cooling capacity of the target site within the second preset time period. The first preset time period is longer than the second preset time period. The prediction module 360 ​​is used to perform weighted fusion of the baseline prediction results and the response prediction results to obtain the predicted cooling capacity, which is used to represent the output load of the cooling system of the target site.

[0159] In some embodiments, before the timing module 310 determines the timing feature sequence corresponding to the heat dissipation environment data according to a preset time window based on the time sequence of the heat dissipation environment data corresponding to the target site, it is further configured to: The original environmental data of the target site is mapped based on the preset feature columns in the configuration file to obtain the original environmental data corresponding to each preset feature column; The normal range of the original environmental data for each preset feature column is determined by the interquartile range. Determine the environmental median of the raw environmental data within each normal range; Replace the original environmental data that are outside the normal range in each preset feature column with the environmental mean value to obtain the replaced environmental data for each preset feature column; The replacement environmental data and the original environmental data within the normal value range of each preset feature column are normalized to obtain the heat dissipation environmental data.

[0160] In some embodiments, the weighting module 330 performs weighted processing on the time-series features corresponding to the first time step in the time-series feature sequence based on the cooling scene label corresponding to the first time step, to obtain scene-weighted features of the time-series feature sequence, which are used for: Initialize the gating vector corresponding to the cooling scenario label; The cooling scene label corresponding to the first time step is processed by a soft attention mechanism to obtain the activation value corresponding to the cooling scene label; The scene weights for the first time step are obtained by weighting the activation values ​​and the gate vectors. The time-series feature sequences are weighted based on scene weights to obtain scene-weighted features.

[0161] In some embodiments, the baseline processing module 340 is used in the hyperparameter determination process of long short-term memory networks and multilayer perceptrons for: Multiple sets of hyperparameter combinations are randomly selected within the preset hyperparameter search space, and each set of hyperparameter combinations is used as the hyperparameters of multiple first base networks. The first basic network is simplified and iterated according to the first training iteration to obtain the first simplified network and hyperparameter combination; The training samples are input into the first simplified network to obtain the first simplified training result; The first simplified multi-objective loss value for each basic network is determined by using a multi-objective optimization function, based on the first simplified training result and the validation samples in the training samples. The second hyperparameter combination is determined iteratively in the preset hyperparameter search space through Bayesian optimization, and the second hyperparameter combination is used as the hyperparameter of the second base network. The second basic network is iterated according to the second training iteration to obtain the first iterative network and hyperparameter combination. The second training iteration is greater than the first training iteration. The training samples are input into the first iteration network to obtain the first iteration training results; The first-iteration multi-objective loss value for each first-iteration network is determined based on the first-iteration training results and validation samples using a multi-objective optimization function. The hyperparameter combination corresponding to the minimum value of the first simplified multi-objective loss and the first iterative multi-objective loss is used as the hyperparameter of the long short-term memory network and the multilayer perceptron.

[0162] In some embodiments, the multi-objective optimization function of the baseline processing module 340 is expressed as: ; in, Represents a multi-objective optimization function. This represents the root mean square error corresponding to the validation sample. This represents the coefficient of determination for the validation sample. The coefficient of determination is determined based on the similarity index between the actual cooling capacity in the validation sample and the training results. The training results include the first simplified training results and the first iterative training results. This represents the rule-based penalty loss, which is determined based on the discrete values ​​between the training results and the labeled samples of the cooling scene. This represents the first balance coefficient. This represents the second balance coefficient.

[0163] In some embodiments, the baseline processing module 340 is used during the training process of Long Short-Term Memory networks and Multilayer Perceptrons for: Based on hyperparameters, a basic long short-term memory network and a basic multilayer perceptron are constructed. The basic long short-term memory network is then trained to obtain the trained basic long short-term memory network. The basic multilayer perceptron and the trained basic long short-term memory network are jointly trained to obtain the long short-term memory network and the multilayer perceptron. The training process for the basic long short-term memory network includes: Training samples are processed using a basic long short-term memory network to obtain long short-term training results; The first training loss of the basic long short-term memory network is determined by using the first preset loss function, based on the long and short-term training results and the actual cooling capacity corresponding to the cooling scene labels in the training samples. The parameters of the long short-term memory network are updated based on the first training loss. The basic long short-term memory network is iteratively trained using training samples until the preset long short-term memory termination condition is met, resulting in the trained basic long short-term memory network.

[0164] In some embodiments, the baseline processing module 340 performs a joint training process on the base multilayer perceptron and the trained base long short-term memory network for the following purposes: By using the basic multilayer perceptron and the training gating vectors corresponding to each refrigeration scenario label, the trained basic long short-term memory network and basic multilayer perceptron are jointly trained to obtain the joint training results. The second training loss is determined by the second loss function based on the joint training results and the actual cooling capacity corresponding to the cooling scene labels in the training samples. The second loss function includes prediction bias loss, determination coefficient penalty loss and rule penalty loss. The balance coefficient corresponding to the rule-penalized loss is increased to the target value by a preset step size; Based on the second training loss, update the long-short-term network parameters, the sensing parameters corresponding to the basic multilayer perceptron, and the scene gating vectors corresponding to each cooling scene label. The basic long short-term memory network and basic multilayer perceptron are iteratively trained using training samples until the preset joint iteration conditions are met, thus obtaining the long short-term memory network and multilayer perceptron.

[0165] In some embodiments, the prediction module 360 ​​performs a weighted fusion of the baseline prediction result and the response prediction result to obtain the predicted cooling capacity, for the purpose of: Obtain the fusion weights and determine the response weights based on the fusion weights; The baseline prediction results are weighted based on the fusion weights to obtain the weighted baseline prediction results. The response prediction results are weighted based on the response weights to obtain the weighted response prediction results. The sum of the weighted baseline prediction results and the weighted response prediction results is determined as the initial predicted cooling capacity; The initial predicted cooling capacity is corrected by residuals to obtain the predicted cooling capacity.

[0166] In some embodiments, the prediction module 360 ​​performs residual correction on the initial predicted cooling capacity to obtain the predicted cooling capacity, for the purpose of: Flatten the time-series feature sequence to obtain the time-series feature matrix; The prediction residuals are obtained by processing the time series feature matrix using a residual correction model. The predicted cooling capacity is obtained by correcting the initial predicted cooling capacity based on the predicted residual.

[0167] In some embodiments, after weightedly fusing the baseline prediction result and the response prediction result to obtain the predicted cooling capacity, the prediction module 360 ​​is further configured to: Obtain the actual cooling capacity at the first real time step; Determine the prediction error between the actual cooling capacity and the predicted cooling capacity; If the prediction error exceeds the preset error threshold, the long short-term memory network parameters and the sensing parameters of the multilayer perceptron are adjusted based on the heat dissipation environment data corresponding to the first time step.

[0168] Figure 4 A schematic diagram of the hardware structure of the terminal device provided in an embodiment of this application is shown.

[0169] The terminal device may include a processor 401 and a memory 402 storing computer program instructions.

[0170] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0171] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one instance, memory 402 may include removable or non-removable (or fixed) media, or memory 402 may be non-volatile solid-state memory. Memory 402 may be internal or external to the integrated gateway disaster recovery device.

[0172] In one instance, memory 402 may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0173] Memory 402 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Therefore, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of this disclosure.

[0174] The processor 401 reads and executes computer program instructions stored in the memory 402 to achieve... Figure 1 The cooling capacity prediction method in the illustrated embodiment.

[0175] In one example, the terminal device may also include a communication interface 403 and a bus 404. Wherein, as... Figure 4 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 404 and complete communication with each other.

[0176] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0177] Bus 404 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not as a limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 404 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.

[0178] Furthermore, in conjunction with the cooling capacity prediction method in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the cooling capacity prediction methods in the above embodiments.

[0179] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the cooling capacity prediction methods described in the above embodiments.

[0180] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0181] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0182] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0183] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, 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, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0184] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A method for predicting cooling capacity, characterized in that, include: Based on the time sequence of the heat dissipation environment data corresponding to the target site, the time sequence feature sequence corresponding to the heat dissipation environment data is determined according to a preset time window. Based on the timestamp corresponding to the first time step in the heat dissipation environment data, the cooling scenario label corresponding to the first time step is determined; Based on the cooling scene label corresponding to the first time step, the time-series features corresponding to the first time step in the time-series feature sequence are weighted to obtain the scene-weighted features of the time-series feature sequence. The scene weighted features are processed by a long short-term memory network to obtain a baseline prediction result, which is used to represent the change pattern of cooling capacity of the target site within a first preset time period. The scene state values ​​of the cooling scene tags within a second preset time period are processed by a multilayer perceptron to obtain a response prediction result. The scene state values ​​represent the cooling scene tags corresponding to the target site within the second preset time period. The response prediction result is used to represent the fluctuation pattern of the cooling capacity of the target site within the second preset time period. The first preset time period is longer than the second preset time period. The baseline prediction results and the response prediction results are weighted and fused to obtain the predicted cooling capacity, which is used to represent the output load of the cooling system of the target site.

2. The method according to claim 1, characterized in that, Before determining the time-series feature sequence corresponding to the heat dissipation environment data according to a preset time window based on the time sequence of the heat dissipation environment data corresponding to the target site, the method further includes: The original environmental data of the target site is mapped based on the preset feature columns in the configuration file to obtain the original environmental data corresponding to each preset feature column; The normal value range of the original environmental data for each of the preset feature columns is determined by the interquartile range; Determine the environmental median of the original environmental data that falls within each of the stated normal value ranges; Replace the original environmental data outside the normal value range in each of the preset feature columns with the environmental median to obtain the replaced environmental data for each of the preset feature columns; The replacement environmental data of each preset feature column and the original environmental data within the normal value range are normalized to obtain heat dissipation environmental data.

3. The method according to claim 1, characterized in that, The step of weighting the temporal features corresponding to the first time step in the temporal feature sequence based on the cooling scene label corresponding to the first time step to obtain the scene-weighted features of the temporal feature sequence includes: Initialize the gating vector corresponding to the cooling scene label; The cooling scene label corresponding to the first time step is processed by a soft attention mechanism to obtain the activation value corresponding to the cooling scene label; The scene weights for the first time step are obtained by weighting the activation values ​​and the gating vectors. The time-series feature sequence is weighted based on the scene weights to obtain scene-weighted features.

4. The method according to claim 1, characterized in that, The hyperparameter determination process for the Long Short-Term Memory Network and the Multilayer Perceptron includes: Multiple sets of hyperparameter combinations are randomly selected within a preset hyperparameter search space, and each set of hyperparameter combinations is used as the hyperparameters of multiple first basic networks. The first basic network is simplified and iterated according to the first number of training iterations to obtain the first simplified network and hyperparameter combination; The training samples are input into the first simplified network to obtain the first simplified training result; The first simplified multi-objective loss value corresponding to each of the basic networks is determined by using a multi-objective optimization function, based on the first simplified training result and the validation samples in the training samples. The second hyperparameter combination is determined iteratively in the preset hyperparameter search space by Bayesian optimization, and the second hyperparameter combination is used as the hyperparameter of the second base network. The second base network is iterated according to the second training iteration to obtain the first iterative network and hyperparameter combination, wherein the second training iteration is greater than the first training iteration. The training samples are input into the first iterative network to obtain the first iterative training result; The first iterative multi-objective loss value corresponding to each of the first iterative networks is determined by using a multi-objective optimization function based on the first iterative training results and the validation samples. The hyperparameter combination corresponding to the minimum value among the first simplified multi-objective loss value and the first iterative multi-objective loss value is used as the hyperparameter of the long short-term memory network and the multilayer perceptron.

5. The method according to claim 4, characterized in that, The multi-objective optimization function is expressed as: ; in, Represents a multi-objective optimization function. This represents the root mean square error corresponding to the verification sample. This represents the determination coefficient corresponding to the validation sample. The determination coefficient is determined based on the similarity index between the actual cooling capacity in the validation sample and the training result. The training result includes the first simplified training result and the first iterative training result. This represents the rule-based penalty loss, which is determined based on the discrete values ​​between the training results and the labeled samples of the cooling scene. This represents the first balance coefficient. This represents the second balance coefficient.

6. The method according to claim 4, characterized in that, The training process for the Long Short-Term Memory Network and the Multilayer Perceptron includes: Based on the hyperparameters, a basic long short-term memory network and a basic multilayer perceptron are constructed. The basic long short-term memory network is then trained to obtain the trained basic long short-term memory network. The basic multilayer perceptron and the trained basic long short-term memory network are jointly trained to obtain the long short-term memory network and the multilayer perceptron. The training process of the basic long short-term memory network includes: The training samples are processed by the basic long short-term memory network to obtain the long short-term training results; The first training loss of the basic long short-term memory network is determined by using the first preset loss function, based on the long short-term training results and the actual cooling volume corresponding to the cooling scene labels in the training samples. The long short-term network parameters of the basic long short-term memory network are updated based on the first training loss; The basic long short-term memory network is iteratively trained using the training samples until a preset long short-term memory termination condition is met, resulting in the trained basic long short-term memory network.

7. The method according to claim 6, characterized in that, The joint training process of the basic multilayer perceptron and the trained basic long short-term memory network includes: The basic long short-term memory network and the basic multilayer perceptron are jointly trained using the basic multilayer perceptron and the training gating vectors corresponding to each of the cooling scene labels to obtain the joint training result. The second training loss is determined by the second loss function based on the joint training results and the actual cooling capacity corresponding to the cooling scene labels in the training samples. The second loss function includes prediction bias loss, determination coefficient penalty loss and rule penalty loss. The balance coefficient corresponding to the rule-penalized loss is increased to the target value by a preset step size; Based on the second training loss, update the long short-term network parameters, the perception parameters corresponding to the basic multilayer perceptron, and the scene gating vectors corresponding to each of the cooling scene labels; The trained basic long short-term memory network and the basic multilayer perceptron are iteratively trained using the training samples until a preset joint iteration condition is reached, thereby obtaining the long short-term memory network and the multilayer perceptron.

8. The method according to claim 1, characterized in that, The weighted fusion of the baseline prediction result and the response prediction result to obtain the predicted cooling capacity includes: Obtain the fusion weights, and determine the response weights based on the fusion weights; The baseline prediction results are weighted based on the fusion weights to obtain weighted baseline prediction results. The response prediction results are weighted based on the response weights to obtain a weighted response prediction result. The sum of the weighted baseline prediction result and the weighted response prediction result is determined as the initial predicted cooling capacity; The initial predicted cooling capacity is corrected by residual adjustment to obtain the predicted cooling capacity.

9. The method according to claim 8, characterized in that, The step of performing residual correction on the initial predicted cooling capacity to obtain the predicted cooling capacity includes: Flatten the time-series feature sequence to obtain the time-series feature matrix; The time-series feature matrix is ​​processed by a residual correction model to obtain the prediction residuals; The initial predicted cooling capacity is corrected based on the predicted residual to obtain the predicted cooling capacity.

10. The method according to claim 1, characterized in that, After weighting and fusing the baseline prediction result and the response prediction result to obtain the predicted cooling capacity, the method further includes: Obtain the actual cooling capacity at the first time step; Determine the prediction error between the actual cooling capacity and the predicted cooling capacity; If the prediction error exceeds a preset error threshold, the long short-term memory network parameters and the sensing parameters of the multilayer perceptron are adjusted based on the heat dissipation environment data corresponding to the first time step.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the cooling capacity prediction method as described in any one of claims 1-10.

12. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the cooling capacity prediction method as described in any one of claims 1-10.