A method, system, device and medium for regulating active power of power flow samples

By assigning power to the nodes of the power grid system and dividing them into communities, the partitions with significant differences in power ratios are screened out, and balanced adjustments and line losses are taken into consideration. This solves the problems of total load and local balance in the active power regulation of the power system flow samples, and improves the reliability and accuracy of the flow distribution.

CN119944693BActive Publication Date: 2025-09-16CHINA SOUTHERN POWER GRID COMPANY +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510171103.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-17
Publication Date
2025-09-16
Estimated Expiration
2045-02-17

AI Technical Summary

Technical Problem

The existing power system flow sample active power regulation is difficult to effectively adjust the total load level and local active power balance, resulting in poor reliability of flow sample distribution.

Method used

By giving power values, overall load power levels, and overall generator power levels to some nodes in the power grid system, all nodes are clustered and partitioned using a community partitioning algorithm. Partition sets with significant differences in power ratios are screened out, and balanced adjustments are made to nodes without given power. Further adjustments are made considering line loss factors to ensure the active power flow distribution of the power grid system.

Benefits of technology

It effectively meets the total load level and improves the local active power balance, and enhances the reliability and accuracy of power distribution in the flow sample.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119944693B_ABST
    Figure CN119944693B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of power system flow calculation, and discloses a method, system, device and medium for regulating active power of power flow samples. The method uses the power values ​​of some nodes in a given power grid system, the overall level of load power and the overall level of generator power, and uses known given power nodes to distribute the power values ​​of the remaining ungiven power nodes, which can effectively meet the total load level and improve the local active power balance. By clustering and partitioning all nodes in the power grid system, the reliability of the power distribution in the flow sample can be enhanced. By using the power ratio between the total power of the partitioned load nodes and the total power of the generator nodes, a set of partitions with significant ratio differences is screened out, and power balancing adjustment is performed on the ungiven power nodes in these partitions. Then, by taking into account the line loss of the power grid system, power balancing adjustment is performed on each partition in the set of partitions to improve the accuracy of the power flow active regulation of the power grid system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system flow calculation, and in particular to a method, system, equipment and medium for regulating the active power of power flow samples. Background Art

[0002] Power flow calculation (or load flow calculation) is a core task in power system analysis. It determines the voltage amplitude, voltage phase angle, and distribution of active and reactive power in a power system under steady-state operating conditions. It is a fundamental tool for power system planning, operation, and control.

[0003] Power system flow calculations determine the voltages and powers at power nodes by solving the system's nonlinear equations. The results are used to assess the system's operating status, including line power flow, transformer loads, and node voltage levels. Furthermore, as initial values ​​for time-domain simulations, their consistency with the actual state of the power grid is crucial.

[0004] Active power significantly impacts power flow convergence. Non-convergence often means the system cannot find an operating state that satisfies power balance. Irrational active power distribution or extreme conditions can be a primary cause of non-convergence. Furthermore, to ensure convergence, active power must be adjusted to achieve a state as close to the actual grid state as possible within the power constraints of a given node.

[0005] In real-world scenarios, due to inconsistent problem-solving, node mapping, or new equipment commissioning, only a somewhat reliable estimate of the total load over a large area may be obtained. However, in grid state estimation, the power of certain nodes may be more reliable. After power flow convergence, active power output based on the calculated results often needs to be redistributed to ensure the expected power flow distribution.

[0006] The above logic is simple and easy to understand and implement. However, in real-world scenarios, the reliability of the underlying power flow convergence method determines the effectiveness of the adjustment. The number of locked nodes with certain power will affect the adjustment of the active power balance. However, the current power system's power flow sample active power regulation is difficult to effectively adjust the total load level and local active power balance, which also leads to poor reliability of the power flow sample distribution after power flow sample active power regulation. Summary of the Invention

[0007] In view of this, the present invention provides a method, system, equipment and medium for regulating the active power of power flow samples, which solves the technical problem that the current power system's active power flow sample regulation is difficult to effectively adjust the total load level and local active power balance, and also leads to poor reliability of the flow sample distribution after the flow sample active power regulation.

[0008] A first aspect of the present invention provides a method for regulating active power of power flow samples, comprising:

[0009] The power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level are given, and the power values ​​of the remaining ungiven power nodes in the power grid system are allocated according to the given results to obtain the power allocation value of each ungiven power node;

[0010] Clustering and partitioning all nodes in the power grid system to obtain a plurality of partitions; wherein the nodes include load nodes and generator nodes;

[0011] For each partition, determining the total load power and the total generator power within the partition according to the power values ​​of each given power node and the power allocation values ​​of each ungiven power node within the partition;

[0012] According to the power ratio of the total load node power and the total generator node power of each partition, a partition set having a power ratio greater than a preset ratio deviation threshold is screened out;

[0013] Performing balanced adjustment on the power of each unspecified power node in each of the partitions in the partition set to obtain an initial active power flow distribution of the power grid system;

[0014] determining the line loss of the power grid system according to the initial active power flow distribution of the power grid system;

[0015] By taking the line loss of the power grid system into account, the power of each unspecified power node in each partition in the partition set is re-balanced to obtain the active power flow distribution of the power grid system.

