Power grid regulation and control method and device, computer equipment, readable storage medium and program product
Through the division of grid node information and the combination screening of power parameters, the accuracy and stability of grid regulation are achieved, the problem of inaccurate parameter setting in traditional methods is solved, and the safety and efficiency of grid operation are improved.
Patent Information
- Application Number
- CN202410599752.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-09-27
AI Technical Summary
The traditional power grid control method is based on set parameters, which has inaccurate problems and is difficult to effectively cope with the complexity and volatility of the power grid operation process.
By determining the node information of the nodes in the power grid, the node clusters are divided, candidate power parameters that meet the power conditions are determined for each node, a combination is selected, and the target parameter combination with the smallest cluster operation loss is selected for regulation.
It improves the accuracy and stability of power grid regulation, reduces power grid operation losses, and ensures the safety and efficiency of the power grid.
Smart Images

Figure CN118713282A
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to a power grid control method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of power technology, grid control technology has emerged. By controlling the parameters of distributed grid partitions, the stability of grid voltage can be guaranteed.
[0003] In traditional technology, each node in the power grid is generally regulated based on set parameters to achieve power grid regulation. However, due to the complexity and volatility of the power grid operation process, regulating the power grid based only on set parameters is inaccurate. Summary of the invention
[0004] Based on this, it is necessary to provide a power grid control method, device, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of power grid control in response to the above technical problems.
[0005] In a first aspect, the present application provides a power grid control method, comprising:
[0006] Determine node information of each of a plurality of nodes in a power grid; the node information includes a node cluster to which the node belongs and a power condition that the node needs to meet;
[0007] For each of the nodes, determining a plurality of candidate power parameters that satisfy a power condition corresponding to the node;
[0008] Selecting one of the candidate power parameters in each of the nodes respectively for combination, to obtain a plurality of candidate parameter combinations corresponding to the node cluster;
[0009] For each of the node clusters, a target parameter combination with the smallest cluster operation loss is determined from a plurality of candidate parameter combinations corresponding to the node cluster, and the node cluster is regulated according to the target parameter set.
[0010] In one embodiment, determining node information of each of a plurality of nodes in a power grid includes:
[0011] Acquire multiple candidate cluster division results obtained by clustering multiple nodes in the power grid;
[0012] For each of the candidate cluster division results, based on the voltage coefficient in the power grid corresponding to the candidate cluster division result, the initial modularity of the candidate cluster division result is updated to obtain an updated modularity;
[0013] Based on the candidate cluster division result corresponding to the maximum update modularity, the node cluster to which each of the nodes belongs is determined.
[0014] In one embodiment, the voltage coefficient includes a reactive voltage sensitivity coefficient and an active voltage sensitivity coefficient, and the method further includes:
[0015] Determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of each of the nodes;
[0016] For each node cluster, statistically calculating multiple reactive voltage sensitivity coefficients corresponding to the node cluster to obtain the reactive voltage sensitivity coefficient of the node cluster;
[0017] Determining an average value of the reactive voltage sensitivity coefficients of each of the node clusters as the reactive voltage sensitivity coefficient in the power grid;
[0018] For each node cluster, statistically calculating multiple active voltage sensitivity coefficients corresponding to the node cluster to obtain the active voltage sensitivity coefficient of the node cluster;
[0019] An average value of the active voltage sensitivity coefficients of each of the node clusters is determined as the active voltage sensitivity coefficient in the power grid.
[0020] In one embodiment, the process of determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of the node includes:
[0021] For each target node in the node cluster, the target node is combined with any non-target node in the node cluster to form a node pair;
[0022] For each of the node pairs, determining the voltage amplitude deviation of the non-target node, and the active power and reactive power of the target node;
[0023] Determining an active voltage sub-sensitivity coefficient between the target node and the non-target node according to the voltage amplitude deviation and the active power;
[0024] Determining a reactive voltage sub-sensitivity coefficient between the target node and the non-target node according to the voltage amplitude deviation and the reactive power;
[0025] The statistical value of each active voltage sub-sensitivity coefficient is determined as the active voltage sensitivity coefficient of the target node, and the statistical value of each reactive voltage sub-sensitivity coefficient is determined as the reactive voltage sensitivity coefficient of the target node.
[0026] In one of the embodiments, for each of the nodes, determining a plurality of candidate power parameters that satisfy a power condition corresponding to the node includes:
[0027] For each of the nodes, determining a node type of the node;
[0028] Based on the node type and the connection relationship between the node and the reactive power compensator, a plurality of candidate power parameters satisfying the power condition corresponding to the node are determined.
[0029] In one of the embodiments, the candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes a renewable energy node;
[0030] The determining, based on the node type and the connection relationship between the node and the reactive power compensator, a plurality of candidate power parameters that satisfy the power condition corresponding to the node includes:
[0031] In the case where the node is not connected to a reactive power compensator, determining a predicted active power of the renewable energy at the node, and using the predicted active power as a candidate active power parameter of the node;
[0032] Determining a plurality of candidate reactive power parameters of the node according to a set step size according to an inequality relationship between the candidate active power parameter, the candidate reactive power parameter and the maximum capacity of the renewable energy source;
[0033] In the case where the node is connected to a reactive compensator, using the reactive power of the reactive compensator as a candidate reactive power parameter of the node;
[0034] The candidate active power parameters satisfying the active power condition of the renewable energy are determined as candidate active power parameters of the node, and the candidate reactive power parameters satisfying the reactive power condition of the renewable energy are determined as candidate reactive power parameters of the node.
[0035] In one of the embodiments, the candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes an energy storage energy node;
[0036] The determining, based on the node type and the connection relationship between the node and the reactive power compensator, a plurality of candidate power parameters that satisfy the power condition corresponding to the node includes:
[0037] In the case where the node is not connected to a reactive compensator, multiple candidate reactive power parameters of the node are determined according to a set step size based on a numerical range of the maximum reactive power of the energy storage energy at the node, and the candidate reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as candidate reactive power parameters of the node;
[0038] Determining a plurality of candidate active power parameters of the node according to a set step size based on a numerical range of the maximum active power of the energy storage energy at the node;
[0039] When the node type of the node is an energy storage energy node and the node is connected to the reactive power compensator, the reactive power of the reactive power compensator is used as an alternative reactive power parameter of the node;
[0040] Determine an alternative active power parameter that meets the active power condition of the energy storage energy as a candidate active power parameter of the node; determine an alternative reactive power parameter that meets the reactive power condition of the energy storage energy as a candidate reactive power parameter of the node.
[0041] In a second aspect, the present application also provides a power grid control device, including:
[0042] A node information determination module, used to determine node information of each of a plurality of nodes in the power grid; the node information includes the node cluster to which the node belongs and the power condition that the node needs to meet;
[0043] A candidate power parameter determination module, configured to determine, for each of the nodes, a plurality of candidate power parameters that satisfy a power condition corresponding to the node;
[0044] A candidate parameter combination determination module, used to select one of the candidate power parameters in each of the nodes for combination, to obtain a plurality of candidate parameter combinations corresponding to the node cluster;
[0045] The node cluster control module is used to determine, for each of the node clusters, a target parameter combination with the smallest cluster operation loss from a plurality of candidate parameter combinations corresponding to the node cluster, and control the node cluster according to the target parameter set.
[0046] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the above method are implemented.
[0047] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0048] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0049] The above-mentioned power grid control method, device, computer equipment, computer-readable storage medium and computer program product determine the node information of each of the multiple nodes in the power grid, wherein the node information includes the node cluster to which the node belongs and the power condition that the node needs to meet. It can be determined that the multiple nodes are divided into different clusters respectively, so as to facilitate the control according to the characteristics between the nodes. For each node, multiple candidate power parameters that meet the power condition corresponding to the node are determined, and one of the candidate power parameters in each node is selected for combination to obtain multiple candidate parameter combinations corresponding to the node cluster. For each node cluster, all candidate parameter combinations that meet the power conditions can be screened out. For each node cluster, from the multiple candidate parameter combinations corresponding to the node cluster, a target parameter combination with the smallest cluster operation loss is determined, and the node cluster is controlled according to the target parameter set, so that the minimum loss is achieved during the operation of the power grid, and the safety and stability of the power grid operation are ensured, thereby ensuring the accuracy of power grid control. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 An application environment diagram of a power grid control method in an embodiment;
[0052] Figure 2 A schematic diagram of a flow chart of a power grid control method in one embodiment;
[0053] Figure 3 A schematic diagram of a flow chart of power grid control steps in an embodiment;
[0054] Figure 4 is a schematic diagram of the operation of a discrete prediction model in one embodiment;
[0055] Figure 5 A schematic diagram of a modularity function change in one embodiment;
[0056] Figure 6 A schematic diagram of a grid voltage control effect in one embodiment;
[0057] Figure 7 A diagram comparing voltage amplitudes of a controlled power grid and an uncontrolled power grid in one embodiment;
[0058] Figure 8 A graph comparing power grid losses of a controlled power grid and an uncontrolled power grid in one embodiment;
[0059] Fig. 9 A schematic diagram of a flow chart of a power grid control method in another embodiment;
[0060] Fig.10 A structural block diagram of a power grid control device in one embodiment;
[0061] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] The power grid control method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the power grid 104 through the network. Among them, the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The power grid 104 is a general term for facilities and equipment that connect power generation and power consumption in the power system. Specifically, during the process of grid control, the terminal 102 determines the node information of each of the multiple nodes in the grid 104; the node information includes the node cluster to which the node belongs, and the power conditions that the node needs to meet; for each node, multiple candidate power parameters that meet the power conditions corresponding to the node are determined; one of the candidate power parameters in each node is selected and combined to obtain multiple candidate parameter combinations corresponding to the node cluster; for each node cluster, a target parameter combination with the smallest cluster operation loss is determined from the multiple candidate parameter combinations corresponding to the node cluster, and the node cluster is controlled according to the target parameter set.
[0064] In an exemplary embodiment, Figure 2 As shown, a power grid control method is provided, which is applied to Figure 1 The following is an example of a terminal in the example, including:
[0065] Step S202, determining node information of each of a plurality of nodes in the power grid.
[0066] The power grid is a general term for facilities and equipment that connect power generation and power consumption in the power system. A node is a collection point of current or a collection point of branches in the equivalent diagram of power grid calculation and analysis, generally corresponding to the busbar of the power grid. Node information includes the node cluster to which the node belongs and the power conditions that the node needs to meet. A node cluster can contain one node or multiple nodes. The power condition refers to the conditions that the power of the node must meet when used in the power grid.
[0067] Specifically, the power grid control process generally needs to first divide multiple nodes in the power grid into node clusters. Based on a certain feature, similar nodes are divided into the same node cluster, and different nodes are divided into different node clusters, so that the voltage control strategy can be effectively implemented within the node cluster, while the impact on the outside of the cluster is small. Therefore, it is necessary to determine the node information of each of the multiple nodes in the power grid, that is, the node cluster to which each node belongs can be determined, and the power condition that the node needs to meet can be determined, so as to subsequently screen the determined node power. In a specific embodiment, multiple candidate cluster division results obtained by clustering multiple nodes in the power grid can be obtained. For each candidate cluster division result, based on the candidate cluster division result corresponding to the voltage coefficient in the power grid, the initial modularity of the candidate cluster division result is updated to obtain the updated modularity, and the node cluster to which each node belongs is determined based on the candidate cluster division result corresponding to the maximum updated modularity. Further, the cluster division process can be performed by Louvain algorithm, K-means method, spectral clustering method, complex network theory or community search algorithm.
[0068] Step S204: for each node, determine a plurality of candidate power parameters that satisfy the power condition corresponding to the node.
[0069] The candidate power parameters refer to power parameters waiting to be selected, and may include, for example, candidate active power parameters and candidate reactive power parameters.
[0070] Specifically, since the power parameters of the nodes are different, the operation conditions of the power grid are also different. In order to ensure the safety and stability of the power grid operation voltage, multiple candidate power parameters of the node can be determined when the node meets the power conditions, so as to accurately implement the subsequent power grid regulation. That is, for each node, multiple candidate power parameters that meet the power conditions corresponding to the node can be determined. In a specific embodiment, the node type of the node can be determined for each node, and based on the node type and the connection relationship between the node and the reactive power compensator, multiple candidate power parameters that meet the power conditions corresponding to the node are determined. In another specific embodiment, a candidate power parameter determination model can also be established, with the node as input, and the output being multiple candidate power parameters of the node.
[0071] Step S206 , selecting one of the candidate power parameters in each node for combination, and obtaining a plurality of candidate parameter combinations corresponding to the node cluster.
[0072] The candidate parameter combination refers to a power parameter combination waiting to be selected, including any candidate power parameter of each node in the node cluster.
[0073] Specifically, after determining multiple candidate power parameters that meet the power conditions of each node, in order to facilitate the regulation of the power grid according to the cluster, it is necessary to combine the candidate power parameters of all nodes in each node cluster, that is, one of the candidate power parameters in each node can be selected for combination to obtain multiple candidate parameter combinations corresponding to the node cluster, then all possible candidate parameter combinations of the node cluster can be obtained. For example, the node cluster includes two nodes A and B, node A includes two candidate power parameters, and node B includes three candidate power parameters, then the candidate parameter combinations corresponding to the node cluster are six. Furthermore, the selection action can be performed by the terminal or manually.
[0074] Step S208 , for each node cluster, determine a target parameter combination with the minimum cluster operation loss from a plurality of candidate parameter combinations corresponding to the node cluster, and regulate the node cluster according to the target parameter set.
[0075] The target parameter combination refers to the parameter combination that causes the smallest cluster operation loss during the operation of the power grid.
[0076] Specifically, in order to ensure the accuracy and stability of power grid regulation, each candidate parameter combination can be applied to the power grid, and each operating condition can be analyzed to finally determine the target parameter combination with the smallest cluster operation loss. In a specific embodiment, the terminal can establish a cluster operation loss determination model, determine the cluster operation loss of multiple candidate parameter combinations according to the cluster operation loss determination model, and then take the candidate parameter combination with the smallest evaluation parameter as the target parameter set, and regulate the node cluster according to the target parameter set. In another specific embodiment, each candidate parameter combination of each node cluster can be applied to the power grid for each node cluster, and the grid current numerical combination of the power grid is obtained, and the grid current numerical combination is substituted into the set evaluation parameters, and the candidate parameter combination with the smallest evaluation parameter is taken as the target parameter set, and the node cluster is regulated according to the target parameter set. For example, the evaluation parameters can be as follows:
[0077]
[0078] Where t0 is the start time; ΔT is the sampling time; K is the step size; n is the number of nodes in the power grid; is the current in branch ij at time t; r ij It is the resistance of branch ij, which can realize real-time online regulation of each sampling time.
[0079] In the above-mentioned power grid control method, the node information of each of the multiple nodes in the power grid is determined, wherein the node information includes the node cluster to which the node belongs and the power condition that the node needs to meet. It can be determined that the multiple nodes are divided into different clusters, so as to facilitate the control according to the characteristics between the nodes. For each node, multiple candidate power parameters that meet the power condition corresponding to the node are determined, and one of the candidate power parameters in each node is selected for combination to obtain multiple candidate parameter combinations corresponding to the node cluster. All candidate parameter combinations that meet the power condition can be screened out for each node cluster. For each node cluster, the target parameter combination with the minimum cluster operation loss is determined from the multiple candidate parameter combinations corresponding to the node cluster, and the node cluster is controlled according to the target parameter set, so that the minimum loss is achieved during the operation of the power grid, and the safety and stability of the power grid operation are ensured, thereby ensuring the accuracy of the power grid control. Further, due to the large number of nodes contained in the power grid, the control is carried out in clusters, which can reduce the amount of calculation in the process of determining the target parameter combination, which is conducive to improving work efficiency. Therefore, the scheme of the present application can improve the accuracy of power grid control while improving work efficiency.
[0080] In an exemplary embodiment, node information of each of multiple nodes in a power grid is determined, including: obtaining multiple candidate cluster division results obtained by clustering multiple nodes in the power grid; for each candidate cluster division result, based on the candidate cluster division result corresponding to a voltage coefficient in the power grid, updating the initial modularity of the candidate cluster division result to obtain an updated modularity; based on the candidate cluster division result corresponding to the largest updated modularity, determining the node cluster to which each node belongs.
[0081] Among them, the candidate cluster division result refers to the cluster division result waiting for selection, and the voltage coefficient is used to characterize the sensitivity and regulation capability of the voltage, which may include the reactive voltage sensitivity coefficient, the active voltage sensitivity coefficient, and the voltage regulation capability coefficient. Modularity is a metric used to measure the quality of cluster division. The shit-eating modularity refers to the modularity when the candidate cluster division result is not updated. The updated modularity refers to the modularity after the candidate cluster division result is updated.
[0082] Specifically, in the prior art, after obtaining multiple candidate cluster division results, the candidate cluster division result with the largest modularity is generally taken as the target cluster division result. However, the operation process of the power grid is extremely complex. The prior art does not take into account the influence of the voltage coefficient of the power grid on the cluster division result. The target cluster division result obtained may not be the most suitable for the current power grid. Therefore, in this embodiment, after obtaining multiple candidate cluster division results obtained by clustering multiple nodes in the power grid, the initial modularity of each candidate cluster division result is updated based on the voltage coefficient in the power grid corresponding to the candidate cluster division result to obtain the updated modularity. After that, all the updated modularities obtained are numerically compared, and the candidate cluster division result corresponding to the largest updated modularity is the final target cluster division result. It can be understood that the candidate cluster division result with the largest initial modularity and the candidate cluster division result with the largest updated modularity may be the same or may be two different ones.
[0083] In a specific embodiment, the method for determining the initial modularity can be expressed by the following formula:
[0084]
[0085] Where i and j represent the node index; ρ represents the modularity function; m represents the number of nodes; k i =∑ j A ij is the sum of the weights of the edges connected to node i; if there is no edge between nodes i and j, then A ij = 0; if there is an edge between nodes i and j, then A ij =1; if nodes i and j are in the same cluster, then δ(i, j)=1; if nodes i and j are not in the same cluster, then δ(i, j)=0.
[0086] The larger the modularity function, the stronger the coupling between nodes in the cluster, the weaker the coupling between different clusters, and the better the cluster division result.
[0087] In another specific embodiment, the voltage coefficient may also include a reactive voltage regulation capability coefficient and an active voltage regulation capability coefficient. The reactive voltage regulation capability coefficient and the active voltage regulation capability coefficient of each cluster are determined as follows:
[0088]
[0089] in, Represents node cluster C k Reactive voltage regulation capability coefficient; Represents cluster C k Active voltage regulation capability coefficient; ΔV nRepresents the voltage amplitude deviation of node n; |ΔV n (t)| is the cluster C at time t k The absolute value of the voltage deviation; D Ck It is in C k The collection of renewable energy nodes in ; is the reactive voltage sensitivity coefficient from node i to node n; Q i max (t) represents the maximum reactive capacity of renewable energy at node i and satisfies R i u and R i d They are the upper and lower limits of the voltage sensitivity related to energy storage, respectively.
[0090] Among them, if V n >1.05,|ΔV n (t)|=|ΔV n ov (t)|=|V n (t)-1.05|; if V n <0.95,|Δ V n(t)|=|ΔV n un (t)|=|V n (t)-0.95|; if no voltage approaches the limit, then |ΔV n (t)|=|ΔV n ov (t)|=|V n (t)|=0.
[0091] In order to consider the future period [t0, t p When dividing clusters, the minimum active power and reactive power at each moment are used as modularity indicators, so as to consider the cluster division under the worst working conditions, which makes it possible to implement subsequent control:
[0092]
[0093] Cluster C k Voltage regulation coefficient φ under Ck It can be expressed as:
[0094]
[0095] In this embodiment, the initial modularity of the candidate cluster division results is updated by the candidate cluster division results corresponding to the voltage coefficient in the power grid, and the candidate cluster division result corresponding to the largest updated modularity is used as the target cluster division result of the node cluster, which can improve the accuracy of cluster division and further improve the accuracy of power grid regulation.
[0096] In an exemplary embodiment, the voltage coefficient includes a reactive voltage sensitivity coefficient and an active voltage sensitivity coefficient, and the method further includes: determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of each node; for each node cluster, performing statistical calculations on multiple reactive voltage sensitivity coefficients corresponding to the node cluster to obtain the reactive voltage sensitivity coefficient of the node cluster; determining the average value of the reactive voltage sensitivity coefficients of each node cluster as the reactive voltage sensitivity coefficient in the power grid; for each node cluster, performing statistical calculations on multiple active voltage sensitivity coefficients corresponding to the node cluster to obtain the active voltage sensitivity coefficient of the node cluster; determining the average value of the active voltage sensitivity coefficients of each node cluster as the active voltage sensitivity coefficient in the power grid.
[0097] Among them, the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient represent the grid voltage sensitivity under reactive and active conditions respectively.
[0098] Specifically, in order to determine the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of the power grid, the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of each node can be determined first, and then the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of each node cluster can be determined from the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of each node, and finally the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of the power grid can be determined from the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of each node cluster. That is, the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of each node can be determined. For each node cluster, a plurality of reactive voltage sensitivity coefficients corresponding to the node cluster are statistically calculated to obtain the reactive voltage sensitivity coefficient of the node cluster. The average value of the reactive voltage sensitivity coefficients of each node cluster is determined as the reactive voltage sensitivity coefficient in the power grid. For each node cluster, a plurality of active voltage sensitivity coefficients corresponding to the node cluster are statistically calculated to obtain the active voltage sensitivity coefficient of the node cluster. The average value of the active voltage sensitivity coefficients of each node cluster is determined as the active voltage sensitivity coefficient in the power grid. Further, it can be understood that the statistical calculation can be, for example, average value calculation or weighted average calculation.
[0099] In a specific embodiment, the nodes are divided into renewable energy nodes and energy storage energy nodes, and the process of determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of the power grid is:
[0100] Voltage amplitude deviation ΔV at node n n The relationship between the active power ΔP and reactive power ΔQ of renewable energy or energy storage at node i is as follows:
[0101]
[0102] Where, ΔVn represents the voltage amplitude deviation of node n; and are the active voltage sensitivity coefficient and reactive voltage sensitivity coefficient from node i to node n respectively; ΔP i and ΔQ i They represent the active power and reactive power of distributed generation or load at node i respectively.
[0103] The voltage sensitivity coefficient of the renewable energy node and the voltage sensitivity coefficient of the energy storage node can be defined as follows:
[0104]
[0105] in, and They represent the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of renewable energy nodes respectively; and They represent the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of the energy storage energy node respectively; avg() represents the average value function; C k represents the kth cluster; E Ck It is in C k China Energy Storage Energy Node Collection: D Ck It is in C k The set of renewable energy nodes in the Ck It is C k The set of all nodes in .
[0106] In this embodiment, the voltage sensitivity coefficient of the cluster is determined according to the voltage sensitivity coefficient of the node, and then the voltage sensitivity coefficient of the power grid is determined according to the voltage sensitivity coefficient of the cluster, which can improve the accuracy of power grid regulation.
[0107] In an exemplary embodiment, the process of determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of a node includes: for each target node in the node cluster, forming a node pair with the target node and any non-target node in the node cluster; for each node pair, determining the voltage amplitude deviation of the non-target node, and the active power and reactive power of the target node; determining the active voltage sub-sensitivity coefficient between the target node and the non-target node based on the voltage amplitude deviation and the active power; determining the reactive voltage sub-sensitivity coefficient between the target node and the non-target node based on the voltage amplitude deviation and the reactive power; determining the statistical value of each active voltage sub-sensitivity coefficient as the active voltage sensitivity coefficient of the target node, and determining the statistical value of each reactive voltage sub-sensitivity coefficient as the reactive voltage sensitivity coefficient of the target node.
[0108] The target node is the node whose voltage sensitivity coefficient is currently being determined, and the non-target node is the node other than the target node in the node cluster where the target node is located. Voltage amplitude deviation refers to the actual voltage amplitude slowly changing and deviating from the rated voltage over a period of time, and the deviation is steady-state.
[0109] Active power refers to the electrical power required to keep the equipment running, that is, the electrical power that converts electrical energy into other forms of energy (mechanical energy, light energy, thermal energy, etc.); while reactive power refers to the electrical power required to establish a magnetic field when components such as inductors and capacitors in electrical equipment are working.
[0110] The active voltage sub-sensitivity coefficient and the reactive voltage sub-sensitivity coefficient are respectively the active voltage sensitivity coefficient and the reactive voltage sensitivity coefficient between the target node and the non-target node. For the target node, there may be multiple active voltage sensitivity coefficients and multiple reactive voltage sensitivity coefficients.
[0111] Specifically, to determine the active voltage sensitivity coefficient or reactive voltage sensitivity coefficient of a node in a node cluster, it is necessary to first determine the active voltage sub-sensitivity coefficient or reactive voltage sub-sensitivity coefficient of the node and the remaining nodes, and then perform statistical calculations on all the obtained active voltage sub-sensitivity coefficients or reactive voltage sub-sensitivity coefficients to obtain the active voltage sensitivity coefficient or reactive voltage sensitivity coefficient of the node. That is to say, it is necessary to first form a node pair between the target node and any non-target node in the node cluster for each target node in the node cluster, and then multiple node pairs can be obtained. Then, for each node pair, the voltage amplitude deviation of the non-target node, and the active power and reactive power of the target node need to be determined. According to the voltage amplitude deviation and the active power, the active voltage sub-sensitivity coefficient between the target node and the non-target node is determined. According to the voltage amplitude deviation and the reactive power, the reactive voltage sub-sensitivity coefficient between the target node and the non-target node is determined. Finally, the statistical value of each active voltage sub-sensitivity coefficient is determined as the active voltage sensitivity coefficient of the target node, and the statistical value of each reactive voltage sub-sensitivity coefficient is determined as the reactive voltage sensitivity coefficient of the target node.
[0112] In this embodiment, by calculating the active voltage sub-sensitivity coefficient or reactive voltage sub-sensitivity coefficient of a node and the remaining nodes in a node cluster, the active voltage sensitivity coefficient or reactive voltage sensitivity coefficient of the node is finally determined, which can improve the accuracy of obtaining the active voltage sensitivity coefficient or reactive voltage sensitivity coefficient of the node, thereby improving the accuracy of power grid regulation.
[0113] In an exemplary embodiment, for each node, multiple candidate power parameters that satisfy the power conditions corresponding to the node are determined, including: for each node, determining the node type of the node; based on the node type and the connection relationship between the node and the reactive power compensator, determining multiple candidate power parameters that satisfy the power conditions corresponding to the node.
[0114] Among them, the node types include renewable energy nodes and energy storage nodes. Renewable energy nodes refer to nodes connected to renewable energy, such as photovoltaic nodes. Energy storage nodes refer to nodes connected to energy storage. Reactive power compensators are devices that centrally compensate for reactive power balance in substations, which can balance the reactive power of the power grid and improve the power factor of the power grid.
[0115] Specifically, since different node types of nodes and whether the nodes are connected to reactive compensators will have different ways of determining candidate power parameters, it is necessary to first determine the node type of each node, and then determine whether the node is connected to a reactive compensator, select a suitable way of determining candidate power parameters, and determine multiple candidate power parameters that meet the power conditions corresponding to the node. In a specific embodiment, when the node is not connected to a reactive compensator, the predicted active power of the renewable energy at the node is determined, and the predicted active power is used as the candidate active power parameter of the node. When the node is connected to a reactive compensator, the active power of the reactive compensator is used as the candidate active power parameter of the node. According to the inequality relationship between the candidate active power parameter, the candidate reactive power parameter and the maximum capacity of the renewable energy, multiple candidate reactive power parameters of the node are determined according to the set step size; the candidate active power parameter that meets the active power condition of the renewable energy is determined as the candidate active power parameter of the node, and the candidate reactive power parameter that meets the reactive power condition of the renewable energy is determined as the candidate reactive power parameter of the node.
[0116] In another specific embodiment, when the node is not connected to a reactive compensator, multiple alternative reactive power parameters of the node are determined according to a set step size based on the numerical range of the maximum reactive power of the energy storage energy at the node, and the alternative reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as candidate reactive power parameters of the node. Multiple alternative active power parameters of the node are determined according to a set step size based on the numerical range of the maximum active power of the energy storage energy at the node, and the alternative active power parameters that meet the active power conditions of the energy storage energy are determined as candidate active power parameters of the node. When the node type of the node is an energy storage energy node and the node is connected to a reactive compensator, the active power of the reactive compensator is used as the candidate active power parameter of the node.
[0117] In this embodiment, based on the node type and the connection relationship between the node and the reactive power compensator, multiple candidate power parameters that meet the power conditions corresponding to the node are determined, which can improve the accuracy of determining the candidate power parameters.
[0118] In an exemplary embodiment, the candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes a renewable energy node; based on the node type and the connection relationship between the node and the reactive compensator, multiple candidate power parameters that meet the power conditions corresponding to the node are determined, including: when the node is not connected to the reactive compensator, the predicted active power of the renewable energy at the node is determined, and the predicted active power is used as the alternative active power parameter of the node; according to the inequality relationship between the alternative active power parameter, the alternative reactive power parameter and the maximum capacity of the renewable energy, multiple alternative reactive power parameters of the node are determined according to a set step size; when the node is connected to a reactive compensator, the reactive power of the reactive compensator is used as the alternative reactive power parameter of the node; the alternative active power parameters that meet the active power conditions of the renewable energy are determined as the candidate active power parameters of the node, and the alternative reactive power parameters that meet the reactive power conditions of the renewable energy are determined as the candidate reactive power parameters of the node.
[0119] Among them, the candidate active power parameter refers to the active power parameter prepared to be selected as the candidate active power parameter. The candidate reactive power parameter refers to the reactive power parameter prepared to be selected as the candidate reactive power parameter. The active power condition and reactive power condition of renewable energy refer to the conditions that the candidate active power parameter can meet when used in the power grid or the conditions that the candidate reactive power parameter can meet when used in the power grid.
[0120] Specifically, when the node type of the node is a renewable energy node, the connection relationship between the node and the reactive compensator determines whether the candidate reactive power parameter of the node is the reactive power of the renewable energy or the reactive power of the reactive compensator, but does not affect the determination of the candidate active power parameter of the node. That is, when the node is not connected to the reactive compensator, the predicted active power of the renewable energy at the node is determined, and the predicted active power is used as the candidate active power parameter of the node. According to the inequality relationship between the alternative active power parameter, the alternative reactive power parameter and the maximum capacity of the renewable energy, multiple alternative reactive power parameters of the node are determined according to the set step size. When the node is connected to the reactive compensator, the reactive power of the reactive compensator is used as the alternative reactive power parameter of the node, the alternative active power parameter that meets the active power condition of the renewable energy is determined as the candidate active power parameter of the node, and the alternative reactive power parameter that meets the reactive power condition of the renewable energy is determined as the candidate reactive power parameter of the node.
[0121] In a specific embodiment, the candidate active power parameter and the candidate reactive power parameter may be determined by establishing a prediction model, as shown in the following formula:
[0122] The power prediction model of renewable energy can be expressed as follows:
[0123]
[0124] in, is the actual active power of the renewable energy at node i at time t (the candidate active power parameter of node i); is the predicted active power of the renewable energy at node i at time t.
[0125]
[0126] in, is the candidate reactive power parameter of the renewable energy source at node i at time t; The maximum capacity of the renewable energy connected at node i.
[0127] The model of the reactive power compensator can be expressed as:
[0128]
[0129] Among them, Q SVC,i,t represents the reactive power of the reactive compensator at node i; and are the maximum and minimum values of reactive power at node i respectively.
[0130] In this embodiment, the accuracy of power grid control is ensured by reasonably deducing candidate reactive power parameters and candidate active power parameters of renewable energy nodes.
[0131] In an exemplary embodiment, the candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes an energy storage energy node; based on the node type and the connection relationship between the node and the reactive compensator, multiple candidate power parameters that meet the power conditions corresponding to the node are determined, including: when the node is not connected to the reactive compensator, according to the numerical range of the maximum reactive power of the energy storage energy at the node, multiple candidate reactive power parameters of the node are determined according to a set step size, and the candidate reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as candidate reactive power parameters of the node; according to the numerical range of the maximum active power of the energy storage energy at the node, multiple candidate active power parameters of the node are determined according to a set step size; when the node type of the node is an energy storage energy node and the node is connected to a reactive compensator, the reactive power of the reactive compensator is used as the candidate reactive power parameter of the node; the candidate active power parameters that meet the active power conditions of the energy storage energy are determined as candidate active power parameters of the node; the candidate reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as candidate reactive power parameters of the node.
[0132] Among them, the alternative reactive power parameter refers to the reactive power parameter prepared to be selected as the candidate reactive power parameter. The alternative reactive power parameter refers to the reactive power parameter prepared to be selected as the candidate reactive power parameter. The active power condition and reactive power condition of the energy storage energy refer to the conditions that the alternative active power parameter can meet when used in the power grid or the conditions that the alternative reactive power parameter can meet when used in the power grid.
[0133] Specifically, when the node type of the node is a storage energy node, the connection relationship between the node and the reactive compensator determines whether the candidate reactive power parameter of the node is the reactive power of the storage energy or the reactive power of the reactive compensator, but does not affect the determination of the candidate active power parameters of the node. That is, when the node is not connected to the reactive compensator, multiple alternative reactive power parameters of the node are determined according to the set step size based on the numerical range of the maximum reactive power of the energy storage energy at the node, and the alternative reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as the candidate reactive power parameters of the node. According to the numerical range of the maximum active power of the energy storage energy at the node, multiple alternative active power parameters of the node are determined according to the set step size. When the node type of the node is an energy storage energy node and the node is connected to a reactive compensator, the reactive power of the reactive compensator is used as the alternative reactive power parameter of the node, the alternative active power parameters that meet the active power conditions of the energy storage energy are determined as the candidate active power parameters of the node, and the alternative reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as the candidate reactive power parameters of the node.
[0134] In a specific embodiment, the candidate active power parameter and the candidate reactive power parameter may be determined by establishing a prediction model, as shown in the following formula:
[0135] The model of energy storage can be expressed as:
[0136]
[0137] in, The total energy of the energy storage source connected to node i at time t; η ch and η dis They are charging efficiency and discharging efficiency respectively; is the maximum capacity of the energy storage energy source connected to node i; and They are the upper and lower limits of the charging power and discharging power of the energy storage energy, respectively; and Since the reactive power generated by the capacitive current of the line to the ground is called the charging power of the line, the charging power of the energy storage energy in this embodiment is replaced by reactive power, and the discharging power is replaced by active power.
[0138] In this embodiment, the accuracy of power grid control is ensured by reasonably deducing candidate reactive power parameters and candidate active power parameters of energy storage energy nodes.
[0139] In a specific embodiment, Figure 3 As shown, another grid control method is also provided:
[0140] With the advancement of the construction of new power systems, the proportion of distributed photovoltaic grid-connected is gradually increasing. The large-scale access of distributed photovoltaic to the grid brings about voltage over-limit, equipment overload, power reverse transmission, power flow fluctuation and other problems. It is urgent to regulate the grid-connected distributed photovoltaic to ensure the safe and stable operation of the power grid. Due to the randomness of its output and the dispersion of its distribution, it is an inevitable choice to adopt the group regulation and control strategy instead of the traditional centralized regulation method for the new distribution network regulation, and the reasonable and effective cluster division method is the main basis of the group regulation and control strategy.
[0141] Cluster division based on modularity takes electrical distance and active and reactive dispatching capabilities into consideration, which facilitates centralized control. When cluster division is performed using modularity based on electrical distance, the electrical connections between nodes within each cluster are close, while the electrical connections between clusters are loose, and the cluster structure is the strongest.
[0142] S301: clustering the power grid based on the Louvain algorithm and the modularity function to obtain an initial clustering result;
[0143] S302: Obtaining a cluster division result corresponding to an update modularity taking into account a voltage coefficient;
[0144] S303: Establishing discrete prediction models for renewable energy, static VAR compensator, and energy storage;
[0145] S304: constructing an evaluation function and constraint conditions for discrete prediction model prediction;
[0146] S305: Using the target parameter combination with the minimum cluster operation loss as the parameter combination for regulating the node cluster.
[0147] Furthermore, the following steps are included to construct a clustering method for the target power grid based on the Louvain algorithm and the modularity function:
[0148] The Louvain algorithm can quantify the effect of clustering without assuming the number of clusters, and can quickly calculate the results of clustering;
[0149] The Louvain algorithm optimization process can be divided into two steps: 1) nodes are connected to each other, giving the maximum modularity function and forming local clusters; 2) clusters are aggregated to form virtual nodes, thus forming a new network; the first step is repeated, and the whole process is repeated until no clusters can be merged and the modularity function reaches the maximum value, thus obtaining the final cluster division result.
[0150] The larger the modularity function, the stronger the coupling degree of the nodes in the cluster, the weaker the coupling relationship between different clusters, and the better the cluster division result. The modularity function is defined as follows:
[0151]
[0152] Where i and j represent the node index; ρ represents the modularity function; m represents the number of nodes; k i =∑ j A ij is the sum of the weights of the edges connected to node i; if there is no edge between nodes i and j, then A ij = 0; if there is an edge between nodes i and j, then A ij =1; if nodes i and j are in the same cluster, then δ(i, j)=1; if nodes i and j are not in the same cluster, then δ(i, j)=0.
[0153] Furthermore, the following steps are included to construct a cluster partition result corresponding to the update modularity taking into account the voltage coefficient:
[0154] Specifically, the node voltage sensitivity coefficient is obtained as follows:
[0155] Voltage amplitude deviation ΔV at node nn The relationship between the active power ΔP and reactive power ΔQ of renewable energy or energy storage at node i is as follows:
[0156]
[0157] Where, ΔV n represents the voltage amplitude deviation of node n; and are the active voltage sensitivity coefficient and reactive voltage sensitivity coefficient from node i to node n respectively; ΔP i and ΔQ i They represent the active power and reactive power of distributed generation or load at node i respectively.
[0158] The voltage sensitivity coefficient of the renewable energy node and the voltage sensitivity coefficient of the energy storage node can be defined as follows:
[0159]
[0160] in, and They represent the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of renewable energy nodes respectively; and They represent the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of the energy storage energy node respectively; avg() represents the average value function; Cx represents the kth cluster; E Ck It is in C k China Energy Storage Energy Node Collection: D Ck It is in C k The set of renewable energy nodes in the Ck It is C k The set of all nodes in .
[0161] Specifically, the reactive voltage regulation capability coefficient and active voltage regulation capability coefficient of each cluster are determined as follows:
[0162]
[0163]
[0164] in, Represents node cluster C k Reactive voltage regulation capability coefficient; Represents cluster C k Active voltage regulation capability coefficient; ΔV n Represents the voltage amplitude deviation of node n; |ΔV n (t)| is the cluster C at time t k The absolute value of the voltage deviation; D Ck It is in Ck The collection of renewable energy nodes in ; is the reactive voltage sensitivity coefficient from node i to node n; Q i max (t) represents the maximum reactive capacity of renewable energy at node i and satisfies R i u and R i d are the upper and lower limits of the voltage sensitivity related to energy storage; if V n >1.05,|ΔV n (t)|=|ΔV n ov (t)|=|V n (t)-1.05|; if V n <0.95, |ΔV n (t)|=|ΔV n un (t)|=|V n (t)-0.95|; if no voltage approaches the limit, then |ΔV n (t)|=|ΔV n ov (t)|=|V n (t)|=0.
[0165] In order to consider the future period [t0, t p When dividing clusters, the minimum active power and reactive power at each moment are used as modularity indicators, so as to consider the cluster division under the worst working conditions, which makes it possible to implement subsequent control:
[0166]
[0167] Cluster C k Voltage regulation coefficient φ under Ck It can be expressed as:
[0168]
[0169] After considering voltage sensitivity and voltage regulation capability, modularity can evaluate the cluster division results of the power grid. The updated modularity is expressed as follows:
[0170]
[0171] Among them, ρ m represents the updated modularity; ρ represents the initial modularity; N c represents the number of node clusters; k represents the cluster index; and Represents the node cluster Ck Reactive voltage sensitivity coefficient and active voltage sensitivity coefficient; φ Ck represents the cluster voltage regulation capability coefficient; ζ1, ζ2, ζ3 and ζ4 represent weight coefficients respectively, and satisfy ζ1+ζ2=1 and ζ3+ζ4=1.
[0172] Furthermore, the following steps are included to construct a discrete model prediction model:
[0173] See also Figure 4 , discrete prediction model prediction includes three parts: prediction model, feedback correction and rolling optimization:
[0174] 1) Predictive model: It determines the model prediction input form by predicting future output values or responses based on input history information;
[0175] 2) Feedback correction: The model predicts the prediction error through the output value and the predicted value, and uses the feedback information to form a closed-loop control;
[0176] 3) Rolling optimization: Optimal control is optimized online in real time at each sampling time and the process is repeated.
[0177] Furthermore, the following steps are included to construct a discrete prediction model of renewable energy, static VAR compensator, and energy storage energy:
[0178] The model of renewable energy can be expressed as follows:
[0179]
[0180] in, is the actual active power of the renewable energy at node i at time t (the candidate active power parameter of node i); is the predicted active power of the renewable energy at node i at time t.
[0181]
[0182] in, is the candidate reactive power parameter of the renewable energy source at node i at time t; The maximum capacity of the renewable energy connected at node i.
[0183] The model of the reactive power compensator can be expressed as:
[0184]
[0185] Among them, Q SVC,i,t represents the reactive power of the reactive compensator at node i; and are the maximum and minimum values of reactive power at node i respectively.
[0186] The model of energy storage can be expressed as:
[0187]
[0188] in, The total energy of the energy storage source connected to node i at time t; η ch and η dis They are charging efficiency and discharging efficiency respectively; is the maximum capacity of the energy storage energy source connected to node i; and They are the upper and lower limits of the charging power and discharging power of the energy storage energy, respectively; and They are charging state and discharging state respectively.
[0189] Further, the following steps are included to construct an evaluation function and constraint conditions for discrete model prediction:
[0190] The evaluation function for discrete model prediction is described as:
[0191]
[0192] Where t0 is the start time; ΔT is the sampling time; K is the step size; n is the number of nodes in the power system; is the current in branch ij at time t; r ij is the resistance of branch ij.
[0193] The model should satisfy the following constraints:
[0194] Among them, since the active power condition and the reactive power condition respectively refer to the conditions that can be satisfied by the alternative active power parameters when used in the power grid or the conditions that can be satisfied by the alternative reactive power parameters when used in the power grid, that is, the constraint conditions can represent the above-mentioned active power conditions and reactive power conditions, when the alternative active power parameters are used in the power grid, the node voltage and branch current of the power grid satisfy the following constraint conditions, which represent the conditions that can be satisfied by the alternative active power parameters when used in the power grid.
[0195] 1) The node voltage should satisfy the following constraints:
[0196]
[0197] in, is the voltage amplitude of node i at time t; and are the maximum and minimum voltages at node i, respectively.
[0198] 2) The branch current should meet the following constraints. Since the above-mentioned reactive power conditions and reactive power conditions refer to the conditions that the alternative reactive power parameters can meet when used in the power grid or the conditions that the reactive power parameters can meet when used in the power grid, respectively
[0199]
[0200] in, is the current in branch ij at time t; is the maximum current in branch ij.
[0201] The branch power should meet the following constraints:
[0202]
[0203] in, and is the active power and reactive power of branch ij at time t; P i t is the active power of node i at time t; is the reactive power of node i at time t; r ij is the resistance of branch ij; x ij is the reactance of branch ij.
[0204] See also Figure 5 ,In order to verify the effectiveness of the proposed method, an ,improved 33-node regional power grid system is used to verify the ,effect of regional power grid voltage control based on cluster ,cooperation. The simulation system is verified using the Matlab / Simulink platform, where ,the photovoltaic node in the renewable energy node is taken as an example.
[0205] The moment with the highest solar radiation is selected as the typical operation state of the power grid, and the 33-node power grid is divided into clusters. According to the method in this paper, the modularity function of clustering is designed. The change of modularity function is as follows Figure 6 As shown in the figure. When the number of network nodes is 33, the algorithm starts to iterate step by step from the number of clusters 33, and calculates the modularity function coefficient of the system at the same time. When the number of clusters is 3, the modularity function reaches the maximum value. Therefore, the optimal clustering division result of the system is obtained, which provides a basis for the subsequent control design.
[0206] from Figure 7 It can be seen from the graph that the voltage amplitude with control is significantly increased compared to the voltage amplitude without control, with nodes 15-19 having a significant impact. Figure 8It can be seen that the network loss curves without control or with control are compared. With the increase of renewable energy production, the grid loss in the 07:00-14:00 period shows a significant upward trend compared with other periods. From 14:00 to 18:00, as the light intensity decreases, the grid loss of the power grid shows a significant downward trend. Comparing the grid loss curves with and without control, the control and feedback correction based on model prediction, as well as the coordination of various dynamic devices, significantly reduce the grid loss.
[0207] In another specific embodiment, Fig. 9 As shown, the power grid control method includes:
[0208] Step S901, obtaining multiple candidate cluster division results obtained by clustering multiple nodes in a power grid;
[0209] Step S902, for each target node in the node cluster, the target node and any non-target node in the node cluster are combined into a node pair, and for each node pair, a voltage amplitude deviation of the non-target node and active power and reactive power of the target node are determined;
[0210] Step S903, determining the active voltage sub-sensitivity coefficient between the target node and the non-target node according to the voltage amplitude deviation and the active power, and determining the reactive voltage sub-sensitivity coefficient between the target node and the non-target node according to the voltage amplitude deviation and the reactive power;
[0211] Step S904: determining the statistical value of each active voltage sub-sensitivity coefficient as the active voltage sensitivity coefficient of the target node, and determining the statistical value of each reactive voltage sub-sensitivity coefficient as the reactive voltage sensitivity coefficient of the target node;
[0212] Step S905: for each node cluster, statistically calculate multiple reactive voltage sensitivity coefficients corresponding to the node cluster to obtain the reactive voltage sensitivity coefficient of the node cluster, and determine the average value of the reactive voltage sensitivity coefficients of each node cluster as the reactive voltage sensitivity coefficient in the power grid;
[0213] Step S906: for each node cluster, statistically calculate multiple active voltage sensitivity coefficients corresponding to the node cluster to obtain the active voltage sensitivity coefficient of the node cluster, and determine the average value of the active voltage sensitivity coefficients of each node cluster as the active voltage sensitivity coefficient in the power grid;
[0214] Step S907, for each candidate cluster division result, based on the voltage coefficient in the power grid corresponding to the candidate cluster division result, the initial modularity of the candidate cluster division result is updated to obtain an updated modularity;
[0215] Among them, the voltage coefficient includes reactive voltage sensitivity coefficient and active voltage sensitivity coefficient;
[0216] Step S908, based on the candidate cluster division result corresponding to the maximum update modularity, determine the node cluster to which each node belongs, and determine the node type of each node;
[0217] The node information includes the node cluster to which the node belongs and the power conditions that the node needs to meet; the node types include renewable energy nodes and energy storage energy nodes;
[0218] Step S909, when the node is not connected to a reactive power compensator, determine the predicted active power of the renewable energy at the node, use the predicted active power as the candidate active power parameter of the node, and determine multiple candidate reactive power parameters of the node according to the set step size based on the inequality relationship between the candidate active power parameter, the candidate reactive power parameter and the maximum capacity of the renewable energy;
[0219] Step S910: when the node is connected to a reactive power compensator, the reactive power of the reactive power compensator is used as a candidate reactive power parameter of the node;
[0220] Step S911, determining the candidate active power parameters that meet the active power condition of the renewable energy as the candidate active power parameters of the node, and determining the candidate reactive power parameters that meet the reactive power condition of the renewable energy as the candidate reactive power parameters of the node;
[0221] Step S912, when the node is not connected to a reactive compensator, multiple candidate reactive power parameters of the node are determined according to a set step size based on a numerical range of the maximum reactive power of the energy storage energy at the node;
[0222] Step S913: when the node type of the node is an energy storage energy node and the node is connected to a reactive power compensator, the reactive power of the reactive power compensator is used as a candidate reactive power parameter of the node;
[0223] Step S914, determining multiple candidate active power parameters of the node according to the set step size based on the numerical range of the maximum active power of the energy storage energy at the node;
[0224] Step S915, determining the candidate active power parameters that meet the active power condition of the energy storage energy as the candidate active power parameters of the node, and determining the candidate reactive power parameters that meet the reactive power condition of the energy storage energy as the candidate reactive power parameters of the node;
[0225] The candidate power parameters include candidate active power parameters, candidate reactive power parameters, candidate active power parameters and candidate reactive power parameters;
[0226] Step S916, select one of the candidate power parameters in each node for combination, and obtain multiple candidate parameter combinations corresponding to the node cluster. For each node cluster, determine the target parameter combination with the smallest cluster operation loss from the multiple candidate parameter combinations corresponding to the node cluster, and regulate the node cluster according to the target parameter set.
[0227] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0228] Based on the same inventive concept, the embodiment of the present application also provides a power grid control device for implementing the power grid control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more power grid control device embodiments provided below can refer to the limitations of the power grid control method above, and will not be repeated here.
[0229] In an exemplary embodiment, Fig.10 As shown, a power grid control device 1000 is provided, including: a node information determination module 1002, a candidate power parameter determination module 1004, a candidate parameter combination determination module 1006 and a node cluster control module 1008, wherein:
[0230] The node information determination module 1002 is used to determine the node information of each of the multiple nodes in the power grid; the node information includes the node cluster to which the node belongs and the power condition that the node needs to meet;
[0231] A candidate power parameter determination module 1004 is used to determine, for each node, a plurality of candidate power parameters that satisfy a power condition corresponding to the node;
[0232] A candidate parameter combination determination module 1006 is used to select one of the candidate power parameters in each node for combination to obtain multiple candidate parameter combinations corresponding to the node cluster;
[0233] The node cluster control module 1008 is used to determine, for each node cluster, a target parameter combination with the minimum cluster operation loss from a plurality of candidate parameter combinations corresponding to the node cluster, and control the node cluster according to the target parameter set.
[0234] In one embodiment, the node information determination module 1002 is specifically used to: obtain multiple candidate cluster division results obtained by clustering multiple nodes in the power grid; for each candidate cluster division result, based on the candidate cluster division result corresponding to the voltage coefficient in the power grid, update the initial modularity of the candidate cluster division result to obtain an updated modularity; based on the candidate cluster division result corresponding to the largest updated modularity, determine the node cluster to which each node belongs.
[0235] In one embodiment, the voltage coefficient includes a reactive voltage sensitivity coefficient and an active voltage sensitivity coefficient. In the case of this embodiment, the power grid control device 1000 also includes a voltage sensitivity coefficient determination module, including: a node voltage sensitivity coefficient determination unit, used to determine the reactive voltage sensitivity coefficient and active voltage sensitivity coefficient of each node; a cluster reactive voltage sensitivity coefficient determination unit, used to perform statistical calculations on multiple reactive voltage sensitivity coefficients corresponding to each node cluster for each node cluster, and obtain the reactive voltage sensitivity coefficient of the node cluster; a power grid reactive voltage sensitivity coefficient determination unit, used to determine the average value of the reactive voltage sensitivity coefficients of each node cluster as the reactive voltage sensitivity coefficient in the power grid; a cluster active voltage sensitivity coefficient determination unit, used to perform statistical calculations on multiple active voltage sensitivity coefficients corresponding to each node cluster for each node cluster, and obtain the active voltage sensitivity coefficient of the node cluster; a power grid active voltage sensitivity coefficient determination unit, used to determine the average value of the active voltage sensitivity coefficients of each node cluster as the active voltage sensitivity coefficient in the power grid.
[0236] In one embodiment, the node voltage sensitivity coefficient determination unit is specifically used to: for each target node in the node cluster, form a node pair with the target node and any non-target node in the node cluster; for each node pair, determine the voltage amplitude deviation of the non-target node, and the active power and reactive power of the target node; determine the active voltage sub-sensitivity coefficient between the target node and the non-target node based on the voltage amplitude deviation and the active power; determine the reactive voltage sub-sensitivity coefficient between the target node and the non-target node based on the voltage amplitude deviation and the reactive power; determine the statistical value of each active voltage sub-sensitivity coefficient as the active voltage sensitivity coefficient of the target node, and determine the statistical value of each reactive voltage sub-sensitivity coefficient as the reactive voltage sensitivity coefficient of the target node.
[0237] In one embodiment, the candidate power parameter determination module 1004 includes: a node type determination unit, used to determine the node type of each node; a candidate power parameter determination unit, used to determine multiple candidate power parameters that meet the power conditions corresponding to the node based on the node type and the connection relationship between the node and the reactive power compensator.
[0238] In one embodiment, the candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes a renewable energy node. In the case of this embodiment, the candidate power parameter determination unit is specifically used to: determine the predicted active power of the renewable energy at the node when the node is not connected to a reactive compensator, and use the predicted active power as the candidate active power parameter of the node; determine multiple candidate reactive power parameters of the node according to the set step size based on the inequality relationship between the candidate active power parameter, the candidate reactive power parameter and the maximum capacity of the renewable energy; when the node is connected to a reactive compensator, use the reactive power of the reactive compensator as the candidate reactive power parameter of the node; determine the candidate active power parameter that meets the active power condition of the renewable energy as the candidate active power parameter of the node, and determine the candidate reactive power parameter that meets the reactive power condition of the renewable energy as the candidate reactive power parameter of the node.
[0239] In one embodiment, the candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes energy storage energy nodes. In the case of this embodiment, the candidate power parameter determination unit is specifically used to: when the node is not connected to a reactive compensator, according to the numerical range of the maximum reactive power of the energy storage energy at the node, determine multiple candidate reactive power parameters of the node according to a set step size, and determine the candidate reactive power parameters that meet the reactive power conditions of the energy storage energy as the candidate reactive power parameters of the node; according to the numerical range of the maximum active power of the energy storage energy at the node, determine multiple candidate active power parameters of the node according to a set step size; when the node type of the node is an energy storage energy node and the node is connected to a reactive compensator, use the reactive power of the reactive compensator as the candidate reactive power parameter of the node; determine the candidate active power parameters that meet the active power conditions of the energy storage energy as the candidate active power parameters of the node; determine the candidate reactive power parameters that meet the reactive power conditions of the energy storage energy as the candidate reactive power parameters of the node.
[0240] Each module in the above-mentioned power grid control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0241] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NearField Communication, NFC) or other technologies. When the computer program is executed by the processor, a power grid control method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0242] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0243] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the above method when executing the computer program.
[0244] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0245] In one embodiment, a computer program product is provided, comprising a computer program, which implements the steps of the above method when executed by a processor.
[0246] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0247] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0248] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0249] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A power grid control method, It is characterized in that The method comprises: Determine node information of each of a plurality of nodes in a power grid; the node information includes a node cluster to which the node belongs and a power condition that the node needs to meet; For each of the nodes, determining a plurality of candidate power parameters that satisfy a power condition corresponding to the node; Selecting one of the candidate power parameters in each of the nodes respectively for combination, to obtain a plurality of candidate parameter combinations corresponding to the node cluster; For each of the node clusters, a target parameter combination with the smallest cluster operation loss is determined from a plurality of candidate parameter combinations corresponding to the node cluster, and the node cluster is regulated according to the target parameter set.
2. The method according to claim 1, It is characterized in that The determining of node information of each of the plurality of nodes in the power grid includes: Acquire multiple candidate cluster division results obtained by clustering multiple nodes in the power grid; For each of the candidate cluster division results, based on the voltage coefficient in the power grid corresponding to the candidate cluster division result, the initial modularity of the candidate cluster division result is updated to obtain an updated modularity; Based on the candidate cluster division result corresponding to the maximum update modularity, the node cluster to which each of the nodes belongs is determined.
3. The method according to claim 2, It is characterized in that The voltage coefficient includes a reactive voltage sensitivity coefficient and an active voltage sensitivity coefficient, and the method further includes: Determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of each of the nodes; For each node cluster, statistically calculating multiple reactive voltage sensitivity coefficients corresponding to the node cluster to obtain the reactive voltage sensitivity coefficient of the node cluster; Determining an average value of the reactive voltage sensitivity coefficients of each of the node clusters as the reactive voltage sensitivity coefficient in the power grid; For each node cluster, statistically calculating multiple active voltage sensitivity coefficients corresponding to the node cluster to obtain the active voltage sensitivity coefficient of the node cluster; An average value of the active voltage sensitivity coefficients of each of the node clusters is determined as the active voltage sensitivity coefficient in the power grid.
4. The method according to claim 3, It is characterized in that The process of determining the reactive voltage sensitivity coefficient and the active voltage sensitivity coefficient of the node includes: For each target node in the node cluster, the target node is combined with any non-target node in the node cluster to form a node pair; For each of the node pairs, determining the voltage amplitude deviation of the non-target node, and the active power and reactive power of the target node; Determining an active voltage sub-sensitivity coefficient between the target node and the non-target node according to the voltage amplitude deviation and the active power; Determining a reactive voltage sub-sensitivity coefficient between the target node and the non-target node according to the voltage amplitude deviation and the reactive power; The statistical value of each active voltage sub-sensitivity coefficient is determined as the active voltage sensitivity coefficient of the target node, and the statistical value of each reactive voltage sub-sensitivity coefficient is determined as the reactive voltage sensitivity coefficient of the target node.
5. The method according to claim 1, It is characterized in that The step of determining, for each of the nodes, a plurality of candidate power parameters that satisfy a power condition corresponding to the node includes: For each of the nodes, determining the node type of the node; Based on the node type and the connection relationship between the node and the reactive power compensator, a plurality of candidate power parameters that meet the power condition corresponding to the node are determined.
6. The method according to claim 5, It is characterized in that The candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes a renewable energy node; The determining, based on the node type and the connection relationship between the node and the reactive power compensator, a plurality of candidate power parameters that satisfy the power condition corresponding to the node includes: In the case where the node is not connected to a reactive power compensator, determining a predicted active power of the renewable energy at the node, and using the predicted active power as a candidate active power parameter of the node; Determining a plurality of candidate reactive power parameters of the node according to a set step size according to an inequality relationship between the candidate active power parameter, the candidate reactive power parameter and the maximum capacity of the renewable energy source; In the case where the node is connected to a reactive compensator, using the reactive power of the reactive compensator as a candidate reactive power parameter of the node; The candidate active power parameters satisfying the active power condition of the renewable energy are determined as candidate active power parameters of the node, and the candidate reactive power parameters satisfying the reactive power condition of the renewable energy are determined as candidate reactive power parameters of the node.
7. The method according to claim 5, It is characterized in that The candidate power parameters include candidate active power parameters and candidate reactive power parameters; the node type includes energy storage energy nodes; The determining, based on the node type and the connection relationship between the node and the reactive power compensator, a plurality of candidate power parameters that satisfy the power condition corresponding to the node includes: In the case where the node is not connected to a reactive compensator, multiple candidate reactive power parameters of the node are determined according to a set step size based on a numerical range of the maximum reactive power of the energy storage energy at the node, and the candidate reactive power parameters that meet the reactive power conditions of the energy storage energy are determined as candidate reactive power parameters of the node; Determining a plurality of candidate active power parameters of the node according to a set step size based on a numerical range of the maximum active power of the energy storage energy at the node; When the node type of the node is an energy storage energy node and the node is connected to the reactive power compensator, the reactive power of the reactive power compensator is used as an alternative reactive power parameter of the node; Determine an alternative active power parameter that meets the active power condition of the energy storage energy as a candidate active power parameter of the node; determine an alternative reactive power parameter that meets the reactive power condition of the energy storage energy as a candidate reactive power parameter of the node.
8. A power grid control device, It is characterized in that The device comprises: A node information determination module, used to determine node information of each of a plurality of nodes in the power grid; the node information includes the node cluster to which the node belongs and the power condition that the node needs to meet; A candidate power parameter determination module, configured to determine, for each of the nodes, a plurality of candidate power parameters that satisfy a power condition corresponding to the node; A candidate parameter combination determination module, used to select one of the candidate power parameters in each of the nodes for combination, to obtain a plurality of candidate parameter combinations corresponding to the node cluster; The node cluster control module is used to determine, for each of the node clusters, a target parameter combination with the smallest cluster operation loss from a plurality of candidate parameter combinations corresponding to the node cluster, and control the node cluster according to the target parameter set.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
