Energy management method, device and medium based on graph convolutional neural network

Processing production data through graph convolutional neural network, optimizing energy dispatching solutions solves the shortcomings of traditional power dispatching models in power dispatching and energy conservation and emission reduction, and achieves more efficient and environmentally friendly energy management.

CN118504931BActive Publication Date: 2024-10-15INSPUR GENERSOFT CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The traditional power dispatching model has deficiencies in power dispatching time zone control and energy conservation and emission reduction, which makes it difficult to improve power supply efficiency and stability, leads to serious energy waste and environmental pollution problems, and makes it difficult to adapt to complex and changing energy management needs.

Method used

An energy management method based on graph convolutional neural network is adopted to obtain and preprocess production data, calculate the degree of dependence between production data, use graph convolutional neural network to extract features, introduce an attention mechanism to optimize the energy scheduling plan, and allocate energy reasonably. to reduce waste.

Benefits of technology

It improves the accuracy and pertinence of energy dispatch, reduces energy waste and production costs, relieves power grid load pressure, improves energy utilization efficiency, and supports efficient and environmentally friendly energy management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504931B_ABST
    Figure CN118504931B_ABST
Patent Text Reader

Abstract

The present invention discloses an energy management method, device and medium based on a graph convolutional neural network, which belongs to the field of data processing technology specifically suitable for management purposes, and is used to solve the problem that the traditional power dispatching mode affects the efficiency and stability of power supply, aggravates energy waste and environmental pollution. The method includes: obtaining production data associated with production behavior in a preset data set and preprocessing the production data to obtain standard production data; calculating the degree of dependence between each two production data in different production data by the Pearson correlation coefficient to generate a dependency matrix corresponding to the production data; extracting the eigenvectors in the dependency matrix by a graph convolutional neural network and preprocessing them to generate a preliminary energy dispatching plan according to the preprocessed eigenvectors; introducing an attention mechanism in the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and optimizing the energy dispatching plan based on the probability of electricity consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology specifically suitable for management purposes, and in particular to an energy management method, device and medium based on a graph convolutional neural network. Background Art

[0002] At present, with the continuous development and progress of science and technology, modern manufacturing has ushered in earth-shaking changes. High-precision, automatic control, and green environmentally friendly production equipment has gradually become the mainstream. The widespread application of these equipment has unprecedentedly improved the production efficiency of the manufacturing industry, and the production process has become more standardized and efficient. However, this technological leap has not only promoted the development of the manufacturing industry, but also put forward higher requirements for the energy management system behind it.

[0003] In order to meet the growing production needs and ensure the smoothness of the production process, the energy management system must have a higher response speed and accuracy. In addition, as the manufacturing industry deepens its practice of the concept of energy conservation and emission reduction, more and more companies are beginning to adopt environmentally friendly and efficient high-tech equipment to reduce energy consumption and environmental pollution. This trend requires the energy management system to be able to more finely control the distribution and use of energy to ensure that while meeting production needs, it can minimize energy consumption and waste emissions.

[0004] However, the traditional power dispatching model still seems to be inadequate in terms of technical application. Most of these models rely on experience and judgment, but lack scientific and accurate data support, which makes it difficult to improve the accuracy of power dispatching and often leads to resource waste. From a technical perspective, the traditional power dispatching model has obvious deficiencies in the control of power dispatching time zones. Due to the lack of advanced data analysis technology and accurate prediction models, these models often find it difficult to accurately match power demand and supply. This mismatch not only affects the stability and reliability of power supply, but also leads to energy waste to a certain extent.

[0005] What is more serious is that the performance of the traditional power dispatching model in energy conservation and emission reduction is also unsatisfactory. With the increasing severity of global warming, energy conservation and emission reduction is no longer just a slogan, but has become an urgent problem that the whole society must face and solve together. However, due to the lack of effective energy-saving technologies and means in the traditional power dispatching model, its efficiency in energy utilization is often low. Especially in the manufacturing industry, a field with huge energy consumption, with the expansion of production scale and the upgrading of production equipment, the demand for electricity has shown a rapid growth trend. This growth has brought huge challenges to energy management, especially in power dispatching. Due to its inherent limitations and shortcomings, the traditional power dispatching model has been difficult to adapt to the current complex and changing energy management needs. Summary of the invention