[0016] Preferably, the power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level are given, and the power values ​​of the remaining ungiven power nodes in the power grid system are allocated according to the given results to obtain the power allocation value of each ungiven power node, including:

[0017] Obtaining the power value of each given power node by giving the power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level;

[0018] Determining the sum of powers of all the given power nodes according to the power values ​​of all the given power nodes;

[0019] Determining the sum of powers of remaining unspecified power nodes in the power grid system based on the sum of powers of all the given power nodes, the overall load power level, and the overall generator power level;

[0020] The power of each of the remaining unassigned power nodes in the power grid system is allocated according to a predetermined power allocation ratio using the total power of the remaining unassigned power nodes to obtain a power allocation value for each of the unassigned power nodes.

[0021] Preferably, the method further comprises:

[0022] The power allocation ratio corresponding to each of the ungiven power nodes is determined according to the historical active power of each of the ungiven power nodes and the sum of the historical powers of the ungiven power nodes.

[0023] Preferably, the predetermined power distribution ratio includes the power distribution ratio of the load node and the power distribution ratio of the generator node;

[0024] The power distribution ratio of the load nodes is determined according to the number of the load nodes without given power;

[0025] The power allocation ratio of the generator nodes is determined according to the power upper limit of each generator node without a given power and the total power upper limit of all generator nodes without a given power.

[0026] Preferably, the method further comprises:

[0027] A community partitioning algorithm is used to cluster and partition all nodes in the power grid system to obtain multiple partitions.

[0028] Preferably, the balancing and adjusting the power of each unspecified power node in each of the partitions in the partition set to obtain the initial active power flow distribution of the power grid system includes:

[0029] sorting the partitions in the partition set from large to small according to the power ratio;

[0030] According to the sorting result, the power of each ungiven power node in the partition is balanced and adjusted in sequence to obtain a first power adjustment value of each ungiven power node;

[0031] For each of the partitions, determining a plurality of partitions electrically adjacent to the partition, and selecting the partition with the smallest power ratio;

[0032] Determining a power adjustment ratio of each of the ungiven power nodes according to the total power of all the ungiven power nodes of the partition with the smallest power ratio screened out and the first power adjustment value of each of the ungiven power nodes;

[0033] Adjusting the power allocation value of each of the unspecified power nodes in the partition with the smallest power ratio screened out according to the power adjustment ratio of each of the unspecified power nodes, and obtaining an adjusted power allocation value; the adjusted power allocation value includes the adjusted power allocation value of the load node and the adjusted power allocation value of the generator node;

[0034] Determining whether the adjusted power allocation value of the generator node exceeds a limit;

[0035] When it is determined that the power allocation value of the adjusted generator node exceeds the limit, the off-line power is transferred to other partitions adjacent to the partition with the smallest power ratio, and after determining that the power allocation value of the adjusted generator node does not exceed the limit, the initial active power flow distribution of the power grid system is obtained, wherein the other partitions are the partitions with the smallest power ratio.

[0036] Preferably, taking into account the line loss of the power grid system, re-balancing and adjusting the power of each unspecified power node in each of the partitions in the partition set to obtain the active power flow distribution of the power grid system includes:

[0037] Updating the overall power level of the generator according to the line loss of the power grid system and the overall power level of the load;

[0038] re-performing the step of allocating power values ​​to the remaining unassigned power nodes in the power grid system based on the updated overall generator power level;

[0039] After the power of each unspecified power node in each of the partitions in the partition set is balanced and adjusted, the active power flow distribution of the power grid system is obtained.

[0040] In a second aspect, the present invention further provides a power flow sample active power regulation system, comprising:

[0041] a power setting and allocation module, configured to assign power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level, and allocate the power values ​​of the remaining unassigned power nodes in the power grid system according to the assigned results, thereby obtaining power allocation values ​​for each unassigned power node;

[0042] A clustering and partitioning module, configured to cluster and partition all nodes in the power grid system to obtain a plurality of partitions; wherein the nodes include load nodes and generator nodes;

[0043] a power sum calculation module, configured to determine, for each partition, the total load power and the total generator power within the partition according to the power values ​​of each given power node within the partition and the power allocation values ​​of each ungiven power node;

[0044] A partition screening module is used to screen out a set of partitions whose power ratio is greater than a preset ratio deviation threshold based on the power ratio of the total load node power and the total generator node power of each partition;

[0045] a power balancing and adjusting module, configured to balance and adjust the power of each unspecified power node in each of the partitions in the partition set to obtain an initial active power flow distribution of the power grid system;

[0046] a line loss calculation module, configured to determine the line loss of the power grid system according to the initial active power flow distribution of the power grid system;

[0047] The active power flow adjustment module is used to balance the power of each unspecified power node in each partition in the partition set by taking into account the line loss of the power grid system, so as to obtain the active power flow distribution of the power grid system.

[0048] In a third aspect, the present invention further provides an electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the power flow sample active power regulation method as described in the first aspect.

[0049] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed, implements the steps of the method for regulating active power of power flow samples as described in the first aspect.

