A non-invasive load decomposition method and system for a park integrated energy system

By applying multi-task deep learning methods in integrated energy systems, combined with CNN and BiGRU, the problem of non-intrusive load decomposition in integrated energy systems is solved, real-time monitoring and decomposition of multi-energy loads is achieved, and accuracy and management efficiency are improved.

CN114119273BActive Publication Date: 2024-09-13SHANDONG UNIV
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202111326540.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-10
Publication Date
2024-09-13
Estimated Expiration
2041-11-10

AI Technical Summary

Technical Problem

Existing technologies are difficult to achieve non-intrusive load decomposition in integrated energy systems, especially in multi-energy coupling scenarios. They cannot effectively obtain and analyze users' energy usage information, making detailed analysis of energy usage and response potential assessment difficult.

Method used

Using a method based on multi-task deep learning, combined with convolutional neural network (CNN) and bidirectional gated neural network (BiGRU), through feature extraction and feature fusion, the multi-task learning structure is used to output electrical, gas, heating, and cooling load information. Data processing is performed through sliding windows and attention mechanisms to achieve real-time monitoring and decomposition of multi-energy loads of users of integrated energy systems.

Benefits of technology

It improves the precision and accuracy of non-intrusive load decomposition of integrated energy systems, enables real-time monitoring and analysis of users' multi-energy load information, helps park operators better manage energy systems, and reduces the number of model parameters and training time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114119273B
    Figure CN114119273B
Patent Text Reader

Abstract

The present invention provides a non-invasive load decomposition method and system for a park integrated energy system, which obtains the total multi-energy load data of the park integrated energy system and the energy consumption data of each user; divides the users into clusters according to the energy consumption data to obtain user clusters of different energy consumption types; performs correlation analysis on multiple loads of each user cluster and influencing factors respectively to obtain influencing factors corresponding to each user cluster with a correlation greater than a preset amount; for a certain user cluster, obtains the multi-energy load decomposition result corresponding to the user cluster according to the total multi-energy load data, the influencing factor data and the load decomposition model corresponding to the user cluster; performs multi-energy load decomposition of each user cluster in turn to obtain the final multi-energy load decomposition result; and improves the accuracy of non-invasive load decomposition of the park integrated energy system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of load decomposition, and in particular to a non-invasive load decomposition method and system for a park integrated energy system. Background Art

