Energy consumption early warning method and system based on heat exchanger equipment

Through the isolated forest model and feature engineering, combined with fluid and structural parameters, historical energy consumption data of similar equipment is screened to achieve real-time status assessment and early warning of heat exchanger equipment, which solves the problems of inaccurate assessment and delayed early warning in the existing technology. Improved the accuracy and real-time nature of energy consumption warning.

CN118427730BActive Publication Date: 2024-10-29MAOMING MAOGANG ELECTRIC POWER EQUIP FACTORY
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410873770.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-29
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

Existing heat exchanger equipment evaluation methods lack intelligence and self-learning capabilities, and are difficult to adapt to equipment aging and changes in working conditions, resulting in inaccurate evaluation and delayed early warning, making it difficult to achieve real-time monitoring and timely detection of faults.

Method used

The isolated forest model is used to combine fluid parameters and structural parameters to screen historical energy consumption data of similar equipment, build a comprehensive working environment feature vector, perform refined data processing and feature engineering optimization, dynamically evaluate equipment status, and send early warning notifications in real time.

Benefits of technology

It improves the accuracy of energy consumption assessment of heat exchanger equipment and the timeliness of early warning, promptly discovers potential operational risks, and ensures safe and stable operation of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118427730B_ABST
    Figure CN118427730B_ABST
Patent Text Reader

Abstract

The present invention discloses an energy consumption early warning method and system based on heat exchanger equipment, including: extracting features from historical energy consumption data to obtain a heat exchanger equipment data group, and using all heat exchanger equipment data groups to train an isolation forest model; performing an abnormality score on each sample in the historical energy consumption data according to the trained isolation forest model; setting a risk threshold according to the abnormality score results of all samples in the historical energy consumption data; and evaluating the abnormality score of the heat exchanger equipment in real time according to the trained isolation forest model in combination with fluid parameters and structural parameters, and sending an early warning notification if the abnormality score of the heat exchanger equipment is greater than the risk threshold. The present invention improves the accuracy, real-timeness and reliability of the energy consumption early warning of the heat exchanger equipment by means of refined data processing, feature engineering optimization, model parameter initialization, threshold setting and the like, and solves the problems of inaccurate evaluation and delayed early warning that may exist in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of heat exchangers, and in particular to an energy consumption early warning method and system based on heat exchanger equipment. Background Art

[0002] Heat exchangers are key equipment in many industrial processes, and their operating status is directly related to production safety. Through regular or real-time evaluation, potential safety hazards can be discovered in a timely manner, such as overheating, abnormal pressure, corrosion, etc., so that measures can be taken to avoid accidents. The efficiency of heat exchangers directly affects energy consumption. By evaluating the operating status, the reasons for the decline in efficiency, such as scaling, blockage, etc., can be identified, and corresponding measures can be taken for cleaning or maintenance, thereby improving energy efficiency and reducing operating costs.

[0003] However, most existing evaluation methods are based on rules or experience, lack sufficient intelligence and self-learning capabilities, and are difficult to adapt to the status evaluation needs in dynamic environments such as equipment aging and changes in operating conditions. In industrial environments, equipment may be affected by a variety of factors, including temperature, pressure, load, material degradation, etc. These factors change over time and may have complex interactions with each other. Traditional evaluation methods based on rules or experience may find it difficult to capture and explain these complex relationships, especially when faced with nonlinear, uncertain or sudden changes. In addition, traditional evaluation methods are often based on regular maintenance inspections or offline data analysis, which makes it difficult to achieve real-time monitoring and immediate feedback on the operating status of the heat exchanger, which to a certain extent limits the timely detection and handling of faults. Summary of the invention

[0004] The embodiment of the present invention provides an energy consumption early warning method and system based on heat exchanger equipment, which significantly improves the accuracy of energy consumption assessment and the timeliness of early warning of heat exchanger equipment, thereby better monitoring the operating status of the equipment and preventing potential failures and energy waste.

[0005] A first aspect of an embodiment of the present application provides an energy consumption early warning method based on a heat exchanger device, comprising:

[0006] Acquiring parameters of fluids entering and exiting a heat exchanger device, structural parameters of the heat exchanger device, and environmental parameters of an environment in which the heat exchanger device is located;

[0007] Collect historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device at different heat exchange efficiencies and under different working environments;

[0008] Perform feature extraction on the historical energy consumption data to obtain multiple groups of heat exchanger equipment data groups, and use all the heat exchanger equipment data groups to train an isolation forest model;

[0009] According to the trained isolation forest model, anomaly scoring is performed on each sample in the historical energy consumption data;

[0010] Set risk thresholds based on the abnormal scoring results of all samples in the historical energy consumption data;

[0011] According to the trained isolation forest model, in combination with the fluid parameters and the structural parameters, the anomaly score of the heat exchanger equipment is evaluated in real time, and if the anomaly score of the heat exchanger equipment is greater than a risk threshold, an early warning notification is sent.

[0012] In a possible implementation of the first aspect, before collecting historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and under different working environments, the method further includes:

[0013] Determining an effective heat exchange area and an overall heat transfer coefficient of the heat exchanger device according to structural parameters of the heat exchanger device;

[0014] If the difference between the effective heat exchange area of ​​other heat exchanger devices and the heat exchanger device is less than the first threshold, and the difference between the overall heat transfer coefficient of the heat exchanger device and the heat exchanger device is less than the second threshold, the heat exchanger device is treated as other heat exchanger devices of the same type as the heat exchanger device.

[0015] In a possible implementation of the first aspect, collecting historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments specifically includes:

[0016] Calculating the heat exchange efficiency of other heat exchangers of the same type as the heat exchanger according to the heat exchange area, overall heat transfer coefficient and logarithmic mean temperature difference of other heat exchangers of the same type as the heat exchanger;