[0050] It can be seen from the above technical solutions that the present invention uses the power values ​​of some nodes in a given power grid system, the overall level of load power and the overall level of generator power, and uses known given power nodes to allocate the power values ​​of the remaining ungiven power nodes, which can effectively meet the total load level and improve the local active power balance. By clustering and partitioning all nodes in the power grid system, the reliability of the power distribution in the flow sample can be enhanced. Based on the given power node values ​​and the allocated values ​​of the ungiven power nodes in the partition, the total load power and the total generator power in the partition are calculated. By using the power ratio between the total power of the partition load nodes and the total power of the generator nodes, a set of partitions with significant ratio differences is screened out, and the ungiven power nodes in these partitions are adjusted for power balancing to obtain the initial active power flow distribution of the power grid system. Furthermore, by taking into account the line loss of the power grid system, power balancing adjustments are made to each partition in the set of partitions to improve the accuracy of the power flow active regulation of the power grid system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0052] Figure 1 An application environment for a method for regulating active power of a power flow sample provided by an embodiment of the present invention;

[0053] Figure 2 A process of a method for regulating active power of a power flow sample provided by an embodiment of the present invention;

[0054] Figure 3 A schematic structural diagram of a power flow sample active power regulation system provided by an embodiment of the present invention;

[0055] Figure 4 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. 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 making creative efforts shall fall within the scope of protection of the present invention.

[0057] The power flow sample active power regulation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the power grid system communicates with the server 102 via a network. The data storage system can store data that the server 102 needs to process. The data storage system can be integrated with the server 102 or placed on the cloud or other network servers. The server 102 assigns power values, overall load power levels, and overall generator power levels to some nodes in the power grid system, and assigns the power values ​​of the remaining unassigned power nodes in the power grid system according to the assigned results to obtain power allocation values ​​for each unassigned power node; clusters and partitions all nodes in the power grid system to obtain multiple partitions, wherein the nodes include load nodes and generator nodes; for each partition, determines the total load power and the total generator power in the partition according to the power values ​​of each given power node and the power allocation values ​​of each unassigned power node in the partition; selects a set of partitions whose power ratio is greater than a preset ratio deviation threshold according to the power ratio of the total load node power and the total generator node power in each partition; balances and adjusts the power of each unassigned power node in each partition in the partition set to obtain an initial active power flow distribution of the power grid system; determines the line loss of the power grid system according to the initial active power flow distribution of the power grid system; and re-balances and adjusts the power of each unassigned power node in each partition in the partition set by taking into account the line loss of the power grid system to obtain an active power flow distribution of the power grid system.

[0058] The server 102 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0059] like Figure 2 As shown, the embodiment of the present application provides a method for regulating the active power of a power flow sample, which is applied to Figure 1 The server 102 in the example is used as an example to illustrate the method, which includes the following steps S1 to S7.

[0060] Step S1: The power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level are given, and the power values ​​of the remaining ungiven power nodes in the power grid system are distributed according to the given results to obtain the power distribution value of each ungiven power node.

[0061] This involves precisely determining the basic information of each node in a power grid system, including the node type, the upper and lower limits of the generator's output power range, and the parameters of the line. Among these nodes, we distinguish between load nodes and generator nodes. At the same time, we assign power values ​​to certain specific nodes within the power grid system. By using the power values ​​of these given power nodes, combined with the overall load power level of the entire power grid system and the overall generator power level, we can allocate power to those nodes in the power grid system that have not yet been assigned power values. In this way, by specifying the power values ​​of some nodes, we can effectively adjust the power of those unassigned power nodes to better meet the total load level of the entire power grid system and improve local active power balance.

[0062] Step S2: cluster and partition all nodes in the power grid system to obtain multiple partitions; wherein the nodes include load nodes and generator nodes.

[0063] Among them, due to the frequent changes in the power grid scenario, the topology often changes, and relying on a certain reference method is not universal, or the arrangement based on the principle of average distribution often leads to too many local load nodes and does not match the active power output of the generator, and the active power is unreasonable, which in turn affects the convergence of the power grid trend. For this reason, the embodiment of the present application uses a heuristic algorithm to cluster and partition all nodes in the power grid system. Through research, it was found that the excessive active power deviation in a single area is a possible reason for the difficulty in converging the trend. If the area / partition within the power grid is directly used for distribution, it will show obvious sending network and receiving network situations. Therefore, the embodiment of the present application uses a community partitioning algorithm to cluster and partition all nodes in the power grid system to obtain multiple partitions.

[0064] By adjusting local power grids with large active power deviations through the community partitioning algorithm, the rationality of the active power distribution of the power flow samples can be improved. At the same time, it can better capture closely connected nodes within the network, facilitating active power balancing.

[0065] The community partitioning algorithm is an algorithm used to identify and partition closely connected groups of nodes in a network. The core idea of ​​this algorithm is to group nodes in the network based on their connections, so that nodes within the same group have strong connectivity, while the connectivity between different groups is relatively weak.

[0066] The modularity formula of the community partitioning algorithm is as follows:

[0067]

[0068] Where, is the modularity, are the elements of the adjacency matrix, and is the degree of nodes i and j, m is the total number of edges in the graph, is an indicator function that is 1 when nodes i and j belong to the same partition and 0 otherwise.

