A distribution network dynamic reactive voltage control method and system
By constructing a voltage-reactive power mapping relationship library and using the KNN algorithm model for matching, the reactive power and voltage control of the distribution network is optimized, solving the problems of low voltage regulation efficiency and lack of mapping relationships in the existing technology, and achieving precise and continuous control of voltage. and efficient reactive power utilization.
Patent Information
- Application Number
- CN202211086531.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-06
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-09-06
AI Technical Summary
The existing reactive power and voltage control technology of distribution network has the problems of low voltage regulation efficiency and inability to effectively regulate voltage, mainly because capacitors and reactors cannot achieve continuous regulation of reactive power and lack of voltage-reactive power mapping relationship. This results in a large number of tentative adjustments and difficulty in setting the step size.
A set of typical operating scenarios is formed by discretely dividing the scene elements that affect the bus voltage of the distribution network substation. Unlabeled samples and labeled samples are used for semi-supervised collaborative training to build a voltage-reactive power mapping relationship library. The KNN algorithm model is used to match the actual operating scenarios. Mapping number and voltage-reactive power mapping relationship, based on which the reactive power control quantity is obtained, priority is given to using discrete reactive power sources to fill in, and then dynamic reactive power compensation equipment is used for continuous adjustment.
It achieves precise and continuous control of voltage, improves reactive power utilization, reduces the need for the number of labeled samples, improves model training efficiency, and has strong applicability to large power grids with multiple network nodes.
Smart Images