[0006] The embodiments of the present invention provide an energy management method, device and medium based on a graph convolutional neural network, which are used to solve the problems of the traditional power dispatching mode in terms of technical application, power dispatching time zone control, energy conservation and emission reduction, which not only affects the efficiency and stability of power supply, but also aggravates the technical problems of energy waste and environmental pollution.

[0007] On the one hand, an embodiment of the present invention provides an energy management method based on a graph convolutional neural network, comprising:

[0008] Acquire production data associated with the production behavior in a preset data set, and pre-process the production data to obtain standard production data;

[0009] Calculate the degree of dependence between every two production data in different production data by using the Pearson correlation coefficient to generate a dependence matrix corresponding to the production data;

[0010] Extracting features from the dependency matrix through a graph convolutional neural network, and preprocessing the extracted feature vectors to generate a preliminary energy scheduling plan based on the preprocessed feature vectors;

[0011] An attention mechanism is introduced into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and based on the electricity consumption probability, the energy scheduling plan is optimized.

[0012] In an implementation of the present invention, the calculation of the degree of dependence between every two production data in different production data by using the Pearson correlation coefficient specifically includes:

[0013] Determine the data type corresponding to the production data; wherein the data type of the production data includes available production lines, available workers, production quantity, production type, deadline and production time;

[0014] For each two production data of different data types, performing dependency analysis on the two different production data, and determining a covariance and a standard deviation between the two different production data, and a quotient of the covariance and the standard deviation;

[0015] The quotient of the covariance and the standard deviation is used as the Pearson correlation coefficient between the two different production data, and the degree of dependence between the two different production data is determined based on the Pearson correlation coefficient.

[0016] In an implementation of the present invention, generating a dependency matrix corresponding to the production data specifically includes:

[0017] Determine the Pearson correlation coefficient between each two different production data among available production lines, available workers, production quantity, production type, deadline and production time, and construct a two-dimensional array corresponding to the data type;

[0018] In the two-dimensional array, respectively determine the array element position corresponding to the Pearson correlation coefficient between each two different production data, and fill the array element position corresponding to the value of the Pearson correlation coefficient to generate a dependency matrix;

[0019] Each element in the dependency matrix is ​​used to represent the degree of dependency between two different production data.

[0020] In one implementation of the present invention, the dependency matrix is ​​subjected to feature extraction by a graph convolutional neural network, and the extracted feature vector is preprocessed to generate a preliminary energy scheduling plan according to the preprocessed feature vector, specifically including:

[0021] Using the dependency matrix as an adjacency matrix of a graph convolutional neural network, and inputting the adjacency matrix into the graph convolutional neural network;

[0022] Performing feature extraction on the input adjacency matrix through the convolution layer in the graph convolutional neural network to obtain a plurality of feature vectors;

[0023] Performing edge prediction, node classification, and graph classification processing on the plurality of feature vectors to identify key features and relationships between features in the plurality of feature vectors;

[0024] Through the output layer of the graph convolutional neural network and based on the key features and the relationships between the features, a preliminary energy scheduling plan is generated.

[0025] In one implementation of the present invention, the graph convolutional neural network is represented by the following formula:

[0026]

[0027] in, Used to represent the output of the graph convolutional neural network, Used to represent the input of the graph convolutional neural network, Used to represent the adjacency matrix, Used to represent the node features of the 0th layer of the graph convolutional neural network, Used to represent the graph convolutional neural network The node features of the layer, ReLU is used to represent the activation function.

[0028] In one implementation of the present invention, the attention mechanism is introduced into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and based on the electricity consumption probability, specifically including:

[0029] According to the power consumption characteristics of the power system, a day is divided into peak period, flat period and valley period, and an attention mechanism is introduced into the graph convolutional neural network to assign corresponding attention weights to each period;

[0030] Obtain historical electricity consumption data to calculate the electricity consumption probability corresponding to each time period based on the historical electricity consumption data and current production data and through the attention mechanism; wherein the electricity consumption probability of the peak time period is greater than the electricity consumption probability of the average time period, and the electricity consumption probability of the average time period is greater than the electricity consumption probability of the valley time period.