[0069] Step S3: For each partition, determine the total load power and the total generator power in the partition according to the power values ​​of each given power node in the partition and the power allocation values ​​of each ungiven power node.

[0070] In power systems, zone management is a common organizational approach, with each zone consisting of multiple nodes. These nodes can be load nodes or generator nodes. Some of these nodes have pre-defined power values, referred to as assigned power nodes, while others require power allocation through calculation, referred to as unassigned power nodes. By comprehensively considering the power values ​​of all assigned power nodes within a zone and the power allocations of all unassigned power nodes, the total power within the zone can be calculated.

[0071] Furthermore, the total power within the partition is subdivided into two parts: one is the total load power within the partition, which represents the total power consumed by all load nodes in the partition; the other is the total generator power within the partition, which represents the total power provided by all generator nodes in the partition.

[0072] Step S4: based on the power ratio of the total load node power and the total generator node power of each partition, a set of partitions having a power ratio greater than a preset ratio deviation threshold is screened out.

[0073] In grid optimization, specific measures are needed to improve active power balance in zones where the ratio of generator output to load is significantly different. Specifically, unspecified loads and generator output within these zones are transferred to adjacent zones. This effectively alleviates power imbalances within specific zones, improving overall grid stability and efficiency.

[0074] For example, suppose that when screening the power grid by zones, it is found that the power ratio of some zones exceeds 1.5. Such zones can be regarded as typical receiving-end power grids. In these areas, in order to improve the power balance, it is necessary to reduce the power of those load nodes whose power is not clearly specified. At the same time, for the generator nodes whose power is not clearly specified, their output needs to be increased to improve the power generation capacity of the entire zone. However, in order to ensure that the overall load level of the entire grid remains consistent, we cannot simply make adjustments within these zones. Therefore, it is necessary to transfer the adjusted power balance state to nearby zones, especially those with lower power ratios. Through this cross-zone power transfer, a wider grid balance can be achieved, ensuring the stability and reliability of the power supply.

[0075] Step S5: Balance and adjust the power of each unspecified power node in each partition in the partition set to obtain the initial active power flow distribution of the power grid system.

[0076] Among them, in each partition within the partition set, the power of those uncertain power nodes is balanced and adjusted to ensure that the power output of all nodes reaches a balanced state, thereby obtaining the initial active power flow distribution of the power grid system.

[0077] Step S6: Determine the line loss of the power grid system according to the initial active power flow distribution of the power grid system.

[0078] Among them, according to the initial active power flow distribution of the power grid system, the DC power flow of the power grid system is calculated by taking line loss into account to obtain the line loss.

[0079] Step S7: by taking into account the line loss of the power grid system, the power of each unspecified power node in each partition in the partition set is re-balanced to obtain the active power flow distribution of the power grid system.

[0080] Understandably, in the initial phase, the active power flow distribution of the power grid system was obtained without taking line losses into account. However, in reality, line losses in the power grid system have a direct impact on the overall generator power level. Therefore, to more accurately reflect the actual situation, the overall generator power level needs to be updated to reflect the impact of line losses. This allows us to re-evaluate each partition within the partition set, particularly balancing the power of nodes without assigned power. This results in a more accurate active power flow distribution for the power grid system.

[0081] It should be noted that the embodiment of the present application uses the power values ​​of some nodes in a given power grid system, the overall level of load power, and the overall level of generator power, and uses known given power nodes to allocate the power values ​​of the remaining ungiven power nodes, which can effectively meet the total load level and improve the local active power balance. By clustering and partitioning all nodes in the power grid system, the reliability of the power distribution in the flow sample can be enhanced. Based on the given power node values ​​and the allocated values ​​of the ungiven power nodes in the partition, the total load power and the total generator power in the partition are calculated. By using the power ratio between the total power of the partition load nodes and the total power of the generator nodes, a set of partitions with significant ratio differences is screened out, and the ungiven power nodes in these partitions are adjusted for power balancing to obtain the initial active power flow distribution of the power grid system. Furthermore, by taking into account the line loss of the power grid system, power balancing adjustments are made to each partition in the set of partitions to improve the accuracy of the power flow active regulation of the power grid system.

[0082] In some embodiments, step S1 assigns power values ​​of some nodes in the power grid system, an overall load power level, and an overall generator power level, and assigns power values ​​of remaining unassigned power nodes in the power grid system according to the assigned results to obtain power allocation values ​​for each unassigned power node, including:

[0083] Step S101: The power value of each given power node is obtained by giving the power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level.

[0084] The power value of each given power node is obtained by giving the power value of some nodes in the power grid system.

[0085] Step S102: Determine the total power of all given power nodes according to the power values ​​of all given power nodes.

[0086] The total power of all given power nodes is obtained by adding the power values ​​of all given power nodes.

[0087] Step S103: Determine the total power of the remaining unspecified power nodes in the power grid system according to the total power of all given power nodes, the overall load power level, and the overall generator power level.