[0017] Collect and count the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchangers on each operating day over a period of time;

[0018] According to the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchanger devices in each operating day during the period, the working environment characteristic vectors of other heat exchanger devices are obtained;

[0019] The energy consumption values ​​of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environment characteristic vectors are collected.

[0020] In a possible implementation of the first aspect, obtaining the working environment feature vectors of other heat exchanger devices according to the average ambient temperature, average atmospheric pressure, average air humidity, and longitude and latitude of other heat exchanger devices on each operating day during the period of time specifically includes:

[0021] According to the recursive feature elimination method, one statistic is removed from the four statistics of average ambient temperature, average atmospheric pressure, average air humidity and average load, and the remaining three statistics are used as the first dimension, second dimension and third dimension of the working environment feature vector in descending order according to their correlation with the energy consumption of other heat exchanger equipment of the same type.

[0022] In a possible implementation manner of the first aspect, after collecting energy consumption values ​​of other heat exchanger devices of the same type as the heat exchanger device at different heat exchange efficiencies and different working environment characteristics, the method further includes:

[0023] If the cosine distance between the working environment characteristic vectors of two other heat exchanger devices is less than a preset distance, the energy consumption value of one of the other heat exchanger devices is selected for deletion; the preset distance is equal to the weighted average sum of the three ratios of the heat exchange area ratio, the overall heat transfer coefficient ratio and the logarithmic mean temperature difference ratio of the two other heat exchanger devices.

[0024] In a possible implementation of the first aspect, extracting features from the historical energy consumption data to obtain multiple heat exchanger equipment data groups, and using all the heat exchanger equipment data groups to train an isolation forest model specifically includes:

[0025] Extract the historical energy consumption data to obtain energy consumption average, energy consumption peak, energy consumption trend, and energy consumption timestamp;

[0026] The mean energy consumption, peak energy consumption, heat exchange efficiency, modulus of the working environment feature vector, workload, energy consumption trend, values ​​of each dimension of the working environment feature vector, and energy consumption timestamp are taken as a column of a two-dimensional array in turn to obtain a heat exchanger equipment data group, and the isolation forest model is trained using all the heat exchanger equipment data groups.

[0027] In a possible implementation of the first aspect, the training of the isolation forest model using all the heat exchanger equipment data sets specifically includes:

[0028] When initializing the isolation forest model parameters, the number of trees of the isolation forest model is set to the date span of the historical energy consumption data, and the pollution rate of the isolation forest model is set to the heat exchange efficiency of the heat exchanger device.

[0029] The risk threshold is set according to the abnormal scoring results of all samples in the historical energy consumption data, specifically including:

[0030] Convert the abnormal scoring results of all samples into a scoring distribution curve;

[0031] Calculate the slope of each point in the score distribution curve;

[0032] Take any two points on the score distribution curve. If the difference between the slope of the previous point and the slope of the next point is greater than the preset slope threshold, the previous point is used as the natural dividing point of the score distribution curve, and the abnormal score value corresponding to the natural dividing point is used as the risk threshold.

[0033] In a possible implementation of the first aspect, the real-time evaluation of the abnormality score of the heat exchanger device based on the trained isolation forest model and in combination with the fluid parameter and the structural parameter specifically includes:

[0034] According to the fluid parameters and the structural parameters, a two-dimensional array of heat exchanger equipment including average energy consumption, peak energy consumption, heat exchange efficiency, module value of a working environment characteristic vector, workload, energy consumption trend, values ​​of each dimension of the working environment characteristic vector and energy consumption timestamp is obtained;

[0035] The two-dimensional array of the heat exchanger equipment is input into the trained isolation forest model to obtain anomaly scores of the heat exchanger equipment.

[0036] A second aspect of an embodiment of the present application provides an energy consumption early warning system based on a heat exchanger device, comprising:

[0037] An acquisition module, used to acquire fluid parameters entering and exiting a heat exchanger device, structural parameters of the heat exchanger device, and environmental parameters of an environment in which the heat exchanger device is located;

[0038] A collection module, used to collect historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments;

[0039] A training module is used to extract features from the historical energy consumption data, to group the data into heat exchanger equipment data groups, and to train an isolation forest model using all the heat exchanger equipment data groups;

[0040] A scoring module, used for performing anomaly scoring on each sample in the historical energy consumption data according to the trained isolation forest model;

[0041] The setting module is used to set the risk threshold according to the abnormal scoring results of all samples;

[0042] The early warning module is used to evaluate the abnormal score of the heat exchanger equipment in real time according to the trained isolation forest model in combination with the fluid parameters and the structural parameters, and send an early warning notification if the abnormal score of the heat exchanger equipment is greater than the risk threshold.

[0043] Compared with the prior art, the embodiment of the present invention provides an energy consumption warning method and system based on heat exchanger equipment, which screens out the historical energy consumption data of other equipment with similar characteristics to the target heat exchanger equipment, and then considers the heat exchange efficiency, and comprehensively considers the influence of environmental parameters (such as ambient temperature, atmospheric pressure, air humidity, etc.), as well as equipment operating conditions (such as load), to construct a more comprehensive working environment feature vector, form a comprehensive and targeted heat exchanger equipment data group, and use all heat exchanger equipment data groups to train an isolation forest model, and obtain an isolation forest model with higher accuracy after training. Finally, combined with real-time fluid parameters and structural parameters, the current state of the equipment is dynamically evaluated, and the real-time nature of energy consumption warning is realized, which helps to timely discover potential operating risks and ensure the safe and stable operation of the equipment.