[0031] In an implementation of the present invention, the optimizing the energy scheduling scheme based on the power usage probability specifically includes:

[0032] Based on the probability of electricity consumption in each time period, the energy allocation amount of the corresponding time period in the energy scheduling plan is adjusted to increase the energy allocation amount corresponding to the peak time period;

[0033] The adjusted energy allocation amount for each time period is determined, and a target energy scheduling scheme is generated according to the adjusted energy allocation amount, so as to perform energy management according to the target energy scheduling scheme.

[0034] In an implementation of the present invention, obtaining production data associated with production behavior in a preset data set and preprocessing the production data to obtain standard production data specifically includes:

[0035] Obtain the production data corresponding to each production line in the production site, and integrate all the production data corresponding to all production lines to obtain the corresponding data set;

[0036] Analyzing the production data in the data set to extract a number of key production data associated with the production behavior, and performing data cleaning on the several key production data to remove abnormal values ​​and duplicate values ​​in the several key production data;

[0037] The missing values ​​in the key production data after the outliers and duplicate values ​​are removed are filled with null values, and the multiple key production data after the outliers, duplicate values ​​and null values ​​are removed are normalized to obtain standard production data.

[0038] On the other hand, an embodiment of the present invention further provides an energy management device based on a graph convolutional neural network, the device comprising:

[0039] at least one processor;

[0040] and, a memory communicatively coupled to the at least one processor;

[0041] Among them, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute an energy management method based on a graph convolutional neural network as described above.

[0042] On the other hand, an embodiment of the present invention further provides a non-volatile computer storage medium storing computer executable instructions, which, when executed, implement an energy management method based on a graph convolutional neural network as described above.

[0043] The embodiments of the present invention provide an energy management method, device and medium based on graph convolutional neural network, which at least have the following beneficial effects:

[0044] By preprocessing the production data, the accuracy and consistency of the data can be ensured, providing a high-quality data foundation for subsequent data analysis and energy management. Data standardization helps to improve the training efficiency and accuracy of the graph convolutional neural network. The Pearson correlation coefficient is used to calculate the degree of dependence between production data, which can accurately reveal the intrinsic connection between different production data. By extracting features from the dependency matrix through the graph convolutional neural network, the key information in the data can be efficiently captured, providing strong data support for generating preliminary energy scheduling plans, and it is more automated and efficient than traditional manual feature extraction methods. Based on the preprocessed feature vector, a preliminary energy scheduling plan is generated, which can flexibly adjust the scheduling strategy according to actual conditions to better meet production needs. The introduction of the attention mechanism in the graph convolutional neural network can make the model pay more attention to important time periods and electricity consumption characteristics, which helps to improve the accuracy and pertinence of the energy scheduling plan, especially to reasonably allocate energy during peak and trough periods of electricity consumption. Optimizing the energy scheduling plan based on the probability of electricity consumption can significantly improve the efficiency of energy use. By reasonably allocating energy in different time periods, it can reduce energy waste and production costs, and also help to alleviate the load pressure on the power grid. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0046] Figure 1 A schematic diagram of a flow chart of an energy management method based on a graph convolutional neural network provided in an embodiment of the present invention;

[0047] Figure 2 A schematic diagram of the internal structure of an energy management device based on a graph convolutional neural network provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. 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 making creative work are within the scope of protection of the present invention.

[0049] The embodiments of the present invention provide an energy management method, device and medium based on a graph convolutional neural network, which solves the problems of the traditional power dispatching mode in terms of technical application, power dispatching time zone control, energy conservation and emission reduction, which not only affects the efficiency and stability of power supply, but also aggravates the technical problems of energy waste and environmental pollution.

[0050] The technical solutions provided by various embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0051] Figure 1 A schematic diagram of a flow chart of an energy management method based on a graph convolutional neural network provided in an embodiment of the present invention.

[0052] The analysis method involved in the embodiment of the present invention may be implemented by a terminal device or a server, and the present invention does not impose any special restrictions on this. For the convenience of understanding and description, the following embodiments are described in detail by taking a server as an example.