[0088] Among them, the total power of the remaining ungiven power nodes in the power grid system can be divided into the total power of the ungiven power load nodes and the total power of the ungiven power generator nodes according to the node division. The total power of the ungiven power load nodes is determined by the difference between the total power of the given power load nodes and the overall load power level, and the total power of the ungiven power generator nodes is determined by the difference between the total power of the given power generator nodes and the overall generator power level.

[0089] Step S104: Allocate the power of each unassigned power node according to a predetermined power allocation ratio based on the total power of the remaining unassigned power nodes in the power grid system to obtain a power allocation value for each unassigned power node.

[0090] The power allocation value of each ungiven power node is divided into a power allocation value of an ungiven power load node and a power allocation value of an ungiven power generator node according to the node type.

[0091] For example, after the power values ​​of some load nodes and some generator nodes in the given power grid system are given, the power sum of the given load nodes and the power sum of the given generator nodes are obtained by respectively calculating the sum of the power values ​​of some load nodes and some generator nodes in the given power grid system, which are respectively recorded as .

[0092] Due to the uncertainty of line loss, when initializing the overall load power level and the overall generator power level, the given overall load power level is used as the overall generator power level, that is, the overall load power level = Overall level of generator power .

[0093] Overall power level by load Subtract the sum of the power of the nodes with a given partial load , that is, the total power of the nodes without given power load is obtained , through the overall level of generator power Subtract the sum of the power of the given part of the generator node , that is, the total power of the generator node without given power is obtained .

[0094] In a power grid system, adjustments to power allocation ratios can be determined by the presence of converged reference power flow samples. Specifically, the system checks whether it has historical power flow sample data. If the system does have this historical power flow data, adjustments can be made by calculating the power ratios of each uncertain node in the reference power flow sample. During this process, a certain value is subtracted from each load and generator. Then, power is allocated to the uncertain nodes based on the active power ratios of the nodes in the converged reference power flow sample. On the other hand, if the power grid system lacks historical power flow samples, particularly when new load or generator nodes appear, a different strategy is adopted. In this case, load balancing is employed, while for generators, a ratio is calculated based on their active power output upper limit, and power allocation is then based on this ratio.

[0095] Specifically, when the power grid system has historical power flow data, the power flow sample active power regulation method provided in the embodiment of the present application further includes:

[0096] The power allocation ratio corresponding to each ungiven power node is determined according to the historical active power of each ungiven power node and the sum of the historical powers of the ungiven power nodes.

[0097] For example, the power allocation ratio of a single node is calculated as:

[0098]

[0099] Where i is the number of the unspecified power node, The node active data of the node i with ungiven power is used as the reference. Based on this power allocation ratio, the power allocation value of each node can be obtained by multiplying the total power of the current ungiven power (load / generator) nodes.

[0100] In the case where the power grid system does not have historical power flow data, the method for adjusting the active power of power flow samples provided in the embodiment of the present application further includes:

[0101] The predetermined power allocation ratio includes the power allocation ratio of the load node and the power allocation ratio of the generator node;

[0102] The power allocation ratio of the load nodes is determined according to the number of load nodes without given power;

[0103] The load nodes are evenly distributed directly according to their number. If there are m load nodes with uncertain power, the power distribution ratio of the load nodes is 1 / m.

[0104] The power allocation ratio of the generator nodes is determined according to the power upper limit of each generator node without given power and the total power upper limit of all generator nodes without given power.

[0105] Among them, the generator nodes are allocated according to the output upper limit calculation ratio, that is, the power allocation ratio of the generator nodes is calculated as:

[0106]

[0107] Where, is the power distribution ratio of the generator node, is the sum of the upper limits of the active power output of the generator nodes, is the upper limit of active output of generator node i.

[0108] In some embodiments, step S5 of balancing and adjusting the power of each unspecified power node in each partition within the partition set to obtain an initial active power flow distribution of the power grid system includes:

[0109] Step S501: sort the partitions in the partition set from large to small according to their power ratio.

[0110] Step S502 : Balance and adjust the power of each unassigned power node in the partition in sequence according to the sorting result to obtain a first power adjustment value of each unassigned power node.

[0111] In the process of balancing the power of each unassigned power node in the partition, the power of each unassigned power node in the partition is balanced by reducing the power ratio until the power ratio is less than the deviation ratio threshold.

[0112] In the process of reducing the power ratio, the power ratio can be reduced by reducing the power of the load node without given power and increasing the power of the generator node without given power.

[0113] Exemplarily, it can be determined based on the proportion of ungiven power nodes in the partition. Exemplarily, when the proportion of ungiven power nodes exceeds 50%, the power allocation value of the ungiven power load node is reduced to 90% of the original power. When the proportion of ungiven power nodes is less than 50%, the power allocation value of the ungiven power load node is reduced to 50% of the original power. The power of the ungiven power generator node can also be increased to 110% of the original power.

[0114] The first power adjustment value of each ungiven power node is determined by the difference between the original power and the adjusted power of each ungiven power node in the partition.

[0115] Step S503: for each partition, determine multiple partitions electrically adjacent to the partition, and select the partition with the smallest power ratio.

[0116] Step S504 : Determine the power adjustment ratio of each unassigned power node according to the total power of all unassigned power nodes in the partition with the smallest power ratio screened out and the first power adjustment value of each unassigned power node.

