A scenario-based Norton equivalent harmonic source model identification method considering distributed renewable energy
Through density clustering and particle swarm optimization algorithms, Norton equivalent harmonic source model is constructed, which solves the problem of identifying harmonic characteristics in distributed new energy systems, realizes accurate analysis and management of harmonic pollution, and reduces data Requirements improve the accuracy and applicability of the model.
Patent Information
- Application Number
- CN202110842403.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-07-26
AI Technical Summary
The existing technology is difficult to accurately identify and reflect changes in harmonic characteristics in distributed new energy systems, especially under the influence of uncertainty in meteorological conditions and user load behavior, resulting in large model errors and ineffective analysis and control of harmonic pollution. .
The harmonic monitoring data and meteorological data are converted into interval data by using density clustering and linear comprehensive variable point detection methods. Combined with particle swarm optimization algorithm, a Norton equivalent harmonic source model is constructed in a subscene to identify the harmonics on the user side and the system side. The probability density function of the harmonic impedance mode value of the system side is solved by kernel density estimation.
It can identify changes in harmonic characteristics of the system and users, reduce data type requirements, and only requires statistical data, provide accurate harmonic user injection pollution analysis and governance plan design, helping users access prediction and evaluation.
Smart Images

Figure CN113627065B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power systems, and in particular to a scenario-based Norton equivalent harmonic source model identification method considering distributed renewable energy. Background Art
[0002] In recent years, a large number of distributed renewable energy grid-connected have introduced a large number of inverters and other nonlinear loads to the power system, making the harmonic problem of the power system more serious. Establishing an appropriate harmonic source model to characterize the operating characteristics of harmonic pollution users can assess the degree of harmonic pollution, clarify harmonic responsibilities, and analyze and control existing harmonic problems.
[0003] At present, power quality monitoring devices are widely used in power systems, and harmonic monitoring systems have accumulated a large amount of harmonic monitoring data. However, considering that the current power quality monitoring devices only store statistical data within a monitoring period in order to reduce the pressure of data storage, such as maximum value, minimum value, 95% probability maximum value, etc., the statistics of harmonic current and harmonic voltage do not have synchronization at the same time in the same monitoring period, so it is impossible to establish a direct physical connection by using deterministic values. In addition, power quality measurement points are usually installed at public connection points. Uncertain behaviors such as changes in system operating status, user load behavior, and changes in meteorological conditions related to renewable energy generation will make harmonic characteristics dynamically change. However, in addition to randomness, due to certain regularities in the production cycle, life rules, and meteorological conditions of users, harmonic characteristics can be divided into several typical scenarios. Based on harmonic monitoring statistics, this paper uses clustering and linear comprehensive change point detection methods to construct a Norton equivalent harmonic source model considering distributed renewable energy scenarios, which provides a basis for analyzing the injection pollution of harmonic users, the design of governance plans, and the selection of governance equipment. It also helps to carry out accurate user access prediction and evaluation.
[0004] At present, the data types used for harmonic modeling are basically precise values. However, in order to reduce the pressure of data storage, harmonic monitoring data are usually statistics. The statistics of harmonic current and harmonic voltage do not have synchronization in time during the same monitoring period, so it is impossible to establish a direct physical connection by using deterministic values. In addition, in the context of high penetration of distributed energy, current research rarely considers the changes in harmonic characteristics caused by uncertain behaviors such as meteorological conditions, changes in system operating status, and user load behavior. If these changes are ignored, the established model will not reflect the true harmonic characteristics and the error will be large. Summary of the invention
[0005] In view of this, the purpose of the present invention is to provide a scenario-based Norton equivalent harmonic source model identification method considering distributed renewable energy, which can identify the changes in the harmonic characteristics of the system and users and the impact of meteorological conditions on the harmonic characteristics of distributed renewable energy.
[0006] The present invention is implemented by the following scheme: a scenario-based Norton equivalent harmonic source model identification method considering distributed new energy, comprising the following steps:
[0007] Step S1: Based on the interval data generated by harmonic monitoring data and meteorological data, the user-side Norton equivalent harmonic source model for typical harmonic scenarios of users considering the characteristics of distributed renewable energy generation is divided by using density clustering and linear comprehensive change point detection methods, and the optimal parameters are solved by using a particle swarm optimization algorithm;
[0008] Step S2: using kernel density estimation to obtain the probability density function of the system-side harmonic impedance modulus value under the user's typical harmonic scenario;
[0009] Step S3: Using the mathematical expression of the user-side scenario-based Norton equivalent harmonic source model obtained in step S1 and the probability density function of the system-side harmonic impedance modulus value, a scenario-based Norton equivalent harmonic source model considering distributed new energy is formed based on harmonic monitoring statistics and meteorological data.
[0010] Furthermore, the specific content of generating interval data in step S1 is:
[0011] Harmonic monitoring data includes each harmonic current I h , harmonic voltage U h , the maximum and minimum values of the fundamental current I1 and the fundamental voltage U1 in a certain monitoring period; h = 2, 3, ..., 25, use these data to convert the statistics into interval data, recorded as:
[0012]
[0013] Meteorological data types related to the characteristics of distributed renewable energy, i.e. photovoltaic and wind power generation, include wind speed, temperature, and irradiation intensity. The three monitoring data of wind speed, temperature, and irradiation intensity of all meteorological stations within the power supply range of the power supply feeder monitored by the harmonic monitoring device are collected, and the maximum and minimum values of wind speed, temperature, and irradiation intensity of all meteorological stations within a certain monitoring period are taken to form interval data, which are recorded as:
[0014]
[0015] It is interval data consisting of the maximum and minimum values of the monitoring data within a period of time. is the maximum value, xis the minimum value; the monitoring data sample of the i-th monitoring period is i=1,2,...,I; m is the number of sample dimensions.
[0016] Furthermore, the density clustering in step S1 specifically includes the following steps:
[0017] Step 1: Set the interval data set X = {X1, X2, ..., X n} As the sample of density clustering, set the interval radius Eps and interval threshold Minpts;
[0018] Step 2: Calculate the sample distance in the data set and generate the distance distribution matrix Dist n×n ;
[0019] Step 3: Starting from i=1 (i=1, 2, 3, ..., n), for each unprocessed sample X i , if the number of samples in the neighborhood of the sample Eps is not less than Minpts, then record the sample X i As the core object, a new cluster C is created i ; Otherwise, record sample X i is the noise point;
[0020] Step 4: According to the distance distribution matrix, the core object X i All samples within the neighborhood of interval radius Eps, that is, objects that are directly accessible by interval density, are added to cluster C i middle;
[0021] The direct interval density can be obtained as follows: Under a given (Eps, Minpts), for a core object X i , if the monitoring data sample X j From X i If the distance is less than Eps, then X j From X i Starting from (Eps, Minpts) the direct interval density is reachable;
[0022] Step 5: Associate the core object X i Core objects X that can be reached by interval density j All samples with interval density connection in its Eps neighborhood are added to cluster C i middle;
[0023] The interval density can be obtained as follows: If there is an object chain X1, X2, ..., X n , X1=o,X n = Z and from X i ,1≤i≤n-1toX i+1 If the direct interval density is reachable, then O to Z is said to be interval density reachable;
[0024] The interval density is connected as follows: if Make from X i To X j , from X i To X k All of them are reachable with respect to (Eps, Minpts) density, then X j and X k About (Eps, Minpts) is interval density connected;
[0025] Step 6: If i>n, end and output cluster X={C1,C2,...,C k}; otherwise, return to step 6, where i is the i-th sample being processed and n is the total number of samples.
[0026] Furthermore, the specific content of step 2 is:
[0027] The distance between the interval numbers dist(X i ,X j ):
[0028] For two given monitoring data samples X i and X j , the number of intervals in the mth dimension is represented by the midpoint c m and radius r m To express, and The interval number distance is represents, where:
[0029]
[0030]
[0031] In the above formula, and are the i-th and j-th interval numbers in the m-th dimension respectively; c im and c jm The number of intervals and The midpoint of im and r jm The number of intervals and The radius of Two interval numbers and The distance between and D m They are The upper and lower range of
[0032] Then the two monitoring data samples X i and X j The interval distance between in The related parameter λ is introduced to quantitatively express the similarity between uncertain data with certain parameters and combine the minimum and maximum values of the distance between interval numbers; Sample X i and X j The distance between
[0033]
[0034] Distance distribution matrix Dist n×n :
[0035] Dist n×n ={dist(X i , X j )|1≤i≤n, 1≤j≤n}.
[0036] Where n is the number of monitoring samples, Dist n×n It is a real symmetric matrix with n rows and n columns, and each element represents the distance from the i-th monitoring data sample to the j-th monitoring data sample.
[0037] Furthermore, the specific content of the method of using linear comprehensive change point detection in step S1 is:
[0038] Each cluster C obtained by the clustering algorithm i The samples in are arranged in chronological order, and each cluster C is taken i The samples at the time boundary are taken as the switching moments of the typical harmonic scenes. If two moments are adjacent, the latter moment is taken, i.e., the change point. The set of change points is recorded as T = {t0, t1, t2, ..., t e , t e+1}, where t0 = 0, t e+1 =t n ; The mathematical expression of the user-side Norton equivalent harmonic source model for different scenarios based on interval data is constructed using the parameterized optional reference point method and the change point detection model. Modeling the upper and lower bounds of is the interval number of the hth harmonic current, and They are The upper and lower bounds of the Norton equivalent harmonic source model for different scenarios on the user side are as follows:
[0039]
[0040]
[0041] In the above formula: is the upper bound of the jth interval harmonic data of the hth harmonic, I hj is the lower bound of the jth interval harmonic data of the hth harmonic, and the subscript j is the jth harmonic monitoring sample; and are the coupling admittance parameters of the upper bound of harmonic current in the i-th typical scenario; and is the coupling admittance parameter of the lower bound of harmonic current in the i-th typical scenario; and are the fixed emission of the upper and lower limits of harmonic current in the ith typical scenario, respectively, and are constant current sources; I(t i-1 ≤j≤t i ) is an indicative function, and its value is 1 only when the conditions in the brackets are met, otherwise it is 0; and is an optional reference point parameter for the upper bound of the i-th typical scenario, with a value between 0 and 1, used to convert interval data into point value data;
[0042] The upper bound parameter sets are
[0043]
[0044] The lower bound parameter set is:
[0045]
[0046] Furthermore, the specific content of using the particle swarm optimization algorithm to solve the optimal parameters in step S1 is as follows:
[0047] The particle swarm optimization algorithm is used to optimize the parameter set Θ = {Eps, Minpts, θ u ,θ l} to search for the best result, the goal is to minimize the fitness function argmin{F(Θ)}; in, and are the upper and lower bounds of the hth jth harmonic current values solved by the user-side Norton equivalent harmonic source model under the parameter set Θ, and I hj is the upper and lower bounds of the jth harmonic current value of the hth order of the true harmonic current value; the steps of the particle swarm optimization algorithm are as follows:
[0048] Step Sa: Set the parameters of the particle swarm algorithm: learning rates c1, c2, initial inertia coefficient w ini , minimum inertia coefficient w end,The maximum number of iterations is M, the error threshold ε, r1 and r2 are random numbers between 0 and 1;
[0049] Step Sb: Randomly generate N initial particle positions Θ = {EPs n , minpts n ,θ un ,θ in}, and its particle velocity v n , the dimension of the particle velocity is the same as the dimension of the particle position;
[0050] Step Sc: For N particles, respectively, n , Minpts n ) to perform density clustering and find the change points;
[0051] Step Sd: Solve the fitness function value F(Θ n ), the particle with the smallest fitness function value is the optimal particle, and its position is p best ; and update the position where each particle has the minimum value of its own historical fitness function as the historical optimal position g best n ;
[0052] Step Se: If the fitness function of the optimal particle is less than ε, or the maximum number of iterations is reached, the optimal particle position is output and the process ends; otherwise, go to step Sf;
[0053] Step Sf: Let the current number of iterations be m, and update the position of each particle according to the following formula:
[0054]
[0055] Step Sg: After updating the positions of all particles, go to step Sd;
[0056] The particle swarm optimization algorithm can be used to obtain the parameter Θ={Eps,Minpts,θ u ,θ l}, the parameters at this time are the optimal parameters.
[0057] Furthermore, the specific content of step S2 is:
[0058] According to the position of the optimal particle solved, density clustering is performed to obtain the change point set T = {t0, t1, t2, ..., t e , t e+1}, the area between two adjacent change points is a typical harmonic scene, thus several types of typical harmonic scenes are obtained after division;
[0059] The probability distribution of the harmonic impedance modulus value on the system side can be solved by using the kernel density estimation of interval data; the hth harmonic in the i-th typical scenario, the monitoring data sets of the hth harmonic voltage and current in this typical scenario are respectively and There are j interval data in each set;
[0060] Under the assumption that background harmonics are ignored, the impedance modulus range on the system side is calculated:
[0061]
[0062] Get the hth system side harmonic impedance modulus value interval number set under the i-th typical scenario The probability density of the harmonic impedance modulus value on the system side obtained by the kernel density estimation method, that is, the specific formula of the kernel density estimation is:
[0063]
[0064] In the above formula: j is the jth interval sample; h is the window width of kernel density estimation; and Z hj They are The upper and lower bounds of .
[0065] Furthermore, the specific content of step S3 is:
[0066] Through step S1 and step S2, a Norton equivalent harmonic source model considering distributed renewable energy in the i-th typical scenario based on monitoring statistics is obtained; and are the interval data consisting of the statistics of the hth harmonic current and harmonic voltage at the common connection point, respectively, f(Z hi ) is the probability density function of the hth harmonic impedance modulus value on the system side under a typical harmonic scenario, and its mathematical expression is shown in the following formula:
[0067]
[0068] The user side is an interval-type Norton equivalent harmonic source model. The relationship between the harmonic current and harmonic voltage of the port is obtained through step S1. Its specific expression is as follows: and The change point set {t0, t1, t2, ..., t e , t e+1} obtained by density clustering;
[0069]
[0070]
[0071] Compared with the prior art, the present invention has the following beneficial effects:
[0072] The present invention has low requirements on data types, and only requires statistics of harmonic monitoring data and meteorological data. In addition, the present invention can identify changes in the harmonic characteristics of the system and users and the impact of meteorological conditions on the harmonic characteristics of distributed renewable energy, and construct a Norton equivalent harmonic source model for distributed renewable energy scenarios, which provides a basis for analyzing the injection pollution of harmonic users, the design of governance solutions, and the selection of governance equipment, and also helps to carry out accurate user access prediction and evaluation work. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 This is a flow chart of a method for identifying parameters of a Norton equivalent harmonic source model in different scenarios on the user side according to an embodiment of the present invention.
[0074] Figure 2 This is a scenario-based Norton model diagram based on harmonic monitoring statistics according to an embodiment of the present invention. DETAILED DESCRIPTION
[0075] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0076] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. 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 application belongs.
[0077] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. 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 "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0078] This embodiment provides a scenario-based Norton equivalent harmonic source model identification method considering distributed renewable energy, including the following steps:
[0079] Step S1: Based on the interval data generated by harmonic monitoring data and meteorological data, the user-side Norton equivalent harmonic source model for typical harmonic scenarios of users considering the characteristics of distributed renewable energy generation is divided by using density clustering and linear comprehensive change point detection methods, and the optimal parameters are solved by using a particle swarm optimization algorithm;
[0080] Step S2: using kernel density estimation to obtain the probability density function of the system-side harmonic impedance modulus value under the user's typical harmonic scenario;
[0081] Step S3: Using the mathematical expression of the user-side scenario-based Norton equivalent harmonic source model obtained in step S1 and the probability density function of the system-side harmonic impedance modulus value, a scenario-based Norton equivalent harmonic source model considering distributed new energy is formed based on harmonic monitoring statistics and meteorological data.
[0082] In this embodiment, the specific content of generating interval data in step S1 is:
[0083] Harmonic monitoring data includes each harmonic current I h , harmonic voltage U h , the maximum and minimum values of the fundamental current I1 and the fundamental voltage U1 in a certain monitoring period; h = 2, 3, ..., 25, use these data to convert the statistics into interval data, recorded as:
[0084]
[0085] Meteorological data types related to the characteristics of distributed renewable energy, i.e. photovoltaic and wind power generation, include wind speed, temperature, and irradiation intensity. The three monitoring data of wind speed, temperature, and irradiation intensity of all meteorological stations within the power supply range of the power supply feeder monitored by the harmonic monitoring device are collected, and the maximum and minimum values of wind speed, temperature, and irradiation intensity of all meteorological stations within a certain monitoring period are taken to form interval data, which are recorded as:
[0086]
[0087] It is interval data consisting of the maximum and minimum values of the monitoring data within a period of time. is the maximum value, x is the minimum value; the monitoring data sample of the i-th monitoring period is i=1,2,...,I; m is the number of sample dimensions.
[0088] In this embodiment, the density clustering in step S1 specifically includes the following steps:
[0089] Step 1: Set the interval data set X = {X1, X2, ..., X n} As the sample of density clustering, set the interval radius Eps and interval threshold Minpts;
[0090] Step 2: Calculate the sample distance in the data set and generate the distance distribution matrix Dist n×n ;
[0091] Step 3: Starting from i=1 (i=1, 2, 3, ..., n), for each unprocessed sample X i, if the number of samples in the neighborhood of the sample Eps is not less than Minpts, then record the sample X i As the core object, a new cluster C is created i ; Otherwise, record sample X i is the noise point;
[0092] Step 4: According to the distance distribution matrix, the core object X i All samples within the neighborhood of interval radius Eps, that is, objects that are directly accessible by interval density, are added to cluster C i middle;
[0093] The direct interval density can be obtained as follows: Under a given (Eps, Minpts), for a core object X i , if the monitoring data sample X j From X i If the distance is less than Eps, then X j From X i Starting from (Eps, Minpts) the direct interval density is reachable;
[0094] Step 5: Associate the core object X i Core objects X that can be reached by interval density j All samples with interval density connection in its Eps neighborhood are added to cluster C i middle;
[0095] The interval density can be obtained as follows: If there is an object chain X1, X2, ..., X n , X1=o,X n = Z and from X i ,1≤i≤n-1 to X i+1 If the direct interval density is reachable, then O to Z is said to be interval density reachable;
[0096] The interval density is connected as follows: if Make from X i To X j , from X i To X k All of them are reachable with respect to (Eps, Minpts) density, then X j and X k About (Eps, Minpts) is interval density connected;
[0097] Step 6: If i>n, end and output cluster X={C1,C2,...,C k}; otherwise, return to step 6, where i is the i-th sample being processed and n is the total number of samples.
[0098] Preferably, in this embodiment,
[0099] Interval radius Eps and interval threshold Minpts:
[0100] The interval radius Eps and interval threshold Minpts are both adjustable parameters of density clustering.
[0101] Core objects:
[0102] Under the given (Eps, Minpts), if the monitoring data sample X i If the number of samples whose distance is less than Eps is not less than Minpts, then X i As the core object.
[0103] In this embodiment, the specific content of step 2 is:
[0104] The distance between the interval numbers dist(X i ,X j ):
[0105] For two given monitoring data samples X i and X j , the number of intervals in the mth dimension is represented by the midpoint c m and radius r m To express, and The interval number distance is available represents, where:
[0106]
[0107]
[0108] In the above formula, and are the i-th and j-th interval numbers in the m-th dimension respectively; c im and c jm The number of intervals and The midpoint of im and r jm The number of intervals and The radius of Two interval numbers and The distance between and D m They are The upper and lower range of
[0109] Then two monitoring data samples X i and X j The interval distance between in The related parameter λ is introduced to quantitatively express the similarity between uncertain data with certain parameters and combine the minimum and maximum values of the distance between interval numbers; Sample X i and X j The distance between
[0110]
[0111] Distance distribution matrix Dist n×n :
[0112] Dist n×n ={dist(X i , X j )|1≤i≤n, 1≤j≤n}.
[0113] Where n is the number of monitoring samples, Dist n×n It is a real symmetric matrix with n rows and n columns, and each element represents the distance from the i-th monitoring data sample to the j-th monitoring data sample.
[0114] In this embodiment, the specific content of the method of using linear comprehensive change point detection in step S1 is:
[0115] Each cluster C obtained by the clustering algorithm i The samples in are arranged in chronological order, and each cluster C is taken i The samples at the time boundary are taken as the switching moments of the typical harmonic scenes. If two moments are adjacent, the latter moment is taken, i.e., the change point. The set of change points is recorded as T = {t0, t1, t2, ..., t e , t e+1}, where t0 = 0, t e+1 =t n ; The mathematical expression of the user-side Norton equivalent harmonic source model for different scenarios based on interval data is constructed using the parameterized optional reference point method and the change point detection model. Modeling the upper and lower bounds of is the interval number of the hth harmonic current, and They are The upper and lower bounds of the Norton equivalent harmonic source model for different scenarios on the user side are as follows:
[0116]
[0117]
[0118] In the above formula: is the upper bound of the jth interval harmonic data of the hth harmonic,I hj is the lower bound of the jth interval harmonic data of the hth harmonic, and the subscript j is the jth harmonic monitoring sample; and are the coupling admittance parameters of the upper bound of harmonic current in the i-th typical scenario; and is the coupling admittance parameter of the lower bound of harmonic current in the i-th typical scenario; and are the fixed emission of the upper and lower limits of harmonic current in the ith typical scenario, respectively, and are constant current sources; I(t i-1 ≤j≤t i ) is an indicative function, and its value is 1 only when the conditions in the brackets are met, otherwise it is 0; and is an optional reference point parameter for the upper bound of the i-th typical scenario, with a value between 0 and 1, used to convert interval data into point value data;
[0119] The upper bound parameter sets are
[0120]
[0121] The lower bound parameter set is:
[0122]
[0123] In this embodiment, the specific content of using the particle swarm optimization algorithm to solve the optimal parameters in step S1 is as follows:
[0124] The particle swarm optimization algorithm is used to optimize the parameter set Θ = {Eps, Minpts, θ u ,θ l} to search for the best result, the goal is to minimize the fitness function argmin{F(Θ)}; in, and are the upper and lower bounds of the hth jth harmonic current values solved by the user-side Norton equivalent harmonic source model under the parameter set Θ, and are the upper and lower bounds of the jth harmonic current value of the hth order of the true harmonic current value; Figure 1 As shown, the steps of the particle swarm optimization algorithm are as follows:
[0125] Step Sa: Set the parameters of the particle swarm algorithm: learning rates c1, c2, initial inertia coefficient w ini , minimum inertia coefficient w end , maximum number of iterations M, error threshold ε, r1 and r2 are random numbers between 0 and 1;
[0126] Step Sb: Randomly generate N initial particle positions Θ = {Eps n , Minpts n ,θ un ,θ ln}, and its particle velocity v n , the dimension of the particle velocity is the same as the dimension of the particle position;
[0127] Step Sc: For N particles, respectively, n , Minpts n ) to perform density clustering and find the change points;
[0128] Step Sd: Solve the fitness function value F(Θ n ), the particle with the smallest fitness function value is the optimal particle, and its position is p best ; and update the position where each particle has the minimum value of its own historical fitness function as the historical optimal position g best n ;
[0129] Step Se: If the fitness function of the optimal particle is less than ε, or the maximum number of iterations is reached, the optimal particle position is output and the process ends; otherwise, go to step Sf;
[0130] Step Sf: Let the current number of iterations be m, and update the position of each particle according to the following formula:
[0131]
[0132] Step Sg: After updating the positions of all particles, go to step Sd;
[0133] The particle swarm optimization algorithm can be used to obtain the parameter Θ={Eps,Minpts,θ u ,θ l}, the parameters at this time are the optimal parameters.
[0134] In this embodiment, the specific content of step S2 is:
[0135] According to the position of the optimal particle solved, density clustering is performed to obtain the change point set T = {t0, t1, t2, ..., t e , t e+1}, a typical harmonic scene is located between two adjacent change points, thus several types of typical harmonic scenes are obtained after division; the position of the optimal particle includes the optimal parameter information for implementing density clustering.
[0136] The probability distribution of the harmonic impedance modulus value on the system side can be solved by using the kernel density estimation of interval data; the hth harmonic in the i-th typical scenario, the monitoring data sets of the hth harmonic voltage and current in this typical scenario are respectively and There are j interval data in each set;
[0137] Under the assumption that background harmonics are ignored, the impedance modulus range on the system side is calculated:
[0138]
[0139] Get the hth system side harmonic impedance modulus value interval number set under the i-th typical scenario
[0140] The probability density of the harmonic impedance modulus value on the system side obtained by the kernel density estimation method, that is, the specific formula of the kernel density estimation is:
[0141]
[0142] In the above formula: j is the jth interval sample; h is the window width of kernel density estimation; and Z hj They are The upper and lower bounds of .
[0143] The specific content of step S3 is:
[0144] Through step S1 and step S2, a Norton equivalent harmonic source model considering distributed renewable energy in the i-th typical scenario based on monitoring statistics is obtained; and are the interval data consisting of the statistics of the hth harmonic current and harmonic voltage at the common connection point, respectively, f(Z hi ) is the probability density function of the hth harmonic impedance modulus value on the system side under a typical harmonic scenario, and its mathematical expression is shown in the following formula:
[0145]
[0146] The user side is an interval-type Norton equivalent harmonic source model. The relationship between the harmonic current and harmonic voltage of the port is obtained through step S1. Its specific expression is as follows: and The change point set {t0, t1, t2, ..., t e , t e+1} obtained by density clustering;
[0147]
[0148]
[0149] Through the above algorithm, the Norton equivalent harmonic source model considering distributed renewable energy in the i-th typical scenario based on monitoring statistics is obtained. Figure 2 As shown, and are the interval data consisting of the statistics of the hth harmonic current and harmonic voltage at the common connection point, respectively, f(Z hi ) is the probability density function of the hth harmonic impedance modulus value on the system side under the typical harmonic scenario; the right side is the interval-type Norton equivalent harmonic source model. The relationship between the harmonic current and harmonic voltage of the port is shown in the linear comprehensive change point detection model above. Its parameters are and It is identified by particle swarm optimization algorithm.
[0150] The above description is only a preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.
Claims
1. A scenario-based Norton equivalent harmonic source model identification method considering distributed renewable energy, characterized by: The following steps are involved: Step S1: Based on the interval data generated by harmonic monitoring data and meteorological data, the user-side Norton equivalent harmonic source model for typical harmonic scenarios of users considering the characteristics of distributed renewable energy generation is divided by using density clustering and linear comprehensive change point detection methods, and the optimal parameters are solved by using a particle swarm optimization algorithm; Step S2: using kernel density estimation to obtain the probability density function of the system-side harmonic impedance modulus value under the user's typical harmonic scenario; Step S3: using the mathematical expression of the user-side Norton equivalent harmonic source model for each scenario obtained in step S1 and the probability density function of the harmonic impedance modulus value on the system side, a Norton equivalent harmonic source model for each scenario considering distributed renewable energy based on harmonic monitoring statistics and meteorological data is formed; The specific content of generating interval data in step S1 is: Harmonic monitoring data includes each harmonic current I h , harmonic voltage U h , the maximum and minimum values of the fundamental current I1 and the fundamental voltage U1 in a certain monitoring period; h = 2, 3, ..., 25, use these data to convert the statistics into interval data, recorded as: Meteorological data types related to the characteristics of distributed renewable energy, i.e. photovoltaic and wind power generation, include wind speed, temperature, and irradiation intensity. The three monitoring data of wind speed, temperature, and irradiation intensity of all meteorological stations within the power supply range of the power supply feeder monitored by the harmonic monitoring device are collected, and the maximum and minimum values of wind speed, temperature, and irradiation intensity of all meteorological stations within a certain monitoring period are taken to form interval data, which are recorded as: It is interval data consisting of the maximum and minimum values of the monitoring data within a period of time. is the maximum value, x is the minimum value; the monitoring data sample of the i-th monitoring period is i=1,2,...,I; m is the number of sample dimensions; The density clustering in step S1 specifically includes the following steps: Step 1: Set the interval data set X = {X1, X2, ..., X n } As the sample of density clustering, set the interval radius Eps and interval threshold Minpts; Step 2: Calculate the sample distance in the data set and generate the distance distribution matrix Dist n×n ; Step 3: Starting from i=1 (i=1, 2, 3, ..., n), for each unprocessed sample X i , if the number of samples in the neighborhood of the sample Eps is not less than Minpts, then record the sample X i As the core object, a new cluster C is created i ; Otherwise, record sample X i is the noise point; Step 4: According to the distance distribution matrix, the core object X i All samples within the neighborhood of interval radius Eps, that is, objects that are directly accessible by interval density, are added to cluster C i middle; The direct interval density can be obtained as follows: Under a given (Eps, Minpts), for a core object X i , if the monitoring data sample X j From X i If the distance is less than Eps, then X j From X i Starting from (Eps, Minpts) the direct interval density is reachable; Step 5: Associate the core object X i Core objects X that can be reached by interval density j All samples with interval density connection in its Eps neighborhood are added to cluster C i middle; The interval density can be obtained as follows: If there is an object chain X1, X2, ..., X n , X1=o,X n = Z and from X i ,1≤i≤n-1toX i+1 If the direct interval density is reachable, then O to Z is said to be interval density reachable; The interval density is connected as follows: if Make from X i To X j , from X i To X k All of them are reachable with respect to (Eps, Minpts) density, then X j and X k About (Eps, Minpts) is interval density connected; Step 6: If i>n, end and output cluster X={C1,C2,...,C k }; otherwise, return to step 6, where i is the i-th sample being processed and n is the total number of samples; The specific contents of step 2 are: The distance between the interval numbers dist(X i ,X j ): For two given monitoring data samples X i and X j , the number of intervals in the mth dimension is represented by the midpoint c m and radius r m To express, and The interval number distance is represents, where: In the above formula, and are the i-th and j-th interval numbers in the m-th dimension respectively; c im and c jm The number of intervals and The midpoint of im and r jm The number of intervals and The radius of Two interval numbers and The distance between and D m They are The upper and lower range of Then the two monitoring data samples X i and X j The interval distance between in is the upper bound of the interval number distance, The lower bound of the interval number distance is obtained; the related parameter λ is introduced to quantitatively express the similarity between uncertain data with a certain parameter and combine the minimum and maximum values of the distance between interval numbers; the sample X i and X j The distance between Distance distribution matrix Dist n×n : Dist n×n ={dist(X i ,X j )|1≤i≤n,1≤j≤n} Where n is the number of monitoring samples, Dist n×n It is a real symmetric matrix with n rows and n columns, and each element represents the distance from the i-th monitoring data sample to the j-th monitoring data sample; The specific content of the method of using linear comprehensive change point detection in step S1 is: Each cluster C obtained by the clustering algorithm i The samples in are arranged in chronological order, and each cluster C is taken i The samples at the time boundary are taken as the switching moments of the typical harmonic scenes. If two moments are adjacent, the latter moment is taken, i.e., the change point. The set of change points is recorded as T = {t0, t1, t2, …, t e ,t e+1 }, where t0 = 0, t e+1 =t n ; The mathematical expression of the user-side Norton equivalent harmonic source model for different scenarios based on interval data is constructed using the parameterized optional reference point method and the change point detection model. Modeling the upper and lower bounds of is the interval number of the hth harmonic current, and They are The upper and lower bounds of the Norton equivalent harmonic source model for different scenarios on the user side are as follows: In the above formula: is the upper bound of the jth interval harmonic data of the hth harmonic, I hj is the lower bound of the jth interval harmonic data of the hth harmonic, and the subscript j is the jth harmonic monitoring sample; and are the coupling admittance parameters of the upper bound of harmonic current in the i-th typical scenario; and is the coupling admittance parameter of the lower bound of harmonic current in the i-th typical scenario; and are the fixed emission of the upper and lower limits of harmonic current in the ith typical scenario, respectively, and are constant current sources; I(t i-1 ≤j≤t i ) is an indicative function, and its value is 1 only when the conditions in the brackets are met, otherwise it is 0; and is an optional reference point parameter for the upper bound of the i-th typical scenario, with a value between 0 and 1, used to convert interval data into point value data; The upper bound parameter sets are The lower bound parameter set is: The specific contents of using the particle swarm optimization algorithm to solve the optimal parameters in step S1 are as follows: The particle swarm optimization algorithm is used to optimize the parameter set Θ={Eps,Minpts,θ u ,θ l } to search for the best result, the goal is to minimize the fitness function argmin{F(Θ)}; in, and are the upper and lower bounds of the hth jth harmonic current values solved by the user-side Norton equivalent harmonic source model under the parameter set Θ, and is the upper and lower bounds of the jth harmonic current value of the hth order of the true harmonic current value; the steps of the particle swarm optimization algorithm are as follows: Step Sa: Set the parameters of the particle swarm algorithm: learning rates c1, c2, initial inertia coefficient w ini , minimum inertia coefficient w end ,The maximum number of iterations is M, the error threshold ε, r1 and r2 are random numbers between 0 and 1; Step Sb: Randomly generate N initial particle positions Θ = {Eps n ,Minpts n ,θ un ,θ ln }, and its particle velocity v n , the dimension of the particle velocity is the same as the dimension of the particle position; Step Sc: For N particles, respectively, n ,Minpts n ) to perform density clustering and find the change points; Step Sd: Solve the fitness function value F(Θ n ), the particle with the smallest fitness function value is the optimal particle, and its position is p best ; and update the position where each particle has the minimum value of its own historical fitness function as the historical optimal position g best_n ; Step Se: If the fitness function of the optimal particle is less than ε, or the maximum number of iterations is reached, the optimal particle position is output and the process ends; otherwise, go to step Sf; Step Sf: Let the current number of iterations be m, and update the position of each particle according to the following formula: Step Sg: After updating the positions of all particles, go to step Sd; The particle swarm optimization algorithm can be used to obtain the parameter Θ={Eps,Minputs,θ u ,θ l }, the parameters at this time are the optimal parameters; The specific content of step S2 is: According to the position of the optimal particle solved, density clustering is performed to obtain the change point set T = {t0, t1, t2, ..., t e , t e+1 }, the area between two adjacent change points is a typical harmonic scene, thus several types of typical harmonic scenes are obtained after division; The probability distribution of the harmonic impedance modulus value on the system side can be solved by using the kernel density estimation of interval data; the hth harmonic in the i-th typical scenario, the monitoring data sets of the hth harmonic voltage and current in this typical scenario are respectively and There are j interval data in each set; Under the assumption that background harmonics are ignored, the impedance modulus range on the system side is calculated: Get the hth system side harmonic impedance modulus value interval number set under the i-th typical scenario The probability density of the harmonic impedance modulus value on the system side obtained by the kernel density estimation method, that is, the specific formula of the kernel density estimation is: In the above formula: j is the jth interval sample; h is the window width of kernel density estimation; and Z hj They are The upper and lower bounds of The specific content of step S3 is: Through step S1 and step S2, a Norton equivalent harmonic source model considering distributed renewable energy in the i-th typical scenario based on monitoring statistics is obtained; and are the interval data consisting of the statistics of the hth harmonic current and harmonic voltage at the common connection point, respectively. hi ) is the probability density function of the hth harmonic impedance modulus value on the system side under a typical harmonic scenario, and its mathematical expression is shown in the following formula: The user side is an interval-type Norton equivalent harmonic source model. The relationship between the harmonic current and harmonic voltage of the port is obtained through step S1. Its specific expression is as follows: and The change point set {t0, t1, t2, ..., t e , t e+1 } obtained by density clustering;
Citation Information
Patent Citations
Harmonic impedance estimation method based on sparse independent component analysis
CN108089059A
Harmonic source coupling parameter identification method adopting linear relation clustering
CN110163304A
Universal harmonic source uncertainty modeling method based on Gaussian process regression
CN113051826A