[0053] It should be noted that the server may be a single device or a system composed of multiple devices, that is, a distributed server, and the present invention does not make any specific limitation on this.

[0054] like Figure 1 As shown, an energy management method based on a graph convolutional neural network provided by an embodiment of the present invention includes:

[0055] 101. Acquire production data associated with production behavior in a preset data set, and pre-process the production data to obtain standard production data.

[0056] Specifically, in one embodiment of the present invention, the server obtains the production data corresponding to each production line in the production site, and integrates all the production data corresponding to all the production lines to obtain the corresponding data set; analyzes the production data in the data set to extract several key production data associated with the production behavior, and performs data cleaning on several key production data to remove abnormal values ​​and duplicate values ​​in several key production data; performs null value filling on the missing values ​​in the key production data after removing abnormal values ​​and duplicate values, and normalizes the multiple key production data after removing abnormal values, duplicate values ​​and null value filling to obtain standard production data. In this way, the production data can be uniformly mapped to a specific range, thereby eliminating the dimensional differences between different features, ensuring that each feature has the same weight in the calculation, and ensuring that the convergence speed of the subsequent graph convolutional neural network training is accelerated.

[0057] In one embodiment, at a production site of a large manufacturing enterprise, there are multiple production lines, each of which continuously generates various production data. In order to effectively manage energy, the enterprise decides to adopt an energy management method based on graph convolutional neural network.

[0058] First, the company obtains a large amount of production data from sensors and monitoring systems on various production lines. This data includes the operating status of the production line, raw material consumption, energy consumption, product output and quality, etc. Then, the company integrates the production data from different production lines to form a huge data set.

[0059] Next, the company conducted an in-depth analysis of the data set. Through analysis, the company found that certain data was highly correlated with production behavior, such as production line operation time, energy consumption, product qualification rate, etc. These data were identified as key production data. However, there were some outliers and duplicate values ​​in these key production data, which may be caused by sensor failure, data transmission errors, or repeated records. In order to ensure the accuracy and reliability of the data, the data was cleaned to remove the outliers and duplicate values.

[0060] After data cleaning, it was found that some key production data contained missing values. In order not to affect subsequent data analysis and energy management decisions, these missing values ​​need to be filled with null values. The filling method is to estimate based on the historical average or median of the data and replace the missing values.

[0061] Finally, to ensure that all data are compared and analyzed on the same scale, all key production data are normalized. The normalization method is to subtract the minimum value from each data point and then divide it by the data range, which is the difference between the maximum and minimum values, so that all data are mapped to the range of 0 to 1.

[0062] 102. The degree of dependence between every two production data in different production data is calculated through the Pearson correlation coefficient to generate a dependence matrix corresponding to the production data.

[0063] Specifically, the server determines the data type corresponding to the production data. It should be noted that the data type of the production data in the embodiment of the present invention includes available production lines, available workers, production quantity, production type, deadline and production time.

[0064] For every two production data of different data types, the server performs a dependency analysis on the two different production data, and determines the covariance and standard deviation between the two different production data, as well as the quotient of the covariance and the standard deviation; the quotient of the covariance and the standard deviation is used as the Pearson correlation coefficient between the two different production data, and based on the Pearson correlation coefficient, the degree of dependence between the two different production data is determined.

[0065] In one embodiment, in an automobile parts manufacturing plant, managers need to understand the dependencies between different production data in order to optimize the production process and improve production efficiency. To this end, the key data types of production data are first determined, including available production lines, available workers, production quantity, production type, deadline, and production time.

[0066] Next, we analyze the dependencies between these data types. We first selected "Available production lines" and "Production quantity" as the first set of analysis objects. By collecting historical data for these two data types, we calculated the covariance and standard deviation between the two. The covariance measures how "Available production lines" and "Production quantity" change together, while the standard deviation reflects the magnitude of change in each data type itself.

[0067] Then, the quotient of the covariance and the standard deviation is calculated, and this value is called the Pearson correlation coefficient. This coefficient describes the strength and direction of the linear relationship between "available production lines" and "production quantity". If the coefficient is close to 1, it means there is a strong positive correlation between the two; if it is close to -1, it means there is a strong negative correlation; if it is close to 0, it means there is almost no linear relationship between the two.