Figure CN115296351B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of reactive voltage control of distribution network, and in particular relates to a dynamic reactive voltage control method and system for distribution network. Background Art
[0002] The existing reactive voltage control technology of distribution network adjusts the voltage by switching on and off reactive devices such as capacitors and reactors in groups, or by tentatively and continuously adjusting the reactive power of dynamic reactive compensation devices such as SVC, after the voltage deviation occurs. The problem is that in the existing reactive voltage control of distribution network, switching on and off capacitors and reactors in groups is a discrete adjustment of reactive power, which is prone to under- or over-regulation of voltage, while the tentative and continuous adjustment of the reactive power of dynamic reactive compensation devices such as SVC, due to the lack of voltage-reactive mapping relationship, requires many tentative adjustments and the adjustment step is difficult to set.
[0003] The reasons for this problem are: first, the capacity of capacitors and reactors is fixed and can only be controlled by switching on and off, and continuous regulation of reactive power cannot be achieved. If only the voltage regulation method of switching on and off capacitors and reactors is used, the reactive power adjusted each time will be large, resulting in low voltage regulation efficiency. Second, for distribution networks containing dynamic and continuously adjustable reactive equipment, when performing reactive voltage control, there is a lack of voltage-reactive mapping relationship, and thus the dynamic reactive adjustment amount cannot be determined. The number of trial adjustments is large and the adjustment step is difficult to set, resulting in ineffective voltage regulation. Summary of the invention
[0004] In order to solve the above technical problems, the present invention proposes a distribution network dynamic reactive voltage control method and system, which can realize accurate and continuous voltage control, thereby improving the reactive power utilization rate in voltage control.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for dynamic reactive voltage control in a distribution network comprises the following steps:
[0007] Discretely divide the scenario elements that affect the bus voltage of the distribution network substation to form a typical operation scenario set; the scenario elements include load level, reactive power and on-load tap changer transformer tap position;
[0008] After obtaining a set of typical operating scenarios, semi-supervised collaborative training is performed using both unlabeled samples and labeled samples to construct a voltage-reactive power mapping relationship library.
[0009] The actual operation scenario is input into the trained KNN algorithm model, and the mapping number and voltage-reactive power mapping relationship corresponding to the actual operation scenario are matched through the trained KNN algorithm model;
[0010] Based on the voltage-reactive power mapping relationship and the voltage deviation, the reactive power control quantity is obtained online through the constructed voltage-reactive power mapping relationship library.
[0011] Furthermore, the method also includes: after obtaining the reactive control amount, preferentially using discrete reactive power sources to fill the required reactive control amount, and then using a dynamic reactive compensation device continuous reactive power source to supplement the remaining required reactive control amount.
[0012] Furthermore, the process of discretizing the load level includes:
[0013] Define W r Characterizes the degree of approximation between probability densities, so the minimum W r The expression is:
[0014] min W r (f c ,f d ;π)=∫π[f c (x),f d (x)] r dx; (1)
[0015] Among them, f c is the probability density function of the discrete distribution; f d is the probability density function of continuous distribution; π is the degree of approximation; r is the order;
[0016] If the load level probability density distribution is:
[0017]
[0018] Among them, P W represents the continuous value of the load before discretization; f(P W ) is the probability density function of the load level of the continuous distribution; ν ci is the minimum value of load rate; c is the load type parameter; k is the load fluctuation shape parameter; P n is the historical average of load; h represents the load rate deviation value, ν n is the mean load factor;
[0019] Substituting formula (2) into formula (1) we can get N for solving the load level: SW The optimal quantile z Wq The equation
[0020] Wherein, a = (k + r) / [k (r + 1)] is determined by the load fluctuation shape parameter and the order after discretization, represents the proximity of the optimal quantile of the load after discretization, and q represents the sequence number of the optimal quantile;
[0021]
[0022] The load level N is obtained by formula (3) SW The load level is divided into N optimal quantiles. SW Typical discrete values.
[0023] Furthermore, the process of discrete reactive power includes: the reactive power after discreteness is equal to the sum of reactive power of line load connected to the reactive compensation device and reactive power of the reactive compensation device;
[0024] Q node =∑Q W +∑Q C ; Among them, Q node is the reactive power after discretization; Q W Represents the reactive power of the line load; Q C Represents the reactive power of the reactive compensation equipment.
[0025] Furthermore, the method for obtaining labeled samples includes: in a given typical operation scenario [P W ,Q node ,M], adjust the node reactive power △Q, and obtain the node voltage change △U through power flow calculation. The labeled sample form is as follows:
[0026] [Typical scenario, voltage deviation; reactive power regulation] = [P W ,Q node ,M,ΔU,ΔQ]; (5)
[0027] Where M is the discrete tap position of the on-load tap-changing transformer;
[0028] Unlabeled samples are typical running scenarios [P W ,Q node ,M], the node voltage deviation △U, the unlabeled sample form is as follows:
[0029] [Typical scenario, voltage deviation] = [P W ,Q node ,M,ΔU] (6);
[0030] So: The sample set in a typical operation scenario is as follows:
[0031]
[0032] Among them, L is the labeled sample set, U is the unlabeled sample set, x i For [P W ,Q node ,M,ΔU,ΔQ],y i = △Q,Nlable is the number of labeled samples, N S -N lable is the number of unlabeled samples.
[0033] Furthermore, the method for constructing a voltage-reactive power mapping relationship library includes:
[0034] Divide the labeled sample set L into two parts, L1 and L2, and train L1 and L2 respectively to obtain two regression models h1(x) and h2(x);
[0035] Randomly select a subset U′ from the unlabeled sample set U, and use h1(x) and h2(x) to estimate the samples in U′ respectively; select the unlabeled sample with the highest confidence estimated by h1(x) and its estimated value from U′ as the labeled sample, add it and update L2; update L1 in the same way;
[0036] Delete the unlabeled samples added to L1 or L2 from U′, and repeatedly train the two regression models h1(x) and h2(x) until the maximum number of iterations is reached; finally, the output result is the mean of the two regression models;
[0037]
[0038] Furthermore, the process of training the KNN algorithm model includes:
[0039] For N S Typical operation scenarios, where the i-th typical operation scenario is c i =[P W ,Q node ,M], the corresponding voltage-reactive mapping relationship number is denoted as z i , forming a sample set of typical running scene classes and mapping numbers with labels
[0040] The Euclidean distance calculation formula for any two samples is:
[0041]
[0042] The sample set is divided into a training set and a validation set. The training set is used to determine the optimal K parameter of the KNN model, and the validation set is used to judge the accuracy of the model. The cross-validation method is used to determine the optimal K value with the highest accuracy as the goal. By determining the key parameter K value in the KNN model, a trained KNN algorithm model is obtained.
[0043] Furthermore, the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario are matched by the trained KNN algorithm model, including: inputting the actual operation scenario into the trained KNN algorithm model, calculating the distance between the actual operation scenario and all typical operation scenarios, and sorting the distances according to numerical values, determining the R typical operation scenario sets closest to the actual operation scenario and recording them as NR(X), and finally, for the mapping number corresponding to the typical operation scenario in NR(X), matching the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario on the principle of minority obeys majority.
[0044] The present invention also proposes a distribution network dynamic reactive voltage control system, comprising a preprocessing module, a building module, a matching module and an acquisition module;
[0045] The preprocessing module is used to discretely divide the scene elements that affect the bus voltage of the distribution network substation to form a typical operation scene set; the scene elements include load level, reactive power and on-load tap changer transformer tap position;
[0046] The construction module is used to construct a voltage-reactive power mapping relationship library by using unlabeled samples and labeled samples for semi-supervised collaborative training after obtaining a typical operation scenario set;
[0047] The matching module is used to input the actual operation scenario into the trained KNN algorithm model, and match the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario through the trained KNN algorithm model;
[0048] The acquisition module is used to acquire the reactive power control quantity online through a constructed voltage-reactive power mapping relationship library based on the voltage-reactive power mapping relationship and the voltage deviation.
[0049] Furthermore, the system also includes a filling module;
[0050] The filling module is used to preferentially use discrete reactive power sources to fill the required reactive control amount after obtaining the reactive control amount, and then use the continuous reactive power source of the dynamic reactive compensation device to supplement the remaining required reactive control amount.
[0051] The effects provided in the content of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:
[0052] The present invention proposes a method and system for dynamic reactive voltage control of a distribution network, the method comprising: discretely dividing the scene elements that affect the bus voltage of a distribution network substation to form a typical operation scene set; the scene elements include load level, reactive power and on-load tap changer transformer tap position; after obtaining the typical operation scene set, using unlabeled samples and labeled samples for semi-supervised collaborative training to construct a voltage-reactive mapping relationship library; inputting the actual operation scene into the trained KNN algorithm model, matching the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scene through the trained KNN algorithm model; based on the voltage-reactive mapping relationship and the voltage deviation, the reactive control amount is obtained online through the constructed voltage-reactive mapping relationship library. After obtaining the reactive control amount, discrete reactive power sources are preferentially used to fill the required reactive control amount, and then the continuous reactive power source of the dynamic reactive compensation device is used to supplement the remaining required reactive control amount. Based on a distribution network dynamic reactive voltage control method, a distribution network dynamic reactive voltage control system is also proposed. The present invention first divides the typical operation scenarios of the offline distribution network, and then performs offline semi-supervised collaborative training on the voltage-reactive mapping relationship under the typical operation scenario. In the actual operation control, the actual operation scenario is matched with the typical operation scenario to obtain the voltage-reactive mapping relationship corresponding to the actual operation scenario. It can reduce the demand for the number of labeled samples, thereby having a higher model training efficiency, and has strong applicability for large power grids with multiple network nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] like Figure 1 This is a flow chart of a method for dynamic reactive voltage control in a distribution network according to Embodiment 1 of the present invention;
[0054] like Figure 2 This is a flow chart of semi-supervised collaborative training in Example 1 of the present invention;
[0055] like Figure 3 A flowchart of obtaining a voltage-reactive power mapping relationship corresponding to an actual operation scenario in accordance with Embodiment 1 of the present invention;
[0056] like Figure 4 This is a schematic diagram of a dynamic reactive voltage control system for a distribution network according to Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0057] In order to clearly illustrate the technical features of the present solution, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the accompanying drawings are not necessarily drawn to scale. The present invention omits the description of known components and processing techniques and processes to avoid unnecessary limitations on the present invention.
[0058] Example 1
[0059] Embodiment 1 of the present invention proposes a method for dynamic reactive voltage control of a distribution network, which constructs a voltage-reactive mapping relationship library offline, matches the operation scenarios online, selects a suitable voltage-reactive mapping relationship, and obtains reactive regulation online in combination with voltage deviation. The present invention uses typical scenario division and matching and semi-supervised collaborative training methods to offline formulate a voltage-reactive mapping relationship library under typical operation scenarios. In actual operation control, after the voltage deviation under the actual operation scenario is given, the corresponding reactive regulation amount can be obtained through scenario matching and mapping calculation. For distribution networks containing dynamic reactive compensation equipment, discrete reactive power sources such as capacitors and reactors and continuous reactive power sources such as dynamic reactive compensation equipment can be used in combination to achieve accurate and continuous voltage control, thereby improving the reactive power utilization rate in voltage control.
[0060] like Figure 1 This is a flow chart of a method for dynamic reactive voltage control in a distribution network according to Embodiment 1 of the present invention;
[0061] In step S1, the scenario elements that affect the bus voltage of the distribution network substation are discretely divided to form a typical operation scenario set; the scenario elements include load level, reactive power and tap position of the on-load tap-changing transformer; the bus voltage of the distribution network substation is mainly affected by load level, reactive power, tap position of the on-load tap-changing transformer, etc.
[0062] The process of discretizing the load level is as follows: the load level has a large random volatility. From the perspective of probability, the present invention proposes a discrete division method for the load level based on the Wasserstein probability distance index.
[0063] The core idea of the discrete partitioning method based on Wasserstein probability distance is to decompose the continuous probability density distribution of the random variable into several discrete distributions, and use the quantile of the discrete distribution that can make the discrete distribution closest to the continuous distribution as the optimal quantile. These optimal quantiles are the discrete values divided by the random variable.
[0064] Wasserstein probability distance W r Characterizes the approximation between probability densities, thus transforming the discrete partitioning problem into minimizing W r problem.
[0065] min W r (f c ,f d ;π)=∫π[f c (x),f d (x)] r dx; (1)
[0066] Among them, f c is the probability density function of the discrete distribution; f d is the probability density function of continuous distribution; π is the degree of approximation; r is the order;
[0067] If the load level probability density distribution is:
[0068]
[0069] Among them, P W represents the continuous value of the load before discretization; f(P W ) is the probability density function of the load level of the continuous distribution; ν ci is the minimum value of load rate; c is the load type parameter; k is the load fluctuation shape parameter; P n is the historical average of load; h represents the load rate deviation value, ν n is the mean load factor;
[0070] Substituting formula (2) into formula (1) we can get N for solving the load level: SW The optimal quantile z Wq The equation
[0071] Wherein, a = (k + r) / [k (r + 1)] is determined by the load fluctuation shape parameter and the order after discretization, represents the proximity of the optimal quantile of the load after discretization, and q represents the sequence number of the optimal quantile;
[0072]
[0073] The load level N is obtained by formula (3) SW The load level is divided into N optimal quantiles. SW Typical discrete values.
[0074] The process of discretization of reactive power includes: the reactive power after discretization is equal to the sum of the reactive power of the line load connected to the reactive compensation device and the reactive power of the reactive compensation device;
[0075] Q node =∑Q W +∑Q C ; Among them, Q node is the reactive power after discretization; Q W Represents the reactive power of the line load; Q C Represents the reactive power of the reactive compensation equipment.
[0076] The tap position of the on-load tap-changing transformer is discretized. The tap position M of the on-load tap-changing transformer can be read from the nameplate, usually 17 positions from -8 to +8 (including position 0). Thus, the typical operation scenario set of the distribution network can be obtained offline, which is recorded as set [P W ,Q node ,M].
[0077] In step S2, after obtaining a set of typical operating scenarios, a voltage-reactive power mapping relationship library is constructed by using a semi-supervised collaborative training method that uses both unlabeled samples and labeled samples for training.
[0078] When constructing the voltage-reactive power mapping relationship, the present invention adopts a semi-supervised collaborative training method that can use both unlabeled and labeled samples for training, thereby reducing the demand for the number of sample labels. Therefore, the sample set contains not only labeled samples but also a large number of unlabeled samples.
[0079] The methods for obtaining labeled samples include: given a typical operating scenario [P W ,Q node ,M], adjust the node reactive power △Q, and obtain the node voltage change △U through power flow calculation. The labeled sample format is as follows: [Typical scenario, voltage deviation; reactive power adjustment amount] = [P W ,Q node ,M,ΔU,ΔQ]; (5)
[0080] Where M is the discrete tap position of the on-load tap-changing transformer;
[0081] Unlabeled samples are typical running scenarios [P W ,Q node ,M], the node voltage deviation △U, the unlabeled sample format is as follows: [typical scenario, voltage deviation] = [P W ,Q node ,M,ΔU] (6);
[0082] So: The sample set in a typical operation scenario is as follows:
[0083]
[0084] Among them, L is the labeled sample set, U is the unlabeled sample set, x i For [P W ,Q node ,M,ΔU,ΔQ],y i = △Q,N lable is the number of labeled samples, N S -N lable is the number of unlabeled samples.
[0085] like Figure 2 This is a flow chart of semi-supervised collaborative training in Example 1 of the present invention;
[0086] Divide the labeled sample set L into two parts, L1 and L2, and train L1 and L2 respectively to obtain two regression models h1(x) and h2(x);
[0087] Randomly select a subset U′ from the unlabeled sample set U, and use h1(x) and h2(x) to estimate the samples in U′ respectively; select the unlabeled sample with the highest confidence estimated by h1(x) and its estimated value from U′ as the labeled sample, add it and update L2; update L1 in the same way;
[0088] Delete the unlabeled samples added to L1 or L2 from U′, and repeatedly train the two regression models h1(x) and h2(x) until the maximum number of iterations is reached; finally, the output result is the mean of the two regression models;
[0089]
[0090] In step S3, the actual operation scenario is input into the trained KNN algorithm model, and the mapping number and voltage-reactive power mapping relationship corresponding to the actual operation scenario are matched through the trained KNN algorithm model;
[0091] Using the KNN method, a matching method between actual operation scenarios and typical operation scenarios is proposed, which includes two processes: offline training and online matching.
[0092] The process of KNN algorithm model training includes:
[0093] For N S Typical operation scenarios, where the i-th typical operation scenario is c i =[P W ,Q node ,M], the corresponding voltage-reactive mapping relationship number is denoted as z i , forming a sample set of typical running scene classes and mapping numbers with labels
[0094] The Euclidean distance calculation formula for any two samples is:
[0095]
[0096] The sample set is divided into a training set and a validation set. The training set is used to determine the optimal K parameter of the KNN model, and the validation set is used to judge the accuracy of the model. The cross-validation method is used to determine the optimal K value with the highest accuracy as the goal. By determining the key parameter K value in the KNN model, a trained KNN algorithm model is obtained.
[0097] like Figure 3 The present invention is a flowchart of obtaining a voltage-reactive mapping relationship corresponding to an actual operation scenario in Example 1; the actual operation scenario is input into the trained KNN algorithm model, the distance between the actual operation scenario and all typical operation scenarios is calculated, and the distance is sorted according to the numerical value, and the R typical operation scenario sets closest to the actual operation scenario are determined and recorded as NR(X); finally, for the mapping number corresponding to the typical operation scenario in NR(X), the mapping number and the voltage-reactive mapping relationship corresponding to the actual operation scenario are matched according to the principle of minority obeys majority.
[0098] In step S4, based on the voltage-reactive mapping relationship and the voltage deviation, the reactive control amount is obtained online through the constructed voltage-reactive mapping relationship library.
[0099] The actual operating scenario and the current voltage deviation are used as input;
[0100] Calculate the required reactive power control quantity through the trained voltage-reactive power mapping relationship model;
[0101] It is preferred to use discrete reactive power sources such as capacitors and reactors to fill the required reactive control quantity, and then use continuous reactive power sources such as dynamic reactive compensation equipment to supplement the remaining required reactive control quantity.
[0102] A method for dynamic reactive power and voltage control of a distribution network proposed in Example 1 of the present invention first divides the typical operation scenarios of the offline distribution network, and then performs semi-supervised collaborative training on the voltage-reactive mapping relationship offline in the typical operation scenarios. In actual operation control, the actual operation scenarios are matched with the typical operation scenarios to obtain the voltage-reactive mapping relationship corresponding to the actual operation scenarios. The method can reduce the demand for the number of labeled samples, thereby having a higher model training efficiency and is highly applicable to large power grids with multiple network nodes.
[0103] Example 2
[0104] Based on a distribution network dynamic reactive voltage control method proposed in Example 1 of the present invention, Example 2 of the present invention further proposes a distribution network dynamic reactive voltage control system, such as Figure 4 This is a schematic diagram of a distribution network dynamic reactive voltage control system according to Embodiment 2 of the present invention, the system comprising a preprocessing module, a building module, a matching module and an acquisition module;
[0105] The preprocessing module is used to discretely divide the scene elements that affect the bus voltage of the distribution network substation to form a typical operation scene set; the scene elements include load level, reactive power and on-load tap changer transformer tap position;
[0106] The construction module is used to construct a voltage-reactive power mapping relationship library by using both unlabeled samples and labeled samples for semi-supervised collaborative training after obtaining a set of typical operating scenarios;
[0107] The matching module is used to input the actual operation scenario into the trained KNN algorithm model, and match the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario through the trained KNN algorithm model;
[0108] The acquisition module is used to acquire the reactive power control quantity online based on the voltage-reactive power mapping relationship and the voltage deviation through the constructed voltage-reactive power mapping relationship library.
[0109] The system also includes a filling module; the filling module is used to preferentially use discrete reactive power sources to fill the required reactive control amount after obtaining the reactive control amount, and then use the continuous reactive power source of the dynamic reactive compensation equipment to supplement the remaining required reactive control amount.
[0110] A distribution network dynamic reactive voltage control system proposed in Example 2 of the present invention modularizes a distribution network dynamic reactive voltage control method proposed in Example 1 of the present invention, and the specific implementation process refers to the implementation process of the method in Example 1.
[0111] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or equipment that includes a series of elements are inherent to the elements. In the absence of more restrictions, the elements limited by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or equipment that includes the elements. In addition, the above-mentioned technical solution provided in the embodiment of the present application is consistent with the corresponding technical solution in the prior art in principle, and the part is not described in detail, so as not to repeat too much.
[0112] Although the above describes the specific implementation of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. For those skilled in the art, other different forms of modifications or deformations can be made on the basis of the above description. It is not necessary and impossible to list all the implementation methods here. On the basis of the technical solution of the present invention, various modifications or deformations that can be made by those skilled in the art without creative work are still within the scope of protection of the present invention.
Claims
1. A method for dynamic reactive voltage control in a distribution network, characterized in that: The following steps are involved: Discretely divide the scenario elements that affect the bus voltage of the distribution network substation to form a typical operation scenario set; the scenario elements include load level, reactive power and on-load tap changer transformer tap position; The process of discrete load levels includes: Define W r Characterizes the degree of approximation between probability densities, so the minimum W r The expression is: min W r (f c ,f d ;π)=∫π[f c (x),f d (x)] r dx; (1) Among them, f c is the probability density function of the discrete distribution; f d is the probability density function of continuous distribution; π is the degree of approximation; r is the order; If the load level probability density distribution is: Among them, P W represents the continuous value of the load before discretization; f(P W ) is the probability density function of the load level of the continuous distribution; ν ci is the minimum load rate; c is the load type parameter; k is the load fluctuation shape parameter; P n is the historical average of load; h represents the load rate deviation value, ν n is the mean load factor; Substituting formula (2) into formula (1) we can get N for solving the load level: SW The optimal quantile z Wq The equation Wherein, a = (k + r) / [k (r + 1)] is determined by the load fluctuation shape parameter and the order after discretization, represents the proximity of the optimal quantile of the load after discretization, and q represents the sequence number of the optimal quantile; The load level N is obtained by formula (3) SW The load level is divided into N optimal quantiles. SW Typical discrete values; The process of discrete reactive power includes: the reactive power after discreteness is equal to the sum of the reactive power of the line load connected to the reactive compensation device and the reactive power of the reactive compensation device; Q node =∑Q W +∑Q C ; Among them, Q node is the reactive power after discretization; Q W Represents the reactive power of the line load; Q C Represents the reactive power of reactive compensation equipment; After obtaining a set of typical operating scenarios, semi-supervised collaborative training is performed using both unlabeled samples and labeled samples to construct a voltage-reactive power mapping relationship library. The methods for obtaining labeled samples include: given a typical operating scenario [P W ,Q node ,M], adjust the node reactive power △Q, and obtain the node voltage change △U through power flow calculation. The labeled sample form is as follows: [Typical scenario, voltage deviation; reactive power regulation] = [P W ,Q node ,M,ΔU,ΔQ] ; (5) Wherein, M is the discrete tap position of the on-load tap-changing transformer; Unlabeled samples are typical running scenarios [P W ,Q node ,M], the node voltage deviation △U, the unlabeled sample form is as follows: [Typical scenario, voltage deviation] = [P W ,Q node ,M,ΔU] (6); So: The sample set in a typical operation scenario is as follows: Among them, L is the labeled sample set, U is the unlabeled sample set, x i For [P W ,Q node ,M,ΔU,ΔQ],y i = △Q,N lable is the number of labeled samples, N S -N lable is the number of unlabeled samples; The actual operation scenario is input into the trained KNN algorithm model, and the mapping number and voltage-reactive power mapping relationship corresponding to the actual operation scenario are matched through the trained KNN algorithm model; Based on the voltage-reactive power mapping relationship and the voltage deviation, the reactive power control quantity is obtained online through the constructed voltage-reactive power mapping relationship library.
2. A method for dynamic reactive voltage control in a distribution network according to claim 1, characterized in that: The method also includes: after obtaining the reactive control amount, preferentially using a discrete reactive power source to fill the required reactive control amount, and then using a dynamic reactive compensation device continuous reactive power source to supplement the remaining required reactive control amount.
3. A method for dynamic reactive voltage control in a distribution network according to claim 1, characterized in that: The method for constructing a voltage-reactive power mapping relationship library comprises: Divide the labeled sample set L into two parts, L1 and L2, and train L1 and L2 respectively to obtain two regression models h1(x) and h2(x); Randomly select a subset U′ from the unlabeled sample set U, and use h1(x) and h2(x) to estimate the samples in U′ respectively; select the unlabeled sample with the highest confidence estimated by h1(x) and its estimated value from U′ as the labeled sample, add it and update L2; update L1 in the same way; Delete the unlabeled samples added to L1 or L2 from U′, and repeatedly train the two regression models h1(x) and h2(x) until the maximum number of iterations is reached; finally, the output result is the mean of the two regression models; 4. A method for dynamic reactive voltage control in a distribution network according to claim 1, characterized in that: The process of KNN algorithm model training includes: For N S Typical operation scenarios, where the i-th typical operation scenario is c i =[P W ,Q node ,M], the corresponding voltage-reactive mapping relationship number is denoted as z i , forming a sample set of typical running scene classes and mapping numbers with labels The Euclidean distance calculation formula for any two samples is: The sample set is divided into a training set and a validation set. The training set is used to determine the optimal K parameter of the KNN model, and the validation set is used to judge the accuracy of the model. The cross-validation method is used to determine the optimal K value with the highest accuracy as the goal. By determining the key parameter K value in the KNN model, a trained KNN algorithm model is obtained.
5. A method for dynamic reactive voltage control in a distribution network according to claim 4, characterized in that: The method of matching the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario through the trained KNN algorithm model includes: inputting the actual operation scenario into the trained KNN algorithm model, calculating the distance between the actual operation scenario and all typical operation scenarios, and sorting the distances according to numerical values, determining the R typical operation scenario sets closest to the actual operation scenario and recording them as NR(X), and finally, for the mapping number corresponding to the typical operation scenario in NR(X), matching the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario on the principle of minority obeys majority.
6. A distribution network dynamic reactive voltage control system, used to execute a distribution network dynamic reactive voltage control method according to any one of claims 1 to 5, characterized in that: It includes a preprocessing module, a building module, a matching module and an acquisition module; The preprocessing module is used to discretely divide the scene elements that affect the bus voltage of the distribution network substation to form a typical operation scene set; the scene elements include load level, reactive power and on-load tap changer transformer tap position; The construction module is used to construct a voltage-reactive power mapping relationship library by using unlabeled samples and labeled samples for semi-supervised collaborative training after obtaining a typical operation scenario set; The matching module is used to input the actual operation scenario into the trained KNN algorithm model, and match the mapping number and voltage-reactive mapping relationship corresponding to the actual operation scenario through the trained KNN algorithm model; The acquisition module is used to acquire the reactive power control quantity online through a constructed voltage-reactive power mapping relationship library based on the voltage-reactive power mapping relationship and the voltage deviation.
7. A distribution network dynamic reactive voltage control system according to claim 6, characterized in that: The system also includes a filling module; The filling module is used to preferentially use discrete reactive power sources to fill the required reactive control amount after obtaining the reactive control amount, and then use the continuous reactive power source of the dynamic reactive compensation device to supplement the remaining required reactive control amount.
Citation Information
Patent Citations
Control system for reactive voltage of new energy power station
CN108711866A
Power distribution network optimization method considering out-of-limit risk
CN112467746A
Coordinated control method for reactive voltage
CN113285466A
Method, control device and system for determining condition data of an electrical energy supply network
EP3340413A1
Method for controlling micro-grid grid-connected inverter using dynamic droop coefficient
WO2022068146A1