[0117] Among them, the power adjustment ratio of the ungiven power node in the partition with the smallest power ratio is:

[0118]

[0119] Where, 、 are the power adjustment ratios of the ungiven power load nodes and ungiven power generator nodes in partition W, 、 are the first power adjustment values ​​of the ungiven power load node and the ungiven power generator node of partition W, 、 are the sum of the powers of the ungiven power load nodes and the ungiven power generator nodes in partition W, respectively.

[0120] Step S505: Adjust the power allocation value of each ungiven power node in the partition with the smallest power ratio according to the power adjustment ratio of each ungiven power node, and obtain the adjusted power allocation value; the adjusted power allocation value includes the adjusted power allocation value of the load node and the adjusted power allocation value of the generator node.

[0121] Step S506: Determine whether the adjusted power distribution value of the generator node exceeds the limit.

[0122] The power limit of the generator node is set, and by comparing the adjusted power allocation value of the generator node with the power limit, it is determined whether the adjusted power allocation value of the generator node exceeds the limit.

[0123] Step S507: When it is determined that the power allocation value of the generator node after adjustment exceeds the limit, the off-line power is transferred to other partitions adjacent to the partition with the smallest power ratio. After determining that the power allocation value of the generator node after adjustment does not exceed the limit, the initial active power flow distribution of the power grid system is obtained, wherein the other partitions are the partitions with the smallest power ratio.

[0124] Among them, when it is judged that the power allocation value of the adjusted generator node exceeds the limit, the off-line power is determined according to the difference between the adjusted power allocation value of the generator node and the power limit, and the off-line power is used as the power adjustment value. The power adjustment ratio of each ungiven power node in other partitions is determined by summing the off-line power and the power of other partitions adjacent to the partition with the smallest power ratio screened out, until it is judged that the power allocation value of the adjusted generator node does not exceed the limit, and the initial active power flow distribution of the power grid system is obtained.

[0125] During this process, if the adjusted generator node power allocation is determined to exceed the limit, the off-line power is calculated based on the difference between the allocated value and the power limit, and this off-line power is used as the adjustment value. Next, by comparing the off-line power with the sum of the powers of other partitions adjacent to the selected partition with the minimum power ratio, the adjustment ratio for each unassigned power node within these partitions is determined. This adjustment is repeated until the adjusted generator node power allocation is confirmed to no longer exceed the limit, ultimately obtaining the initial active power flow distribution of the power grid system.

[0126] In some embodiments, step S7, by taking into account the line loss of the power grid system, re-balancing the power of each unspecified power node in each partition in the partition set to obtain the active power flow distribution of the power grid system, includes:

[0127] Step S701: updating the overall power level of the generator according to the line loss of the power grid system and the overall power level of the load;

[0128] Step S702: re-performing the step of allocating power values ​​of the remaining unassigned power nodes in the power grid system based on the updated overall power level of the generators;

[0129] Step S703: After the power of each unspecified power node in each partition in the partition set is balanced and adjusted, the active power flow distribution of the power grid system is obtained.

[0130] It can be understood that the overall level of generator power is updated based on the line loss and overall level of load power of the power grid system; on this basis, the power values ​​of the remaining ungiven power nodes in the power grid system are redistributed; and the power of the ungiven power nodes in each partition in the partition set is adjusted until balance is achieved, and the line loss is taken into account, and finally the active power flow distribution of the power grid system is obtained, thereby improving the reliability of active power flow regulation.

[0131] Based on the same inventive concept, an embodiment of the present application further provides a power flow sample active power regulation system for implementing the above-mentioned power flow sample active power regulation method.

[0132] The implementation solution provided by the system to solve the problem is similar to the implementation solution recorded in the above method. Therefore, the specific limitations in the one or more power flow sample active power regulation system embodiments provided below can refer to the limitations of the power flow sample active power regulation method above, and will not be repeated here.

[0133] like Figure 3 As shown, the embodiment of the present application provides a power flow sample active power regulation system, including:

[0134] The power setting and allocation module 100 is used to assign power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level, and allocate the power values ​​of the remaining unassigned power nodes in the power grid system according to the assigned results to obtain the power allocation value of each unassigned power node;

[0135] The clustering and partitioning module 200 is used to cluster and partition all nodes in the power grid system to obtain multiple partitions; wherein the nodes include load nodes and generator nodes;

[0136] A power sum calculation module 300 is used to determine the total load power and the total generator power in each partition based on the power values ​​of each given power node in the partition and the power allocation values ​​of each ungiven power node;

[0137] A partition screening module 400 is configured to screen out a set of partitions whose power ratio is greater than a preset ratio deviation threshold based on the power ratio of the total load node power and the total generator node power of each partition;

[0138] The power balancing and adjustment module 500 is used to balance and adjust the power of each unspecified power node in each partition in the partition set to obtain the initial active power flow distribution of the power grid system;

[0139] The line loss calculation module 600 is used to determine the line loss of the power grid system according to the initial active power flow distribution of the power grid system;