[0068] The Pearson correlation coefficient between "available production lines" and "production quantity" is high and positively correlated, which means that when the available production lines increase, the production quantity also tends to increase. This finding is crucial for the factory's production planning because it shows that when adding production lines to increase production capacity, the production plan also needs to be adjusted accordingly to meet the increased production demand.

[0069] In one example, in an electronic product manufacturing company, in order to improve production efficiency and respond to market demand, the company needs to deeply optimize the production process. To this end, the company's data analysis team began to analyze the dependencies between production data. First, the data types that need to be analyzed were clarified, including available workers, production types, and production time, and the team hoped to find the key points to improve production efficiency and flexibility by analyzing the relationship between these data.

[0070] When analyzing the relationship between “available workers” and “production type”, the covariance and standard deviation of the two data types were calculated, and the Pearson correlation coefficient between the two production data was obtained. The results showed that there was a moderate positive correlation between the two, indicating that when the number of available workers increased, companies tended to produce a wider variety of products.

[0071] Next, we analyzed the relationship between "production type" and "production time". By calculating the Pearson correlation coefficient, we found that there is a weak negative correlation between the two. This may mean that the production time required for producing different types of products will be different, but the relationship is not strong. At the same time, it is necessary to further optimize the production process of different types of products to reduce the difference in production time and improve overall production efficiency.

[0072] In one embodiment of the present invention, the Pearson correlation coefficient between each two different production data among available production lines, available workers, production quantity, production type, deadline and production time is determined, and a two-dimensional array corresponding to the data type is constructed; in the two-dimensional array, the array element position corresponding to the Pearson correlation coefficient between each two different production data is determined respectively, and the array element position corresponding to the Pearson correlation coefficient fill value is filled to generate a dependency matrix. It should be noted that each element in the dependency matrix in the embodiment of the present invention is used to represent the degree of dependency between the corresponding two different production data.

[0073] In one embodiment, in a furniture manufacturing company, in order to optimize the production process and improve production efficiency, the company decided to conduct an in-depth analysis of its production data, especially to explore the dependencies between different production data. To this end, the company introduced a method based on the Pearson correlation coefficient to analyze the production data.

[0074] First, the key types of production data were identified, including available production lines, available workers, production quantity, production type, deadline, and production time. Next, the Pearson correlation coefficient between each two different production data was calculated using historical data. For example, the correlation coefficients between available production lines and production quantity, available workers and production time, etc. were calculated. These correlation coefficients reveal the degree of linear association between different data.

[0075] Then, a two-dimensional array is constructed, whose rows and columns correspond to the data types determined above. In this two-dimensional array, each element position represents the Pearson correlation coefficient between a pair of specific production data. For example, an element in the array may represent the correlation coefficient between available production lines and production quantity. After determining the structure of the two-dimensional array, the calculated Pearson correlation coefficient is filled into the corresponding array element position, thereby gradually constructing a complete dependency matrix, which intuitively shows the degree of dependency between different production data.

[0076] Through this dependency matrix, the company can clearly identify which production data have strong dependencies and which data have weak correlations. This insight is crucial for optimizing production processes. For example, if the matrix shows a strong positive correlation between available production lines and production quantity, the company may consider increasing production quantity when line utilization is high to maximize production efficiency.

[0077] 103. The dependency matrix is ​​feature extracted through graph convolutional neural network, and the extracted feature vector is preprocessed to generate a preliminary energy scheduling plan based on the preprocessed feature vector.

[0078] Specifically, the server uses the dependency matrix as the adjacency matrix of the graph convolutional neural network and inputs the adjacency matrix into the graph convolutional neural network; performs feature extraction on the input adjacency matrix through the convolutional layer in the graph convolutional neural network to obtain a number of feature vectors; performs edge prediction, node classification and graph classification on the several feature vectors to identify the key features and the relationships between the features in the several feature vectors; and generates a preliminary energy scheduling plan through the output layer of the graph convolutional neural network and based on the key features and the relationships between the features.