[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.

[0003] At present, the Integrated Energy System (IES) has gradually developed into an important way of energy utilization, among which the park integrated energy system is a typical form of multi-energy coupling and utilization on the user side. Different from the traditional energy system, there are multiple energy conversions and storages inside the park IES, which puts forward new requirements for the planning and operation of the system. Therefore, it is of great significance to obtain the multi-energy load information inside the park in real time.

[0004] Due to the information barriers between different energy operators in the park IES, the energy consumption information of unit users may not be available or available in a timely manner, making it impossible to conduct a detailed analysis of the user's energy consumption or evaluate their response potential. This problem can be solved with the help of non-intrusive load monitoring (NILM) technology. Non-intrusive load monitoring was first proposed by Hart, and extensive research has been carried out in the field of NILM at home and abroad. However, existing research mainly focuses on residential scenarios in power systems. Therefore, how to expand NILM technology to integrated energy systems and achieve real-time grasp of user energy consumption information is a topic worthy of study.

[0005] In the field of NILM, many machine learning and signal processing methods have been applied. These methods can be divided into two categories: event-based and model-based. Event-based methods include neural networks, support vector machines (SVM), etc.; model-based methods include hidden Markov models (HMM), deep learning, etc. Due to the superior feature learning ability of deep learning, many researchers have proposed a variety of load decomposition methods based on deep learning. In 2015, Kelly et al. first applied deep neural networks to the energy consumption decomposition of household appliances, and compared the three proposed network structures with traditional methods, indicating that the deep learning method has better performance in decomposition accuracy and generalization performance. Since then, many novel load decomposition methods based on deep learning have been proposed. Some researchers have proposed a non-causal adaptive context-aware bidirectional deep learning model, which enhances the model's adaptability to external factors and new equipment working states; some researchers have adopted a multi-branch network structure to enhance feature extraction capabilities, and added state enhancement to improve the accuracy of the model. At present, some scholars have expanded NILM technology to the decomposition of house water consumption, building cooling load, photovoltaic power generation, etc., but there are relatively few studies on non-invasive load decomposition of integrated energy systems. Some researchers use generative adversarial networks (GAN) to non-invasively model integrated energy systems, but the research object is still energy equipment. Summary of the invention

[0006] In order to address the deficiencies of the prior art, the present invention provides a method and system for non-invasive load decomposition of a park integrated energy system, which improves the accuracy of non-invasive load decomposition of the park integrated energy system.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides a non-invasive load decomposition method for a park integrated energy system.

[0009] A non-intrusive load decomposition method for a park integrated energy system includes the following processes:

[0010] Obtain the total multi-energy load data of the park's integrated energy system and the energy consumption data of each user;

[0011] Divide user clusters according to energy consumption data to obtain user clusters of different energy consumption types;

[0012] Perform correlation analysis on multiple loads of each user cluster and the influencing factors respectively, and obtain the influencing factors corresponding to each user cluster whose correlation is greater than a preset amount;

[0013] For a certain user cluster, the multi-energy load decomposition result corresponding to the user cluster is obtained according to the total multi-energy load data, the influencing factor data and the load decomposition model corresponding to the user cluster;

[0014] The multi-energy load decomposition of each user cluster is carried out in turn to obtain the final multi-energy load decomposition result.

[0015] Furthermore, the load decomposition model includes: using a convolutional neural network to extract feature information from input data, inputting the obtained feature information into a bidirectional gated neural network for feature fusion, and using a multi-task learning structure to simultaneously output electric load, gas load, heat load and cooling load.

[0016] Furthermore, the Spearman correlation coefficient was used to analyze the correlation between the multi-energy loads of each user cluster and the correlation between the influencing factors and the loads.

[0017] Furthermore, user cluster division is performed, including:

[0018] According to the energy consumption type of users, users are divided into electricity, electricity / heat, electricity / heat / cooling, electricity / gas / heat and electricity / gas / heat / cooling type users;

[0019] Users with similar energy consumption characteristics are clustered, and daily load curves of different users are clustered to complete cluster division. The optimal number of clusters is determined according to the elbow rule.

[0020] Furthermore, dynamic time warping is used to measure the similarity between two load series, and the similarity of multi-energy load multivariate time series is measured by taking the mean.

[0021] Furthermore, the influencing factors include at least meteorological conditions, calendar information, economic factors and human factors.

[0022] Furthermore, the input of the load decomposition model is a sliding window segment of the total multi-energy load data, and the output is the multi-energy load at the end of the window.

[0023] Furthermore, in the load decomposition model, a parallel convolutional neural network structure is used to extract features, and three convolutional layers with convolution kernels of different sizes are used to extract features of different scales;

[0024] The feature tensors generated by each convolutional layer are merged and input into the bidirectional gated neural network layer to learn the temporal regularity of the load data, and the attention mechanism module is used to assign different weights to the input features;

[0025] The multi-functional data of user clusters are output through the fully connected layer.

[0026] A second aspect of the present invention provides a non-invasive load decomposition system for a park integrated energy system.

[0027] A non-intrusive load decomposition system for a park integrated energy system, comprising:

[0028] The data acquisition module is configured to: acquire the total multi-energy load data of the park integrated energy system and the energy consumption data of each user;

[0029] The user classification module is configured to: classify user clusters according to energy consumption data to obtain user clusters of different energy consumption types;

[0030] The correlation analysis module is configured to: perform correlation analysis on multiple loads of each user cluster and the influencing factors respectively, and obtain the influencing factors corresponding to each user cluster whose correlation is greater than a preset amount;

[0031] The load decomposition module is configured as follows: for a certain user cluster, based on the total multi-energy load data, the influencing factor data and the load decomposition model corresponding to this user cluster, obtain the multi-energy load decomposition result corresponding to this user cluster; perform multi-energy load decomposition of each user cluster in turn to obtain the final multi-energy load decomposition result.

[0032] The third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the non-invasive load decomposition method for a campus integrated energy system as described in the first aspect of the present invention.

[0033] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps in the non-invasive load decomposition method of the campus integrated energy system as described in the first aspect of the present invention.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] 1. Taking into account the large user base of the integrated energy system, the present invention divides the user groups into clusters according to the energy consumption types and characteristics of the unit users, performs multi-energy load correlation analysis and influencing factor and load correlation analysis on the user clusters, selects strongly correlated factors to construct input features, and improves the accuracy of subsequent load decomposition.

[0036] 2. The present invention combines the feature extraction capability of CNN and the advantages of BiGRU in processing time series, combines the attention mechanism to realize the weight allocation, adopts the multi-task learning training method to utilize the coupling relationship between the multi-energy loads of user clusters, and uses the sliding window method to process data, thereby realizing real-time monitoring of the multi-energy loads of users in the integrated energy system.

[0037] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding 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 improper limitations on the present invention.

[0039] Figure 1 A schematic diagram of the GRU structure provided in Example 1 of the present invention.

[0040] Figure 2 A schematic diagram of the BiGRU network structure provided in Example 1 of the present invention.

[0041] Figure 3 Schematic diagram of the non-intrusive monitoring framework for multi-energy loads provided in Example 1 of the present invention.

[0042] Figure 4 This is a schematic diagram of a sliding window provided in Example 1 of the present invention.

[0043] Figure 5 A schematic diagram of the model structure based on multi-task learning provided in Example 1 of the present invention.

[0044] Figure 6 This is a schematic diagram of the multi-energy load decomposition results of user cluster 4 provided in Example 1 of the present invention.

[0045] Figure 7 This is a schematic diagram of the multi-energy load decomposition results of user cluster 6 provided in Example 1 of the present invention.

[0046] Figure 8 This is a schematic diagram of the multi-energy load decomposition results of user cluster 9 provided in Example 1 of the present invention.

[0047] Fig. 9 Schematic diagram of correlation analysis between multi-energy load (top) and influencing factors (bottom) of user cluster 7 provided in Example 1 of the present invention.

[0048] Fig.10 Schematic diagram of correlation analysis between multi-energy load (top) and influencing factors (bottom) of user cluster 9 provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0049] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0050] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0051] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0052] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0053] Embodiment 1:

[0054] Based on the analysis of existing research results, the present invention extends the non-invasive load decomposition of the power system to the integrated energy system, and shifts the research object from residential appliances to multi-energy users. Considering that most users in the park IES are multi-energy users, the traditional single energy load decomposition method cannot make good use of the multi-energy coupling relationship. Therefore, this embodiment proposes a park IES non-invasive load decomposition method based on multi-task deep learning, which processes the multi-energy coupling relationship in the form of parameter sharing, realizes real-time and accurate acquisition of the multi-energy load information inside the system, and helps park operators better manage the integrated energy system.