[0044] To summarize, the embodiments of the present invention effectively improve the accuracy, real-time and reliability of energy consumption warning of heat exchanger equipment through refined data processing, feature engineering optimization, intelligent initialization of model parameters, dynamic risk threshold setting and other means, and solve the problems of inaccurate evaluation and delayed warning that may exist in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a flow chart of an energy consumption early warning method based on a heat exchanger device provided by one embodiment of the present invention;

[0046] Figure 2 It is a structural schematic diagram of an energy consumption early warning system based on a heat exchanger device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] Please refer to Figure 1 An embodiment of the present application provides an energy consumption early warning method based on a heat exchanger device, comprising:

[0049] S10, acquiring parameters of the fluid entering and exiting the heat exchanger device, structural parameters of the heat exchanger device, and environmental parameters of the environment in which the heat exchanger device is located.

[0050] S11. Collect historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments.

[0051] S12, extracting features from the historical energy consumption data to obtain multiple groups of heat exchanger equipment data, and using all the heat exchanger equipment data groups to train an isolation forest model.

[0052] S13. Perform an abnormality score on each sample in the historical energy consumption data according to the trained isolation forest model.

[0053] S14. Set a risk threshold based on the abnormal scoring results of all samples in the historical energy consumption data.

[0054] S15. According to the trained isolation forest model, in combination with the fluid parameters and the structural parameters, the abnormality score of the heat exchanger equipment is evaluated in real time. If the abnormality score of the heat exchanger equipment is greater than a risk threshold, an early warning notification is sent.

[0055] S10 mainly involves data collection, including collecting fluid parameters: such as the temperature, pressure, flow rate of the inlet and outlet fluids, which directly affect the heat exchange efficiency; collecting structural parameters: including the size, material, and structural form of the heat exchanger, which determine the basic physical properties of the heat exchanger; collecting environmental parameters: such as the temperature, humidity, and air pressure of the surrounding environment. Changes in environmental conditions will also affect the performance of the heat exchanger.

[0056] The purpose of S11 is to establish a comprehensive energy consumption database for subsequent model training. By collecting energy consumption data of similar equipment under various working conditions, we can more accurately understand the normal energy consumption range of the equipment and the laws of its influence by external conditions.

[0057] Feature extraction in S12 is to convert raw data into a form that the model can understand and process, including energy consumption mean, peak, trend, working environment characteristics, etc. It is convenient for training the isolation forest model, and can learn the pattern of normal energy consumption behavior, laying the foundation for anomaly detection (scoring) in S14 and S15.

[0058] S13 scores each historical data sample through the model. The score reflects the degree to which the data point deviates from the normal pattern. The higher the score, the more abnormal it is. The risk threshold in S14 is set based on the distribution of abnormal scores, which defines the criteria for when it is considered abnormal. Through statistical analysis, a reasonable threshold can be found to distinguish between normal and abnormal energy consumption behaviors.

[0059] S15 real-time assessment means that the system will continuously monitor the energy consumption of the equipment. Once it detects an abnormal score exceeding the preset risk threshold, it will immediately trigger an early warning mechanism to notify relevant personnel to conduct inspections or take necessary preventive measures to avoid potential equipment failures or energy waste.

[0060] The core of the energy consumption warning method for heat exchanger equipment composed of S10-S15 is to use machine learning technology, especially the isolation forest model, to automatically identify and warn of abnormal energy consumption of heat exchanger equipment. This provides a powerful tool for preventive maintenance of industrial equipment and helps to improve production efficiency and energy utilization efficiency.

[0061] Compared with the prior art, the embodiment of the present invention provides an energy consumption warning method based on heat exchanger equipment, which screens out the historical energy consumption data of other equipment with similar characteristics to the target heat exchanger equipment, and then considers the heat exchange efficiency, and comprehensively considers the influence of environmental parameters (such as ambient temperature, atmospheric pressure, air humidity, etc.), as well as equipment operating conditions (such as load), to construct a more comprehensive working environment feature vector, form a comprehensive and targeted heat exchanger equipment data group, and use all heat exchanger equipment data groups to train an isolation forest model, and obtain an isolation forest model with higher accuracy after training. Finally, combined with real-time fluid parameters and structural parameters, the current state of the equipment is dynamically evaluated, and the real-time nature of energy consumption warning is realized, which helps to timely discover potential operating risks and ensure the safe and stable operation of the equipment.

[0062] To summarize, the embodiments of the present invention effectively improve the accuracy, real-time and reliability of energy consumption warning of heat exchanger equipment through refined data processing, feature engineering optimization, intelligent initialization of model parameters, dynamic risk threshold setting and other means, and solve the problems of inaccurate evaluation and delayed warning that may exist in the prior art.

[0063] Exemplarily, before collecting historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments, the method further includes:

[0064] Determining an effective heat exchange area and an overall heat transfer coefficient of the heat exchanger device according to structural parameters of the heat exchanger device;

[0065] If the difference between the effective heat exchange area of ​​other heat exchanger devices and the heat exchanger device is less than the first threshold, and the difference between the overall heat transfer coefficient of the heat exchanger device and the heat exchanger device is less than the second threshold, the heat exchanger device is treated as other heat exchanger devices of the same type as the heat exchanger device.

[0066] Before collecting historical energy consumption data, this embodiment compares the effective heat exchange area and overall heat transfer coefficient of the heat exchanger equipment to ensure that the selected similar equipment has similar heat exchange characteristics. This step ensures that the data set used for training the model is highly homogeneous, thereby improving the accuracy of the model prediction.