[0079] In one embodiment, in an energy management system of a large industrial park, in order to develop a more accurate and efficient energy scheduling plan, managers decided to use a graph convolutional neural network (GCN) to process and analyze the dependencies between production data. First, a dependency matrix has been calculated based on historical production data, which reflects the degree of dependency between different production data. Now, this dependency matrix is ​​input into the network as the adjacency matrix of the graph convolutional neural network.

[0080] Next, the convolutional layer in the graph convolutional neural network is used to extract features from the input adjacency matrix. The convolutional layer can automatically learn the spatial structure and feature information in the matrix, thereby extracting several feature vectors. These feature vectors capture the complex relationship between production data. These feature vectors are then processed by edge prediction, node classification, and graph classification. Edge prediction helps identify possible hidden relationships between feature vectors; node classification is used to identify which features are more important in the production process; and graph classification provides a global perspective on the entire production network, thereby identifying key features and the relationship between features.

[0081] Finally, based on these key features and the relationships between them, the output layer of the graph convolutional neural network generates a preliminary energy scheduling plan, which takes into account the dependencies between various links in the production process and ensures efficient allocation of energy among them.

[0082] In one embodiment of the present invention, the graph convolutional neural network is represented by the following formula:

[0083]

[0084] It should be noted that in the embodiments of the present invention Used to represent the output of graph convolutional neural network, Used to represent the input of the graph convolutional neural network, Used to represent the adjacency matrix, Used to represent the node features of the 0th layer of the graph convolutional neural network, Used to represent graph convolutional neural networks The node features of the layer, ReLU is used to represent the activation function.

[0085] 104. Introduce the attention mechanism into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and optimize the energy scheduling plan based on the probability of electricity consumption.

[0086] Specifically, the server divides a day into peak period, flat period and valley period according to the power consumption characteristics of the power system, and introduces an attention mechanism in the graph convolutional neural network to assign corresponding attention weights to each period; obtains historical power consumption data to calculate the power consumption probability corresponding to each period based on the historical power consumption data and current production data, and through the attention mechanism. It should be noted that the power consumption probability of the peak period in the embodiment of the present invention is greater than the power consumption probability of the flat period, and the power consumption probability of the flat period is greater than the power consumption probability of the valley period.

[0087] In one embodiment, in a manufacturing company with its own power system, in order to better manage energy and optimize costs, the company introduced an energy management method based on graph convolutional neural networks, and in this method, the power consumption characteristics of the power system were specially considered. First, according to the historical power consumption data and the characteristics of the power system, the 24 hours of a day are divided into three periods: peak period, flat period and valley period. The peak period is usually during the daytime working hours, when the power consumption is the highest; the flat period is a period when the power consumption is relatively stable; and the valley period is at night or on weekends, when the power consumption is relatively low.

[0088] Next, the attention mechanism was introduced into its graph convolutional neural network. The core idea of ​​this mechanism is to assign different attention weights to different time periods. During peak hours, due to high power consumption, higher attention weights are assigned; during valley hours, power consumption is low, so the assigned attention weights are relatively low.

[0089] In order to more accurately predict the electricity demand in each time period, it is necessary to obtain a large amount of historical electricity consumption data, and combine it with the current production data to calculate the corresponding electricity consumption probability for each time period through the attention mechanism. Since the electricity consumption in the peak period is high, its electricity consumption probability is correspondingly higher than that in the flat period and valley period. Similarly, the electricity consumption probability in the flat period is also higher than that in the valley period. This can more accurately predict the electricity demand in each time period and optimize its energy scheduling plan based on the prediction results. For example, increase the supply of electricity during the peak period to ensure the stable operation of the production line; and reduce the supply of electricity during the valley period to save costs.

[0090] In one embodiment of the present invention, based on the probability of electricity consumption in each time period, the energy allocation amount of the corresponding time period in the energy scheduling plan is adjusted to increase the energy allocation amount corresponding to the peak period; the adjusted energy allocation amount for each time period is determined, and based on the adjusted energy allocation amount, a target energy scheduling plan is generated to perform energy management according to the target energy scheduling plan.

[0091] In one example, in a large steel production enterprise, energy management is a key link to achieve efficient and environmentally friendly production. In order to optimize energy distribution and improve energy utilization efficiency, the enterprise adopts an energy scheduling scheme adjustment method based on power consumption probability. First, the power consumption probability of each time period (peak period, flat period, valley period) has been calculated through graph convolutional neural network and attention mechanism, which reflects the high and low power demand in each time period.