[0140] The active power flow adjustment module 700 is used to balance the power of each unspecified power node in each partition in the partition set by taking into account the line loss of the power grid system, so as to obtain the active power flow distribution of the power grid system.

[0141] In some embodiments, the power setting and allocation module 100 is specifically configured to obtain the power value of each given power node by setting the power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level;

[0142] Determine the total power of all given power nodes according to the power values ​​of all given power nodes;

[0143] Determine the total power of the remaining unassigned power nodes in the power grid system based on the total power of all given power nodes, the overall load power level, and the overall generator power level;

[0144] The power of each ungiven power node is allocated according to a predetermined power allocation ratio using the total power of the remaining ungiven power nodes in the power grid system to obtain a power allocation value for each ungiven power node.

[0145] In some embodiments, the system further includes: a power allocation ratio determination module for determining the power allocation ratio corresponding to each ungiven power node based on the historical active power of each ungiven power node and the total historical power of the ungiven power node.

[0146] In some embodiments, the predetermined power allocation ratio includes a power allocation ratio of a load node and a power allocation ratio of a generator node;

[0147] The power allocation ratio of the load nodes is determined according to the number of load nodes without given power;

[0148] The power allocation ratio of the generator nodes is determined according to the power upper limit of each generator node without given power and the total power upper limit of all generator nodes without given power.

[0149] In some embodiments, the clustering and partitioning module 200 is configured to perform clustering and partitioning on all nodes in the power grid system using a community partitioning algorithm to obtain multiple partitions.

[0150] In some embodiments, the power balancing adjustment module 500 is specifically configured to sort the partitions in the partition set from large to small according to their power ratio;

[0151] According to the sorting result, the power of each unassigned power node in the partition is balanced and adjusted in sequence to obtain a first power adjustment value of each unassigned power node;

[0152] For each partition, determine multiple partitions that are electrically adjacent to the partition, and select the partition with the smallest power ratio;

[0153] Determine the power adjustment ratio of each ungiven power node according to the total power of all ungiven power nodes of the partition with the smallest power ratio screened out and the first power adjustment value of each ungiven power node;

[0154] Adjusting the power allocation values ​​of each unspecified power node in the partition with the smallest power ratio screened out according to the power adjustment ratio of each unspecified power node, and obtaining an adjusted power allocation value; the adjusted power allocation value includes the adjusted power allocation value of the load node and the adjusted power allocation value of the generator node;

[0155] Determine whether the adjusted power distribution value of the generator node exceeds the limit;

[0156] When it is determined that the power allocation value of the adjusted generator node exceeds the limit, the out-of-line power is transferred to other partitions adjacent to the partition with the smallest power ratio. After determining that the power allocation value of the adjusted generator node does not exceed the limit, the initial active power flow distribution of the power grid system is obtained, among which the other partitions are the partitions with the smallest power ratio.

[0157] In some embodiments, the active power flow adjustment module 700 is used to update the overall power level of the generator according to the line loss of the power grid system and the overall power level of the load;

[0158] re-performing the step of allocating power values ​​to the remaining unassigned power nodes in the power grid system based on the updated overall power level of the generators;

[0159] After the power of each ungiven power node in each partition in the partition set is balanced and adjusted, the active power flow distribution of the power grid system is obtained.

[0160] like Figure 4 As shown, an embodiment of the present application provides an electronic device, the electronic device 10 includes a memory 20 and a processor 30, the memory 20 stores a computer program, and when the computer program is executed by the processor 30, the processor 30 executes the steps of the power flow sample active power regulation method as described in any of the above embodiments.

[0161] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the steps of the method for regulating active power of power flow samples as described in any of the above embodiments are implemented.

[0162] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, electronic devices, and computer storage media can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0163] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0164] In several embodiments provided by the present invention, it is understood that each box in the flow chart or block diagram can represent a module, program segment or part of code, and the module, program segment or part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.

[0165] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, electronic devices, computer storage media and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, 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, devices or units, which can be electrical, mechanical or other forms.

[0166] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of the solution of this embodiment according to actual needs.

[0167] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0168] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for executing all or part of the steps of the method described in each embodiment of the present invention via a computer device (which can be a personal computer, server, or network device, etc.). The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0169] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for regulating active power of power flow samples, characterized in that: include: The power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level are given, and the power values ​​of the remaining ungiven power nodes in the power grid system are allocated according to the given results to obtain the power allocation value of each ungiven power node; Clustering and partitioning all nodes in the power grid system to obtain a plurality of partitions; wherein the nodes include load nodes and generator nodes; For each partition, determining the total load power and the total generator power within the partition according to the power values ​​of each given power node and the power allocation values ​​of each ungiven power node within the partition; According to the power ratio of the total load node power and the total generator node power of each partition, a partition set having a power ratio greater than a preset ratio deviation threshold is screened out; Performing balanced adjustment on the power of each unspecified power node in each of the partitions in the partition set to obtain an initial active power flow distribution of the power grid system; determining the line loss of the power grid system according to the initial active power flow distribution of the power grid system; By taking the line loss of the power grid system into account, the power of each unspecified power node in each partition in the partition set is re-balanced to obtain the active power flow distribution of the power grid system.