[0067] Among them, the first threshold is used to control the difference in effective heat exchange area, ensuring that small differences in area will not affect the comparison of heat exchange efficiency. Setting a reasonable threshold can help exclude those devices that are significantly different from the target device in physical size, and avoid the difference in heat exchange efficiency caused by different sizes being mistaken for anomalies. The second threshold is used to control the difference in overall heat transfer coefficient, ensuring that the selected device is similar to the target device in heat transfer performance. The overall heat transfer coefficient is an important indicator to measure the thermal conductivity of the heat exchanger. By setting the second threshold, it can be ensured that the collected data comes from those devices that match the target device in thermal conduction efficiency. By screening out historical data of devices that are similar to the target heat exchanger device in physical structure and heat transfer performance, it can be ensured that the data set used to train the isolation forest model is more accurate and reduces the interference caused by differences in device characteristics. Such a data set is more conducive to the model learning the energy consumption pattern of the device under normal working conditions, thereby improving the sensitivity and accuracy of anomaly detection.

[0068] Exemplarily, the historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments are collected, specifically including:

[0069] The heat exchange efficiency of other heat exchangers of the same type as the heat exchanger device is calculated based on the heat exchange area, the overall heat transfer coefficient and the logarithmic mean temperature difference of other heat exchangers of the same type as the heat exchanger device.

[0070] Collect and count the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchanger equipment on each operating day over a period of time.

[0071] According to the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchanger devices in each operating day during the period, the working environment feature vectors of other heat exchanger devices are obtained.

[0072] The energy consumption values ​​of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environment characteristic vectors are collected.

[0073] Heat exchange efficiency is a key indicator to measure the performance of heat exchangers. By calculating the heat exchange efficiency, the ability of the equipment to transfer heat under specific conditions can be quantified. The heat exchange area and the overall heat transfer coefficient directly affect the heat exchange efficiency, while the logarithmic mean temperature difference reflects the temperature change of the fluid during the heat exchange process. The three together determine the heat exchange efficiency. The specific calculation process refers to the following process:

[0074] Logarithmic Mean Temperature Difference (LMTD) is a key parameter when calculating heat exchange efficiency, especially for countercurrent and cocurrent heat exchangers. LMTD can be calculated using the following formula:

[0075] ;

[0076] (temperature difference between hot fluid inlet and cold fluid outlet);

[0077] (temperature difference between hot fluid outlet and cold fluid inlet);

[0078] The parameters involved are: heat transfer area (A): the effective heat transfer area of ​​the heat exchanger; overall heat transfer coefficient (U): this depends on the type, design, fluid properties and flow state of the heat exchanger; fluid flow rate: affects heat exchange efficiency and pressure drop; inlet and outlet temperatures of the hot fluid: θ1 and θ2; inlet and outlet temperatures of the cold fluid: θ1′ and θ2′; flow rates of the hot and cold fluids: m and m′, and their respective specific heat capacities c p and c p ′; The maximum possible heat transfer can be calculated by the following formula: ;

[0079] Cmin is the smaller heat capacity flow rate of the hot fluid and the cold fluid, ;

[0080] The actual heat transfer can be calculated by the following formula: ;

[0081] The heat exchange efficiency is defined as the ratio of the actual heat transfer to the maximum possible heat transfer: η = Qactual / Qmax;

[0082] Collect and count the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchanger equipment on each operating day over a period of time. In this step, the focus is on the environmental conditions and workload during the operation of the heat exchanger equipment. The average ambient temperature, atmospheric pressure and air humidity reflect the external environment conditions when the equipment is running, while the average load reflects the working intensity of the equipment. These factors will affect the heat exchange efficiency, so collecting this data is crucial to understanding the energy consumption performance of the equipment under different conditions. The working environment feature vector integrates the above-collected environmental parameters and workload into a vector, which describes the comprehensive environmental conditions and working status of the equipment when it is running. In this way, the complex and changeable operating conditions can be simplified into a set of values, which is convenient for subsequent model training and analysis.

[0083] Finally, the energy consumption values ​​of the equipment under different heat exchange efficiencies and working environment characteristics are collected to form a comprehensive historical energy consumption data set. These data contain the energy consumption performance of the equipment under various working conditions, providing rich training materials for the isolation forest model, enabling it to learn the boundaries of normal energy consumption patterns and accurately identify abnormal energy consumption in new data.

[0084] Through the above-mentioned meticulous data collection and processing steps, the accuracy and representativeness of the model training data can be ensured, and the accuracy and stability of anomaly detection can be improved, which has important practical significance for maintaining the normal operation of heat exchanger equipment and optimizing energy use.

[0085] Exemplarily, the working environment feature vectors of other heat exchangers are obtained according to the average ambient temperature, average atmospheric pressure, average air humidity and longitude and latitude of other heat exchangers on each operating day during the period of time, specifically including:

[0086] According to the recursive feature elimination method, one statistic is removed from the four statistics of average ambient temperature, average atmospheric pressure, average air humidity and average load, and the remaining three statistics are used as the first dimension, second dimension and third dimension of the working environment feature vector in descending order according to their correlation with the energy consumption of other heat exchanger equipment of the same type.

[0087] This embodiment uses the above embodiment to collect and organize the data of the average ambient temperature, average atmospheric pressure, average air humidity and average load of the heat exchanger equipment on different operating days. These data form a feature matrix, in which each row represents an operating day and each column represents an environmental parameter or load.

[0088] Then apply recursive feature elimination:

[0089] First, set an initial feature set that includes all four statistics (average ambient temperature, average atmospheric pressure, average air humidity, and average load). Set the termination condition of RFE and keep three features. Then use all the features to train a base model, such as a linear regression model, to predict the energy consumption of heat exchanger equipment. After the model is trained, evaluate the weight or importance of each feature. Then sort the features according to their importance and remove one or more of the least important features. Update the feature set, retrain the model, and repeat this process until the termination condition is met.

[0090] It should be noted that recursive feature elimination is a model-based feature selection method that evaluates the importance of each feature by training a base model (such as linear regression, decision tree, etc.), and gradually removes the least important features, repeating this process until the predetermined number of features is reached or the stopping condition is met.