[0092] Next, the original energy scheduling plan was adjusted based on these power consumption probabilities. During peak hours, the energy allocation during this period was increased due to the higher power consumption probability to ensure the stable operation of the production line and meet the peak power demand. This adjustment is intended to avoid energy shortages during peak power demand periods, thereby ensuring production continuity and efficiency.

[0093] For the flat and valley periods, the energy allocation is reduced accordingly based on the probability of electricity consumption. This adjustment helps reduce energy waste, improve energy efficiency, and reduce production costs to a certain extent. After determining the adjusted energy allocation for each period, the corresponding target energy scheduling plan can be generated. This plan takes into account the electricity demand and energy allocation for each period, aiming to achieve the optimal configuration of energy. Finally, energy management is performed according to the target energy scheduling plan. By real-time monitoring and adjustment of energy supply, enterprises ensure the stability and efficiency of the production process while reducing energy waste and environmental pollution.

[0094] The above is an embodiment of the method proposed by the present invention. Based on the same inventive concept, the embodiment of the present invention also provides an energy management device based on a graph convolutional neural network, whose structure is as follows Figure 2 shown.

[0095] Figure 2 A schematic diagram of the internal structure of an energy management device based on a graph convolutional neural network provided by an embodiment of the present invention. Figure 2 As shown, the device includes:

[0096] at least one processor;

[0097] and, a memory communicatively coupled to the at least one processor;

[0098] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the at least one processor to:

[0099] Acquire production data associated with production behavior in a preset data set, and pre-process the production data to obtain standard production data;

[0100] The degree of dependence between every two production data in different production data is calculated by using the Pearson correlation coefficient to generate a dependence matrix corresponding to the production data;

[0101] The dependency matrix is ​​feature extracted through a graph convolutional neural network, and the extracted feature vector is preprocessed to generate a preliminary energy scheduling plan based on the preprocessed feature vector;

[0102] An attention mechanism is introduced into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and based on the probability of electricity consumption, the energy scheduling plan is optimized.

[0103] The embodiment of the present invention further provides a non-volatile computer storage medium storing computer executable instructions, which when executed can:

[0104] Acquire production data associated with production behavior in a preset data set, and pre-process the production data to obtain standard production data;

[0105] The degree of dependence between every two production data in different production data is calculated by using the Pearson correlation coefficient to generate a dependence matrix corresponding to the production data;

[0106] The dependency matrix is ​​feature extracted through a graph convolutional neural network, and the extracted feature vector is preprocessed to generate a preliminary energy scheduling plan based on the preprocessed feature vector;

[0107] An attention mechanism is introduced into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and based on the probability of electricity consumption, the energy scheduling plan is optimized.

[0108] The various embodiments of the present invention are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0109] The above describes specific embodiments of the present invention. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0110] The devices and media provided in the embodiments of the present invention correspond one-to-one to the methods, and therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0111] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

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

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

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