[0055] Firstly, due to the large user base in the park IES, it is costly to model each one. First, the users are divided according to the energy consumption type, and then the clustering algorithm is used to complete the secondary division to divide the users into different clusters. Secondly, the Spearman correlation coefficient is used to quantitatively calculate the correlation between environmental factors, electricity, gas, heat and cooling loads, and the strongly correlated factors are selected as auxiliary information for load decomposition. Finally, the Convolution Neural Network (CNN) is used to extract feature information from the original data, and the obtained feature information is input into the Bidirectional Gated Recurrent Unit (BiGRU) for feature fusion. The Multi-Task Learning (MTL) structure is used to simultaneously output the information of electricity, gas, heat and cooling loads.

[0056] Specifically, it includes the following:

[0057] S1: Basic Convolutional Neural Networks, Gated Recurrent Units, and MTL

[0058] S1.1: Convolutional Neural Networks

[0059] Convolutional neural network (CNN) is a feedforward neural network, mainly composed of input layer, convolution layer, pooling layer, activation layer, fully connected layer, output layer and other modules. Among them, the convolution layer, as the core module of CNN, can map the input features to a high-dimensional space and effectively extract features. CNN has the characteristics of local perception and weight sharing, thereby reducing the number of parameters and preventing overfitting. Therefore, this embodiment uses CNN to extract the features of input data.

[0060] S1.2: Bidirectional Gated Recurrent Neural Network

[0061] This embodiment uses a bidirectional gated recurrent neural network (BiGRU) to process multi-energy load time series. GRU retains the gate structure of the long short-term memory network (Long Short-Term Memory, LSTM) to control information conversion and simplifies it based on LSTM. Since GRU has fewer tensor operations than LSTM, it requires less memory and has higher training efficiency.

[0062] The internal structure of GRU is as follows Figure 1 As shown, the basic components are the reset gate and the update gate. The update gate determines how much previous information needs to be passed on, and the reset gate determines how much past information needs to be discarded.

[0063] The operation relationship in the reset gate is shown in formula (1):

[0064] r t =σ(W r ·[h t-1 ,x t ]) (1)

[0065] Where: x t is the input at the current moment; h t-1 is the hidden unit state at the previous moment; W r represents a trainable weight matrix; σ represents the sigmoid function.

[0066] The operation relationship in the update gate is shown in formula (2):

[0067] z t =σ(W z ·[h t-1 ,x t ]) (2)

[0068] Where: W z is a trainable weight matrix.

[0069] The other calculation process of the GRU network is shown as follows:

[0070]

[0071]

[0072] Where: W h is a trainable weight matrix; h t ' is the candidate state of the hidden unit at the current moment; h t Hide the unit status at the current moment.

[0073] BiGRU fully exploits the characteristics of data through a bidirectional network, and can use the load data information before and after the current moment to improve the accuracy of the model output results. The BiGRU network structure is as follows Figure 2 As shown, each hidden layer consists of two parts: forward and reverse.

[0074] The output calculation formula of the bidirectional neural network layer is as follows:

[0075]

[0076] Where: is the forward hidden layer state; is the reverse hidden layer state; y tt is the output at the current moment; a t 、b t are the hidden layer output weights of the forward and reverse propagation units respectively; c t is the bias term.

[0077] S1.3: Attention Mechanism

[0078] The attention mechanism calculates the corresponding weights for the input vector, highlights the most important parts, and realizes the distribution of attention weights. First, the output vector y of BiGRU is t As input, perform dimension transformation:

[0079] L = Permute((2,1))(y t ) (6)

[0080] Then the corresponding weight coefficient is calculated through the fully connected layer:

[0081] α=softmax(W·L+β) (7)

[0082] α d =Permute((2,1))(α) (8)

[0083] Where: W is the weight matrix of the fully connected layer, β is the bias vector, α d is the attention probability distribution value of the attention mechanism on the output of the BiGRU hidden layer.

[0084] Finally, multiply the input vector by the weight coefficient to get the output vector o t :

[0085]

[0086] S1.4: Multi-task learning

[0087] Since there are complex coupling relationships between various energy sources in the integrated energy system, this embodiment utilizes these potential information through multi-task learning (MTL) when establishing the load decomposition model.

[0088] MTL is a transfer learning method that uses common features implicit in multiple related tasks through parameter sharing to improve learning efficiency and reduce the negative impact of noise in each subtask. MTL includes two mechanisms: hard parameter sharing and soft parameter sharing. Since there is a strong correlation between the multiple subtasks of the decomposition of electricity, gas, heat, and cold multi-energy loads, this embodiment adopts the hard parameter sharing method, which can reduce the parameters of the model, making the model easier to train and less prone to overfitting.

[0089] S2: Non-intrusive load monitoring of campus IES based on CNN-BiGRU and multi-task learning

[0090] S2.1: Overall framework for non-intrusive load monitoring

[0091] The non-intrusive monitoring framework of the park IES multi-energy load proposed in this embodiment is as follows: Figure 3 As shown, it includes three stages: user cluster division, multi-energy load and influencing factor correlation analysis, and non-intrusive load decomposition modeling.