[0091] When the RFE process is over, the remaining features are the three environmental parameters that have the greatest impact on energy consumption. According to the order of importance of the features in the last model training, these three parameters are arranged in descending order as the first dimension, second dimension, and third dimension of the working environment feature vector. For each operating day, the environmental parameter values ​​corresponding to the first dimension, second dimension, and third dimension are extracted. These three values ​​are combined into a three-dimensional vector, which is the working environment feature vector for that operating day.

[0092] Exemplarily, after collecting the energy consumption values ​​of other heat exchanger devices of the same type as the heat exchanger device at different heat exchange efficiencies and different working environment characteristics, the method further includes:

[0093] If the cosine distance between the working environment characteristic vectors of two other heat exchanger devices is less than a preset distance, the energy consumption value of one of the other heat exchanger devices is selected for deletion; the preset distance is equal to the weighted average sum of the three ratios of the heat exchange area ratio, the overall heat transfer coefficient ratio and the logarithmic mean temperature difference ratio of the two other heat exchanger devices.

[0094] The main purpose of this embodiment is to reduce data and remove redundant information to ensure the diversity and representativeness of the training data set, thereby improving the accuracy and generalization ability of the anomaly detection model.

[0095] For any two working environment feature vectors of heat exchanger devices A and B, the cosine distance between them is first calculated. The cosine distance measures the difference in direction between two non-zero vectors, not their magnitude.

[0096] The preset distance refers to the standard for the working environment feature vectors of two devices to be considered "sufficiently similar". In this example, the preset distance is composed of the weighted average sum of the heat exchange area ratio, overall heat transfer coefficient ratio, and logarithmic mean temperature difference ratio of the two devices. The weights of the heat exchange area, overall heat transfer coefficient, and logarithmic mean temperature difference can be adjusted according to actual conditions.

[0097] Traverse all device pairs, for each pair of devices A and B, if the cosine distance between their working environment feature vectors is less than the preset distance, the two devices are considered to be highly similar in working environment. In this case, the energy consumption value of one of the devices is selected for deletion, and the specific device to be deleted can be determined based on the difference in energy consumption values, the operating time of the device, or other relevant factors.

[0098] By performing data simplification in this embodiment, it can be ensured that the training data set only contains device data with unique working environment characteristics, avoiding duplication of device data under similar conditions and improving the diversity of the data set. In this way, the anomaly detection model can be exposed to more types of operating conditions during the training process, so that when facing unknown data, it has stronger adaptability and prediction accuracy, reducing the risk of overfitting. At the same time, data simplification also helps to reduce the consumption of computing resources and accelerate the model training and prediction process.

[0099] Exemplarily, the feature extraction of the historical energy consumption data into multiple heat exchanger equipment data groups and the use of all heat exchanger equipment data groups to train an isolation forest model specifically includes:

[0100] Extract the historical energy consumption data to obtain energy consumption average, energy consumption peak, energy consumption trend, and energy consumption timestamp;

[0101] The mean energy consumption, peak energy consumption, heat exchange efficiency, modulus of the working environment feature vector, workload, energy consumption trend, values ​​of each dimension of the working environment feature vector, and energy consumption timestamp are taken as a column of a two-dimensional array in turn to obtain a heat exchanger equipment data group, and the isolation forest model is trained using all the heat exchanger equipment data groups.

[0102] It should be noted that, in this embodiment, the energy consumption mean is used to calculate the average energy consumption of each operating day, reflecting the average energy consumption level of the device in this time period; the energy consumption peak is used to record the maximum energy consumption value of each operating day, reflecting the highest energy demand of the device in this time period; the energy consumption trend is used to analyze the trend of energy consumption over time, which can be a linear trend, a seasonal trend or other forms of trends, used to capture the law of energy consumption over time; the energy consumption timestamp is used to record the start and end time of each energy consumption data point, so as to analyze the time series characteristics of energy consumption later. For example, 8:45 am to 5:00 pm can be expressed as: [08451700]; heat exchange efficiency: reflects the heat energy conversion efficiency of the device under specific conditions; the modulus of the working environment feature vector: comprehensively reflects the overall conditions of the working environment, such as the comprehensive influence of temperature, humidity, pressure, etc.; workload: reflects the working intensity or load of the device in this time period; the values ​​of each dimension of the working environment feature vector: respectively reflect specific environmental parameters such as ambient temperature, humidity, pressure, etc.

[0103] The two-dimensional array composed of the above features is used as the input data set. Assuming the following features: average energy consumption, peak energy consumption, working environment characteristic modulus, workload, energy consumption trend, and values ​​of each dimension of working environment characteristics (assuming temperature and pressure), the format of each row of data is as follows: [average energy consumption, peak energy consumption, working environment characteristic modulus, workload, energy consumption trend, temperature, pressure].

[0104] Arrange the above features in order to form a two-dimensional array. Each row represents all the features of a running day, and each column represents a specific feature type. This format is easy for machine learning models to understand and process, and can be directly used for model training.

[0105] The constructed heat exchanger equipment data set is used to train the isolation forest model. The isolation forest model is an unsupervised learning algorithm specifically used for anomaly detection. It constructs multiple decision trees through random subspaces and random splits, and then determines whether a data point is an anomaly based on the path length of the data point in the tree. During the training process, the model learns the distribution pattern of energy consumption data under normal operating conditions, thereby identifying anomalies that deviate from the normal pattern in new data.

[0106] Exemplarily, the method of training the isolation forest model with all heat exchanger equipment data sets specifically includes:

[0107] When initializing the isolation forest model parameters, the number of trees of the isolation forest model is set to the date span of the historical energy consumption data, and the pollution rate of the isolation forest model is set to the heat exchange efficiency of the heat exchanger device.