[0115] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0116] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0117] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0118] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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 process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0119] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. An energy management method based on graph convolutional neural network, characterized in that: The method comprises: Acquire production data associated with the production behavior in a preset data set, and pre-process the production data to obtain standard production data; Calculate the degree of dependence between every two production data in different production data by using the Pearson correlation coefficient to generate a dependence matrix corresponding to the production data; Extracting features from the dependency matrix through a graph convolutional neural network, and preprocessing the extracted feature vectors to generate a preliminary energy scheduling plan based on the preprocessed feature vectors; Introducing an attention mechanism into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, and optimizing the energy scheduling scheme based on the electricity consumption probability; The Pearson correlation coefficient is used to calculate the degree of dependence between each two production data in different production data, specifically including: Determine the data type corresponding to the production data; wherein the data type of the production data includes available production lines, available workers, production quantity, production type, deadline and production time; For each two production data of different data types, performing dependency analysis on the two different production data, and determining a covariance and a standard deviation between the two different production data, and a quotient of the covariance and the standard deviation; taking the quotient of the covariance and the standard deviation as the Pearson correlation coefficient between the two different production data, and determining the degree of dependence between the two different production data according to the Pearson correlation coefficient; The generating of the dependency matrix corresponding to the production data specifically includes: Determine the Pearson correlation coefficient between each two different production data among available production lines, available workers, production quantity, production type, deadline and production time, and construct a two-dimensional array corresponding to the data type; In the two-dimensional array, respectively determine the array element position corresponding to the Pearson correlation coefficient between each two different production data, and fill the array element position corresponding to the value of the Pearson correlation coefficient to generate a dependency matrix; Wherein, each element in the dependency matrix is ​​used to represent the dependency degree between two different production data; The attention mechanism is introduced into the graph convolutional neural network to determine the probability of electricity consumption in different time periods, specifically including: According to the power consumption characteristics of the power system, a day is divided into peak period, flat period and valley period, and an attention mechanism is introduced into the graph convolutional neural network to assign corresponding attention weights to each period; Obtaining historical electricity consumption data, and calculating the electricity consumption probability corresponding to each time period according to the historical electricity consumption data and current production data and through the attention mechanism; wherein the electricity consumption probability of the peak time period is greater than the electricity consumption probability of the average time period, and the electricity consumption probability of the average time period is greater than the electricity consumption probability of the valley time period; The optimizing the energy scheduling scheme based on the power consumption probability specifically includes: Based on the probability of electricity consumption in each time period, the energy allocation amount of the corresponding time period in the energy scheduling plan is adjusted to increase the energy allocation amount corresponding to the peak time period; Determine the adjusted energy allocation amount for each time period, and generate a target energy scheduling plan based on the adjusted energy allocation amount, so as to perform energy management according to the target energy scheduling plan; The feature extraction of the dependency matrix by using a graph convolutional neural network and the preprocessing of the extracted feature vectors are performed to generate a preliminary energy scheduling plan according to the preprocessed feature vectors, specifically including: Using the dependency matrix as an adjacency matrix of a graph convolutional neural network, and inputting the adjacency matrix into the graph convolutional neural network; Performing feature extraction on the input adjacency matrix through the convolution layer in the graph convolutional neural network to obtain a plurality of feature vectors; Performing edge prediction, node classification, and graph classification processing on the plurality of feature vectors to identify key features and relationships between features in the plurality of feature vectors; Through the output layer of the graph convolutional neural network and based on the key features and the relationships between the features, a preliminary energy scheduling plan is generated.

2. The energy management method based on graph convolutional neural network according to claim 1 is characterized in that: The graph convolutional neural network is represented by the following formula: in, Used to represent the output of the graph convolutional neural network, Used to represent the input of the graph convolutional neural network, Used to represent the adjacency matrix, Used to represent the node features of the 0th layer of the graph convolutional neural network, Used to represent the graph convolutional neural network The node features of the layer, ReLU is used to represent the activation function.

3. The energy management method based on graph convolutional neural network according to claim 1 is characterized in that: The step of acquiring production data associated with production behavior from a preset data set and preprocessing the production data to obtain standard production data specifically includes: Obtain the production data corresponding to each production line in the production site, and integrate all the production data corresponding to all production lines to obtain the corresponding data set; Analyzing the production data in the data set to extract a number of key production data associated with the production behavior, and performing data cleaning on the several key production data to remove abnormal values ​​and duplicate values ​​in the several key production data; The missing values ​​in the key production data after the outliers and duplicate values ​​are removed are filled with null values, and the multiple key production data after the outliers, duplicate values ​​and null values ​​are removed are normalized to obtain standard production data.

4. An energy management device based on graph convolutional neural network, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; In which, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute an energy management method based on a graph convolutional neural network as described in any one of claims 1-3.

5. A non-volatile computer storage medium storing computer executable instructions, characterized in that: When the computer executable instructions are executed, an energy management method based on a graph convolutional neural network as described in any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • A system and method for visualizing incidence relations of mineral processing production indexes

    CN109409639A

  • Graph neural network prediction method for power regional load

    CN113822467A

  • User electricity consumption prediction method and system

    CN116777049A

  • Industrial typical user power demand response potential assessment method

    CN117172589A

  • Industry electricity consumption prediction method based on industry relation complex network

    CN117455551A