[0092] In the user cluster division stage, users are divided into different clusters according to different energy consumption types and characteristics in preparation for further analysis; in the multi-energy load and influencing factor correlation analysis stage, the Spearman correlation coefficient is used to quantitatively analyze the correlation between the multi-energy loads of each user cluster and the correlation between the influencing factors and the loads, and strongly correlated variables are selected to construct the model input features.

[0093] In the non-intrusive load decomposition modeling stage, since model training often takes a lot of time, the offline training and online application method is adopted. That is, the load decomposition model is first trained using historical load and influencing factor data, and then the trained model is deployed at the IES energy input end of the park to realize the monitoring of internal load information.

[0094] S2.2: Clustering of multi-skilled users

[0095] Since there are many unit users in the campus IES, it is unrealistic to model them one by one. Considering that the energy consumption behaviors of many users in the same area have common characteristics, this embodiment first clusters the multi-energy users in the campus IES.

[0096] The first step is to classify users according to their energy consumption types. Users can be divided into electricity, electricity / heat, electricity / heat / cold, electricity / gas / heat, electricity / gas / heat / cold and other types of users.

[0097] The second step is to cluster users with similar energy consumption characteristics. Clustering is performed on the daily load curves of different users to complete cluster division, and the optimal number of clusters is determined according to the elbow rule. Considering that the energy consumption behaviors of users with similar energy consumption characteristics may not be synchronized, the traditional K-Means algorithm is improved, and Dynamic Time Warping (DTW) is used to measure the similarity between two sequences. The basic principle is as follows: for two load sequences P = (p1, p2, ..., p m ), Q=(q1,q2,…,q n ), define the distance accumulation matrix D m×n , each sample point p in the two sequences i and q j Distance between:

[0098]

[0099] The values ​​of each element of the distance accumulation matrix can be calculated according to the following formula:

[0100]

[0101]

[0102] Then D(m,n) is the distance between the two load sequences when they are optimally matched, which can be used to measure the similarity of the two load curves. Since the multi-energy load is a multivariate time series, this embodiment measures its similarity by taking the mean, and the formula is as follows:

[0103]

[0104] Where: D represents the similarity between two multi-energy users; M is the number of energy types used by users; D k (m,n) represents the similarity of the kth (1≤k≤M) load curves of two multi-energy users; m=n=24.

[0105] S2.3: Correlation analysis of multi-energy load and influencing factors

[0106] S2.3.1: Multi-energy load correlation analysis

[0107] For unit users, their production process determines that there is an obvious transformation and complementary relationship between multiple energy sources. Users in the same cluster have the same energy type and similar energy characteristics. Therefore, it is necessary to conduct a quantitative analysis of the correlation of multi-energy loads.

[0108] Most existing studies use the Pearson correlation coefficient to analyze the influence of influencing factors on load, but it mainly reflects the linear correlation between variables. Compared with the Pearson correlation coefficient, the Spearman rank correlation coefficient can better quantify the nonlinear relationship between variables. The principle is to sort the sample values ​​of the two load sequences u and v, and use the ranking to replace the actual load value. The correlation coefficient of the two loads can be calculated according to the following formula:

[0109]

[0110] g i =R(u i )-R(v i ) (15)

[0111] Where: ρ is the rank correlation coefficient of the two loads; R(u i ) and R(v i ) are u i and v i rank; g i is the rank difference; N is the number of samples.

[0112] The Spearman rank correlation coefficient is used to evaluate the correlation between the multi-energy loads of electricity, gas, heat and cooling. If the correlation coefficient of the two types of loads is greater than 0.5, MTL is used to construct a unified model to utilize the coupling relationship, which helps to reduce the model structure and obtain better decomposition effect.

[0113] S2.3.2: Analysis of correlation between influencing factors and load

[0114] There are many factors that affect the multi-energy loads of electricity, gas, heat, and cold, including meteorological conditions, calendar information, economic factors, and human factors. However, the degree of influence of each influencing factor on the load varies, so it is necessary to conduct a correlation analysis between the influencing factors and the load, select the influencing factors with high correlation to construct the model input features, reduce the dimension of the model input, and reduce the model parameters, thereby improving the accuracy of load decomposition.

[0115] This embodiment selects 9 typical influencing factors, among which date factors include seasons, months, and holidays; meteorological factors include daily average / minimum / maximum temperature, wind speed, precipitation, and humidity. As in the previous section, the Spearman correlation coefficient is used to quantitatively analyze the correlation between each influencing factor and the multi-energy load, and the influencing factors with a correlation coefficient with the multi-energy load greater than 0.5 are selected to construct the model input features.

[0116] S2.4: Construction of non-intrusive load decomposition model

[0117] Since the energy consumption types and characteristics of different user clusters vary greatly, establishing a load decomposition model for each user cluster can make model tuning easier and the application more flexible.

[0118] In most studies on non-intrusive load decomposition, a sliding window method is used to solve the long sequence problem. Therefore, this embodiment adopts a sliding window decomposition method. The principle is as follows: Figure 4 As shown, the model input is a sliding window segment of the total multi-energy load data, and the output is the multi-energy load at the end of the window, which can realize the real-time decomposition of the multi-energy load of the integrated energy system.

[0119] 1) Input feature construction

[0120] The model input features include the historical data of the total load of the integrated energy system and the data of the influencing factors after screening. The sliding window length is determined according to the experiment. In order to speed up the convergence of the model, the maximum and minimum normalization method is used to normalize the multi-energy load data before constructing the model input features. The normalization formula is as follows:

[0121]

[0122] For influencing factors such as holidays and seasons, dummy variables are used for annotation.

[0123] 2) Model construction

[0124] The overall model adopts the MTL structure. The specific model structure is as follows: Figure 5 As shown in Figure 1, the model input consists of historical data and influencing factors of multi-energy loads of electricity, gas, heat, and cold, and the output of the model is the multi-energy load of the user cluster. Each load constitutes a subtask, and the number of subtasks is determined according to the energy type of the user cluster.

[0125] First, CNN is used to extract feature information from the original data. Inspired by the Inception network, this embodiment does not use the serial stacking method, but uses a parallel CNN structure to extract features, that is, three convolutional layers with different sizes of convolutional kernels are used to extract features of different scales. Then the feature tensors generated by each convolutional layer are merged and input into the BiGRU layer to learn the timing rules of the load data, and the attention mechanism module is used to give different weights to the model input features, highlighting the important parts, so that the model can more effectively learn the features and rules contained in the data. Finally, the multi-functional data of the user cluster is output through the fully connected layer.

[0126] S3: Case Analysis

[0127] S3.1: Example Description

[0128] This embodiment uses TensorFlow to build a deep learning framework, and the hardware platform uses Intel Core i7-10700 CPU and NVIDIA Tesla V100 SXM GPU. The user multi-energy load data recorded in a northern industrial park from January 1, 2020 to January 1, 2021 was selected for training and testing, with a time resolution of 1h. The park includes 57 users from 9 different industries, including the chemical industry with a high energy consumption level and the wholesale and retail industry with a low energy consumption level. It has certain differences and representativeness. The number of users and the average peak load of users in each industry are shown in Table 1, and each industry is numbered in the order of 1-9.

[0129] Table 1: Basic user information

[0130]

[0131] After data normalization, the training set, validation set, and test set are divided according to 8:2:2. The total multi-energy load data is the sum of the loads of each user at each moment. The total electricity load peak is 7725.75kW, and the total gas load peak is 4511.85Nm 3 The total heating load peak is 4203.16kW, and the total cooling load peak is 2889.56kW.

[0132] S3.2: Evaluation Metrics and Hyperparameter Settings

[0133] S3.2.1: Evaluation Metrics

[0134] Load decomposition often uses confusion matrix to evaluate the quality of the model, but unlike the equipment energy consumption curve, the user energy consumption curve has no threshold and switch state. Therefore, this embodiment uses root mean squared error (RMSE) and accuracy (ACC) to evaluate the model performance, and the expressions are:

[0135]

[0136]

[0137] Where: y i is the load decomposition value; is the true value of the load; is the average of all decomposition values; N is the number of samples.

[0138] When modeling multi-skilled users, considering that a set of hyperparameters may not perform optimally on multiple subtasks, in order to simplify the parameter adjustment process, different weight coefficients are assigned to each subtask, and the weighted accuracy (WACC) is calculated to evaluate the overall performance of the model. The weighted evaluation index is calculated as follows:

[0139]

[0140] Where: ε k is the weight coefficient of the kth subtask; k is the ACC of the kth subtask; M is the number of subtasks.

[0141] Taking into account that the integrated energy system is based on the power system, the weights of multi-energy loads are determined in combination with the hierarchical analysis method. For electricity / heat type users, the weights of the two loads are set to 0.6 and 0.4 respectively; for electricity / gas / heat and electricity / heat / cold type users, the weights of the three loads are set to 0.4, 0.3, and 0.3 respectively; for electricity / gas / heat / cold type users, the weights of the four loads are set to 0.4, 0.2, 0.2, and 0.2 respectively.

[0142] S3.2.2: Hyperparameter settings

[0143] Model hyperparameters directly affect the performance of the model, but there is no perfect method system for hyperparameter tuning. Although some studies have used methods such as grid search and random search, these methods also require certain parameters to be set manually, and they also have the problem of low efficiency. Therefore, this embodiment uses the method of controlling variables to select model hyperparameters. After many experiments, 3 parallel convolutional layers are finally determined, the number of convolution kernels is 32, and the sizes are 1×3, 1×5, and 1×7 respectively. The number of neurons in the 2-layer BiGRU network is set to 64 and 128 respectively, and the number of neurons in the 1st fully connected layer is set to 128.

[0144] In this embodiment, the Adam optimizer is selected, the learning rate is set to 0.001, the batch size is set to 64, and the EarlyStopping mechanism is added to prevent overfitting. If the validation set error does not decrease within 15 training cycles, the training is terminated and the optimal model weight is returned.

[0145] S3.3: Analysis of campus IES load decomposition results based on CNN-BiGRU and multi-task learning

[0146] The 57 unit users can be divided into five types according to their energy consumption types: electricity, electricity / heat, electricity / gas / heat, electricity / heat / cold, and electricity / gas / heat / cold. The K-means+DTW clustering algorithm is used to cluster the user daily load curves. Finally, the 57 users can be divided into 9 different clusters, which are also numbered in sequence from 1 to 9.

[0147] 72 hours of IES total multi-energy load data of the park were selected for testing. Taking three representative user clusters as examples, the energy consumption curve of user cluster 4 showed a double-peak shape with a large peak-to-valley difference; user cluster 6 mainly included manual manufacturing users, and the energy consumption characteristics were closely related to the workers' work and rest time; user cluster 9 was mainly composed of chemical plants, and the operation cycle of such users was long, so the energy consumption curve was always at a high level. Figure 6-Figure 8 The load decomposition results of the three user clusters and the indicator calculation results are shown in Table 2.