[0108] Setting the number of trees to the date span of the historical energy consumption data is to increase the complexity and detection accuracy of the model. The Isolation Forest Model isolates abnormal data points by building multiple trees. The more trees there are, the stronger the detection ability of the model is, and it can distinguish normal data from abnormal data more finely. Setting the number of trees to the date span of the historical energy consumption data means that the model will build a corresponding number of decision trees based on the timing characteristics of the data, which helps the model capture the time series pattern of the data and improve the accuracy of anomaly detection. Since the date span of the historical energy consumption data reflects the time range covered by the data, a longer time span means that the data contains more operating cycles and possible abnormal patterns. Therefore, setting the number of trees to this span can ensure that the model has sufficient complexity to adapt to the diversity of the data and potential abnormal patterns.

[0109] Setting the contamination rate to the heat exchange efficiency of the heat exchanger equipment is to adjust the model's sensitivity to anomalies. The contamination rate parameter in the isolation forest model represents the expected proportion of anomalies in the data set. Setting the contamination rate to the heat exchange efficiency of the heat exchanger equipment means that the model will adjust its expectations for abnormal data based on the actual heat exchange efficiency of the equipment, which helps the model more accurately identify data points that deviate significantly from the normal operating efficiency of the equipment. Moreover, heat exchange efficiency is an important indicator for measuring equipment performance, and lower heat exchange efficiency may indicate that there are certain problems with the equipment, such as blockage, wear, or design defects. Therefore, setting the contamination rate to the heat exchange efficiency can make the model pay more attention to those data points with abnormally low efficiency during training, thereby improving the early warning ability of potential equipment failures.

[0110] Exemplarily, the risk threshold is set according to the abnormal scoring results of all samples in the historical energy consumption data, specifically including:

[0111] Convert the abnormal scoring results of all samples into a scoring distribution curve;

[0112] Calculate the slope of each point in the score distribution curve;

[0113] Take any two points on the score distribution curve. If the difference between the slope of the previous point and the slope of the next point is greater than the preset slope threshold, the previous point is used as the natural dividing point of the score distribution curve, and the abnormal score value corresponding to the natural dividing point is used as the risk threshold.

[0114] In this embodiment, the abnormal scoring results of all historical energy consumption data samples are plotted into a scoring distribution curve. This curve depicts the frequency distribution of abnormal scores, with the horizontal axis representing the abnormal score value and the vertical axis representing the relative frequency or density of data points near the score value. The scoring distribution curve intuitively shows the distribution pattern of the score, including the central trend, dispersion degree and tail shape.

[0115] Then calculate the slope of each point in the score distribution curve. The slope reflects the speed of frequency change near the score value. In the score distribution curve, a larger slope means that the score distribution in this area is steeper, that is, when the score value changes within this interval, the frequency of the data point changes faster; a smaller slope means that the score distribution is flatter, and the frequency of the data point changes slowly when the score value changes.

[0116] Select any two points on the score distribution curve and compare their slopes. If the difference between the slope of the latter point and the slope of the previous point exceeds the preset slope threshold, this means that the score distribution curve has changed significantly between the two score values, that is, it has transitioned from an area with a higher slope to an area with a lower slope. This change point often corresponds to a "fault" or "inflection point" in the score distribution and can be regarded as a natural dividing point in the score distribution. Once the natural dividing point is identified, the abnormal score value corresponding to the point can be set as the risk threshold. The risk threshold marks the transition point from a normal score value to a potential abnormal score value. In practical applications, any abnormal score that exceeds this threshold will be regarded as a possible abnormal event, triggering further investigation or early warning mechanism.

[0117] Exemplarily, the real-time evaluation of the abnormality score of the heat exchanger device based on the trained isolation forest model in combination with the fluid parameters and the structural parameters specifically includes:

[0118] According to the fluid parameters and the structural parameters, a two-dimensional array of heat exchanger equipment including average energy consumption, peak energy consumption, heat exchange efficiency, module value of a working environment characteristic vector, workload, energy consumption trend, values ​​of each dimension of the working environment characteristic vector and energy consumption timestamp is obtained;

[0119] The two-dimensional array of the heat exchanger equipment is input into the trained isolation forest model to obtain anomaly scores of the heat exchanger equipment.

[0120] The process of obtaining the two-dimensional array of heat exchanger devices in this embodiment is the same as the process of obtaining the heat exchanger device data group in the above embodiment, and will not be repeated here.

[0121] Compared with the prior art, the embodiment of the present invention provides an energy consumption warning method based on heat exchanger equipment, which screens out the historical energy consumption data of other equipment with similar characteristics to the target heat exchanger equipment, and then considers the heat exchange efficiency, and comprehensively considers the influence of environmental parameters (such as ambient temperature, atmospheric pressure, air humidity, etc.), as well as equipment operating conditions (such as load), to construct a more comprehensive working environment feature vector, form a comprehensive and targeted heat exchanger equipment data group, and use all heat exchanger equipment data groups to train an isolation forest model, and obtain an isolation forest model with higher accuracy after training. Finally, combined with real-time fluid parameters and structural parameters, the current state of the equipment is dynamically evaluated, and the real-time nature of energy consumption warning is realized, which helps to timely discover potential operating risks and ensure the safe and stable operation of the equipment.

[0122] To summarize, the embodiments of the present invention effectively improve the accuracy, real-time and reliability of energy consumption warning of heat exchanger equipment through refined data processing, feature engineering optimization, intelligent initialization of model parameters, dynamic risk threshold setting and other means, and solve the problems of inaccurate evaluation and delayed warning that may exist in the prior art.

