Bus load classification method, system and equipment based on key characteristic quantity and medium
Through the GMM model optimized by the PSO algorithm, the key feature quantities of the bus load are extracted, realizing rapid and accurate classification of the bus load, solving the problems of manual label dependence and classification result deviation in the existing technology, and improving the automation and accuracy of power grid regulation. .
Patent Information
- Application Number
- CN202410672943.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-08-30
AI Technical Summary
The existing bus load classification method requires a lot of manual labeling work and is difficult to accurately identify the power consumption characteristics of multiple types of loads, resulting in biased classification results and inability to effectively support power grid regulation.
The Gaussian Mixture Model (GMM) clustering method based on the particle swarm optimization algorithm (PSO) is used to extract key features from the historical daily load data of the bus, reduce the dimensionality, and use the PSO algorithm to optimize the GMM model parameters to achieve bus load Fast and accurate classification.
It does not require a lot of labeling work, improves the accuracy and automation of bus load classification, reduces manual dependence, can effectively identify the power consumption characteristics of different types of loads, and supports the regulation and prediction analysis of load-side resources.
Smart Images

Figure CN118568609A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system automation, and in particular relates to a bus load classification method, system, equipment and medium based on key characteristic quantities. Background Art
[0002] Bus load refers to the sum of the terminal loads in the area powered by the main transformer of the substation. Different types of loads, such as commercial loads, industrial loads, and user loads, have different power consumption characteristics. The types of users in the bus power supply area are different, resulting in different bus power consumption characteristics after aggregation. Effective classification of bus loads helps to improve the power grid's ability to perceive user-side resources, thereby reducing resource waste. It is also of great significance to improve the ability to identify the potential for user-side resource demand response and to tap the ability of user-side resources to participate in power grid regulation. At present, the existing bus load classification methods are mainly concentrated in neural network deep learning and clustering algorithms. Among them, the neural network deep learning method requires a lot of data labeling work, and the data preparation workload is large. Clustering algorithms such as k-means cannot cluster two classes with the same mean (same cluster center point), which easily leads to deviations in clustering results.
[0003] In the relevant prior art, for example, the patent application with publication number CN111539657A proposes "a classification and comprehensive method of load characteristics of typical power consumption industries combined with user daily power consumption curves". The scheme includes first using the typical user daily power consumption data obtained by the power consumption information collection system and the typical user active power data obtained by the load control system, and using the fuzzy C-mean method and principle to analyze the typical industry categories of each user and identify users with different classifications; then use the DBI index to determine the actual classification of such users; finally, use the DBI index to determine the optimal clustering center curve of the typical power consumption industry. This method introduces the user daily power consumption curve on the basis of the original load clustering method, which can effectively analyze the typical industry categories of each user, determine the optimal clustering center curve of the typical power consumption industry, and build a more accurate user load model. The clustering result is consistent with the actual project and has good engineering value. However, the scheme is aimed at user-level loads. In the process of power grid regulation, the bus load is often uniformly regulated. The bus load is the aggregation result of various types of user loads in the power supply area, and its operating characteristics are quite different from those of a single user load. Therefore, it is necessary to study the corresponding clustering method for the operating characteristics of the bus load. For another example, the patent application with publication number CN117349687A proposes "a daily load curve clustering method based on a variable convolutional autoencoder", which uses the PSO algorithm to optimize the network of the convolutional autoencoder. By defining the difference operation method of the two convolutional autoencoder network structure parts, the PSO algorithm can not only automatically search for the optimal hyperparameters, but also determine the network structure of the optimal convolutional autoencoder, reducing the workload and randomness of manual parameter adjustment, and improving the convolutional autoencoder part embedded in the clustering layer, and calculating the clustering loss through KL divergence, the feature learning and clustering process are jointly optimized as a whole, and a deep clustering OFCAE network is designed, and the initial clustering results are obtained from the network. Then, reliable samples are selected from the initial clustering results to train the CNN network, and the trained CNN network is used to output the clustering results of the entire data set. This clustering method improves the clustering effect while reducing network parameters. However, the clustering method using neural networks is a supervised learning method, which requires labeling of data in advance, so it consumes a lot of manpower. In addition, bus loads bring together multiple types of loads, and the differences in power consumption characteristics are sometimes not identifiable by manpower and are difficult to label and classify. Therefore, it is even more necessary to improve the automation of bus classification and reduce dependence on manual labor. Summary of the invention
[0004] The purpose of the present invention is to address the problems in the above-mentioned prior art and provide a bus load classification method, system, equipment and medium based on key characteristic quantities, which does not require a large amount of data labeling work. The parameter optimization performance of the GMM (Gaussian Mixture Model) clustering algorithm is improved by combining PSO (Particle Swarm Optimization) with the Particle Swarm Optimization algorithm, so as to quickly and accurately realize the classification of bus loads.
[0005] In order to achieve the above object, the present invention has the following technical solutions:
[0006] In a first aspect, an embodiment of the present invention provides a bus load classification method based on key characteristic quantities, comprising:
[0007] Obtain the historical daily load data of n buses, with m measured values for each bus, to form the bus daily load matrix of the tth day, extract key feature quantities from the historical daily load data of the bus, and reduce the dimension of the bus daily load matrix;
[0008] The GMM model is used to classify the bus daily load matrix after dimension reduction to determine the number of cluster categories N;
[0009] According to the number of clustering categories N, clustering is performed using the GMM model improved by the PSO algorithm, and the clustering results are output. Based on the clustering results, the categories of all bus loads are divided.
[0010] As a preferred solution, the bus daily load matrix on the tth day is:
[0011]
[0012] Among them, P i,j is the measured value of the i-th bus at the j-th moment;
[0013] The method also includes a step of performing data processing after obtaining the historical daily load data of n buses, wherein the data processing step includes cleaning abnormal data, supplementing the missing measurement values by interpolation, and eliminating the measurement values whose deviation from the average value of the historical data exceeds 3 times the standard deviation, and then supplementing them by interpolation;
[0014] After the data processing step, the data is normalized. The normalization process includes:
[0015] Take the maximum value of all bus historical loads, denoted as P max ;
[0016] The values in the bus daily load matrix of day t are normalized and calculated as follows:
[0017]
[0018] Among them, P im It is the measured value of bus load i at the mth moment in the bus daily load matrix of the tth day.
[0019] As a preferred solution, in the step of extracting key characteristic quantities from the historical daily load data of the bus and reducing the dimension of the bus daily load matrix, the key characteristic quantities are daily load average, daily load maximum, daily load minimum, peak-to-valley difference, load rate, power consumption mode value and load daily fluctuation rate;
[0020] The daily load mean is the average load of the bus at each moment, and the calculation expression is:
[0021]
[0022] Where m is the number of measured values of bus load n per day, P ni is the ith measured value of busbar n load, P nave is the daily average value of bus load n;
[0023] Maximum daily load P nmax and the minimum daily load P nmin They are the maximum and minimum values of the bus load on day n:
[0024] P nmax =max{P n1 ,P n2 ,…,P nm}
[0025] P nmin =min{P n1 ,P n2 ,…,P nm}
[0026] Peak-to-valley difference P ndif is the maximum daily load P nmax and the minimum daily load P nmin Difference:
[0027] P ndif =P nmax -P nmin
[0028] Load rate P nrate is the daily average value of bus load P nave The maximum daily load P nmax Ratio of:
[0029] P nrate =P nave / P nmax
[0030] The daily load power consumption pattern of the busbar is classified, and the number of time periods with an increasing load trend is P n1 , the number of time periods during which the load shows a stable operating trend is P n2 , the number of time periods with a decreasing load trend is P n3 , count the number of power consumption patterns of each bus within a day, and get the power consumption pattern value P nnum , the calculation expression is:
[0031] P nnum =P n1 +P n2 +P n3
[0032] Daily load fluctuation rate P nwav The calculation expression is:
[0033]
[0034] The bus daily load matrix after dimensionality reduction is:
[0035]
[0036] As a preferred solution, the step of classifying the bus daily load matrix after dimensionality reduction using the GMM model and determining the number of cluster categories N includes:
[0037] When the number of categories k = 1, calculate the mean of each characteristic quantity of each category of bus load:
[0038]
[0039] Where n is the number of buses, P i,j is the jth characteristic value of the i-th busbar;
[0040] Calculate the mean value P of each bus characteristic value to each category of bus load according to the following formula a,j The sum of the Manhattan distances is:
[0041]
[0042] Increase the number of categories, that is, perform the calculation of k=k+1, and repeat the above steps to find the inflection point of the change of the value D, and determine the number of clustering categories N according to the inflection point of the change of the value D.
[0043] As a preferred solution, the step of clustering the GMM model improved by the PSO algorithm according to the number of cluster categories N includes:
[0044] According to the number of clustering categories N, the number of particles in the particle swarm is determined to be the same as the number of categories N, and the dimension of the particles is set to the number of undetermined parameters t of the Gaussian distribution probability density function;
[0045] Initialize the pending parameters based on their upper and lower limits:
[0046] X i =(X imax -X imin )×w+X imin i=1,2,…t
[0047] Among them, w is a random number in the interval [0,1], X i is the i-th undetermined parameter, X imax is the upper limit of the i-th undetermined parameter, X imin is the lower limit of the i-th undetermined parameter;
[0048] The Gaussian distribution probability density function of the characteristic data in the bus daily load matrix after dimensionality reduction is:
[0049]
[0050] Where D is the dimension of the load characteristic quantity, μ is the expectation of the bus daily load matrix after dimensionality reduction, and ∑ is the covariance of the bus daily load matrix after dimensionality reduction;
[0051] The log-likelihood function is:
[0052]
[0053] Where n is the number of bus loads to be clustered, N is the number of clustering categories; δ j , μ j and∑ j is the unknown parameter of the probability density function of the jth group of Gaussian distribution;
[0054] The undetermined parameters of the Gaussian distribution probability density function are updated by the PSO algorithm as follows:
[0055] V i =V i +c1×w1×(pbest-X i )+c2×w2×(gbest-X t )i=1,2,…,t
[0056] X i =X i +V i i=1,2,…,t
[0057] Where w1 and w2 are random numbers in the interval [0,1]; c1 and c2 are learning factors; V i is the update speed of the particle; pbest is the optimal target value of the individual parameter of the probability density function to be determined; gbest is the global optimal value of the parameter of the probability density function to be determined;
[0058] According to the unknown parameters of the updated Gaussian distribution probability density function, the corresponding log-likelihood function is calculated;
[0059] It is determined whether the difference of the log-likelihood function before and after the PSO algorithm is updated twice is less than the preset threshold value. If it is less than the threshold value, it is determined that the pending parameters have converged. Otherwise, the PSO algorithm is repeatedly updated until the pending parameters converge.
[0060] As a preferred scheme, in the step of outputting clustering results and completing the classification of all bus loads based on the clustering results, the responsiveness of each bus load characteristic data to each Gaussian distribution probability density function is calculated according to the determined Gaussian distribution probability density function, and the bus load characteristic data is classified according to a pre-set responsiveness threshold to complete the classification of all bus loads.
[0061] In a second aspect, an embodiment of the present invention provides a bus load classification system based on key characteristic quantities, including:
[0062] The data acquisition and feature compression module is used to obtain the historical daily load data of n buses, with m measured values of each bus, to form the bus daily load matrix of the tth day, extract key feature quantities from the historical daily load data of the bus, and reduce the dimension of the bus daily load matrix;
[0063] The cluster quantity determination module is used to classify the bus daily load matrix after dimensionality reduction using the GMM model to determine the number of cluster categories N;
[0064] The classification module is used to perform clustering according to the number of clustering categories N through the GMM model improved by the PSO algorithm, output the clustering results, and complete the classification of all bus loads based on the clustering results.
[0065] As a preferred solution, the bus daily load matrix of the tth day obtained by the data acquisition and feature compression module is:
[0066]
[0067] Among them, P i,j is the measured value of the i-th bus at the j-th moment;
[0068] It also includes a data processing module, which is used to process the data after obtaining the historical daily load data of n buses. The data processing includes cleaning abnormal data, supplementing the missing measurement values by interpolation processing, and eliminating the measurement values whose deviation from the average value of the historical data exceeds 3 times the standard deviation, and then supplementing them by interpolation processing;
[0069] It also includes a normalization processing module, which is used to normalize the data after data processing. The normalization processing includes:
[0070] Take the maximum value of all bus historical loads, denoted as P max ;
[0071] The values in the bus daily load matrix of day t are normalized and calculated as follows:
[0072]
[0073] Among them, P im It is the measured value of bus load i at the mth moment in the bus daily load matrix of the tth day.
[0074] As a preferred solution, the key feature quantities extracted by the data acquisition and feature quantity compression module are daily load average, daily load maximum, daily load minimum, peak-to-valley difference, load rate, power consumption mode value and load daily fluctuation rate;
[0075] The daily load mean is the average load of the bus at each moment, and the calculation expression is:
[0076]
[0077] Where m is the number of measured values of bus load n per day, P ni is the ith measured value of busbar n load, P nave is the daily average value of bus load n;
[0078] Maximum daily load P nmax and the minimum daily load P nmin They are the maximum and minimum values of the bus load on day n:
[0079] P nmax =max{P n1 ,P n2 ,…,P nm}
[0080] P nmin =min{P n1 ,P n2 ,…,P nm}
[0081] Peak-to-valley difference Pndif is the maximum daily load P nmax and the minimum daily load P nmin Difference:
[0082] P ndif =P nmax -P nmin
[0083] Load rate P nrate is the daily average value of bus load P nave The maximum daily load P nmax Ratio of:
[0084] P nrate =P nave / P nmax
[0085] The daily load power consumption pattern of the busbar is classified, and the number of time periods with an increasing load trend is P n1 , the number of time periods during which the load shows a stable operating trend is P n2 , the number of time periods with a decreasing load trend is P n3 , count the number of power consumption patterns of each bus within a day, and get the power consumption pattern value P nnum , the calculation expression is:
[0086] P nnum =P n1 +P n2 +P n3
[0087] Daily load fluctuation rate P nwav The calculation expression is:
[0088]
[0089] The bus daily load matrix after dimensionality reduction is:
[0090]
[0091] As a preferred solution, when the number of categories k=1, the cluster number determination module calculates the mean of each characteristic quantity of each category of bus load:
[0092]
[0093] Where n is the number of buses, P i,j is the jth characteristic value of the i-th busbar;
[0094] Calculate the mean value P of each bus characteristic value to each category of bus load according to the following formula a,j The sum of the Manhattan distances is:
[0095]
[0096] Increase the number of categories, that is, perform the calculation of k=k+1, and repeat the above steps to find the inflection point of the change of the value D, and determine the number of clustering categories N according to the inflection point of the change of the value D.
[0097] As a preferred solution, the category division module determines the number of particles in the particle swarm to be the same as the number of categories N according to the number of clustered categories N, and the dimension of the particles is set to the number of undetermined parameters t of the Gaussian distribution probability density function;
[0098] Initialize the pending parameters based on their upper and lower limits:
[0099] X i =(X imax -X imin )×w+X imin i=1,2,…t
[0100] Among them, w is a random number in the interval [0,1], X i is the i-th undetermined parameter, X imax is the upper limit of the i-th undetermined parameter, X imin is the lower limit of the i-th undetermined parameter;
[0101] The Gaussian distribution probability density function of the characteristic data in the bus daily load matrix after dimensionality reduction is:
[0102]
[0103] Where D is the dimension of the load characteristic quantity, μ is the expectation of the bus daily load matrix after dimensionality reduction, and ∑ is the covariance of the bus daily load matrix after dimensionality reduction;
[0104] The log-likelihood function is:
[0105]
[0106] Where n is the number of bus loads to be clustered, N is the number of clustering categories; δ j , μ j and∑ j is the unknown parameter of the probability density function of the jth group of Gaussian distribution;
[0107] The undetermined parameters of the Gaussian distribution probability density function are updated by the PSO algorithm as follows:
[0108] V i =V i +c1×w1×(pbest-X i )+c2×w2×(gbest-X t) i=1,2,…,t
[0109] X i =X i +V i i=1,2,…,t
[0110] Where w1 and w2 are random numbers in the interval [0,1]; c1 and c2 are learning factors; V i is the update speed of the particle; pbest is the optimal target value of the individual parameter of the probability density function to be determined; gbest is the global optimal value of the parameter of the probability density function to be determined;
[0111] According to the unknown parameters of the updated Gaussian distribution probability density function, the corresponding log-likelihood function is calculated;
[0112] It is determined whether the difference of the log-likelihood function before and after the PSO algorithm is updated twice is less than the preset threshold value. If it is less than the threshold value, it is determined that the pending parameters have converged. Otherwise, the PSO algorithm is repeatedly updated until the pending parameters converge.
[0113] As a preferred solution, when the category classification module completes the category classification of all bus loads based on the clustering results, the responsiveness of each bus load characteristic data to each Gaussian distribution probability density function is calculated according to the determined Gaussian distribution probability density function, and the bus load characteristic data is classified according to a pre-set responsiveness threshold to complete the category classification of all bus loads.
[0114] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor and a memory, wherein the processor is configured to execute a computer program stored in the memory to implement the bus load classification method based on key characteristic quantities as described in the first aspect.
[0115] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the bus load classification method based on key characteristic quantities as described in the first aspect is implemented.
[0116] Compared with the prior art, the first aspect of the present invention has at least the following beneficial effects:
[0117] Aiming at the interactive demand of power system source, grid, load and storage coordination, and tapping the regulation potential of the load side, the present invention proposes a bus load PSO-GMM clustering method based on key characteristic quantities based on massive bus load curve data. By extracting key characteristic quantities from the historical daily load data of the bus, the bus daily load matrix is reduced and reduced in dimension. The GMM model is used to classify the reduced and reduced bus daily load matrix to determine the number of clustering categories N. Clustering is performed according to the number of clustering categories N using the GMM model improved by the PSO algorithm. The global optimization capability and optimization speed of the parameters of the GMM clustering model are improved by combining the PSO algorithm. The present invention realizes clustering analysis of bus loads, and completes clustering using the maximized posterior probability of key characteristic quantities of the bus, which can lay the foundation for the analysis of the adjustable potential of load-side resources and load forecasting analysis. The present invention improves the applicability of the bus load clustering method. It does not need to perform a large amount of labeling work on the data like the neural network method, and the traditional k-means clustering algorithm will not be unable to cluster two classes with the same mean. The PSO algorithm is combined to improve the parameter optimization performance of the GMM clustering model, and the classification calculation of the bus load can be realized quickly and accurately. The bus load clustering, bus load prediction, load adjustable potential mining and other functions are integrated with each other, relying on the adjustable load control system of each regional power grid to carry out construction, and provide load aggregation analysis services, which lays a foundation for further fully tapping the regulation potential of load-side resources, enhancing the level of refined resource management, and promoting the participation of adjustable loads in the dispatching and operation of the power grid.
[0118] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0119] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0120] Figure 1 Flow chart of a bus load classification method based on key characteristic quantities according to an embodiment of the present invention;
[0121] Figure 2 A structural block diagram of a bus load classification system based on key characteristic quantities in an embodiment of the present invention. DETAILED DESCRIPTION
[0122] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0123] The existing bus load classification methods are mainly concentrated on neural network deep learning methods and clustering algorithms. Neural networks require a lot of data labeling work, and the data preparation workload is large. Clustering algorithms such as k-means cannot cluster two classes with the same mean (same cluster center point), which can easily lead to deviations in clustering results. Therefore, the present invention is aimed at the coordinated interaction needs of power system source, grid, load and storage, expands the control resources on the load side, and proposes a bus load improved Gaussian mixture clustering method based on key characteristic quantities based on massive bus load curve data.
[0124] See also Figure 1 The bus load classification method based on key characteristic quantities in the embodiment of the present invention includes:
[0125] S1. Obtain the historical daily load data of n buses, where the measured value of each bus is m, to form the bus daily load matrix of the tth day, extract key feature quantities from the historical daily load data of the bus, and reduce the dimension of the bus daily load matrix;
[0126] S2. Classify the bus daily load matrix after dimensionality reduction using the GMM model to determine the number of cluster categories N;
[0127] S3. Clustering is performed according to the number of clustering categories N using the GMM model improved by the PSO algorithm, the clustering results are output, and the categories of all bus loads are divided according to the clustering results.
[0128] Step S1 first completes data acquisition and processing, and the resulting bus daily load matrix for day t is:
[0129]
[0130] Among them, P i,j is the measured value of the i-th bus at the j-th moment;
[0131] After obtaining the historical daily load data of n buses, data processing is performed. The steps of data processing include cleaning abnormal data and supplementing the missing measurement values through interpolation processing. The measurement values whose deviation from the average value of historical data exceeds 3 times the standard deviation are eliminated and then supplemented by interpolation processing.
[0132] After data processing, the data is normalized. The normalization process includes:
[0133] Take the maximum value of all bus historical loads, denoted as P max ;
[0134] The values in the bus daily load matrix of day t are normalized and calculated as follows:
[0135]
[0136] Among them, P im It is the measured value of bus load i at the mth moment in the bus daily load matrix of the tth day.
[0137] Furthermore, step S1 reduces the dimension of the bus daily load matrix by extracting key feature quantities from the historical daily load data of the bus. In a possible implementation, the key feature quantities include the daily load mean, the daily load maximum, the daily load minimum, the peak-to-valley difference, the load rate, the power consumption mode value, and the daily load fluctuation rate;
[0138] Among them, the daily load mean is the average load value of the bus at each moment, and the calculation expression is:
[0139]
[0140] Where m is the number of measured values of bus load n per day, P ni is the ith measured value of busbar n load, P nave is the daily average value of bus load n;
[0141] Maximum daily load P nmax and the minimum daily load P nmin They are the maximum and minimum values of the bus load on day n:
[0142] P nmax =max{P n1 ,P n2 ,…,P nm}
[0143] P nmin =min{P n1 ,P n2 ,…,P nm}
[0144] Peak-to-valley difference P ndif is the maximum daily load P nmax and the minimum daily load P nmin Difference:
[0145] P ndif =P nmax -Pnmin
[0146] Load rate P nrate is the daily average value of bus load P nave The maximum daily load P nmax Ratio of:
[0147] P nrate =P nave / P nmax
[0148] Power consumption mode value P nnum The solution is to classify the daily load power consumption pattern of the busbar, and the number of time periods with an increasing load trend is P n1 , the number of time periods during which the load shows a stable operating trend is P n2 , the number of time periods with a decreasing load trend is P n3 , count the number of power consumption patterns of each bus within a day, and get the power consumption pattern value P nnum , the calculation expression is:
[0149] P nnum =P n1 +P n2 +P n3
[0150] Daily load fluctuation rate P nwav The calculation expression is:
[0151]
[0152] According to the key characteristic quantities of the bus load, a compressed bus load characteristic matrix is formed for subsequent load clustering analysis. The bus daily load matrix after dimensionality reduction is:
[0153]
[0154] In a possible implementation, when the GMM model is used to classify the bus daily load matrix after dimensionality reduction in step S2, the number of categories needs to be determined first. The step of determining the number of clustering categories N includes:
[0155] (1) First, assuming that the number of categories k = 1, calculate the mean of each characteristic quantity of each category of bus load:
[0156]
[0157] Where n is the number of buses, P i,j is the jth characteristic value of the i-th busbar;
[0158] (2) Calculate the bus characteristic value to the mean bus load P of each category according to the following formula a,jThe sum of the Manhattan distances is:
[0159]
[0160] The number of categories is continuously increased, that is, k=k+1 is calculated, and the above steps (1) and (2) are repeated to find the inflection point of the change of the value D, and the number of cluster categories N is determined according to the inflection point of the change of the value D.
[0161] In a possible implementation, step S3 performs clustering through a GMM model improved by a PSO algorithm. The GMM model is a probability model. The Gaussian model uses a Gaussian probability density function (normal distribution curve) to accurately quantify things and decomposes a thing into several models based on the Gaussian probability density function (normal distribution curve). The PSO algorithm starts from a random solution and searches for the optimal solution through iteration. It also evaluates the quality of the solution through fitness. This algorithm is easy to implement, has high accuracy, and converges quickly. The clustering algorithm using the GMM model trains several Gaussian models, each of which represents a category, and then projects the samples onto these Gaussian models to obtain the probability of belonging to each category, where the highest probability is the classification result to which the sample belongs. The traditional GMM model clustering solution relies on the EM algorithm, which is prone to fall into local extreme values due to improper selection of initial values, resulting in deviations in the final classification results. Therefore, the embodiment of the present invention uses the PSO algorithm to improve the global optimization capability of GMM parameters and improve its convergence speed. The specific steps are:
[0162] (1) Initialize particle swarm
[0163] According to the number of clustering categories N, the number of particles in the particle swarm is determined to be the same as the number of categories N, and the dimension of the particles is set to the number of undetermined parameters t of the Gaussian distribution probability density function;
[0164] Initialize the pending parameters based on their upper and lower limits:
[0165] X i =(X imax -X imin )×w+X imin i=1,2,…t
[0166] Among them, w is a random number in the interval [0,1], X i is the i-th undetermined parameter, X imax is the upper limit of the i-th undetermined parameter, X imin is the lower limit of the i-th undetermined parameter.
[0167] (2) Calculate the log-likelihood function of the sample set
[0168] The Gaussian distribution probability density function of the characteristic data in the bus daily load matrix after dimensionality reduction is:
[0169]
[0170] Where D is the dimension of the load characteristic quantity, μ is the expectation of the bus daily load matrix after dimensionality reduction, and ∑ is the covariance of the bus daily load matrix after dimensionality reduction;
[0171] The calculation expression of the log-likelihood function is:
[0172]
[0173] Where n is the number of bus loads to be clustered, N is the number of clustering categories; δ j , μ j and∑ j is the unknown parameter of the probability density function of the jth group of Gaussian distribution.
[0174] (3) Update the unknown parameters of the Gaussian distribution probability density function through the PSO algorithm as follows:
[0175] V i =V i +c1×w1×(pbest-X i )+c2×w2×(gbest-X t ) i=1,2,…,t
[0176] X i =X i +V i i=1,2,…,t
[0177] Where w1 and w2 are random numbers in the interval [0,1]; c1 and c2 are learning factors; V i is the update speed of the particle; pbest is the optimal target value of the individual parameter of the probability density function to be determined; gbest is the global optimal value of the parameter of the probability density function to be determined;
[0178] According to the unknown parameters of the updated Gaussian distribution probability density function, the corresponding log-likelihood function is calculated according to step (2).
[0179] (4) Determine whether the difference between the log-likelihood function before and after the PSO algorithm is updated is less than a preset threshold value. If so, the undetermined parameter is determined to have converged. Otherwise, the PSO algorithm is repeatedly updated until the undetermined parameter converges.
[0180] In a possible implementation, when step S3 completes the classification of all bus loads based on the clustering results, the responsiveness of each bus load characteristic data to each Gaussian distribution probability density function is calculated according to the determined Gaussian distribution probability density function. The higher the responsiveness, the more the bus load data characteristics are inclined to this category. The bus load characteristic data are classified according to the pre-set responsiveness threshold to complete the classification of all bus loads.
[0181] The present invention is based on a large amount of bus load curve data and proposes an improved Gaussian mixture clustering method for bus load based on key characteristic quantities. Firstly, by adjusting the number of clusters, the number of clusters at which the Manhattan distance from the points in each cluster to the center point of the corresponding cluster has an inflection point is determined as the number of categories, and the PSO algorithm is used to improve the global optimization ability and optimization speed of the parameters of the Gaussian mixture model, thereby improving the accuracy of bus load classification. There is no need to label the data, which lays the foundation for mining the relationship and composition between different regions and different buses, effectively dividing the bus load of the substation, and analyzing the adjustable capacity of the load-side resources. It is beneficial to improve the level of awareness of the overall energy efficiency level of the power grid and support the formulation of power dispatching strategies.
[0182] See also Figure 2 The embodiment of the present invention further proposes a bus load classification system based on key characteristic quantities, including:
[0183] The data acquisition and feature compression module is used to obtain the historical daily load data of n buses, with m measured values of each bus, to form the bus daily load matrix of the tth day, extract key feature quantities from the historical daily load data of the bus, and reduce the dimension of the bus daily load matrix;
[0184] The cluster quantity determination module is used to classify the bus daily load matrix after dimensionality reduction using the GMM model to determine the number of cluster categories N;
[0185] The classification module is used to perform clustering according to the number of clustering categories N through the GMM model improved by the PSO algorithm, output the clustering results, and complete the classification of all bus loads based on the clustering results.
[0186] In a possible implementation manner, the bus daily load matrix of the tth day obtained by the data acquisition and feature compression module is expressed as:
[0187]
[0188] Among them, P i,j is the measured value of the i-th bus at the j-th moment;
[0189] It also includes a data processing module, which is used to process the data after obtaining the historical daily load data of n buses. The data processing includes cleaning abnormal data, supplementing the missing measurement values by interpolation processing, and eliminating the measurement values whose deviation from the average value of the historical data exceeds 3 times the standard deviation, and then supplementing them by interpolation processing;
[0190] It also includes a normalization processing module, which is used to normalize the data after data processing. The normalization processing includes:
[0191] Take the maximum value of all bus historical loads, denoted as P max ;
[0192] The values in the bus daily load matrix of day t are normalized and calculated as follows:
[0193]
[0194] Among them, P im It is the measured value of bus load i at the mth moment in the bus daily load matrix of the tth day.
[0195] In a possible implementation, the key feature quantities extracted by the data acquisition and feature quantity compression module are daily load average, daily load maximum, daily load minimum, peak-to-valley difference, load rate, power consumption mode value, and load daily fluctuation rate;
[0196] The daily load mean is the average load of the bus at each moment, and the calculation expression is:
[0197]
[0198] Where m is the number of measured values of bus load n per day, P ni is the ith measured value of busbar n load, P nave is the daily average value of bus load n;
[0199] Maximum daily load P nmax and the minimum daily load P nmin They are the maximum and minimum values of the bus load on day n:
[0200] P nmax =max{P n1 ,P n2 ,…,P nm}
[0201] P nmin =min{P n1 ,P n2 ,…,P nm}
[0202] Peak-to-valley difference Pndif is the maximum daily load P nmax and the minimum daily load P nmin Difference:
[0203] P ndif =P nmax -P nmin
[0204] Load rate P nrate is the daily average value of bus load P nave The maximum daily load P nmax Ratio of:
[0205] P nrate =P nave / P nmax
[0206] The daily load power consumption pattern of the busbar is classified, and the number of time periods with an increasing load trend is P n1 , the number of time periods during which the load shows a stable operating trend is P n2 , the number of time periods with a decreasing load trend is P n3 , count the number of power consumption patterns of each bus within a day, and get the power consumption pattern value P nnum , the calculation expression is:
[0207] P nnum =P n1 +P n2 +P n3
[0208] Daily load fluctuation rate P nwav The calculation expression is:
[0209]
[0210] The bus daily load matrix after dimensionality reduction is:
[0211]
[0212] In a possible implementation, when the number of categories k=1, the cluster quantity determination module calculates the mean of each characteristic quantity of each category of bus load:
[0213]
[0214] Where n is the number of buses, P i,j is the jth characteristic value of the i-th busbar;
[0215] Calculate the mean value P of each bus characteristic value to each category of bus load according to the following formula a,j The sum of the Manhattan distances is:
[0216]
[0217] Increase the number of categories, that is, perform the calculation of k=k+1, and repeat the above steps to find the inflection point of the change of the value D, and determine the number of clustering categories N according to the inflection point of the change of the value D.
[0218] In a possible implementation, the classification module determines the number of particles in the particle swarm to be the same as the number of categories N according to the number of clustered categories N, and the dimension of the particles is set to the number of undetermined parameters t of the Gaussian distribution probability density function;
[0219] Initialize the pending parameters based on their upper and lower limits:
[0220] X i =(X imax -X imin )×w+X imin i=1,2,…t
[0221] Among them, w is a random number in the interval [0,1], X i is the i-th undetermined parameter, X imax is the upper limit of the i-th undetermined parameter, X imin is the lower limit of the i-th undetermined parameter;
[0222] The Gaussian distribution probability density function of the characteristic data in the bus daily load matrix after dimensionality reduction is:
[0223]
[0224] Where D is the dimension of the load characteristic quantity, μ is the expectation of the bus daily load matrix after dimensionality reduction, and ∑ is the covariance of the bus daily load matrix after dimensionality reduction;
[0225] The log-likelihood function is:
[0226]
[0227] Where n is the number of bus loads to be clustered, N is the number of clustering categories; δ j , μ j and∑ j is the unknown parameter of the probability density function of the jth group of Gaussian distribution;
[0228] The undetermined parameters of the Gaussian distribution probability density function are updated by the PSO algorithm as follows:
[0229] V i =V i +c1×w1×(pbest-X i )+c2×w2×(gbest-X t)i=1,2,…,t
[0230] X i =X i +V i i=1,2,…,t
[0231] Where w1 and w2 are random numbers in the interval [0,1]; c1 and c2 are learning factors; V i is the update speed of the particle; pbest is the optimal target value of the individual parameter of the probability density function to be determined; gbest is the global optimal value of the parameter of the probability density function to be determined;
[0232] According to the unknown parameters of the updated Gaussian distribution probability density function, the corresponding log-likelihood function is calculated;
[0233] It is determined whether the difference of the log-likelihood function before and after the PSO algorithm is updated twice is less than the preset threshold value. If it is less than the threshold value, it is determined that the pending parameters have converged. Otherwise, the PSO algorithm is repeatedly updated until the pending parameters converge.
[0234] Furthermore, when the category classification module completes the category classification of all bus loads based on the clustering results, the response of each bus load characteristic data to each Gaussian distribution probability density function is calculated according to the determined Gaussian distribution probability density function. The higher the response, the more the bus load data characteristics are inclined to this category. The bus load characteristic data are classified according to the pre-set response threshold to complete the category classification of all bus loads.
[0235] The embodiment of the present invention uses the key characteristic quantities of bus load to form a compression matrix for cluster analysis. By forming a compressed characteristic matrix of bus load, the data dimension input to the Gaussian mixture clustering model is reduced, the amount of calculation is reduced, and the clustering speed is improved. At the same time, the initial values of the Gaussian mixture model parameters are initialized using the PSO algorithm, and the parameters of the Gaussian distribution probability density function are globally optimized according to the PSO algorithm, avoiding the problem of falling into local extreme values that is prone to occur in traditional Gaussian mixture model clustering.
[0236] Another embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the bus load classification method based on key characteristic quantities described in the present invention.
[0237] Another embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the bus load classification method based on key characteristic quantities of the present invention is implemented.
[0238] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, USB flash drive, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals. For ease of explanation, the above content only shows the part related to the embodiment of the present invention. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium is non-temporary and can be stored in a storage device formed by various electronic devices, which can realize the execution process recorded in the method of the embodiment of the present invention.
[0239] 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. Moreover, 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.
[0240] 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 process in the flowchart. 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.
[0241] 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.
[0242] 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 A step that specifies a function in one or more boxes.
[0243] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A bus load classification method based on key characteristic quantities, characterized in that: include: Obtain the historical daily load data of n buses, with m measured values for each bus, to form the bus daily load matrix of the tth day, extract key feature quantities from the historical daily load data of the bus, and reduce the dimension of the bus daily load matrix; The GMM model is used to classify the bus daily load matrix after dimension reduction to determine the number of cluster categories N; According to the number of clustering categories N, clustering is performed using the GMM model improved by the PSO algorithm, and the clustering results are output. Based on the clustering results, the categories of all bus loads are divided.
2. The bus load classification method based on key characteristic quantities according to claim 1 is characterized in that: The bus daily load matrix of the tth day is: Among them, P i,j is the measured value of the i-th bus at the j-th moment; The method also includes a step of performing data processing after obtaining the historical daily load data of n buses, wherein the data processing step includes cleaning abnormal data, supplementing the missing measurement values by interpolation, and eliminating the measurement values whose deviation from the average value of the historical data exceeds 3 times the standard deviation, and then supplementing them by interpolation; After the data processing step, the data is normalized. The normalization process includes: Take the maximum value of all bus historical loads, denoted as P max ; The values in the bus daily load matrix of day t are normalized and calculated as follows: Among them, P im It is the measured value of bus load i at the mth moment in the bus daily load matrix of the tth day.
3. The bus load classification method based on key characteristic quantities according to claim 2 is characterized in that: In the step of extracting key characteristic quantities from the historical daily load data of the bus and reducing the dimension of the bus daily load matrix, the key characteristic quantities include daily load average, daily load maximum, daily load minimum, peak-to-valley difference, load rate, power consumption mode value and load daily fluctuation rate; The daily load mean is the average load of the bus at each moment, and the calculation expression is: Where m is the number of measured values of bus load n per day, P ni is the ith measured value of busbar n load, P nave is the daily average value of bus load n; Maximum daily load P nmax and the minimum daily load P nmin They are the maximum and minimum values of the bus load on day n: P nmax =max{P n1 ,P n2 ,…,P nm } P nmin =min{P n1 ,P n2 ,…,P nm } Peak-to-valley difference P ndif is the maximum daily load P nmax and the minimum daily load P nmin Difference: P ndif =P nmax -P nmin Load rate P nrate is the daily average value of bus load P nave The maximum daily load P nmax Ratio of: P nrate =P nave / P nmax The daily load power consumption pattern of the busbar is classified, and the number of time periods with an increasing load trend is P n1 , the number of time periods during which the load shows a stable operating trend is P n2 , the number of time periods with a decreasing load trend is P n3 , count the number of power consumption patterns of each bus within a day, and get the power consumption pattern value P nnum , the calculation expression is: P nnum =P n1 +P n2 +P n3 Daily load fluctuation rate P nwav The calculation expression is: The bus daily load matrix after dimensionality reduction is:
4. The bus load classification method based on key characteristic quantities according to claim 1 is characterized in that: The step of classifying the bus daily load matrix after dimensionality reduction using the GMM model and determining the number of cluster categories N includes: When the number of categories k = 1, calculate the mean of each characteristic quantity of each category of bus load: Where n is the number of buses, P i,j is the jth characteristic value of the i-th busbar; Calculate the mean value P of each bus characteristic value to each category of bus load according to the following formula a,j The sum of the Manhattan distances is: Increase the number of categories, that is, perform the calculation of k=k+1, and repeat the above steps to find the inflection point of the change of the value D, and determine the number of clustering categories N according to the inflection point of the change of the value D.
5. The bus load classification method based on key characteristic quantities according to claim 1 is characterized in that: The step of clustering the GMM model improved by the PSO algorithm according to the number of cluster categories N includes: According to the number of clustering categories N, the number of particles in the particle swarm is determined to be the same as the number of categories N, and the dimension of the particles is set to the number of undetermined parameters t of the Gaussian distribution probability density function; Initialize the pending parameters based on their upper and lower limits: X i =(X imax -X imin )×w+X imin i=1,2,…t Among them, w is a random number in the interval [0,1], X i is the i-th undetermined parameter, X imax is the upper limit of the i-th undetermined parameter, X imin is the lower limit of the i-th undetermined parameter; The Gaussian distribution probability density function of the characteristic data in the bus daily load matrix after dimensionality reduction is: Where D is the dimension of the load characteristic quantity, μ is the expectation of the bus daily load matrix after dimensionality reduction, and ∑ is the covariance of the bus daily load matrix after dimensionality reduction; The log-likelihood function is: Where n is the number of bus loads to be clustered, N is the number of clustering categories; δ j , μ j and∑ j is the unknown parameter of the probability density function of the jth group of Gaussian distribution; The undetermined parameters of the Gaussian distribution probability density function are updated by the PSO algorithm as follows: V i =V i +c1×w1×(pbest-X i )+c2×w2×(gbest-X t )i=1,2,…,t X i =X i +V i i=1,2,…,t Where w1 and w2 are random numbers in the interval [0,1]; c1 and c2 are learning factors; V i is the update speed of the particle; pbest is the optimal target value of the individual parameter of the probability density function to be determined; gbest is the global optimal value of the parameter of the probability density function to be determined; According to the unknown parameters of the updated Gaussian distribution probability density function, the corresponding log-likelihood function is calculated; It is determined whether the difference of the log-likelihood function before and after the PSO algorithm is updated twice is less than the preset threshold value. If it is less than the threshold value, it is determined that the pending parameters have converged. Otherwise, the PSO algorithm is repeatedly updated until the pending parameters converge.
6. The bus load classification method based on key characteristic quantities according to claim 5 is characterized in that: In the step of outputting clustering results and completing the classification of all bus loads based on the clustering results, the responsiveness of each bus load characteristic data to each Gaussian distribution probability density function is calculated according to the determined Gaussian distribution probability density function, and each bus load characteristic data is classified according to a pre-set responsiveness threshold to complete the classification of all bus loads.
7. A bus load classification system based on key characteristic quantities, characterized in that: include: The data acquisition and feature compression module is used to obtain the historical daily load data of n buses, with m measured values of each bus, to form the bus daily load matrix of the tth day, extract key feature quantities from the historical daily load data of the bus, and reduce the dimension of the bus daily load matrix; The cluster quantity determination module is used to classify the bus daily load matrix after dimensionality reduction using the GMM model to determine the number of cluster categories N; The classification module is used to perform clustering according to the number of clustering categories N through the GMM model improved by the PSO algorithm, output the clustering results, and complete the classification of all bus loads based on the clustering results.
8. The bus load classification system based on key characteristic quantities according to claim 7 is characterized in that: The bus daily load matrix of the tth day obtained by the data acquisition and feature compression module is: Among them, P i,j is the measured value of the i-th bus at the j-th moment; It also includes a data processing module, which is used to process the data after obtaining the historical daily load data of n buses. The data processing includes cleaning abnormal data, supplementing the missing measurement values by interpolation processing, and eliminating the measurement values whose deviation from the average value of the historical data exceeds 3 times the standard deviation, and then supplementing them by interpolation processing; The system also includes a normalization processing module, which is used to perform normalization processing on the data after data processing. The normalization processing includes: Take the maximum value of all bus historical loads, denoted as P max ; The values in the bus daily load matrix of day t are normalized and calculated as follows: Among them, P im It is the measured value of bus load i at the mth moment in the bus daily load matrix of the tth day.
9. The bus load classification system based on key characteristic quantities according to claim 8 is characterized in that: The key feature quantities extracted by the data acquisition and feature quantity compression module include daily load average, daily load maximum, daily load minimum, peak-to-valley difference, load rate, power consumption mode value and load daily fluctuation rate; The daily load mean is the average load of the bus at each moment, and the calculation expression is: Where m is the number of measured values of bus load n per day, P ni is the ith measured value of busbar n load, P nave is the daily average value of bus load n; Maximum daily load P nmax and the minimum daily load P nmin They are the maximum and minimum values of the bus load on day n: P nmax =max{P n1 ,P n2 ,…,P nm } P nmin =min{P n1 ,P n2 ,…,P nm } Peak-to-valley difference P ndif is the maximum daily load P nmax and the minimum daily load P nmin Difference: P ndif =P nmax -P nmin Load rate P nrate is the daily average value of bus load P nave The maximum daily load P nmax Ratio of: P nrate =P nave / P nmax The daily load power consumption pattern of the busbar is classified, and the number of time periods with an increasing load trend is P n1 , the number of time periods during which the load shows a stable operating trend is P n2 , the number of time periods with a decreasing load trend is P n3 , count the number of power consumption patterns of each bus within a day, and get the power consumption pattern value P nnum , the calculation expression is: P nnum =P n1 +P n2 +P n3 Daily load fluctuation rate P nwav The calculation expression is: The bus daily load matrix after dimensionality reduction is:
10. The bus load classification method based on key characteristic quantities according to claim 7 is characterized in that: The cluster quantity determination module calculates the mean value of each characteristic quantity of each category bus load when the category quantity k=1: Where n is the number of buses, P i,j is the jth characteristic value of the i-th busbar; Calculate the mean value P of each bus characteristic value to each category of bus load according to the following formula a,j The sum of the Manhattan distances is: Increase the number of categories, that is, perform the calculation of k=k+1, and repeat the above steps to find the inflection point of the change of the value D, and determine the number of clustering categories N according to the inflection point of the change of the value D.
11. The bus load classification method based on key characteristic quantities according to claim 7 is characterized in that: The classification module determines the number of particles in the particle swarm to be the same as the number of categories N according to the number of clustered categories N, and sets the dimension of the particles to be the number of undetermined parameters t of the Gaussian distribution probability density function; Initialize the pending parameters based on their upper and lower limits: X i =(X imax -X imin )×w+X imin i=1,2,…t Among them, w is a random number in the interval [0,1], X i is the i-th undetermined parameter, X imax is the upper limit of the i-th undetermined parameter, X imin is the lower limit of the i-th undetermined parameter; The Gaussian distribution probability density function of the characteristic data in the bus daily load matrix after dimensionality reduction is: Where D is the dimension of the load characteristic quantity, μ is the expectation of the bus daily load matrix after dimensionality reduction, and ∑ is the covariance of the bus daily load matrix after dimensionality reduction; The log-likelihood function is: Where n is the number of bus loads to be clustered, N is the number of clustering categories; δ j , μ j and∑ j is the unknown parameter of the probability density function of the jth group of Gaussian distribution; The undetermined parameters of the Gaussian distribution probability density function are updated by the PSO algorithm as follows: V i =V i +c1×w1×(pbest-X i )+c2×w2×(gbest-X t )i=1,2,…,t X i =X i +V i i=1,2,…,t Where w1 and w2 are random numbers in the interval [0,1]; c1 and c2 are learning factors; V i is the update speed of the particle; pbest is the optimal target value of the individual parameter of the probability density function to be determined; gbest is the global optimal value of the parameter of the probability density function to be determined; According to the unknown parameters of the updated Gaussian distribution probability density function, the corresponding log-likelihood function is calculated; It is determined whether the difference of the log-likelihood function before and after the PSO algorithm is updated twice is less than the preset threshold value. If it is less than the threshold value, it is determined that the pending parameters have converged. Otherwise, the PSO algorithm is repeatedly updated until the pending parameters converge.
12. The bus load classification method based on key characteristic quantities according to claim 11 is characterized in that: When the classification module completes the classification of all bus loads based on the clustering results, the responsiveness of each bus load characteristic data to each Gaussian distribution probability density function is calculated according to the determined Gaussian distribution probability density function, and each bus load characteristic data is classified according to a pre-set responsiveness threshold to complete the classification of all bus loads.
13. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the bus load classification method based on key characteristic quantities as claimed in any one of claims 1 to 6.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the bus load classification method based on key characteristic quantities as claimed in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Typical power utilization industry load characteristic classification and integration method combined with user daily power consumption curve
CN111539657A
Daily load curve clustering method based on variable convolution auto-encoder
CN117349687A
Bus load prediction method
CN106485262A
Power grid data classification method and device and storage medium
CN108345908A
Electric power resident user daily load curve clustering method based on composite clustering algorithm
CN110781332A
Cited By
Power consumer clustering method and device, computer equipment and storage medium
CN120596959A