[0148] Table 2: Comparison of different experimental methods

[0149]

[0150]

[0151] 1) As shown in Table 2, the RMSE index of the electric load of the same cluster is generally higher than that of the other three load types. The average RMSE of the electric load is 9.272kW and the gas load is 6.814Nm 3 , the heat load is 3.735kW, and the cold load is 4.631kW. This is because the electricity, gas, heat, and cold loads have different characteristics. Figure 6-8 It can be seen that since the electric load is more sensitive to influencing factors and is affected by human factors, it has strong randomness and volatility, while the gas, heating and cooling loads have a flatter load curve due to inertia.

[0152] 2) From Figure 6 , Figure 7 and Figure 8 It can be seen that the multi-energy load curves of electricity, gas, heat and cold have highly similar changing trends. The reason is that industrial users include energy conversion equipment such as electric boilers, gas boilers, compression refrigerators, etc., which realize the coupling between different energy forms.

[0153] 3) The decomposition results have large errors at the maximum and minimum values ​​of the load curve. For example, the maximum decomposition error of the electric load of user cluster 4 is 15.792kW, and the maximum decomposition error of the thermal load is 4.442kW, which occurs at the 49th hour. Figure 6 It can be seen that this moment is the trough moment. However, overall, the proposed method can better fit the changes in multi-energy loads, and the average WACC reaches 98.39%.

[0154] S3.4: Comparative analysis of load decomposition results from different experimental methods

[0155] S3.4.1: The impact of feature selection and attention mechanism on the model

[0156] The multi-energy load in the integrated energy system is affected by many factors. When constructing the load decomposition model, some factors with low task relevance will not only fail to improve the model accuracy, but also bring difficulties to model training. In order to simplify the model and improve the training efficiency of the model, it is necessary to optimize and screen the multi-dimensional input features. The method in S2.3 is used to analyze the correlation between multi-energy load and influencing factors. Fig. 9 and Fig.10 The correlation analysis results of user cluster 7 and user cluster 9 are shown respectively. It can be seen from the figure that the influence of various influencing factors on multi-energy load varies greatly. For example, the correlation coefficient of wind speed is less than 0.2, and the influence is small, but the correlation coefficient of factors such as holidays and temperature is greater than 0.5, and the influence is large. Influencing factors with correlation coefficients greater than 0.5 are selected to construct model input features. At the same time, it is noted that there is a high correlation between average temperature, maximum temperature, and minimum temperature, so only the daily average temperature is selected to add to the model input features.

[0157] In order to verify the effectiveness of the above feature screening operation, the two cases with and without feature screening are compared. The experimental results are shown in Table 2. Compared with the case without feature screening, the model has higher decomposition accuracy and smaller error after feature screening, with the highest WACC increased by 7.92% and the average increased by 2.88%.

[0158] In order to study the impact of the attention mechanism on the decomposition performance of the model, the two cases with and without the attention mechanism are compared. The experimental results are shown in Table 2. In most cases, the model with the attention mechanism has better performance, with the maximum WACC improvement of 2.66% and an average improvement of 0.45%.

[0159] The experimental results show that feature screening and attention mechanism can improve the model decomposition performance, among which the effect of feature screening is more obvious, mainly because the attention mechanism gives higher weights to more important feature variables and does not completely exclude the influence of unimportant feature variables. In addition, for highly correlated feature variables such as average temperature, maximum temperature and minimum temperature, inputting all of them into the model will not make the model have better results, while feature screening can solve this problem, so the effect of improving model performance is more significant.

[0160] S3.4.2: Comparison between multi-task learning and single-task learning

[0161] from Fig. 9 and Fig.10It can be seen that the correlation coefficient between the multi-energy loads of the user cluster is generally above 0.6, which has a strong correlation. Therefore, this embodiment uses multi-task learning to deal with the coupling relationship between multi-energy loads. In order to verify the effectiveness of multi-task learning, it is compared with the training method of single-task learning. The two cases are trained and tested on the same data. When single-task learning is used for training, the input and output are data of a single load type.

[0162] The comparison of the decomposition effects of the two training methods is shown in Table 2. The experimental results show that compared with single-task learning, the WACC of the multi-task learning model is improved by an average of 0.30%, and it has a better decomposition effect. This is because the multi-task learning method is adopted. Even when one of the subtasks is affected by large noise, the similarity of the change trends between the multi-energy loads can better reduce the interference of noise.

[0163] The comparison of the training time of the two is shown in Table 3, where the training time of single-task learning is the sum of the training time of multiple energy decomposition models. It is worth noting that for the case of two tasks, the training time of the two training methods is not much different, while for the case of more than two tasks, the training method of multi-task learning can save training time to a large extent. Therefore, compared with single-task learning, multi-task learning is more suitable for processing the decomposition of multiple energy loads, and has advantages in decomposition accuracy and training time.

[0164] Table 3: Comparison of training time between multi-task learning and single-task learning

[0165]

[0166] S3.5: Comparative analysis of load decomposition results for different model structures