[0123] See also Figure 2 An embodiment of the present application provides an energy consumption warning system based on a heat exchanger device, including a data acquisition module 20, a collection module 21, a training module 22, a scoring module 23, a setting module 24 and a warning module 25.

[0124] The acquisition module 20 is used to acquire the fluid parameters entering and exiting the heat exchanger device, the structural parameters of the heat exchanger device, and the environmental parameters of the environment in which the heat exchanger device is located.

[0125] The collection module 21 is used to collect historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments.

[0126] The training module 22 is used to extract features from the historical energy consumption data, group them into heat exchanger equipment data groups, and use all the heat exchanger equipment data groups to train an isolation forest model.

[0127] The scoring module 23 is used to perform anomaly scoring on each sample in the historical energy consumption data according to the trained isolation forest model.

[0128] The setting module 24 is used to set the risk threshold according to the abnormal scoring results of all samples.

[0129] The early warning module 25 is used to evaluate the abnormal score of the heat exchanger equipment in real time according to the trained isolation forest model in combination with the fluid parameters and the structural parameters, and send an early warning notification if the abnormal score of the heat exchanger equipment is greater than the risk threshold.

[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the early warning system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0131] Compared with the prior art, the embodiment of the present invention provides an energy consumption early warning system based on heat exchanger equipment, which screens out the historical energy consumption data of other equipment with similar characteristics to the target heat exchanger equipment, and then considers the heat exchange efficiency, and integrates the influence of environmental parameters (such as ambient temperature, atmospheric pressure, air humidity, etc.), as well as equipment operating conditions (such as load), to construct a more comprehensive working environment feature vector, form a comprehensive and targeted heat exchanger equipment data group, and use all heat exchanger equipment data groups to train an isolated forest model, and obtain an isolated forest model with higher accuracy after training. Finally, combined with real-time fluid parameters and structural parameters, the current state of the equipment is dynamically evaluated, and the real-time nature of energy consumption early warning is realized, which helps to timely discover potential operating risks and ensure the safe and stable operation of the equipment.

[0132] To summarize, the embodiments of the present invention effectively improve the accuracy, real-time and reliability of energy consumption warning of heat exchanger equipment through refined data processing, feature engineering optimization, intelligent initialization of model parameters, dynamic risk threshold setting and other means, and solve the problems of inaccurate evaluation and delayed warning that may exist in the prior art.

[0133] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, it controls the device where the computer-readable storage medium is located to execute the energy consumption warning method for the heat exchanger device as described above.

[0134] An embodiment of the present invention further provides a terminal device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the energy consumption warning method for the heat exchanger device as described above when executing the computer program.

[0135] Preferably, the computer program can be divided into one or more modules / units (such as computer program, computer program), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.

[0136] The processor may be a central processing unit (CPU), or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor. The processor is the control center of the terminal device, and various parts of the terminal device are connected using various interfaces and lines.

[0137] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, and a flash card (Flash Card), etc., or the memory can also be other volatile solid-state storage devices.

[0138] It should be noted that the above-mentioned terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the above-mentioned terminal device is merely an example and does not constitute a limitation on the terminal device. It may include more or fewer components, or a combination of certain components, or different components.

[0139] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An energy consumption early warning method based on heat exchanger equipment, characterized in that: include: Acquiring parameters of fluids entering and exiting a heat exchanger device, structural parameters of the heat exchanger device, and environmental parameters of an environment in which the heat exchanger device is located; Collect historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device at different heat exchange efficiencies and under different working environments; Perform feature extraction on the historical energy consumption data to obtain multiple groups of heat exchanger equipment data groups, and use all the heat exchanger equipment data groups to train an isolation forest model; According to the trained isolation forest model, anomaly scoring is performed on each sample in the historical energy consumption data; Set risk thresholds based on the abnormal scoring results of all samples in the historical energy consumption data; According to the trained isolation forest model, in combination with the fluid parameters and the structural parameters, the anomaly score of the heat exchanger device is evaluated in real time, and if the anomaly score of the heat exchanger device is greater than the risk threshold, an early warning notification is sent; Before collecting historical energy consumption data of other heat exchangers of the same type as the heat exchanger device at different heat exchange efficiencies and under different working environments, it also includes: Determining an effective heat exchange area and an overall heat transfer coefficient of the heat exchanger device according to structural parameters of the heat exchanger device; If the difference between the effective heat exchange area of ​​the other heat exchanger device and the heat exchanger device is less than a first threshold, and the difference between the overall heat transfer coefficient of the heat exchanger device and the heat exchanger device is less than a second threshold, the heat exchanger device is regarded as another heat exchanger device of the same type as the heat exchanger device; Collect historical energy consumption data of other heat exchangers of the same type as the heat exchanger under different heat exchange efficiencies and under different working environments, including: Calculating the heat exchange efficiency of other heat exchangers of the same type as the heat exchanger according to the heat exchange area, overall heat transfer coefficient and logarithmic mean temperature difference of other heat exchangers of the same type as the heat exchanger; Collect and count the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchangers on each operating day over a period of time; According to the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchanger devices in each operating day during the period, the working environment characteristic vectors of other heat exchanger devices are obtained; Collecting energy consumption values ​​of other heat exchanger devices of the same type as the heat exchanger device at different heat exchange efficiencies and different working environment characteristic vectors; The working environment feature vectors of other heat exchangers are obtained according to the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchangers on each operating day during the period of time, specifically including: According to the recursive feature elimination method, one statistic is removed from the four statistics of average ambient temperature, average atmospheric pressure, average air humidity and average load, and the remaining three statistics are used as the first dimension, second dimension and third dimension of the working environment feature vector in descending order according to their correlation with the energy consumption of other heat exchanger equipment of the same type.

