An energy-saving optimization method and system for industrial circulating water system
By analyzing the historical data of water-cooled chillers, calculating the correlation between operating environment data and operating data and the energy consumption anomaly index, and correcting the decision tree prediction weight of the random forest model, the problem of decision tree overfitting in the existing technology is solved. It improves the accuracy of cooling tower return water temperature prediction and achieves energy-saving optimization of industrial circulating water systems.
Patent Information
- Application Number
- CN202410931397.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-12
AI Technical Summary
When using the random forest algorithm to predict the parameters of water-cooled chillers, the existing technology ignores the correlation between the operating environment data and the operating data, resulting in overfitting of the decision tree and reducing the accuracy of the prediction results.
By calculating the influence weight between operating environment data and operating data, the energy consumption anomaly index is calculated and used to correct the decision tree prediction weight of the random forest model to avoid overfitting and improve prediction accuracy.
It improves the accuracy of prediction of cooling tower return water temperature parameters, reduces waste of energy consumption, and achieves energy-saving optimization of industrial circulating water systems.
Smart Images

Figure CN118469103B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of energy consumption optimization, and in particular to an energy-saving optimization method and system for an industrial circulating water system. Background Art
[0002] Industrial circulating water systems have various applications and functions, one of which is refrigeration, namely water-cooled chillers. Water-cooled chillers have become one of the commonly used refrigeration methods in industry due to their energy-saving and high-efficiency advantages. However, due to the complex composition of water-cooled chillers, including cooling towers, chillers, water pumps and other sub-modules, the adjustment of water-cooled chillers and the response of each module are relatively complicated. Various parameters are often set in advance before the unit is operated to ensure less energy waste after operation, so various parameters need to be predicted in advance.
[0003] When predicting parameters, the random forest algorithm is an efficient, stable and robust method. When using random forests for parameter prediction, the existing technology often directly uses the historical operating environment data of water-cooled chillers for prediction, without considering the degree of correlation between various operating environment data and operating data, and ignoring the impact of each operating environment data on the prediction results; at the same time, the data quality of the decision tree generated by the random forest algorithm has not been considered, and the decision tree where the data with abnormal energy consumption is located has not been identified, resulting in the risk of overfitting of the decision tree, thereby reducing the accuracy of the prediction results. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides an industrial circulating water system energy-saving optimization method and system, and the technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides an energy-saving optimization method for an industrial circulating water system, the method comprising the following steps:
[0006] Obtain energy consumption data, operating environment data, and operating data for each collection cycle during the historical operation of the water-cooled chiller;
[0007] Based on the correlation between the operating environment data and the operating data, the influence weight between each operating environment data and the operating data is calculated;
[0008] Based on the fluctuation difference between the energy consumption data before and after each moment and the operating environment data, calculate the energy consumption anomaly index at each moment;
[0009] The feature vectors at several moments are randomly selected as the input of the random forest algorithm to obtain several decision trees; the difference of the feature vectors at all moments in each decision tree under the influence of the influencing weights is negatively fused with the energy consumption anomaly index at all moments to determine the prediction weight of each decision tree;
[0010] Based on the prediction weight of each decision tree, the random forest model predicts the cooling tower return water temperature at the next moment and makes corrections.
[0011] Preferably, the energy consumption data is the electric energy consumption data in the electric energy consumption sequence; the data in the outdoor ambient temperature sequence, the indoor temperature sequence, the outdoor humidity sequence and the cooling load sequence are recorded as the operating environment data; the data in the cooling tower inlet water temperature sequence and the cooling tower return water temperature sequence are recorded as the operating data.
[0012] Preferably, the calculation process of the influence weight between each operating environment data and the operating data includes:
[0013] The temperature difference between the corresponding moments of the cooling tower inlet water temperature sequence and the cooling tower return water temperature sequence in the operation data is used to form the inlet and return water temperature difference sequence of the operation data;
[0014] The inlet and return water temperature difference sequence and all operating environment data are used as inputs of the grey correlation analysis, each type of operating environment data is used as a comparison sequence, and the inlet and return water temperature difference sequence is used as a reference sequence to obtain the correlation coefficient between each operating environment data and the reference sequence;
[0015] The normalized result of the correlation coefficient between the same type of operating environment data and the inlet and return water temperature difference series of the operating data is used as the influence weight between the same type of operating environment data and the operating data.
[0016] Preferably, the calculation process of the energy consumption abnormality index at each moment includes:
[0017] The elements at the same time in the outdoor ambient temperature sequence, indoor temperature sequence, outdoor humidity sequence, and cooling load sequence are combined into the feature vector at the corresponding time;
[0018] Taking any moment as the center, the feature vectors of any moment and several moments before it form a forward sequence of any moment, and the feature vectors of any moment and several moments after it form a backward sequence of any moment;
[0019] The forward shift sequence and the backward shift sequence are collectively referred to as the sequence to be analyzed;
[0020] Based on the fluctuation difference between the characteristic vector in the sequence to be analyzed and the electric energy consumption data, the abnormal index of the sequence to be analyzed is determined;
[0021] The average of the abnormal index of the forward sequence and the abnormal index of the backward sequence at any moment is taken as the energy consumption abnormal index at any moment.
[0022] Preferably, the process of determining the abnormality index of the sequence to be analyzed includes:
[0023] Calculate the difference between the characteristic vectors of each adjacent moment in the sequence to be analyzed to form the total growth rate sequence of the environmental parameters of the sequence to be analyzed;
[0024] Calculate the difference between the electric energy consumption data corresponding to each adjacent moment in the sequence to be analyzed, and form the electric energy consumption growth rate sequence of the sequence to be analyzed;
[0025] Calculate the distance between the electric energy consumption growth rate sequence of the sequence to be analyzed and the total growth rate sequence of the environmental parameters, and record it as the first difference;
[0026] Calculate the difference between the indoor temperature corresponding to all moments in the sequence to be analyzed and the preset ideal room temperature, which is recorded as the second difference;
[0027] The first difference and the second difference are forwardly fused to obtain the abnormal index of the sequence to be analyzed.
[0028] Preferably, the method for determining the prediction weight of each decision tree includes:
[0029] Based on the differences in the feature vectors at all times in each decision tree under the influence of the influencing weights, the data difference characteristics of each decision tree are determined;
[0030] Based on the energy consumption anomaly index at all times in each decision tree, determine the data anomaly coefficient of each decision tree;
[0031] The data difference features of each decision tree are negatively fused with the data anomaly coefficient to obtain the prediction weight of each decision tree.
[0032] Preferably, the method for determining the data difference feature of each decision tree includes:
[0033] For the feature vectors at any two moments in each decision tree, the influence weight between each element in the feature vector corresponding to each operating environment data and the operating data is used as the weight, and all corresponding elements between the two feature vectors are forward fused to obtain the data difference between any two moments;
[0034] The mean of the data differences between all moments in each decision tree is taken as the data difference feature of each decision tree.
[0035] Preferably, the method for determining the data anomaly coefficient of each decision tree is: taking the mean value of the energy consumption anomaly index at all times in each decision tree as the data anomaly coefficient of each decision tree.
[0036] Preferably, the prediction weight of each decision tree is used to correct the cooling tower return water temperature at the next moment predicted by the random forest model, including:
[0037] The feature vector at the current moment is used as the input of the random forest model, and the return water temperature of the cooling tower at the next moment is output;
[0038] Among them, when the random forest model is used to calculate the cooling tower return water temperature at the next moment, the calculation result of each decision tree is multiplied by the prediction weight of the corresponding decision tree as the optimal prediction of the corresponding decision tree, and the mean of the optimal predictions of all decision trees is used as the cooling tower return water temperature at the next moment.
[0039] In the second aspect, an embodiment of the present application also provides an industrial circulating water system energy-saving optimization system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above methods are implemented.
[0040] This application has at least the following beneficial effects:
[0041] The present application analyzes the correlation between each operating environment data and the operating data in the historical data of the water-cooled chiller, obtains the influence weight between each operating environment data and the operating data, and takes into account the different influences of different operating environment data on the cooling tower return water temperature parameters, so that the influence of different operating environment data on the predicted cooling tower return water temperature parameters can be more accurately evaluated; then, according to the fluctuation difference between the energy consumption data and the operating environment data in a period of time before and after each moment, the energy consumption anomaly index at each moment is calculated; it is used to judge whether abnormal energy consumption occurs at each moment, and avoid the inaccurate result of predicting the cooling tower return water temperature parameters due to abnormal energy consumption; finally, the characteristics of all moments in each decision tree are The difference in the amount under the influence of the influencing weight is negatively fused with the energy consumption anomaly index at all times, and a comprehensive prediction weight is calculated for each decision tree to characterize the similarity between the data in each decision tree, so as to avoid the risk of overfitting of the decision tree, and also take into account the situation that the quality of the generated data of the decision tree is poor due to the large energy consumption anomaly caused by the randomly selected data; the application uses the prediction weight of the decision tree to correct the result of the random forest model to predict the return water temperature of the cooling tower at the next moment, so that the model focuses more on the prediction results of those decision trees with lower similarity and lower degree of anomaly when predicting, thereby reducing energy waste and improving the accuracy of the prediction of the cooling tower return water temperature parameters, which is beneficial to the energy-saving optimization of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 A flow chart of an industrial circulating water system energy-saving optimization method provided in one embodiment of the present application;
[0044] Figure 2 A flow chart of a method for determining the prediction weight of each decision tree provided in one embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the energy-saving optimization method and system of an industrial circulating water system proposed in the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0047] The specific scheme of an industrial circulating water system energy-saving optimization method and system provided by the present application is described in detail below in conjunction with the accompanying drawings.
[0048] Specifically, the following industrial circulating water system energy-saving optimization method is provided, please refer to Figure 1 , the method comprises the following steps:
[0049] The first step is to obtain the energy consumption data, operating environment data and operation data of each collection cycle during the historical operation of the water-cooled chiller.
[0050] By installing temperature and humidity sensors on the cooling tower and outside the cooling tower, outdoor temperature and humidity data are collected in real time; the building cooling load data at each moment is calculated based on the building thermal performance simulation. The method of simulating the building cooling load based on the building thermal performance is a well-known technology in the field of building energy analysis, and the specific process will not be repeated here.
[0051] The electric energy consumption data is collected through the electric energy meter installed on the cooling tower fan; the return water temperature and inlet water temperature of the cooling tower are collected through the temperature sensors installed at the inlet and outlet of the cooling tower; the indoor temperature data is measured through the temperature sensor installed indoors.
[0052] The collection cycle of all the data collected above is one hour. If there is data missing, the mean filling method is used to fill it. The various processed data are respectively formed into corresponding data sequences in time order within each collection cycle, which can be: electric energy consumption sequence, outdoor environment temperature sequence, indoor temperature sequence, outdoor humidity sequence, cooling load sequence, cooling tower inlet water temperature sequence and cooling tower return water temperature sequence. Among them, the electric energy consumption sequence is used as energy consumption data, the outdoor environment temperature sequence, indoor temperature sequence, outdoor humidity sequence and cooling load sequence are used as operating environment data, and the cooling tower inlet water temperature sequence and cooling tower return water temperature sequence are used as operating data.
[0053] At this point, the electric energy consumption sequence, outdoor ambient temperature sequence, indoor temperature sequence, outdoor humidity sequence, cooling load sequence, cooling tower inlet water temperature sequence and cooling tower return water temperature sequence of each collection cycle can be obtained according to the above data collection method.
[0054] In this embodiment, energy consumption data, operating environment data, and operating data in all collection cycles within a year are obtained.
[0055] The second step is to calculate the influence weight between each operating environment data and the operating data based on the correlation between the operating environment data and the operating data.
[0056] When the operating environment data is abnormal, it usually has a certain impact on the inlet and return water temperatures of the cooling tower. If there is a large correlation between a certain external environment and the operating data of the cooling tower in working state, it means that the external environment data has a greater impact on the operating data. Therefore, in order to evaluate the correlation between the operating data and other operating environment data, this application calculates the impact weight between each operating environment data and the operating data based on the correlation between the operating environment data and the operating data, specifically:
[0057] Firstly, the present application forms an inlet and return water temperature difference sequence by combining the temperature difference between the corresponding moments of the cooling tower inlet water temperature sequence and the cooling tower return water temperature sequence in the operation data.
[0058] Furthermore, the inlet and return water temperature difference sequence and the outdoor environment temperature sequence, indoor temperature sequence, outdoor humidity sequence, and cooling load sequence in the operating environment data are used as inputs of the grey correlation analysis, the inlet and return water temperature difference sequence is used as the reference sequence, and the other sequences are used as comparison sequences to obtain the correlation coefficient between each comparison sequence and the inlet and return water temperature difference sequence. Among them, the grey correlation analysis is a well-known technology, and the specific process is not repeated here.
[0059] It should be noted that the correlation coefficient is used to indicate the degree of correlation between sequences. In the present application, the correlation between the inlet and return water temperature difference sequence and the comparison sequence can be obtained, thereby being used to evaluate the correlation between each operating environment data and the operating data.
[0060] The application uses the normalized result of the correlation coefficient between each comparison sequence and the inlet and return water temperature difference sequence as the influence weight between each comparison sequence and the inlet and return water temperature difference sequence. The influence weight between each comparison sequence and the inlet and return water temperature difference sequence is also the influence weight between each operating environment data and the operating data.
[0061] It should be understood that the greater the influence weight between any type of operating environment data and the operating data, the greater the correlation between the operating environment data and the operating data relative to other operating environment data, and the greater the degree to which the operating environment data may be affected by the correlation of the inlet and return water temperature difference sequence.
[0062] The third step is to calculate the energy consumption anomaly index at each moment based on the fluctuation difference between the energy consumption data before and after each moment and the operating environment data.
[0063] The present application combines the elements of the same time in the outdoor environment temperature sequence, indoor temperature sequence, outdoor humidity sequence, and cooling load sequence into a feature vector of the corresponding time, which is used to reflect the characteristics of the operating environment data at that time.
[0064] Ideally, the indoor temperature should be a fixed value. , fixed value is the ideal room temperature. The value is 26 degrees Celsius. As the outdoor ambient temperature increases, more cooling is required to maintain a stable indoor temperature, which will increase energy consumption; conversely, less cooling is required, which will reduce energy consumption. Similarly, when the building cooling load increases, more cooling is also required, which will increase energy consumption; conversely, energy consumption will be reduced. When the humidity rises, the cooling tower also needs a higher speed to evaporate the same amount of heat in order to reduce the return water temperature, which will increase energy consumption; conversely, energy consumption will be reduced.
[0065] Ideally, if the response of the water-cooled chiller can be linear or approximately linear with the external conditions, such as the change in cooling load caused by the change in outdoor temperature and outdoor humidity, it means that the system efficiency is high. Therefore, ideally, the higher the system efficiency, the less energy waste, that is, the increase in energy consumption caused by each unit increase in indoor temperature is relatively constant, and the increase in indoor temperature is related to the change in the environment, so the closer to the equal proportion, the less energy waste. However, in reality, it is difficult to ensure that these changes are all proportional, but the closer to the equal proportion, the higher the efficiency of the system, the easier it is to control, and the less energy waste.
[0066] Therefore, this application first determines whether energy consumption abnormality occurs at each moment and the degree of energy consumption abnormality based on the energy consumption data before and after each moment and the fluctuation of the operating environment data, specifically:
[0067] When analyzing the energy consumption anomaly at each moment, the present application takes any moment as the center, and the feature vectors of any moment and the M moments before it form a forward sequence of any moment, and the feature vectors of any moment and the M moments after it form a backward sequence of any moment. In this embodiment, the value of M is set to 10, and the implementer can set it according to the actual situation. If the feature vectors before or after a moment are less than 10, the calculation is performed according to the existing feature vectors, and the feature vectors less than 10 are no longer supplemented. Among them, the forward sequence and the backward sequence are collectively referred to as the sequence to be analyzed.
[0068] Then, the front abnormality index of the forward sequence and the rear abnormality index of the backward sequence at any moment are calculated, wherein the front abnormality index and the rear abnormality index refer to the energy consumption abnormality degree of the forward sequence and the backward sequence respectively, and the average of the front abnormality index of the forward sequence and the rear abnormality index of the backward sequence at any moment is used as the energy consumption abnormality index at any moment, which is used to evaluate the fluctuation before and after any moment. Among them, the front abnormality index and the rear abnormality index at any moment are collectively referred to as the abnormality index at any moment.
[0069] This application takes the front abnormality index of the forward sequence as an example, and determines the front abnormality index of the forward sequence based on the abnormal degree of energy consumption of the forward sequence, specifically:
[0070] The difference between the characteristic vectors of each adjacent moment in the forward sequence is calculated to form the total growth rate sequence of the environmental parameters of the forward sequence; the difference between the electric energy consumption data corresponding to each adjacent moment in the forward sequence is calculated to form the electric energy consumption growth rate sequence of the forward sequence.
[0071] Preferably, in this embodiment, the sum of the differences between the corresponding elements of the feature vectors of each adjacent subsequent moment and the previous moment in the forward sequence is used as the difference between the feature vectors of each adjacent moment in the forward sequence, and the difference between the electric energy consumption data corresponding to each adjacent subsequent moment and the previous moment in the forward sequence is used as the difference between the electric energy consumption data corresponding to each adjacent moment in the forward sequence. Other embodiments of the present application may also use Euclidean distance, the absolute value of the difference between values, or the difference between the adjacent subsequent moment and the previous moment for calculation.
[0072] The distance between the electric energy consumption growth rate sequence of the forward sequence and the total growth rate sequence of the environmental parameters is calculated, which is recorded as the first difference. This embodiment uses the DTW distance for calculation. The DTW distance is a well-known technology and will not be described in detail. The difference between the indoor temperature corresponding to all moments in the forward sequence and the ideal room temperature is calculated, which is recorded as the second difference. The first difference and the second difference are forwardly fused to obtain the forward anomaly index of the forward sequence.
[0073] It can be understood that forward fusion is a fusion method such as addition and multiplication between data. The specific forward fusion method is determined by the implementer according to the actual situation, and this application does not impose any special restrictions.
[0074] In this embodiment, the absolute value of the difference between the indoor temperature corresponding to all moments in the forward sequence and the ideal room temperature is recorded as the difference between the indoor temperature corresponding to all moments in the forward sequence and the ideal room temperature.
[0075] It is understandable that when energy consumption is normal, if the outdoor ambient temperature or cooling load increases, in order to maintain the indoor temperature to a relatively stable state, a larger electric energy consumption is required to provide more cooling capacity, or when the outdoor humidity increases, more electric energy consumption is also required to evaporate the same amount of heat, so as to maintain the indoor temperature to a relatively stable state; at the same time, the changes in these environmental parameters and the changes in electric energy consumption are preferably proportional or nearly proportional, that is, the distance between the electric energy consumption growth rate and the total growth rate sequence of environmental parameters is small; and the smaller the difference between the indoor temperature and the ideal room temperature, the more meaningful it is to consider whether the energy consumption is abnormal at this time, that is, regardless of the change in indoor temperature, if the energy consumption is abnormal, it is more likely to be an abnormality in the cooling tower operation; therefore, the smaller the current abnormality index, the more normal the forward sequence energy consumption at the moment. On the contrary, when energy consumption is abnormal, energy consumption will be wasted, so that the change ratio difference between the change in environmental parameters and the change in electric energy consumption is large, or the difference between the indoor temperature and the ideal room temperature is large, so the larger the front abnormality index, the more serious the energy consumption abnormality of the forward sequence at the moment.
[0076] The back anomaly index of the back-shifted sequence at the corresponding moment is calculated in the same way as the front anomaly index calculated for the forward sequence. The average of the front and back anomaly indexes at each moment is used as the energy consumption anomaly index corresponding to each moment. It should be understood that the larger the energy consumption anomaly index at a moment, the more serious energy consumption anomaly phenomena exist in both the front and back data at that moment.
[0077] In the fourth step, the feature vectors at several moments are randomly selected as the input of the random forest algorithm to obtain several decision trees; the differences in the feature vectors at all moments in each decision tree under the influence of the influencing weights are negatively fused with the energy consumption anomaly index at all moments to determine the prediction weight of each decision tree.
[0078] Assume that there is a Sample data at time instants, randomly select The sample data at each moment is used as the training set, and the feature vectors of all moments in the training set form a training feature matrix. Each row of the training feature matrix corresponds to a feature vector at one moment, and each column of the matrix corresponds to one type of data.
[0079] The number of training feature matrices and decision trees , the depth of a single decision tree As input, the random forest algorithm is used to randomly extract each time with replacement from the training feature matrix. The number of decision trees in the random forest algorithm is The value is 100, the depth of a single decision tree The value is 30, the node classification standard is the Gini index, and the other parameters are all default values. The random forest algorithm is a well-known technology, and the specific implementation process is not repeated. At this point, N decision trees can be obtained.
[0080] In the traditional random forest algorithm, since the data for training the decision tree is randomly selected, the quality of these randomly selected data has a great impact on the decision tree. If there is a high similarity between the randomly selected data when training this decision tree, the trained decision tree has the risk of overfitting, so this decision tree should be given a smaller weight; at the same time, if the randomly selected data has a large energy consumption anomaly, it means that the quality of these data is not good, and the corresponding decision tree should also be given a smaller prediction weight. Therefore, by evaluating the similarity between the randomly selected data and the quality of the data, a comprehensive prediction weight is calculated for each decision tree.
[0081] Accordingly, this application determines the data difference characteristics of each decision tree based on the differences in the feature vectors at all times in each decision tree under the influence of the influencing weights; it is used to characterize whether the data in each decision tree have a high similarity, so as to determine whether the decision tree has an overfitting risk. Specifically:
[0082] For the feature vectors of any two moments in each decision tree, the influence weight between each element in the feature vector corresponding to each operating environment data and the operating data is used as the weight, and all corresponding elements between the two feature vectors are forward fused to obtain the data difference between any two moments; the mean of the data differences between all moments in each decision tree is taken as the data difference feature of each decision tree.
[0083] In one embodiment of the present application, the result of weighted summation of all corresponding elements between two feature vectors is used as the data difference between any two moments, that is, the forward fusion is calculated here by weighted summation.
[0084] It should be understood that if the data between the feature vectors at the moments in the decision tree are less similar, the difference between the corresponding elements in the feature vectors at any two moments will be greater, and combined with the influence weights between different operating environment data and operating data, the greater the influence weight, the greater the difference in the operating environment data, and thus the greater the data difference characteristics in the decision tree. Conversely, the more similar the data in the decision tree is, the smaller the data difference characteristics are.
[0085] In addition, the average of the energy consumption anomaly index at all times in each decision tree is used as the data anomaly coefficient of each decision tree. It should be understood that the more energy consumption anomaly data there is in the decision tree, the greater the degree of energy consumption anomaly, the worse the data quality in the decision tree, and the greater the data anomaly coefficient.
[0086] The prediction weight of each decision tree is calculated by combining the data difference characteristics and data anomaly coefficient of each decision tree, which is used to judge the data quality within each decision tree and the similarity between the values. In this way, decision trees with overfitting and poor data quality are given smaller weights in the prediction process, thereby improving the accuracy of data prediction.
[0087] Among them, the present application negatively fuses the data difference characteristics of each decision tree with the data anomaly coefficient to obtain the prediction weight of each decision tree.
[0088] It can be understood that negative fusion is a fusion method such as subtraction and division between data. The specific negative fusion method is determined by the implementer according to the actual situation, and this application does not impose any special restrictions.
[0089] Preferably, in this embodiment, the ratio of the data difference feature of each decision tree to the data anomaly coefficient is used as the prediction weight of each decision tree. In other embodiments, other suitable methods such as subtraction can also be used for negative fusion. Among them, in order to avoid the denominator being 0, when calculating the ratio of the data difference feature of each decision tree to the data anomaly coefficient, a preset parameter adjustment coefficient is added to the data anomaly coefficient as the denominator, and the value of this embodiment is 1.
[0090] In one embodiment of the present application, a flow chart of a method for determining the prediction weight of each decision tree is shown in the attached figure. Figure 2 shown.
[0091] In the fifth step, based on the prediction weight of each decision tree, the random forest model is used to revise the cooling tower return water temperature predicted at the next moment.
[0092] According to the prediction weight of each decision tree obtained in the above steps, the result of cooling tower return water temperature prediction in the traditional random forest model is corrected, which can be used to predict the cooling tower return water temperature. Its prediction result is more combined with the actual generation of decision trees and the quality of randomly selected samples. Among them, the specific correction method is:
[0093] When it is necessary to predict the cooling tower return water temperature at the next moment, the outdoor ambient temperature, indoor temperature, indoor humidity, and cooling load data at the current moment are combined into a feature vector as the input of the random forest model to output the cooling tower return water temperature at the next moment.
[0094] Among them, when the random forest model is used to calculate the cooling tower return water temperature at the next moment, the calculation result of each decision tree is multiplied by the prediction weight of the corresponding decision tree as the optimal prediction of the corresponding decision tree, and the mean of the optimal predictions of all decision trees is used as the cooling tower return water temperature at the next moment.
[0095] In this way, a random forest model is constructed to predict the return water temperature of the cooling tower. In the construction of the decision tree, the influence of different operating environment factors on the return water temperature of the cooling tower is considered, and whether there is abnormal energy consumption at each moment is also considered, so that the return water temperature of the cooling tower predicted by the random forest model is closer to the optimal value at the optimal energy consumption, thereby completing the parameter prediction of the water-cooled chiller in the industrial water circulation system. Since this parameter is the predicted value under the optimal energy consumption, it can be used to achieve energy-saving optimization of the industrial water circulation system.
[0096] Based on the same inventive concept as the above method, an embodiment of the present application also provides an industrial circulating water system energy-saving optimization system, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of an industrial circulating water system energy-saving optimization method described in any one of the above methods are implemented.
[0097] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0098] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.
[0099] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.
[0100] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.
Claims
1. An energy-saving optimization method for an industrial circulating water system, characterized in that: The method comprises the following steps: Obtain energy consumption data, operating environment data, and operating data for each collection cycle during the historical operation of the water-cooled chiller; Based on the correlation between the operating environment data and the operating data, the influence weight between each operating environment data and the operating data is calculated; Based on the fluctuation difference between the energy consumption data before and after each moment and the operating environment data, calculate the energy consumption anomaly index at each moment; The feature vectors at several moments are randomly selected as the input of the random forest algorithm to obtain several decision trees; the difference of the feature vectors at all moments in each decision tree under the influence of the influencing weights is negatively fused with the energy consumption anomaly index at all moments to determine the prediction weight of each decision tree; Based on the prediction weight of each decision tree, the random forest model predicts the cooling tower return water temperature at the next moment. The method for determining the prediction weight of each decision tree includes: Based on the differences in the feature vectors at all times in each decision tree under the influence of the influencing weights, the data difference characteristics of each decision tree are determined; Based on the energy consumption anomaly index at all times in each decision tree, determine the data anomaly coefficient of each decision tree; The ratio of the data difference feature of each decision tree to the data anomaly coefficient is used as the prediction weight of each decision tree; The energy consumption data is the electric energy consumption data in the electric energy consumption sequence; the data in the outdoor environment temperature sequence, the indoor temperature sequence, the outdoor humidity sequence and the cooling load sequence are recorded as the operating environment data; the data in the cooling tower inlet water temperature sequence and the cooling tower return water temperature sequence are recorded as the operating data; The calculation process of the energy consumption abnormality index at each moment includes: The elements at the same time in the outdoor ambient temperature sequence, indoor temperature sequence, outdoor humidity sequence, and cooling load sequence are combined into the feature vector at the corresponding time; Taking any moment as the center, the feature vectors of any moment and several moments before it form a forward sequence of any moment, and the feature vectors of any moment and several moments after it form a backward sequence of any moment; The forward shift sequence and the backward shift sequence are collectively referred to as the sequence to be analyzed; Based on the fluctuation difference between the characteristic vector in the sequence to be analyzed and the electric energy consumption data, the abnormal index of the sequence to be analyzed is determined; The average of the abnormal index of the forward sequence and the abnormal index of the backward sequence at any moment is used as the energy consumption abnormal index at any moment; The method for determining the data difference characteristics of each decision tree includes: For the feature vectors at any two moments in each decision tree, the influence weight between each element in the feature vector corresponding to each operating environment data and the operating data is used as the weight, and all corresponding elements between the two feature vectors are forward fused to obtain the data difference between any two moments; The mean of the data differences between all moments in each decision tree is used as the data difference feature of each decision tree; The method for determining the data anomaly coefficient of each decision tree is: taking the mean value of the energy consumption anomaly index at all times in each decision tree as the data anomaly coefficient of each decision tree.
2. The method for energy saving and optimization of industrial circulating water system according to claim 1, characterized in that: The calculation process of the influence weight between each operating environment data and the operating data includes: The temperature difference between the corresponding moments of the cooling tower inlet water temperature sequence and the cooling tower return water temperature sequence in the operation data is used to form the inlet and return water temperature difference sequence of the operation data; The inlet and return water temperature difference sequence and all operating environment data are used as inputs of the grey correlation analysis, each type of operating environment data is used as a comparison sequence, and the inlet and return water temperature difference sequence is used as a reference sequence to obtain the correlation coefficient between each operating environment data and the reference sequence; The normalized result of the correlation coefficient between the same type of operating environment data and the inlet and return water temperature difference series of the operating data is used as the influence weight between the same type of operating environment data and the operating data.
3. The method for energy saving and optimization of industrial circulating water system according to claim 1, characterized in that: The process of determining the abnormal index of the sequence to be analyzed includes: Calculate the difference between the characteristic vectors of each adjacent moment in the sequence to be analyzed to form the total growth rate sequence of the environmental parameters of the sequence to be analyzed; Calculate the difference between the electric energy consumption data corresponding to each adjacent moment in the sequence to be analyzed, and form the electric energy consumption growth rate sequence of the sequence to be analyzed; Calculate the distance between the electric energy consumption growth rate sequence of the sequence to be analyzed and the total growth rate sequence of the environmental parameters, and record it as the first difference; Calculate the difference between the indoor temperature corresponding to all moments in the sequence to be analyzed and the preset ideal room temperature, which is recorded as the second difference; The first difference and the second difference are forwardly fused to obtain the abnormal index of the sequence to be analyzed.
4. The method for energy saving and optimization of industrial circulating water system according to claim 1, characterized in that: The prediction weight of each decision tree is used to correct the cooling tower return water temperature predicted by the random forest model at the next moment, including: The feature vector at the current moment is used as the input of the random forest model, and the return water temperature of the cooling tower at the next moment is output; Among them, when the random forest model is used to calculate the cooling tower return water temperature at the next moment, the calculation result of each decision tree is multiplied by the prediction weight of the corresponding decision tree as the optimal prediction of the corresponding decision tree, and the mean of the optimal predictions of all decision trees is used as the cooling tower return water temperature at the next moment.
5. An industrial circulating water system energy-saving optimization system, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the industrial circulating water system energy-saving optimization method as described in any one of claims 1-4 are implemented.
