Flexible power distribution network voltage control method, device and equipment and storage medium
Screening key nodes through real-time measurement data and generating active and reactive power output strategies solves the problem of long training time of adaptive control methods based on historical data mining, improves the accuracy and real-time performance of voltage control of flexible distribution networks, and adapts to power distribution Network topology changes.
Patent Information
- Application Number
- CN202410737756.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-17
AI Technical Summary
Adaptive control methods based on historical data mining take a long time to train in flexible distribution systems and are difficult to adapt to topology changes, resulting in low control efficiency.
Obtain the initial value of voltage sensitivity through real-time measurement data, screen key nodes, calculate voltage control trigger condition values, generate active and reactive power output strategies, and perform real-time voltage control to avoid relying on historical data.
It improves the accuracy and real-time performance of distribution network voltage control, saves computing resources, and adapts to structural changes in flexible distribution systems.
Smart Images

Figure CN118659470A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of voltage control technology, and in particular to a flexible distribution network voltage control method, device, equipment and storage medium. Background Art
[0002] With the high penetration rate of distributed renewable energy access, the volatility of distribution system operation has increased dramatically, and the flow direction has become more variable, leading to a series of problems such as power quality degradation, equipment overload, flow backflow, terminal voltage is too high, and protection strategy conflicts. With the development of power electronics technology, continuous control equipment based on power electronics technology such as intelligent soft switches and distributed power inverters have been widely used. Such equipment can smooth out the random fluctuations of distributed energy output, quickly eliminate voltage over-limit, and achieve real-time, precise, and continuous power and voltage regulation and other control goals, providing an effective solution for distribution network control.
[0003] Traditional distribution system operation control methods are based on accurate physical models of distribution systems. However, in the actual operation of distribution systems, accurate distribution line parameters are difficult to obtain; in addition, after a large number of renewable energy sources with high penetration rates are connected, the observability and controllability of power grid operation deteriorate, and it is difficult to describe the state of the distribution network with an accurate physical model. Complex and diverse controllable resources make distribution network operation control methods that rely on physical models face many problems. With the rapid development of intelligent measurement terminals and communication networks, the distribution and consumption big data has increased dramatically, and contains extremely important information such as user behavior characteristics and system situation development. Data-driven distribution network operation control methods have attracted more and more attention and research because they do not rely on physical model parameters and have the advantages of low modeling cost and strong practicality.
[0004] However, most of the existing data-driven methods are based on historical data. This type of data-driven method relies on data sample training. If there are comprehensive historical data samples, good control effects can be obtained. However, for large-scale distribution systems, adaptive control methods based on historical data mining require a long training time and are difficult to adapt to changes in distribution network topology. When the internal structure of the flexible distribution system changes, such as network failures and economic reconstruction, the previously trained neural network model may be invalid and require a long time to retrain. Summary of the invention
[0005] The present invention provides a flexible distribution network voltage control method, device, equipment and storage medium, which are used to solve the technical problem that the adaptive control method based on historical data mining requires a long training time and is difficult to adapt to the change of distribution network topology. When the internal structure of the flexible distribution system changes, it takes a long time to retrain.
[0006] The present invention provides a flexible distribution network voltage control method, comprising:
[0007] When the controller is connected, real-time measurement data of the first voltage of each node of the active distribution network is obtained;
[0008] Calculate the initial value of the voltage sensitivity of the flexible power distribution equipment to each of the nodes according to the first voltage real-time measurement data;
[0009] Selecting key nodes from the nodes according to the initial voltage sensitivity value;
[0010] Acquire real-time measurement data of a second voltage of the key node;
[0011] Calculating a voltage control trigger condition value using the second voltage real-time measurement data;
[0012] When the voltage control trigger condition value is greater than a preset voltage control trigger threshold, generating an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data;
[0013] Sending the active and reactive power output strategy to the flexible power distribution equipment to obtain updated voltage real-time measurement data;
[0014] Determining whether the current control duration of the controller is greater than a preset control duration;
[0015] If not, using the updated voltage real-time measurement data as the second voltage real-time measurement data, and returning to calculate the voltage control trigger condition value using the second voltage real-time measurement data;
[0016] If so, the control of the controller ends.
[0017] Optionally, when the voltage control trigger condition value is greater than a preset voltage control trigger threshold, the step of generating an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data includes:
[0018] When the voltage control trigger condition value is greater than the preset voltage control trigger threshold, a flexible distribution network voltage control model driven by real-time measurement is established with the goal of minimizing the sum of the deviations between the second voltage real-time measurement data and the voltage reference value and minimizing the change in active and reactive output of the flexible distribution equipment;
[0019] Solve the voltage control model of the flexible distribution network driven by real-time measurement to obtain the active and reactive output strategy of the flexible distribution equipment.
[0020] Optionally, the step of selecting key nodes from the nodes according to the initial voltage sensitivity value includes:
[0021] According to the initial value of the voltage sensitivity, the nodes are divided into similar clusters to obtain a plurality of clusters;
[0022] Calculating a similarity index of each node in each of the clusters;
[0023] The nodes with the largest similarity index in each cluster are selected as key nodes.
[0024] Optionally, the step of solving the flexible distribution network voltage control model driven by real-time measurement to obtain the active and reactive output strategy of the flexible distribution equipment includes:
[0025] The gradient descent method is used to solve the voltage control model of the flexible distribution network driven by real-time measurement to obtain the active and reactive output strategy of the flexible distribution equipment.
[0026] Optionally, the step of dividing the nodes into similar clusters according to the initial voltage sensitivity value to obtain a plurality of clusters includes:
[0027] Calculate the cosine similarity between the initial values of each voltage sensitivity;
[0028] The nodes are divided into similar clusters according to the cosine similarity and a preset similar cluster division threshold to obtain a plurality of clusters.
[0029] Optionally, the step of calculating the similarity index of each node in each cluster includes:
[0030] Generating a similarity matrix for each cluster according to the cosine similarity;
[0031] According to the number of nodes in the cluster and the corresponding similarity matrix, a similarity index of each node in the cluster is calculated.
[0032] The present invention also provides a flexible distribution network voltage control device, comprising:
[0033] A first voltage real-time measurement data acquisition module, used to acquire first voltage real-time measurement data of each node of the active distribution network when the controller is connected;
[0034] A voltage sensitivity initial value calculation module, used to calculate the initial value of the voltage sensitivity of the flexible power distribution equipment to each of the nodes according to the first voltage real-time measurement data;
[0035] A key node screening module, used for screening key nodes from the nodes according to the voltage sensitivity initial value;
[0036] A second voltage real-time measurement data acquisition module, used to acquire the second voltage real-time measurement data of the key node;
[0037] A voltage control trigger condition value calculation module, used to calculate a voltage control trigger condition value using the second voltage real-time measurement data;
[0038] An active and reactive output strategy generation module, used to generate an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data when the voltage control trigger condition value is greater than a preset voltage control trigger threshold;
[0039] An updated voltage real-time measurement data sending module is used to send the active and reactive power output strategy to the flexible power distribution equipment to obtain updated voltage real-time measurement data;
[0040] A judging module, used to judge whether the current control time of the controller is greater than a preset control time;
[0041] a return module, for, if no, using the updated voltage real-time measurement data as the second voltage real-time measurement data, and returning the voltage control trigger condition value calculated by using the second voltage real-time measurement data;
[0042] The ending module is used for ending the control of the controller if yes.
[0043] Optionally, the active and reactive power output strategy generation module includes:
[0044] A real-time measurement driven flexible distribution network voltage control model generation submodule is used to establish a real-time measurement driven flexible distribution network voltage control model with the goal of minimizing the sum of the deviations between the second voltage real-time measurement data and the voltage reference value and minimizing the change in active and reactive output of the flexible distribution equipment when the voltage control trigger condition value is greater than a preset voltage control trigger threshold;
[0045] The solution submodule is used to solve the flexible distribution network voltage control model driven by real-time measurement to obtain the active and reactive power output strategy of the flexible distribution equipment.
[0046] The present invention also provides an electronic device, the device comprising a processor and a memory:
[0047] The memory is used to store program code and transmit the program code to the processor;
[0048] The processor is used to execute the flexible distribution network voltage control method as described in any one of the above items according to the instructions in the program code.
[0049] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the flexible distribution network voltage control method as described in any one of the above items.
[0050] It can be seen from the above technical scheme that the present invention has the following advantages: The present invention discloses a flexible distribution network voltage control method, which specifically includes: when the controller is connected, obtaining the first voltage real-time measurement data of each node of the active distribution network; calculating the initial value of the voltage sensitivity of the flexible distribution equipment to each node based on the first voltage real-time measurement data; screening key nodes from the nodes based on the initial value of the voltage sensitivity; obtaining the second voltage real-time measurement data of the key nodes; using the second voltage real-time measurement data to calculate the voltage control trigger condition value; when the voltage control trigger condition value is greater than the preset voltage control trigger threshold, generating the active and reactive output strategy of the flexible distribution equipment according to the second voltage real-time measurement data; sending the active and reactive output strategy to the flexible distribution equipment to obtain updated voltage real-time measurement data; judging whether the current control time of the controller is greater than the preset control time; if not, using the updated voltage real-time measurement data as the second voltage real-time measurement data, and returning to the voltage control trigger condition value calculated using the second voltage real-time measurement data; if so, ending the control of the controller.
[0051] The present invention screens key nodes of the distribution network based on real-time measurement data to generate active and reactive output strategies of flexible distribution equipment according to the real-time measurement data of the key nodes, thereby performing voltage control through the active and reactive output strategies without relying on historical data, thereby improving the accuracy and real-time performance of voltage control in the active distribution network and saving computing resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0053] Figure 1 A flowchart of a method for controlling voltage in a flexible distribution network provided by an embodiment of the present invention;
[0054] Figure 2 A schematic diagram of a topological structure of a power distribution network provided in an embodiment of the present invention;
[0055] Figure 3 It is the prediction curve of distributed power output and load change;
[0056] Figure 4 This is a schematic diagram for selecting key nodes;
[0057] Figure 5 is a voltage comparison curve diagram at the node 18;
[0058] Figure 6is a voltage comparison curve diagram at the node 33;
[0059] Figure 7 is a voltage comparison curve diagram at node 7;
[0060] Figure 8 is a voltage comparison curve diagram at node 8;
[0061] Fig. 9 is a voltage comparison curve diagram at node 27;
[0062] Fig.10 This is a schematic diagram for comparing active power output strategies of flexible power distribution equipment;
[0063] Fig.11 This is a schematic diagram for comparing reactive power processing strategies for flexible power distribution equipment;
[0064] Fig.12 A structural block diagram of a flexible distribution network voltage control device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0065] The embodiments of the present invention provide a flexible distribution network voltage control method, device, equipment and storage medium, which are used to solve the technical problem that the adaptive control method based on historical data mining requires a long training time and is difficult to adapt to the distribution network topology changes. When the internal structure of the flexible distribution system changes, it takes a long time to retrain.
[0066] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0067] See also Figure 1 , Figure 1 A flowchart of the steps of a flexible distribution network voltage control method provided by an embodiment of the present invention.
[0068] The present invention provides a flexible distribution network voltage control method, which may specifically include the following steps:
[0069] Step 101, when the controller is connected, obtaining first voltage real-time measurement data of each node of the active distribution network;
[0070] Flexible distribution network: Flexible distribution network refers to a distribution network that is designed to achieve flexible closed-loop operation.
[0071] The controller is a device for voltage numerical control in the embodiment of the present invention. When connected to the flexible distribution network, the sampling frequency f and the total control time T of the controller can be set, and the parameters of the input controller include: node voltage reference value U ref , voltage control trigger threshold ξ, similar cluster division threshold σ s , weight coefficients η, μ, ρ, λ, correction coefficients b1, b2; the timing starts from the moment the controller is connected to the system, recorded as t=0.
[0072] In an embodiment of the present invention, when the controller of the flexible distribution network is connected, real-time measurement data of the first voltage of each node of the active distribution network can be obtained.
[0073] Step 102, calculating the initial value of the voltage sensitivity of the flexible power distribution equipment to each node according to the first voltage real-time measurement data;
[0074] In the embodiment of the present invention, when the first voltage real-time measurement data is obtained, the initial value of the voltage sensitivity of the flexible power distribution equipment to each node can be calculated according to the first voltage real-time measurement data.
[0075] In the specific implementation, the calculation formula of the initial value of the voltage sensitivity of the flexible distribution equipment to each node is as follows:
[0076]
[0077] Where S represents the initial value of the sensitivity of the flexible power distribution equipment to each node voltage, m represents the number of controllable independent variables of the flexible power distribution equipment; U i [t+Δt] is the measured value of the node voltage at time t+Δt; U i [t] is the node voltage measurement value at time t; W i [t+Δt] is the active and reactive output of the flexible distribution equipment at time t+Δt; W i [t] is the active and reactive output of the flexible distribution equipment at time t.
[0078] Step 103, selecting key nodes from the nodes according to the initial voltage sensitivity value;
[0079] After the initial voltage sensitivity value is obtained, key nodes can be screened out from the nodes according to the initial voltage sensitivity value.
[0080] In one example, the step of selecting key nodes from nodes according to the initial voltage sensitivity value includes:
[0081] S31, dividing the nodes into similar clusters according to the initial value of voltage sensitivity to obtain a number of clusters;
[0082] Similarity clustering refers to dividing nodes according to their similarity to obtain several similarity clusters.
[0083] In a specific implementation, the following steps may be included:
[0084] S311, calculating the cosine similarity between the initial values of voltage sensitivities;
[0085] S312, dividing the nodes into similar clusters according to the cosine similarity and a preset similar cluster division threshold, to obtain a plurality of clusters.
[0086] The formula for calculating the cosine similarity between nodes is as follows:
[0087]
[0088] Among them, cos(S i ,S g ) represents the cosine similarity between node i and node g; S i and S g are the voltage sensitivities of node i and node g respectively; σ represents the dimension of voltage sensitivity.
[0089] After calculating the cosine similarity between nodes, nodes whose similarity to node i is higher than the similarity cluster division threshold can be divided into a similar cluster c i .
[0090] S32, calculating the similarity index of each node in each cluster;
[0091] In order to select key nodes from the nodes, the similarity index of the nodes in each cluster can be calculated, and the key nodes can be selected according to the similarity index.
[0092] In one example, the step of calculating the similarity index of each node in each cluster includes:
[0093] S321, generating a similarity matrix for each cluster according to the cosine similarity;
[0094] S322, calculating the similarity index of each node in the cluster according to the number of nodes in the cluster and the corresponding similarity matrix.
[0095] In the specific implementation, based on the cosine similarity, the similarity matrix of each cluster can be constructed, with nodes
[0096]
[0097] Among them, the matrix element cos(S i ,S j ) represents the cosine similarity between node i and node j.
[0098] Next, based on the similarity matrix and the number of nodes in the cluster, the similarity index b of each node in the cluster can be calculated. i :
[0099]
[0100] Among them, N c,i Represents similar cluster c i The number of nodes contained in ; Γ c,i (a i ,h i ) represents the similarity matrix Γ ci Middle i Line i The element at column position.
[0101] S33, selecting the node with the largest similarity index in each cluster as the key node.
[0102] Cluster similarity i The nodes in the cluster are sorted according to their similarity index. The node with the highest similarity index in the cluster is considered to be the most representative node in the cluster. Therefore, the node with the highest similarity index in the cluster can be used as the key node.
[0103] Step 104, obtaining the second voltage real-time measurement data of the key node;
[0104] Step 105, using the second voltage real-time measurement data to calculate the voltage control trigger condition value;
[0105] Then, the second voltage real-time measurement data of each key node is sampled, and the voltage control trigger condition value is calculated using the second voltage real-time measurement data.
[0106] In one example, the voltage control trigger condition is:
[0107]
[0108] in, Indicates the voltage control trigger condition value; σ u represents the voltage control trigger condition parameter; y[t] represents the key node voltage measurement vector at time t; y * [t] represents the key node voltage reference value vector at time t; ξ represents the voltage control trigger threshold.
[0109] Step 106, when the voltage control trigger condition value is greater than the preset voltage control trigger threshold, generating an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data;
[0110] When the voltage control trigger condition value is greater than the preset voltage control trigger threshold, that is, when the above voltage control trigger condition is met, the active and reactive output strategy of the flexible distribution equipment can be generated according to the second voltage real-time measurement data.
[0111] In one example, when the voltage control trigger condition value is greater than a preset voltage control trigger threshold, the step of generating an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data includes:
[0112] S61, when the voltage control trigger condition value is greater than the preset voltage control trigger threshold, a flexible distribution network voltage control model driven by real-time measurement is established with the goal of minimizing the sum of the deviation between the second voltage real-time measurement data and the voltage reference value and minimizing the change in active and reactive output of the flexible distribution equipment;
[0113] The voltage control model of the flexible distribution network driven by real-time measurement is as follows:
[0114]
[0115] in, represents the estimated value of the voltage at the key node of the distribution network at time t+Δt, y[t] represents the measured value of the voltage at the key node of the distribution network at time t, and u is the active and reactive output vector of the flexible distribution equipment, which is expressed as Where P sop [t], They represent the active and reactive output of the flexible distribution equipment at time t, u[t] and u[t-Δt] represent the active and reactive output vectors of the flexible distribution equipment at time t and time t-Δt, respectively. Φ[t] represents the pseudo-Jacobian matrix at time t, which is used to reflect the internal structure and parameters of the system. Its expression is:
[0116]
[0117] Where y[t] is the measured value of the voltage at the key node of the distribution network at time t, is the key node voltage at time t estimated by the controller, μ represents the weight coefficient, Φ[t] represents the pseudo-Jacobian matrix at time t, and Φ[t-Δt] represents the pseudo-Jacobian matrix at time t-Δt.
[0118] The objective function of the flexible distribution network voltage control model driven by real-time measurement is:
[0119] J(u[k])=min(∥y * [k+1]-y[k+1]∥ 2 +λ∥u[k]-u[k-1]∥ 2 )
[0120] Where y(k+1) is the key node voltage measurement vector at time k+1; y* (k+1) represents the voltage reference value vector of the key node at time k+1; u(k) is the active and reactive power control variable of the flexible distribution equipment at time k; λ represents the weight coefficient.
[0121] If the above voltage control trigger conditions are not met, the flexible distribution equipment adopts the active and reactive power control strategy of the previous moment and continues to sample key nodes until the real-time measurement data meets the voltage control trigger conditions. The method for updating the active and reactive power output strategy of the flexible distribution equipment when the trigger conditions are not met is as follows:
[0122]
[0123] Among them, u(t+Δt) and u(t) represent the active and reactive power control strategies of the flexible distribution equipment at time t+Δt and time t, respectively; φ(t+Δt) and φ(t) represent the pseudo-Jacobian matrices at time t+Δt and time t, respectively.
[0124] S62, solving the voltage control model of the flexible distribution network driven by real-time measurement, and obtaining the active and reactive output strategy of the flexible distribution equipment.
[0125] In an embodiment of the present invention, the steps of solving the voltage control model of the flexible distribution network driven by real-time measurement and obtaining the active and reactive output strategy of the flexible distribution equipment include:
[0126] S621, the gradient descent method is used to solve the voltage control model of the flexible distribution network driven by real-time measurement, and the active and reactive power output strategy of the flexible distribution equipment is obtained.
[0127] In the specific implementation, the method of solving the objective function of the flexible distribution network voltage control model driven by real-time measurement by the sampling gradient descent method is:
[0128]
[0129] Where ρ represents the weight coefficient; u[t] and u[t-Δt] are the active and reactive outputs of the flexible distribution equipment at time t and time t-Δt, respectively; Φ[t] represents the pseudo-Jacobian matrix at time t; y * [t+Δt] represents the voltage reference value of the key node at time t+Δt; is the estimated value of the key node voltage at time t.
[0130] The method of solving the pseudo-Jacobian matrix Φ[t] using the gradient descent method is:
[0131]
[0132] Among them, Φ[t] and Φ[t-Δt] represent the pseudo-Jacobian matrices at time t and time t-Δt, respectively; u[t-Δt] and u[t-2Δt] represent the active and reactive output vectors of the flexible distribution equipment at time t-Δt and time t-2Δt, respectively; y[t] and y[t-Δt] represent the measured values of the voltage of the key nodes of the distribution network at time t and time t-Δt, respectively; and η represents the weight coefficient.
[0133] The modified equation of the pseudo-Jacobian matrix is:
[0134] Φ ii [t] = Φ ii [1], if |Φ ii [t]|≤b2or|Φ ii [t]|>αb2orsign(Φ ii [t])≠sign(Φ ii [t])
[0135] Φ ij [t] = Φ ij [1], if |Φ ij [t]|>b1orsign(Φ ij [t])≠sign(Φ ij [t])
[0136] Among them, Φ[1] is the initial value of Φ[t], Φ ii [t] and Φ ij [t] represents the diagonal elements and off-diagonal elements of the Jacobian matrix respectively; b1, b2, αb2 represent the correction coefficients.
[0137] Step 107, sending the active and reactive output strategy to the flexible power distribution equipment to obtain updated voltage real-time measurement data;
[0138] After the active and reactive output strategies of the flexible power distribution equipment are calculated, the active and reactive output strategies can be sent to the flexible power distribution equipment to perform voltage control and obtain updated voltage real-time measurement data.
[0139] Step 108, determining whether the current control duration of the controller is greater than a preset control duration;
[0140] Step 109, if not, updating the voltage real-time measurement data to the second voltage real-time measurement data, and returning to calculate the voltage control trigger condition value using the second voltage real-time measurement data;
[0141] Step 110: If yes, end the control of the controller.
[0142] When the current control time of the controller is t=t kWhen the voltage control of the controller is terminated when the time is greater than the total control time T, if not, the voltage real-time measurement data is updated as the second voltage real-time measurement data, and the process returns to the step of calculating the voltage control trigger condition value using the second voltage real-time measurement data.
[0143] The present invention screens key nodes of the distribution network based on real-time measurement data to generate active and reactive output strategies of flexible distribution equipment according to the real-time measurement data of the key nodes, thereby performing voltage control through the active and reactive output strategies without relying on historical data, thereby improving the accuracy and real-time performance of voltage control in the active distribution network and saving computing resources.
[0144] For ease of understanding, the embodiments of the present invention are described below by using specific examples:
[0145] In the embodiment of the present invention, a distribution network including 33 nodes is set, and the topology is as follows: Figure 2 As shown. Three groups of photovoltaic systems are connected to nodes 7, 13 and 27, respectively, and their capacities are 500kWp, 300kWp and 400kWp, respectively. Five groups of wind turbine systems are connected to nodes 10, 16, 17, 30 and 33, respectively, and their capacities are 300kVA, 200kVA, 200kVA, 200kVA and 300kVA, respectively. Finally, a group of flexible distribution equipment with a capacity of 1000kVA is connected between nodes 18 and 33. The system voltage is 12.66kV, the reference power is 1MVA, and the system active and reactive loads are 3715kW and 2300kvar, respectively. The sampling frequency f=1Hz, the total control time T=1h; the voltage reference value of the distribution network is set to 1.0pu. The weight coefficients λ=0.8, ρ=1, η=1, μ=0.01. By using the embodiment of the present invention for control, the output strategy of the flexible distribution equipment can be obtained. To verify the effectiveness of this method, the following three control scenarios are used for comparison in the flexible distribution system:
[0146] Scenario 1: The flexible power distribution equipment is not controlled to obtain the initial operating state of the flexible power distribution system;
[0147] Scenario 2: Online voltage control method of flexible distribution network driven by real-time measurement.
[0148] Scenario 3: Online voltage control method of flexible distribution network driven by global measurement.
[0149] The computer hardware environment for performing optimization calculations is Intel(R) Core(TM) CPU i5-13500HX, with a main frequency of 2.5GHz and a memory of 16GB; the software environment is the Windows 11 operating system.
[0150] The prediction curve of distributed power output and load information changes as follows: Figure 3The key node screening results are shown in Figure 4 As shown. The voltage comparison at node 18 is Figure 5 As shown. The voltage comparison at node 33 is Figure 6 As shown. The voltage comparison at node 7 is Figure 7 As shown. The voltage comparison at node 8 is Figure 8 As shown. The voltage comparison at node 27 is Fig. 9 As shown in the figure. Comparison of active output of flexible power distribution equipment Fig.10 As shown in the figure. Comparison of reactive power output of flexible power distribution equipment Fig.11 shown.
[0151] Combination Figures 5 to 9 It can be seen that scenario 2 can effectively adjust the voltage level of the flexible distribution system in this embodiment. Compared with the data-driven method in scenario 3, the online voltage control method of the flexible distribution network driven by real-time measurement in scenario 2 can approximately achieve the global optimization effect. Figure 10 to Figure 11 It can be seen that the active and reactive output strategies of the flexible distribution equipment are all within the reasonable range of capacity constraints.
[0152] See also Fig.12 , Fig.12 A structural block diagram of a flexible distribution network voltage control device provided in an embodiment of the present invention.
[0153] An embodiment of the present invention provides a flexible distribution network voltage control device, including:
[0154] A first voltage real-time measurement data acquisition module 1201 is used to acquire first voltage real-time measurement data of each node of the active power distribution network when the controller is connected;
[0155] A voltage sensitivity initial value calculation module 1202 is used to calculate the initial value of the voltage sensitivity of the flexible power distribution equipment to each node according to the first voltage real-time measurement data;
[0156] A key node screening module 1203 is used to screen key nodes from nodes according to the initial value of voltage sensitivity;
[0157] A second voltage real-time measurement data acquisition module 1204, used to acquire the second voltage real-time measurement data of the key node;
[0158] A voltage control trigger condition value calculation module 1205, configured to calculate a voltage control trigger condition value using the second voltage real-time measurement data;
[0159] The active and reactive output strategy generation module 1206 is used to generate the active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data when the voltage control trigger condition value is greater than the preset voltage control trigger threshold;
[0160] The updated voltage real-time measurement data sending module 1207 is used to send the active and reactive output strategies to the flexible power distribution equipment to obtain updated voltage real-time measurement data;
[0161] A determination module 1208 is used to determine whether the current control time of the controller is greater than a preset control time;
[0162] Return module 1209, for, if not, updating the voltage real-time measurement data to the second voltage real-time measurement data, and returning the voltage control trigger condition value calculated by using the second voltage real-time measurement data;
[0163] The ending module 1210 is used to end the control of the controller if yes.
[0164] In the embodiment of the present invention, the active and reactive output strategy generation module 1206 includes:
[0165] A real-time measurement driven flexible distribution network voltage control model generation submodule is used to establish a real-time measurement driven flexible distribution network voltage control model with the goal of minimizing the sum of the deviation between the second voltage real-time measurement data and the voltage reference value and minimizing the change in the active and reactive output of the flexible distribution equipment when the voltage control trigger condition value is greater than the preset voltage control trigger threshold;
[0166] The solution submodule is used to solve the voltage control model of the flexible distribution network driven by real-time measurement and obtain the active and reactive power output strategy of the flexible distribution equipment.
[0167] In the embodiment of the present invention, the key node screening module 1203 includes:
[0168] The similar cluster division submodule is used to divide the nodes into similar clusters according to the initial value of voltage sensitivity to obtain several clusters;
[0169] A similarity index calculation submodule is used to calculate the similarity index of each node in each cluster;
[0170] The key node selection submodule is used to select the nodes with the largest similarity index in each cluster as key nodes.
[0171] In an embodiment of the present invention, the solving submodule includes:
[0172] The solving unit is used to solve the voltage control model of the flexible distribution network driven by real-time measurement by using the gradient descent method, and obtain the active and reactive power output strategy of the flexible distribution equipment.
[0173] In the embodiment of the present invention, the similar cluster division submodule includes:
[0174] A cosine similarity calculation unit, used for calculating the cosine similarity between the initial values of voltage sensitivities;
[0175] The similarity cluster division unit is used to divide the nodes into similarity clusters according to the cosine similarity and a preset similarity cluster division threshold to obtain a plurality of clusters.
[0176] In the embodiment of the present invention, the similarity index calculation submodule includes:
[0177] A similarity matrix generating unit, used for generating a similarity matrix of each cluster according to cosine similarity;
[0178] The similarity index calculation unit is used to calculate the similarity index of each node in the cluster according to the number of nodes in the cluster and the corresponding similarity matrix.
[0179] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:
[0180] The memory is used to store the program code and transmit the program code to the processor;
[0181] The processor is used to execute the flexible distribution network voltage control method according to the instructions in the program code.
[0182] An embodiment of the present invention further provides a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the flexible distribution network voltage control method of the embodiment of the present invention.
[0183] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0184] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0185] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of 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 embodiments of 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 codes.
[0186] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the 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 the 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 terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0187] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including 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.
[0188] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0189] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0190] Finally, 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 any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0191] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A flexible distribution network voltage control method, characterized in that: include: When the controller is connected, real-time measurement data of the first voltage of each node of the active distribution network is obtained; Calculate the initial value of the voltage sensitivity of the flexible power distribution equipment to each of the nodes according to the first voltage real-time measurement data; Selecting key nodes from the nodes according to the initial voltage sensitivity value; Acquire real-time measurement data of a second voltage of the key node; Calculating a voltage control trigger condition value using the second voltage real-time measurement data; When the voltage control trigger condition value is greater than a preset voltage control trigger threshold, generating an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data; Sending the active and reactive power output strategy to the flexible power distribution equipment to obtain updated voltage real-time measurement data; Determining whether the current control duration of the controller is greater than a preset control duration; If not, using the updated voltage real-time measurement data as the second voltage real-time measurement data, and returning to calculate the voltage control trigger condition value using the second voltage real-time measurement data; If so, the control of the controller ends.
2. The method according to claim 1, characterized in that The step of generating the active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data when the voltage control trigger condition value is greater than a preset voltage control trigger threshold comprises: When the voltage control trigger condition value is greater than the preset voltage control trigger threshold, a flexible distribution network voltage control model driven by real-time measurement is established with the goal of minimizing the sum of the deviations between the second voltage real-time measurement data and the voltage reference value and minimizing the change in active and reactive output of the flexible distribution equipment; Solve the voltage control model of the flexible distribution network driven by real-time measurement to obtain the active and reactive output strategy of the flexible distribution equipment.
3. The method according to claim 1, characterized in that The step of selecting key nodes from the nodes according to the initial voltage sensitivity value comprises: According to the initial value of the voltage sensitivity, the nodes are divided into similar clusters to obtain a plurality of clusters; Calculating a similarity index of each node in each of the clusters; The nodes with the largest similarity index in each cluster are selected as key nodes.
4. The method according to claim 2, characterized in that: The step of solving the flexible distribution network voltage control model driven by real-time measurement to obtain the active and reactive power output strategy of the flexible distribution equipment includes: The gradient descent method is used to solve the voltage control model of the flexible distribution network driven by real-time measurement to obtain the active and reactive output strategy of the flexible distribution equipment.
5. The method according to claim 3, characterized in that: The step of dividing the nodes into similar clusters according to the initial voltage sensitivity value to obtain a plurality of clusters includes: Calculate the cosine similarity between the initial values of each voltage sensitivity; The nodes are divided into similar clusters according to the cosine similarity and a preset similar cluster division threshold to obtain a plurality of clusters.
6. The method according to claim 5, characterized in that The step of calculating the similarity index of each node in each cluster includes: Generating a similarity matrix for each cluster according to the cosine similarity; According to the number of nodes in the cluster and the corresponding similarity matrix, a similarity index of each node in the cluster is calculated.
7. A flexible distribution network voltage control device, characterized in that: include: A first voltage real-time measurement data acquisition module, used to acquire first voltage real-time measurement data of each node of the active distribution network when the controller is connected; A voltage sensitivity initial value calculation module, used to calculate the initial value of the voltage sensitivity of the flexible power distribution equipment to each of the nodes according to the first voltage real-time measurement data; A key node screening module, used for screening key nodes from the nodes according to the voltage sensitivity initial value; A second voltage real-time measurement data acquisition module, used to acquire the second voltage real-time measurement data of the key node; A voltage control trigger condition value calculation module, used to calculate a voltage control trigger condition value using the second voltage real-time measurement data; An active and reactive output strategy generation module, used to generate an active and reactive output strategy of the flexible power distribution device according to the second voltage real-time measurement data when the voltage control trigger condition value is greater than a preset voltage control trigger threshold; An updated voltage real-time measurement data sending module is used to send the active and reactive power output strategy to the flexible power distribution equipment to obtain updated voltage real-time measurement data; A judging module, used to judge whether the current control time of the controller is greater than a preset control time; a return module, for, if no, using the updated voltage real-time measurement data as the second voltage real-time measurement data, and returning the voltage control trigger condition value calculated by using the second voltage real-time measurement data; The ending module is used for ending the control of the controller if yes.
8. The device according to claim 7, characterized in that The active and reactive power output strategy generation module includes: A real-time measurement driven flexible distribution network voltage control model generation submodule is used to establish a real-time measurement driven flexible distribution network voltage control model with the goal of minimizing the sum of the deviations between the second voltage real-time measurement data and the voltage reference value and minimizing the change in active and reactive output of the flexible distribution equipment when the voltage control trigger condition value is greater than a preset voltage control trigger threshold; The solution submodule is used to solve the flexible distribution network voltage control model driven by real-time measurement to obtain the active and reactive power output strategy of the flexible distribution equipment.
9. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the flexible distribution network voltage control method according to any one of claims 1-6 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program code, and the program code is used to execute the flexible distribution network voltage control method according to any one of claims 1 to 6.
