Dynamic division method for power distribution network region containing high-proportion distributed photovoltaic
By introducing the voltage influence mechanism and genetic algorithm to dynamically calculate electrical distance and build a reasonable regional division index system, the problems of voltage imbalance and insufficient dynamic adjustment capabilities in the distribution network are solved, and the stability and adaptability of the distribution network are improved. .
Patent Information
- Application Number
- CN202411222755.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-09-02
AI Technical Summary
The existing technology cannot effectively solve the overvoltage problem caused by voltage imbalance when a high proportion of distributed photovoltaic is connected to the distribution network, and it lacks dynamic adjustment capabilities, resulting in unstable operation of the distribution network and limiting the access capability of distributed photovoltaic. .
By introducing the voltage influence mechanism, calculating the dynamic electrical distance, and combining the genetic algorithm for regional division, a more scientific regional division index system is constructed, which has the ability to dynamically update and meets the requirements of real-time voltage control.
It improves the operating efficiency and stability of the distribution network, can dynamically adjust regional divisions, adapt to voltage changes after photovoltaic access, and ensure voltage stability and operational safety.
Smart Images

Figure CN118739326A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics. Background Art
[0002] As a high proportion of distributed photovoltaics are connected to the distribution network, it will have a greater impact on the safe and stable operation of the distribution network. The imbalance between photovoltaic power generation and load demand can easily cause the flow to be reversed to the grid, thereby raising the node voltage and causing overvoltage problems. The overvoltage problem not only affects the safe and stable operation of the system, but also limits the ability of the distribution network to absorb distributed photovoltaics and increases power loss. With the increase in the penetration rate of distributed photovoltaics in the distribution network, the number of voltage nodes that need to be controlled has increased significantly, and the overvoltage problem has become more serious.
[0003] The existing technical solution mainly combines the reactive balance, active balance indicators and modularity indicators as regional division criteria, combines the corresponding regional division method to divide the power grid into regions, and searches for key nodes within the obtained sub-regions. By controlling the voltage of the key nodes, the voltage stability of the entire network is achieved.
[0004] However, the existing technology only considers indicators such as active modularity / reactive modularity, reactive balance, active balance, etc., and lacks comprehensive consideration of multiple indicator systems. Therefore, it is impossible to meet the real-time voltage control requirements, resulting in unreasonable regional division. Secondly, the modularity index only uses Euclidean distance to define the electrical distance between nodes, and does not consider the impact of power changes caused by other nodes connected to photovoltaics on the node, resulting in division. At the same time, the division basis of the existing technology itself does not have the ability to be dynamically updated, so it can only perform static one-time division. After the division is completed, it is usually impossible to make dynamic adjustments due to the lack of new basis. Summary of the invention
[0005] In view of the problems of unreasonable division and lack of dynamic adjustment capability in the prior art, the present invention provides a method for dynamic division of distribution network areas containing a high proportion of distributed photovoltaics. In the process of indicator construction, not only the consideration scope is increased, but also the voltage influence mechanism is used to make the calculation of electrical distance a dynamic value, so that the basis of division has the ability of dynamic update. On this basis, partitioning is performed based on genetic algorithm, and whether dynamic update of partitioning is needed is judged according to the function value of regional division indicator system, which solves the problems of unreasonable division and lack of dynamic adjustment capability in the prior art, makes the distribution network area division more reasonable in structure and function, provides a basis for interval coordinated optimization voltage control, and meets the requirements of real-time voltage control.
[0006] The following is the technical solution of the present invention.
[0007] A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics comprises the following steps: S1: Calculate the dynamic electrical distance based on the voltage impact mechanism, calculate the modularity index based on the dynamic electrical distance, calculate the node load balancing index based on the active and reactive power balance capabilities, and calculate the node voltage deviation suppression capability index based on the node voltage deviation suppression capability; S2: Construct a regional division index system function based on the modularity index, node load balancing index, and node voltage deviation suppression capability index; S3: Taking the partition scheme as the individual, the adjacency matrix as the chromosome, and the function value of the regional partition index system as the fitness value, a genetic algorithm is used to partition the distribution network; S4: After the partitioning is completed, a random node is selected based on the preset period to calculate the dynamic electrical distance. If the change in the dynamic electrical distance meets the starting conditions, the partitioning judgment is started: if the difference between the regional division index system function value at the current moment and the previous moment meets the preset conditions, return to S3 to dynamically update the distribution network partition.
[0008] In the present invention, the linear weighted regional division index system function is constructed by comprehensively considering the improved modularity index, load balancing index and voltage deviation suppression capability index to replace the traditional regional division index system, so that the regional division of the distribution network is more reasonable in terms of structure and function. And the voltage influence mechanism is introduced, so that when defining the electrical distance, it is necessary not only to consider the node position, but also to consider the influence of the power change caused by other nodes connected to the photovoltaic power generation on the node, so that the above-mentioned division basis has the ability of dynamic update, and solves the problem that the traditional solution does not have the premise of dynamic division. Then the distribution network is partitioned by genetic algorithm to obtain the optimal solution. Finally, according to the function value of the regional division index system, judgment is made and dynamic update is performed to meet the requirements of real-time voltage control.
[0009] Preferably, in S1, calculating the dynamic electrical distance based on the voltage influence mechanism, and calculating the modularity index based on the dynamic electrical distance include: Perform matrix transformation on the power flow equation in the distribution network to obtain the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix; A voltage impact mechanism is established. If a new node is connected, the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix are recalculated based on the voltage impact mechanism. Calculate the electrical distance based on voltage sensitivity according to the voltage amplitude sensitivity matrix; Calculate the equivalent impedance between nodes, and calculate the dynamic electrical distance based on the equivalent impedance and the electrical distance based on voltage sensitivity; The edge weight network connection matrix and Davidson-Borgin index are calculated based on the dynamic electrical distance, and then the modularity index is calculated.
[0010] In the present invention, by establishing a voltage influence mechanism and recalculating the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix, the influence of new node access on the voltage distribution of the distribution network can be more accurately reflected, and the accuracy of the electrical distance calculation is improved. Secondly, the dynamic electrical distance is calculated based on the electrical distance and equivalent impedance of voltage sensitivity, which further enhances the practicality and accuracy of the electrical distance index and helps to more accurately divide the distribution network area. Finally, by calculating the edge weight network connection matrix and the Davidson-Borgin index, the modularity index is obtained, which provides a more scientific and reasonable basis for the dynamic division of the distribution network area, and helps to improve the operating efficiency and stability of the distribution network.
[0011] Preferably, the voltage influencing mechanism comprises: The voltage amplitude sensitivity and voltage phase angle sensitivity when each unit active power and reactive power is injected into other nodes, as well as the changes in active power and reactive power injected into other nodes, are obtained by comprehensive calculation to obtain the numerical value of the impact of other nodes on the node voltage of this node. Based on this numerical value, the parameter values in the power flow equation are readjusted to recalculate the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix.
[0012] In the present invention, by obtaining the voltage amplitude sensitivity and voltage phase angle sensitivity when each unit of active power and reactive power is injected into other nodes, and comprehensively considering the changes in active power and reactive power injected into other nodes, the influence of other nodes on the voltage of the node can be more comprehensively calculated. This comprehensive calculation method not only improves the accuracy of the voltage influence mechanism, but also provides a reliable basis for re-adjusting the parameter values in the power flow equation, thereby ensuring that the recalculation of the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix is more accurate.
[0013] Preferably, in S1, calculating the node load balancing index based on active and reactive power balancing capabilities includes: The active power balancing capacity is calculated based on the number of nodes, balancing coefficient, active resource call amount, total available active power, active power output by the node, and load power that can be reduced; The reactive power balancing capacity is calculated based on the number of nodes, balancing coefficient, the amount of reactive resources called, the total reactive power that can be provided, and the reactive power output by the node; The node load balancing index is calculated based on the different weights of active balancing capability and reactive balancing capability.
[0014] Preferably, in S1, calculating the node voltage deviation suppression capability index based on the node voltage deviation suppression capability includes: The maximum voltage regulation of the node is calculated according to the maximum active and reactive power that can be provided to the node, and the node voltage deviation suppression capability is determined according to the maximum voltage regulation and the maximum voltage deviation, and then the node voltage deviation suppression capability index is calculated according to different situations.
[0015] In the present invention, since photovoltaic power generation has the characteristics of intermittency and volatility, when zoning, considering the node voltage deviation suppression capability index can better adapt to these characteristics, ensuring that when the photovoltaic output power changes, the system can still maintain a stable voltage level. By evaluating the voltage deviation suppression capability of each node, the distribution grid area can be divided more reasonably to ensure that after photovoltaic access, each area can have sufficient voltage regulation capability to cope with the voltage deviation problem caused by factors such as photovoltaic output power fluctuations, thereby improving the voltage stability of the entire distribution network.
[0016] Preferably, the S2: constructing a regional division index system function according to the modularity index, the node load balancing index, and the node voltage deviation suppression capability index, comprises: Determine the weight coefficient corresponding to each indicator through the hierarchical analysis method; A regional division index system function is constructed based on each index and the corresponding weight coefficient.
[0017] Preferably, S3: using the partitioning scheme as an individual, the adjacency matrix as a chromosome, and the regional partitioning index system function value as a fitness value, and using a genetic algorithm to partition the distribution network, comprises: S31: Create an initial population for individuals using several partitioning schemes, and use the adjacency matrix corresponding to the partitioning scheme as the chromosome of the individual, where the elements 0 and 1 in the adjacency matrix represent the unconnected and connected states between nodes, respectively; S32: Calculate the regional division index system function value of each individual as the fitness value; S33: Select two individuals for crossover and mutation to obtain several offspring individuals; S34: Calculate the fitness value of the offspring individual, and retain the offspring individual with the largest fitness value improvement; S35: Repeat S33 and S34 until a preset number of iterations or a preset fitness value is reached, and then stop, and output the partitioning scheme corresponding to the individual with the highest current fitness value.
[0018] Preferably, in S4: after the partitioning is completed, a random node is selected based on a preset period to calculate the dynamic electrical distance, and if the change of the dynamic electrical distance meets the starting condition, the partitioning judgment is started, including: Determine the preset cycle. After the partition is completed, each preset cycle is a moment. Randomly select several nodes in the partition, calculate the dynamic electrical distance at the current moment, retrieve the dynamic electrical distance at the previous moment, and calculate the modulus of the two. If the difference in the modulus is greater than the preset difference, it is considered that the start condition is met, or After converting the dynamic electrical distance into a two-dimensional real vector, the cosine similarity between the two is calculated. If the cosine similarity is less than the preset similarity, the start condition is considered to be met.
[0019] In the present invention, since the calculation amount of the regional division index system function is large, a large amount of computing power is required to perform calculations in each cycle. However, if the calculation is not performed, real-time partition response cannot be achieved, making the dynamic partition meaningless. Therefore, the dynamic electrical distance, which has the greatest impact on the function value, is used as the fulcrum to divide the dynamic partition as a whole into two parts. First, by calculating the dynamic electrical distance, it is indirectly judged whether the structure within the partition has undergone major changes. After the starting conditions are met, the partition judgment is performed to finally determine whether the partition is performed. On the one hand, it can meet the real-time requirements and improve the dynamic response capability. On the other hand, in most cases, the dynamic electrical distance does not change much, and there is no need to start the partition judgment, which minimizes the amount of calculation.
[0020] Preferably, in S4: if the difference between the regional division index system function value at the current moment and the previous moment meets the preset condition, then return to S3 to dynamically update the distribution network partition, including: Set the threshold for dynamic update of partitions. If the difference between the regional division index system function value at the current moment and the previous moment is greater than or equal to the threshold, it is considered that the preset condition is met and return to S3 to dynamically update the distribution network partitions.
[0021] In the present invention, since the voltage influence mechanism is introduced, the sensitivity matrix will change accordingly, thereby causing the dynamic electrical distance to change dynamically. Therefore, the function values of various indicators and the regional division indicator system will also change dynamically. The present invention makes a judgment based on this. If the change is large, it is considered that re-partitioning is required.
[0022] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps of the above-mentioned method for dynamically dividing the distribution network area containing a high proportion of distributed photovoltaics are implemented.
[0023] The present invention also provides a storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the above-mentioned method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics are implemented.
[0024] The substantial effects of the present invention include: By introducing the voltage impact mechanism, when defining the electrical distance, it is necessary to consider not only the node location, but also the impact of the power change caused by other nodes connected to photovoltaics on the node. By comprehensively considering the improved modularity index, load balancing index and voltage deviation suppression capability index, a more scientific and reasonable regional division index system function is constructed, which makes the distribution network regional division more reasonable in terms of structure and function, and helps to improve the operation efficiency and stability of the distribution network. In addition, the dynamically changing regional division index system function value can provide a data basis for subsequent dynamic partitioning.
[0025] The present invention adopts a genetic algorithm to partition the distribution network, which can effectively solve the complex problem of regional division of the distribution network and further improve the accuracy and practicality of the partition.
[0026] The present invention also has dynamic adjustment capabilities, can be dynamically updated according to changes in the function value of the regional division index system, can adapt to the actual situation and needs of the distribution network operation, better deal with voltage deviation problems caused by factors such as node access and photovoltaic output power fluctuations, and improve the voltage stability of the entire distribution network.
[0027] In summary, the present invention provides a new idea for the regional division of distribution networks containing a high proportion of distributed photovoltaics by comprehensively considering multiple indicators, introducing a voltage influencing mechanism, adopting genetic algorithms for zoning, and dynamic adjustment. It not only helps to improve the operating efficiency and stability of the distribution network, but also can better adapt to the actual situation and needs after photovoltaic access, and provide a basis for interval coordinated optimization of voltage control, solving the problems of unreasonable division and lack of dynamic adjustment capability in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution will be clearly and completely described below in combination with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0031] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0032] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.
[0033] The technical solution of the present invention is described in detail with specific embodiments below. The embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0034] Example:
[0035] A method for dynamically dividing distribution network areas with a high proportion of distributed photovoltaics, such as Figure 1 As shown, the following steps are included: S1: Calculate the dynamic electrical distance based on the voltage influence mechanism, calculate the modularity index based on the dynamic electrical distance, calculate the node load balancing index based on the active and reactive power balance capability, and calculate the node voltage deviation suppression capability index based on the node voltage deviation suppression capability.
[0036] Among them, the modularity index As shown in formula (1): (1); Where: is the edge weight network connection matrix Line Elements of a column; Represents 1 / 2 of the sum of the weights of all edges in the region; Represents all nodes The sum of the weights of the connected edges; Represents all nodes The sum of the weights of the connected edges; is the Davidson-Borgin index, which is used to ensure the degree of aggregation of cluster partitioning; node and In the same area and connected, ,otherwise .
[0037] in, and Both are expressed by the dynamic electrical distance between two nodes, as shown in formulas (2) and (3): (2); (3); Where: For Node and Dynamic electrical distance between is the total number of partitions; represents the two-norm; For the Each node in a partition is associated with The average electrical distance between nodes.
[0038] Nodes in the modularity index and The calculation process of the dynamic electrical distance between The power flow equation in the distribution network is shown in formula (4): (4); Where: and They represent the active power and reactive power variation matrices injected into the nodes respectively; , , and A relationship matrix representing the change in node injected power and the node voltage and phase angle changes; and are the variation matrices of voltage phase angle and amplitude respectively.
[0039] The above power flow equation can be transformed into a matrix, as shown in formula (5): (5); Where: and are the sensitivity matrices of node voltage phase angle changes when unit active power and reactive power are injected into the node respectively; and are the sensitivity matrices of the node voltage amplitude change when unit active power and reactive power are injected into the node respectively.
[0040] Calculating electrical distance based on voltage sensitivity and .exist When nodes are connected to photovoltaic power plants of different capacities, The voltage of a node is affected not only by its own voltage but also by other nodes. and Therefore, the voltage influence mechanism is introduced, where Node voltage It can be expressed as formula (6): (6); Where: is the number of nodes connected to photovoltaic power generation in the distribution network; Node when photovoltaic power is not connected Voltage; and The sensitivity matrices are and Middle Line Column elements; and They are and The matrix Row element.
[0041] It can be seen from the above formula that when defining the electrical distance, it is necessary to consider not only the node position, but also the impact of power changes caused by other nodes connected to photovoltaics on the node. If a new node is connected, the voltage amplitude sensitivity matrix and voltage phase angle sensitivity matrix are recalculated based on the voltage impact mechanism.
[0042] Therefore, from the perspective of voltage control, the electrical distance based on voltage sensitivity can be expressed as formula (7) and formula (8): (7); (8); Where: and The electrical distances for active and reactive voltage sensitivity respectively.
[0043] Compute Node and In the distribution network, the nodes and Equivalent impedance between It can be expressed as formula (9): (9); Where: , and They represent the system node impedance matrix Line Column element, Line Column elements and Line Column elements.
[0044] Compute Node and The dynamic electrical distance between and , Combined, nodes and Dynamic electrical distance between As shown in formula (10): (10); Where: represents taking the real part; Indicates taking the imaginary part.
[0045] In this embodiment, by establishing a voltage influence mechanism and recalculating the voltage amplitude sensitivity matrix and the voltage phase sensitivity matrix, the influence of the access of new nodes on the voltage distribution of the distribution network can be more accurately reflected, and the accuracy of the electrical distance calculation is improved. Secondly, the dynamic electrical distance is calculated based on the electrical distance and equivalent impedance of voltage sensitivity, which further enhances the practicality and accuracy of the electrical distance index, and helps to more accurately divide the distribution network area. Finally, by calculating the edge weight network connection matrix and the Davidson-Bodin index, the modularity index is obtained, which provides a more scientific and reasonable basis for the dynamic division of the distribution network area, and helps to improve the operation efficiency and stability of the distribution network. At the same time, by obtaining the voltage amplitude sensitivity and voltage phase sensitivity of other nodes when each unit of active power and reactive power is injected, and comprehensively considering the changes in active power and reactive power injected by other nodes, the influence of other nodes on the voltage of the node can be more comprehensively calculated. This comprehensive calculation method not only improves the accuracy of the voltage influence mechanism, but also provides a reliable basis for re-adjusting the parameter values in the power flow equation, thereby ensuring that the recalculation of the voltage amplitude sensitivity matrix and the voltage phase sensitivity matrix is more accurate.
[0046] Among them, the node load balancing index is based on the requirement that the net load distribution in each partition should be balanced when allocating the power grid area. When the node voltage in the partition exceeds the limit, the adjustable resources in the area are mobilized to adjust the voltage to avoid excessive or insufficient reserves of adjustable resources in the area. Specifically, the load balancing index As shown in formula (11): (11); Where: is the weight coefficient; and Active power balance capability and reactive power balance capability respectively. Active power balance capability in load balancing index and reactive power balancing capability The calculation process is as follows: Calculate active power balance capability Active balancing capability As shown in formula (12) and formula (13): (12); (13); Where: For the The total number of nodes in the interval; is the equilibrium coefficient; For the The amount of active resources called up in each sub-interval; For the The total active power available in each sub-interval; , , and Divided into In the sub-interval The active power output of photovoltaic, distributed generators and energy storage of each node and the load power that can be reduced.
[0047] Calculate reactive power balance capability . Reactive power balancing capability As shown in formula (14) and formula (15): (14); (15); Where: For the The number of nodes in the interval; For the The amount of reactive resources called in each sub-interval; For the The total reactive power available in the sub-intervals; , , and Divided into In the sub-interval The reactive power output of photovoltaic, distributed generators, reactive devices and energy storage at each node.
[0048] Among them, the node voltage deviation suppression capability index is defined to take into account that voltage over-limit is the main problem faced by high-proportion distributed photovoltaic access to the distribution network. The voltage deviation suppression capability index is defined to improve voltage over-limit by calling on adjustable resources such as photovoltaics and energy storage in the region. As shown in formula (16)-formula (20): (16); (17); (18); (19); (20); in, is a logarithmic function; For the The number of photovoltaic nodes connected in each sub-interval; For the Voltage deviation suppression capability index of each sub-interval; and Nodes in the region Maximum voltage deviation and maximum voltage regulation; and They are respectively Maximum active and reactive power provided; , , and No. The active power that can be provided by photovoltaic, distributed generators and energy storage at each node and the load power that can be reduced; , , and Divided into The reactive power that can be provided by photovoltaic, distributed generators, reactive devices and energy storage at each node.
[0049] In this embodiment, since photovoltaic power generation has characteristics such as intermittent and volatile, when zoning, considering the node voltage deviation suppression capability index can better adapt to these characteristics, ensuring that the system can still maintain a stable voltage level when the photovoltaic output power changes. By evaluating the voltage deviation suppression capability of each node, the distribution grid area can be more reasonably divided to ensure that after photovoltaic access, each area can have sufficient voltage regulation capability to cope with voltage deviation problems caused by factors such as photovoltaic output power fluctuations, thereby improving the voltage stability of the entire distribution network.
[0050] S2: Construct a regional division index system function based on the modularity index, node load balancing index, and node voltage deviation suppression capability index.
[0051] The indicators defined above are used to construct a regional division indicator system through linear weighting. The function expression is shown in formula (21): (twenty one); Where: , and Improved modularity , Power balance capability indicators And voltage deviation suppression capability index The weight coefficients are determined by the hierarchical analysis method.
[0052] S3: Taking the partition scheme as the individual, the adjacency matrix as the chromosome, and the regional partition index system function value as the fitness value, a genetic algorithm is used to partition the distribution network.
[0053] S3 specifically includes: S31: Create an initial population for individuals using several partitioning schemes, and use the adjacency matrix corresponding to the partitioning scheme as the chromosome of the individual, where the elements 0 and 1 in the adjacency matrix represent the unconnected and connected states between nodes, respectively; S32: Calculate the regional division index system function value of each individual as the fitness value; S33: Select two individuals for crossover and mutation to obtain several offspring individuals; S34: Calculate the fitness value of the offspring individual, and retain the offspring individual with the largest fitness value improvement; that is, calculate the regional division index system function value of the partition at this time The sum and the function value of the regional division index system at the previous moment The difference .
[0054] S35: Repeat S33 and S34 until a preset number of iterations or a preset fitness value is reached, and then stop, and output the partitioning scheme corresponding to the individual with the highest current fitness value.
[0055] S4: After the partitioning is completed, a random node is selected based on the preset period to calculate the dynamic electrical distance. If the change in the dynamic electrical distance meets the starting conditions, the partitioning judgment is started: if the difference between the regional division index system function value at the current moment and the previous moment meets the preset conditions, return to S3 to dynamically update the distribution network partition.
[0056] S4 specifically includes: Determine the preset cycle. After the partition is completed, each preset cycle is a moment. Randomly select several nodes in the partition, calculate the dynamic electrical distance at the current moment, retrieve the dynamic electrical distance at the previous moment, and calculate the modulus of the two. If the difference in the modulus is greater than the preset difference, it is considered that the start condition is met, or After converting the dynamic electrical distance into a two-dimensional real vector, the cosine similarity between the two is calculated. If the cosine similarity is less than the preset similarity, the start condition is considered to be met.
[0057] In this embodiment, since the calculation amount of the regional division index system function is large, a large amount of computing power is required to perform calculations in each cycle. However, if the calculation is not performed, real-time partition response cannot be achieved, making the dynamic partition meaningless. Therefore, the dynamic electrical distance, which has the greatest impact on the function value, is used as the fulcrum to divide the dynamic partition as a whole into two parts. First, by calculating the dynamic electrical distance, it is indirectly judged whether the structure within the partition has undergone major changes. After the start conditions are met, the partition judgment is performed to finally determine whether the partition is performed. On the one hand, it can meet the real-time requirements and improve the dynamic response capability. On the other hand, in most cases, the dynamic electrical distance does not change much, and there is no need to start the partition judgment, which minimizes the amount of calculation.
[0058] Set the threshold for dynamic update of partitions. If the difference between the regional division index system function value at the current moment and the previous moment is greater than or equal to the threshold, it is considered that the preset condition is met and return to S3 to dynamically update the distribution network partitions.
[0059] That is, calculate Time zone The population fitness function value and Time zone The difference between the population fitness function values When the difference exceeds the threshold, the distribution network partition is dynamically updated. As shown in formula (22): (twenty two); Where: and They are Moment and Partition result at the moment; The threshold value that is dynamically updated for the partition.
[0060] In this embodiment, since the voltage influence mechanism is introduced, the sensitivity matrix will change accordingly, which will cause the dynamic electrical distance to change dynamically. Therefore, the function values of various indicators and the area division indicator system will also change dynamically. This embodiment makes a judgment based on this. If the change is large, it is considered that re-partitioning is required.
[0061] This embodiment also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, the steps of the above-mentioned method for dynamically dividing the distribution network area containing a high proportion of distributed photovoltaics are implemented.
[0062] This embodiment also provides a storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the above-mentioned method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics are implemented.
[0063] In summary, the substantial effects of this embodiment include: By introducing the voltage impact mechanism, when defining the electrical distance, it is necessary to consider not only the node location, but also the impact of the power change caused by other nodes connected to photovoltaics on the node. By comprehensively considering the improved modularity index, load balancing index and voltage deviation suppression capability index, a more scientific and reasonable regional division index system function is constructed, which makes the distribution network regional division more reasonable in terms of structure and function, and helps to improve the operation efficiency and stability of the distribution network. In addition, the dynamically changing regional division index system function value can provide a data basis for subsequent dynamic partitioning.
[0064] The use of genetic algorithms to partition distribution networks can effectively solve the complex problem of distribution network regional division and further improve the accuracy and practicality of partitioning.
[0065] It has dynamic adjustment capabilities and can be dynamically updated according to changes in the function values of the regional division indicator system. It can adapt to the actual conditions and needs of the distribution network operation, better deal with voltage deviation problems caused by factors such as node access and photovoltaic output power fluctuations, and improve the voltage stability of the entire distribution network.
[0066] By comprehensively considering multiple indicators, introducing voltage influencing mechanisms, using genetic algorithms for zoning and dynamic adjustment, a new idea is provided for the regional division of distribution networks containing a high proportion of distributed photovoltaics. It not only helps to improve the operating efficiency and stability of the distribution network, but also can better adapt to the actual situation and needs after photovoltaic access, providing a basis for interval coordinated optimization of voltage control, and solving the problems of unreasonable division and lack of dynamic adjustment capabilities in existing technologies.
[0067] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the specific device can be divided into different functional modules to complete all or part of the functions described above.
[0068] In the embodiments provided in the present application, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the embodiments of the structure described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another structure, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, structures or units, which can be electrical, mechanical or other forms.
[0069] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0070] In addition, each functional unit in the embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0071] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0072] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics, characterized in that: The following steps are involved: S1: Calculate the dynamic electrical distance based on the voltage impact mechanism, calculate the modularity index based on the dynamic electrical distance, calculate the node load balancing index based on the active and reactive power balance capabilities, and calculate the node voltage deviation suppression capability index based on the node voltage deviation suppression capability; S2: Construct a regional division index system function based on the modularity index, node load balancing index, and node voltage deviation suppression capability index; S3: Taking the partition scheme as the individual, the adjacency matrix as the chromosome, and the function value of the regional partition index system as the fitness value, a genetic algorithm is used to partition the distribution network; S4: After the partitioning is completed, a random node is selected based on the preset period to calculate the dynamic electrical distance. If the change in the dynamic electrical distance meets the starting conditions, the partitioning judgment is started: if the difference between the regional division index system function value at the current moment and the previous moment meets the preset conditions, return to S3 to dynamically update the distribution network partition.
2. A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics according to claim 1, characterized in that: In S1, the dynamic electrical distance is calculated based on the voltage influence mechanism, and the modularity index is calculated based on the dynamic electrical distance, including: Perform matrix transformation on the power flow equation in the distribution network to obtain the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix; A voltage impact mechanism is established. If a new node is connected, the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix are recalculated based on the voltage impact mechanism. Calculate the electrical distance based on voltage sensitivity according to the voltage amplitude sensitivity matrix; Calculate the equivalent impedance between nodes, and calculate the dynamic electrical distance based on the equivalent impedance and the electrical distance based on voltage sensitivity; The edge weight network connection matrix and Davidson-Borgin index are calculated based on the dynamic electrical distance, and then the modularity index is calculated.
3. A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics according to claim 2, characterized in that: The voltage influencing mechanism includes: The voltage amplitude sensitivity and voltage phase angle sensitivity when each unit active power and reactive power is injected into other nodes, as well as the changes in active power and reactive power injected into other nodes, are obtained by comprehensive calculation to obtain the numerical value of the impact of other nodes on the node voltage of this node. Based on this numerical value, the parameter values in the power flow equation are readjusted to recalculate the voltage amplitude sensitivity matrix and the voltage phase angle sensitivity matrix.
4. The method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics according to claim 1, characterized in that: In S1, the node load balancing index is calculated based on the active and reactive power balancing capabilities, including: The active power balancing capacity is calculated based on the number of nodes, balancing coefficient, active resource call amount, total available active power, active power output by the node, and load power that can be reduced; The reactive power balancing capacity is calculated based on the number of nodes, balancing coefficient, the amount of reactive resources called, the total reactive power that can be provided, and the reactive power output by the node; The node load balancing index is calculated based on the different weights of active balancing capability and reactive balancing capability.
5. The method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics according to claim 1, characterized in that: In S1, calculating the node voltage deviation suppression capability index based on the node voltage deviation suppression capability includes: The maximum voltage regulation of the node is calculated according to the maximum active and reactive power that can be provided to the node, and the node voltage deviation suppression capability is determined according to the maximum voltage regulation and the maximum voltage deviation, and then the node voltage deviation suppression capability index is calculated according to different situations.
6. The method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics according to claim 1, characterized in that: S2: constructing a regional division index system function according to the modularity index, the node load balancing index, and the node voltage deviation suppression capability index, including: Determine the weight coefficient corresponding to each indicator through the hierarchical analysis method; A regional division index system function is constructed based on each index and the corresponding weight coefficient.
7. A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics according to claim 1, characterized in that: S3: using the partition scheme as an individual, the adjacency matrix as a chromosome, and the regional partition index system function value as a fitness value, and using a genetic algorithm to partition the distribution network, including: S31: Create an initial population for individuals using several partitioning schemes, and use the adjacency matrix corresponding to the partitioning scheme as the chromosome of the individual, where the elements 0 and 1 in the adjacency matrix represent the unconnected and connected states between nodes, respectively; S32: Calculate the regional division index system function value of each individual as the fitness value; S33: Select two individuals for crossover and mutation to obtain several offspring individuals; S34: Calculate the fitness value of the offspring individual, and retain the offspring individual with the largest fitness value improvement; S35: Repeat S33 and S34 until a preset number of iterations or a preset fitness value is reached, and then stop, and output the partitioning scheme corresponding to the individual with the highest current fitness value.
8. A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaic power generation according to claim 1 or 7, characterized in that: In S4: after the partitioning is completed, a random node is selected based on a preset period to calculate the dynamic electrical distance, and if the change of the dynamic electrical distance meets the start condition, the partitioning judgment is started, including: Determine a preset period. After the partition is completed, each preset period is a moment. Several nodes in the partition are randomly selected, the dynamic electrical distance at the current moment is calculated, the dynamic electrical distance at the previous moment is retrieved, and the modulus of the two is calculated. If the difference in the modulus is greater than the preset difference, the starting condition is considered to be met, or the dynamic electrical distance is converted into a two-dimensional real vector and the cosine similarity of the two is calculated. If the cosine similarity is less than the preset similarity, the starting condition is considered to be met.
9. A method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaic power generation according to claim 1 or 7, characterized in that: In S4: if the difference between the regional division index system function value at the current moment and the previous moment meets the preset condition, then return to S3 to dynamically update the distribution network partition, including: Set the threshold for dynamic update of partitions. If the difference between the regional division index system function value at the current moment and the previous moment is greater than or equal to the threshold, it is considered that the preset condition is met and return to S3 to dynamically update the distribution network partitions.
10. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and when the processor calls the computer program in the memory, it implements the steps of a method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics as described in any one of claims 1 to 9.
11. A storage medium, characterized in that: The storage medium stores computer executable instructions, which, when loaded and executed by a processor, implement the steps of a method for dynamically dividing distribution network areas containing a high proportion of distributed photovoltaics as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Intelligent optimization method for power system stabilizer parameter
CN101242103A
Method for dynamically dividing and operating multiple islands of city micro power grid with photovoltaic power supplies
CN102738834A
Distributed energy storage cluster division method
CN113452053A
Distributed photovoltaic cluster division method for regional power distribution network
CN115940267A
Partition division method and system for county power distribution network with high proportion of clean energy
CN116565967A
Cited By
Power system edge weight coefficient calculation method and system
CN119891195A
Power system edge weight coefficient calculation method and system
CN119891195B
Power distribution network dynamic partitioning method and system considering network topology and resource time-varying characteristics
CN120087849A