[0167] In order to better evaluate the effect of the method proposed in this embodiment, the DAE model, Seq2point model and bidirectional dilated convolution model are selected for comparison with the method of this embodiment. To ensure fairness, all models are trained and tested using the same original data, and the three comparison models are trained using single-task learning to ensure that the original model structure remains unchanged.

[0168] The experimental results are shown in Table 4. The CNN-BiGRU model structure proposed in this embodiment has a better decomposition effect. Compared with DAE, Seq2point, and bidirectional dilated convolution models, WACC is improved by 0.32%, 0.67%, and 2.23%, respectively. The main reasons are: 1) When constructing a multi-energy load model, the feature extraction capability of CNN and the advantages of BiGRU in processing timing problems are combined; 2) The multi-task learning training method is adopted, which utilizes the coupling relationship between multi-energy loads.

[0169] Table 4: Comparison of different model structures

[0170]

[0171]

[0172] The results of actual example analysis show that the proposed method has better decomposition performance than single-task learning and other classic model structures. Electricity, gas, heat, and cold multi-energy loads have different physical dynamic characteristics. The method proposed in this embodiment does not take this into account. Research in this area can be carried out in future work. In addition, the uncertainty of multi-energy loads is closely related to the energy consumption habits of users. Different decomposition methods for different types of users are expected to achieve better decomposition results.

[0173] Embodiment 2:

[0174] Embodiment 2 of the present invention provides a non-intrusive load decomposition system for a park integrated energy system, including:

[0175] The data acquisition module is configured to: acquire the total multi-energy load data of the park integrated energy system and the energy consumption data of each user;

[0176] The user classification module is configured to: classify user clusters according to energy consumption data to obtain user clusters of different energy consumption types;

[0177] The correlation analysis module is configured to: perform correlation analysis on multiple loads of each user cluster and the influencing factors respectively, and obtain the influencing factors corresponding to each user cluster whose correlation is greater than a preset amount;

[0178] The load decomposition module is configured as follows: for a certain user cluster, based on the total multi-energy load data, the influencing factor data and the load decomposition model corresponding to this user cluster, obtain the multi-energy load decomposition result corresponding to this user cluster; perform multi-energy load decomposition of each user cluster in turn to obtain the final multi-energy load decomposition result.

[0179] The working method of the system is the same as the non-invasive load decomposition method of the park integrated energy system provided in Example 1, and will not be repeated here.

[0180] Embodiment 3:

[0181] Embodiment 3 of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the non-invasive load decomposition method for a campus integrated energy system as described in Embodiment 1 of the present invention.

[0182] Embodiment 4:

[0183] Embodiment 4 of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the non-invasive load decomposition method for the campus integrated energy system as described in Embodiment 1 of the present invention are implemented.

[0184] Those skilled in the art will appreciate 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 hardware embodiments, software embodiments, or embodiments 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 and optical storage, etc.) containing computer-usable program code.

[0185] 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.

[0186] 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.

[0187] 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.

[0188] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0189] The above description is only a preferred 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 replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A non-invasive load decomposition method for a park integrated energy system, characterized by: The process includes: Obtain the total multi-energy load data of the park's comprehensive energy system and the energy consumption data of each user, where the total multi-energy load data includes the multi-energy load data of electricity, gas, heat, and cold; Performing user cluster division according to energy consumption data to obtain user clusters of different energy consumption types; the user cluster division includes: dividing users into electricity, electricity / heat, electricity / heat / cold, electricity / gas / heat, and electricity / gas / heat / cold types according to their energy consumption types, and then clustering users with similar energy consumption characteristics within each energy consumption type; Clustering users with similar energy consumption characteristics within each energy consumption type, including: clustering daily load curves of different users to complete cluster division, and the optimal number of clusters is determined according to the elbow rule; Dynamic time warping is used to measure the similarity between two sequences. , , define the distance accumulation matrix , each sample point in the two sequences and Distance between: ; The values ​​of each element of the distance accumulation matrix can be calculated according to the following formula: ; ; but It is the distance between the two load series under the best matching, which is used to measure the similarity of the two load curves. Since the multi-energy load is a multivariate time series, its similarity is measured by taking the mean. The formula is as follows: ; Where: Indicates the similarity between two multi-skilled users; The number of energy types used by users; Represents two multi-capable users Similarity of the load curves; ; The multi-energy load of each user cluster is analyzed for correlation with the influencing factors, and the influencing factors corresponding to each user cluster with a correlation greater than a preset value are obtained. Specifically, the Spearman correlation coefficient is used to perform the correlation analysis between the multi-energy loads of each user cluster and the correlation analysis between the influencing factors and the loads, and the strongly correlated factors corresponding to the multi-energy loads are selected to construct the model input features; For each user cluster, the multi-energy load decomposition result corresponding to the user cluster is obtained according to the multi-energy load data corresponding to the energy type of the user cluster, the strong correlation factors corresponding to the multi-energy load, and the load decomposition model corresponding to the user cluster; Carry out multi-energy load decomposition of each user cluster in turn to obtain the final multi-energy load decomposition result; Each user cluster corresponds to a load decomposition model. The load decomposition model adopts a multi-task learning MTL structure. Each load constitutes a subtask. The number of subtasks is determined according to the energy consumption type of the user cluster. The multi-task learning MTL structure uses the common features implicit in multiple related tasks by sharing soft parameters. Convolutional neural network (CNN) is used to extract feature information from the total multi-energy load data, and a parallel convolutional neural network (CNN) structure is used to extract features. Three convolutional layers with convolutional kernels of different sizes are used to extract features of different scales. The feature tensors generated by each convolutional layer are merged and input into the bidirectional gated neural network (BiGRU) layer to learn the timing rules of the load data. The attention mechanism module is used to assign different weights to the input features of the load decomposition model, and the multi-energy data of the user cluster is output through the fully connected layer.