2. The energy consumption early warning method of the heat exchanger equipment according to claim 1, characterized in that: After collecting the energy consumption values ​​of other heat exchangers of the same type as the heat exchanger under different heat exchange efficiencies and different working environment characteristics, it also includes: If the cosine distance between the working environment characteristic vectors of two other heat exchanger devices is less than a preset distance, the energy consumption value of one of the other heat exchanger devices is selected for deletion; the preset distance is equal to the weighted average sum of the three ratios of the heat exchange area ratio, the overall heat transfer coefficient ratio and the logarithmic mean temperature difference ratio of the two other heat exchanger devices.

3. The energy consumption early warning method of the heat exchanger equipment according to claim 1, characterized in that: The feature extraction of the historical energy consumption data may be performed to obtain multiple heat exchanger equipment data groups, and the isolation forest model is trained with all the heat exchanger equipment data groups, specifically including: Extract the historical energy consumption data to obtain energy consumption average, energy consumption peak, energy consumption trend, and energy consumption timestamp; The mean energy consumption, peak energy consumption, heat exchange efficiency, modulus of the working environment feature vector, workload, energy consumption trend, values ​​of each dimension of the working environment feature vector, and energy consumption timestamp are taken as a column of a two-dimensional array in turn to obtain a heat exchanger equipment data group, and the isolation forest model is trained using all the heat exchanger equipment data groups.

4. The energy consumption early warning method for heat exchanger equipment according to claim 1, characterized in that: The method of training the isolation forest model with all heat exchanger equipment data sets specifically includes: When initializing the isolation forest model parameters, the number of trees of the isolation forest model is set to the date span of the historical energy consumption data, and the pollution rate of the isolation forest model is set to the heat exchange efficiency of the heat exchanger device.

5. The energy consumption early warning method for heat exchanger equipment according to claim 1, characterized in that: The risk threshold is set according to the abnormal scoring results of all samples in the historical energy consumption data, specifically including: Convert the abnormal scoring results of all samples into a scoring distribution curve; Calculate the slope of each point in the score distribution curve; Take any two points on the score distribution curve. If the difference between the slope of the previous point and the slope of the next point is greater than the preset slope threshold, the previous point is used as the natural dividing point of the score distribution curve, and the abnormal score value corresponding to the natural dividing point is used as the risk threshold.

6. The energy consumption early warning method for heat exchanger equipment according to claim 1, characterized in that: The method of evaluating the abnormality score of the heat exchanger device in real time based on the trained isolation forest model and in combination with the fluid parameters and the structural parameters specifically includes: According to the fluid parameters and the structural parameters, a two-dimensional array of heat exchanger equipment including average energy consumption, peak energy consumption, heat exchange efficiency, module value of a working environment characteristic vector, workload, energy consumption trend, values ​​of each dimension of the working environment characteristic vector and energy consumption timestamp is obtained; The two-dimensional array of the heat exchanger equipment is input into the trained isolation forest model to obtain anomaly scores of the heat exchanger equipment.

7. An energy consumption early warning system based on heat exchanger equipment, characterized in that: include: An acquisition module, used to acquire fluid parameters entering and exiting a heat exchanger device, structural parameters of the heat exchanger device, and environmental parameters of an environment in which the heat exchanger device is located; A collection module, used to collect historical energy consumption data of other heat exchanger devices of the same type as the heat exchanger device under different heat exchange efficiencies and different working environments; A training module is used to extract features from the historical energy consumption data, to group the data into heat exchanger equipment data groups, and to train an isolation forest model using all the heat exchanger equipment data groups; A scoring module, used for performing anomaly scoring on each sample in the historical energy consumption data according to the trained isolation forest model; The setting module is used to set the risk threshold according to the abnormal scoring results of all samples; An early warning module is used to evaluate the abnormal score of the heat exchanger device in real time according to the trained isolation forest model in combination with the fluid parameters and the structural parameters, and send an early warning notification if the abnormal score of the heat exchanger device is greater than a risk threshold; Before collecting historical energy consumption data of other heat exchangers of the same type as the heat exchanger device at different heat exchange efficiencies and under different working environments, it also includes: Determining an effective heat exchange area and an overall heat transfer coefficient of the heat exchanger device according to structural parameters of the heat exchanger device; If the difference between the effective heat exchange area of ​​the other heat exchanger device and the heat exchanger device is less than a first threshold, and the difference between the overall heat transfer coefficient of the heat exchanger device and the heat exchanger device is less than a second threshold, the heat exchanger device is regarded as another heat exchanger device of the same type as the heat exchanger device; Collect historical energy consumption data of other heat exchangers of the same type as the heat exchanger under different heat exchange efficiencies and under different working environments, including: Calculating the heat exchange efficiency of other heat exchangers of the same type as the heat exchanger according to the heat exchange area, overall heat transfer coefficient and logarithmic mean temperature difference of other heat exchangers of the same type as the heat exchanger; Collect and count the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchangers on each operating day over a period of time; According to the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchanger devices in each operating day during the period, the working environment characteristic vectors of other heat exchanger devices are obtained; Collecting energy consumption values ​​of other heat exchanger devices of the same type as the heat exchanger device at different heat exchange efficiencies and different working environment characteristic vectors; The working environment feature vectors of other heat exchangers are obtained according to the average ambient temperature, average atmospheric pressure, average air humidity and average load of other heat exchangers on each operating day during the period of time, specifically including: According to the recursive feature elimination method, one statistic is removed from the four statistics of average ambient temperature, average atmospheric pressure, average air humidity and average load, and the remaining three statistics are used as the first dimension, second dimension and third dimension of the working environment feature vector in descending order according to their correlation with the energy consumption of other heat exchanger equipment of the same type.

Citation Information

Patent Citations

  • Anomaly-Transform photovoltaic power generation anomaly detection method

    CN117972419A