2. The method for regulating active power of power flow samples according to claim 1, characterized in that: The power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level are given, and the power values ​​of the remaining ungiven power nodes in the power grid system are allocated according to the given results to obtain the power allocation value of each ungiven power node, including: Obtaining the power value of each given power node by giving the power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level; Determining the sum of powers of all the given power nodes according to the power values ​​of all the given power nodes; Determining the sum of powers of remaining unspecified power nodes in the power grid system based on the sum of powers of all the given power nodes, the overall load power level, and the overall generator power level; The power of each of the remaining unassigned power nodes in the power grid system is allocated according to a predetermined power allocation ratio using the total power of the remaining unassigned power nodes to obtain a power allocation value for each of the unassigned power nodes.

3. The method for regulating active power of power flow samples according to claim 2, characterized in that: Also includes: The power allocation ratio corresponding to each of the ungiven power nodes is determined according to the historical active power of each of the ungiven power nodes and the sum of the historical powers of the ungiven power nodes.

4. The method for regulating active power of power flow samples according to claim 2, characterized in that: The predetermined power distribution ratio includes the power distribution ratio of the load node and the power distribution ratio of the generator node; The power distribution ratio of the load nodes is determined according to the number of the load nodes without given power; The power allocation ratio of the generator nodes is determined according to the power upper limit of each generator node without a given power and the total power upper limit of all generator nodes without a given power.

5. The method for regulating active power of power flow samples according to claim 1, characterized in that: Also includes: A community partitioning algorithm is used to cluster and partition all nodes in the power grid system to obtain multiple partitions.

6. The method for regulating active power of power flow samples according to claim 1, characterized in that: The balancing and adjusting the power of each unspecified power node in each of the partitions in the partition set to obtain the initial active power flow distribution of the power grid system includes: sorting the partitions in the partition set from large to small according to the power ratio; According to the sorting result, the power of each ungiven power node in the partition is balanced and adjusted in sequence to obtain a first power adjustment value of each ungiven power node; For each of the partitions, determining a plurality of partitions electrically adjacent to the partition, and selecting the partition with the smallest power ratio; Determining a power adjustment ratio of each of the ungiven power nodes according to the total power of all the ungiven power nodes of the partition with the smallest power ratio screened out and the first power adjustment value of each of the ungiven power nodes; Adjusting the power allocation value of each of the unspecified power nodes in the partition with the smallest power ratio screened out according to the power adjustment ratio of each of the unspecified power nodes, and obtaining an adjusted power allocation value; the adjusted power allocation value includes the adjusted power allocation value of the load node and the adjusted power allocation value of the generator node; Determining whether the adjusted power allocation value of the generator node exceeds a limit; When it is determined that the power allocation value of the adjusted generator node exceeds the limit, the off-line power is transferred to other partitions adjacent to the partition with the smallest power ratio, and after determining that the power allocation value of the adjusted generator node does not exceed the limit, the initial active power flow distribution of the power grid system is obtained, wherein the other partitions are the partitions with the smallest power ratio.

7. The method for regulating active power of power flow samples according to claim 1, characterized in that: The step of rebalancing the power of each unspecified power node in each of the partitions in the partition set by taking into account the line loss of the power grid system to obtain the active power flow distribution of the power grid system includes: Updating the overall power level of the generator according to the line loss of the power grid system and the overall power level of the load; re-performing the step of allocating power values ​​to the remaining unassigned power nodes in the power grid system based on the updated overall generator power level; After the power of each unspecified power node in each of the partitions in the partition set is balanced and adjusted, the active power flow distribution of the power grid system is obtained.

8. An electric power flow sample active power regulation system, characterized in that: include: A power setting and allocation module is used to assign power values ​​of some nodes in the power grid system, the overall load power level, and the overall generator power level, and allocate the power values ​​of the remaining unassigned power nodes in the power grid system according to the assigned results to obtain power allocation values ​​for each unassigned power node; A clustering and partitioning module, configured to cluster and partition all nodes in the power grid system to obtain a plurality of partitions; wherein the nodes include load nodes and generator nodes; a power sum calculation module, configured to determine, for each partition, the total load power and the total generator power within the partition according to the power values ​​of each given power node within the partition and the power allocation values ​​of each ungiven power node; A partition screening module is used to screen out a set of partitions whose power ratio is greater than a preset ratio deviation threshold based on the power ratio of the total load node power and the total generator node power of each partition; a power balancing and adjusting module, configured to balance and adjust the power of each unspecified power node in each of the partitions in the partition set to obtain an initial active power flow distribution of the power grid system; a line loss calculation module, configured to determine the line loss of the power grid system according to the initial active power flow distribution of the power grid system; The active power flow adjustment module is used to balance the power of each unspecified power node in each partition in the partition set by taking into account the line loss of the power grid system, so as to obtain the active power flow distribution of the power grid system.

9. An electronic device, characterized in that: The electronic device includes a memory and a processor, wherein a computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the power flow sample active power regulation method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the steps of the method for regulating active power of power flow samples according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Power grid partition load margin calculation method and device considering N-1 reliability

    CN113300353A

  • Line loss-based wind power cluster participation power system frequency modulation method

    CN115036936A