2. The non-invasive load decomposition method for a park integrated energy system according to claim 1, characterized in that: The load decomposition model includes: for user clusters of electricity / gas / heat / cold types, the total electricity load data of the park, the total gas load data of the park, the total heat load data of the park and the total cooling load data of the park are used as inputs of different subtasks respectively, combined with the influencing factor data, and a convolutional neural network is used to extract feature information from the input data, and the obtained feature information is input into a bidirectional gated neural network for feature fusion, and a multi-task learning structure is used to simultaneously output the electricity load, gas load, heat load and cooling load corresponding to this user cluster.

3. The non-invasive load decomposition method for a park integrated energy system according to claim 1, characterized in that: The influencing factors include at least meteorological conditions, calendar information, economic factors and human factors.

4. The non-invasive load decomposition method for a park integrated energy system according to claim 1, characterized in that: The input of the load decomposition model is the sliding window segment of the total multi-energy load data, and the output is the multi-energy load at the end of the window.

5. The non-invasive load decomposition method for a park integrated energy system according to claim 1, characterized in that: In the load decomposition model, a parallel convolutional neural network structure is used to extract features, and three convolutional layers with convolution kernels of different sizes are used to extract features of different scales; The feature tensors generated by each convolutional layer are merged and input into the bidirectional gated neural network layer to learn the temporal regularity of the load data, and the attention mechanism module is used to assign different weights to the input features; The multi-functional data of user clusters are output through the fully connected layer.

6. A non-intrusive load decomposition system for a park integrated energy system, characterized by: include: The data acquisition module is configured to: acquire the total multi-energy load data of the park comprehensive energy system and the energy consumption data of each user, wherein the total multi-energy load data includes the multi-energy load data of electricity, gas, heat and cold; The user partition module is configured as follows: Divide user clusters according to energy consumption data to obtain user clusters of different energy consumption types; The user cluster division includes: dividing the users into electricity, electricity / heat, electricity / heat / cold, electricity / gas / heat, and electricity / gas / heat / cold types according to their energy usage types, and then clustering users with similar energy usage characteristics within each energy usage type; Clustering users with similar energy consumption characteristics within each energy consumption type, including: clustering daily load curves of different users to complete cluster division, and the optimal number of clusters is determined according to the elbow rule; Dynamic time warping is used to measure the similarity between two sequences. , , define the distance accumulation matrix , each sample point in the two sequences and Distance between: ; The values ​​of each element of the distance accumulation matrix can be calculated according to the following formula: ; ; but It is the distance between the two load series under the best matching, which is used to measure the similarity of the two load curves. Since the multi-energy load is a multivariate time series, its similarity is measured by taking the mean. The formula is as follows: ; Where: Indicates the similarity between two multi-skilled users; The number of energy types used by users; Represents two multi-capable users Similarity of the load curves; ; The correlation analysis module is configured to: perform correlation analysis on the multi-energy load of each user cluster and the influencing factors respectively, and obtain the influencing factors corresponding to each user cluster whose correlation is greater than a preset value. Specifically, the Spearman correlation coefficient is used to perform the correlation analysis between the multi-energy loads of each user cluster and the correlation analysis between the influencing factors and the loads, and the strongly correlated variables corresponding to the multi-energy loads are selected to construct the model input features; The load decomposition module is configured as follows: For each user cluster, the multi-energy load decomposition result corresponding to the user cluster is obtained according to the multi-energy load data corresponding to the energy type of the user cluster, the strong correlation factors corresponding to the multi-energy load, and the load decomposition model corresponding to the user cluster; Carry out multi-energy load decomposition of each user cluster in turn to obtain the final multi-energy load decomposition result; Each user cluster corresponds to a load decomposition model. The load decomposition model adopts a multi-task learning MTL structure. Each load constitutes a subtask. The number of subtasks is determined according to the energy consumption type of the user cluster. The multi-task learning MTL structure uses the common features implicit in multiple related tasks by sharing soft parameters. Convolutional neural network (CNN) is used to extract feature information from the total multi-energy load data, and a parallel convolutional neural network (CNN) structure is used to extract features. Three convolutional layers with convolutional kernels of different sizes are used to extract features of different scales. The feature tensors generated by each convolutional layer are merged and input into the bidirectional gated neural network (BiGRU) layer to learn the timing rules of the load data. The attention mechanism module is used to assign different weights to the input features of the load decomposition model, and the multi-energy data of the user cluster is output through the fully connected layer.

7. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the non-invasive load decomposition method for a park integrated energy system as described in any one of claims 1 to 5 are implemented.

8. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it implements the steps in the non-invasive load decomposition method of the park integrated energy system as described in any one of claims 1-5.

Citation Information

Patent Citations

  • A non-intruding-type household-used electric load decomposition method and an apparatus

    CN103675378A

  • An integrated energy efficiency management method for residential users based on wideband carrier is disclosed

    CN109345409A

  • Non-intrusive load identification method, terminal and system

    CN110672934A

  • Park-level comprehensive energy system aided design method and system

    CN110851892A

  • Modular load electricity consumption information acquisition device

    CN110912265A