Power flow sample active power regulation method, system, equipment and medium
By setting and allocating the power values of some nodes in the power grid system, clustering partitioning and power balance adjustments, the problem of difficulty in adjusting the total load and local active balance of the power system's current sample is solved, and the reliability of the current sample distribution and the accuracy of the adjustment are improved.
Patent Information
- Application Number
- CN202510171103.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-02-17
AI Technical Summary
It is difficult to effectively adjust the total load level and local active balance in the existing power system, resulting in poor reliability of the distribution of the current flow sample.
By giving the power values, overall load power levels and overall generator power levels of some nodes in the power grid system, and allocating the power values of undetermined power nodes according to the given results, clustering partitions are performed, and partitioning is performed, and the power ratio is greater than the preset threshold is selected, power equalization is performed, and power equalization is adjusted, and line loss is considered to be re-adjusted to obtain the active current distribution of the power grid system.
Effectively meet the total load level, improve local active balance, enhance the reliability of power distribution in the current sample, and improve the accuracy of active current adjustment.
Smart Images

Figure CN119944693A_ABST
Abstract
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 active power of power flow samples. Background Art
[0002] Power flow calculation (or load flow calculation) is a core task in power system analysis, which is used to determine the voltage amplitude, voltage phase angle, active power and reactive power distribution of the power system under steady-state operating conditions. It is a basic tool for power system planning, operation and control.
[0003] Power system flow calculation is the process of determining the voltage and power of power nodes by solving the nonlinear equations of the power system. The results of the flow calculation are used to evaluate the operating status of the system, including line power flow, transformer load, node voltage level, etc. Secondly, as the initial value of the time domain simulation, whether its state is consistent with the actual state of the power grid is also very important.
[0004] Active power has an important impact on power flow convergence. Non-convergence of power flow usually means that the system cannot find an operating state that satisfies power balance, and unreasonable distribution or extreme conditions of active power may be one of the main reasons for non-convergence. Secondly, in order to meet the convergence requirements, how to be as close to the actual grid state as possible under the power constraints of the specified nodes also requires adjusting the active power.
[0005] In actual scenarios, due to problems such as inconsistent problem orientation, node mapping, or new equipment commissioning, it may only be possible to obtain some credible estimates of the total load in a larger area, while in the grid state estimation, the power of some nodes is more credible. Usually, after the power flow converges, it is still necessary to redistribute the active power based on the power flow calculation results to ensure that the power flow distribution meets expectations.
[0006] The above logic is simple and easy to understand and implement. However, in the face of real scenarios, the reliability of the power flow convergence method determines the effect of the adjustment. The number of locked nodes with certain power will affect the adjustment of active power balance. However, the current power system 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 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, device and medium for regulating the active power of power flow samples, which solves the technical problem that the active power regulation of power flow samples in the current power system is difficult to effectively adjust the total load level and local active power balance, and also leads to poor reliability of the distribution of power flow samples after the active power regulation of power flow samples.
[0008] A first aspect of the present invention provides a method for regulating active power of a power flow sample, comprising:
[0009] The power distribution value of each ungiven power node is obtained by assigning the power values of some nodes in the power grid system, the overall load power level, and the overall generator power level, and allocating the power values of the remaining ungiven power nodes in the power grid system according to the given results;
[0010] Clustering and partitioning all nodes in the power grid system to obtain multiple partitions; wherein the nodes include load nodes and generator nodes;
[0011] For each of the partitions, according to the power values of each given power node in the partition and the power allocation values of each ungiven power node, determine the total load power and the total generator power in 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 whose power ratio is greater than a preset ratio deviation threshold is screened out;
[0013] Balance and adjust the power of each ungiven 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 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.
[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] By giving power values of some nodes in the power grid system, the overall load power level, and the overall generator power level, the power value of each given power node is obtained;
[0018] Determining the sum of powers of all the given power nodes according to the power values of all the given power nodes;
[0019] Determine the sum of powers of remaining ungiven power nodes in the power grid system according to 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 ungiven power nodes 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 of each of the ungiven power nodes.
[0021] Preferably, the method further comprises:
[0022] The power allocation ratios respectively corresponding to the ungiven power nodes are 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 allocation ratio includes a power allocation ratio of a load node and a power allocation ratio of a generator node;
[0024] The power allocation 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 given power and the total power upper limit of all generator nodes without 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, determine a plurality of partitions electrically adjacent to the partition, and select the partition with the smallest power ratio;
[0032] Determine the power adjustment ratio of each of the ungiven power nodes according to the sum of powers of all of 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] According to the power adjustment ratio of each of the ungiven power nodes, the power allocation value of each of the ungiven power nodes in the partition with the smallest power ratio is adjusted to obtain 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 it is determined 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 of remaining unassigned power nodes in the power grid system based on the updated overall power level of the generators;
[0039] After the power of each ungiven 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, used to set the 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 unset power nodes in the power grid system according to the given results to obtain the power allocation value of each unset power node;
[0042] A clustering and partitioning module, used for 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;
[0043] A power sum calculation module, used for determining, for each partition, 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;
[0044] A partition screening module, used to screen out 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 of each partition;
[0045] A power balancing and adjusting module, used for balancing and adjusting the power of each ungiven 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, used 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 ungiven 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 the memory stores a computer program, 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, and when the computer program is executed, the steps of the method for regulating active power of power flow samples as described in the first aspect are implemented.
[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 in the partition and the allocated values of the ungiven power nodes, the total load power and the total generator power in the partition are calculated. 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 differences in proportions 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 drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0052] Figure 1 An application environment of a power flow sample active power regulation method 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 diagram of the structure of a power flow sample active power regulation system provided by an embodiment of the present invention;
[0055] Figure 4 A schematic diagram of the structure 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 scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the 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.
[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 on the server 102, or placed on the cloud or other network servers. The server 102 gives the power values of some nodes in the power grid system, the overall level of load power, and the overall level of generator power, and distributes the power values of the remaining ungiven power nodes in the power grid system according to the given results to obtain the power allocation value of each ungiven 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, according to the power values of each given power node in the partition and the power allocation value of each ungiven power node, the total load power and the total generator power in the partition are determined; according to the power ratio of the total load node power and the total generator node power in each partition, a partition set whose power ratio is greater than a preset ratio deviation threshold is screened out; the power of each ungiven power node in each partition in the partition set is balanced and adjusted to obtain the initial active power flow distribution of the power grid system; according to the initial active power flow distribution of the power grid system, the line loss of the power grid system is determined; by taking into account the line loss of the power grid system, the power of each ungiven power node in each partition in the partition set is re-balanced and adjusted to obtain the active power flow distribution of the power grid system.
[0058] The server 102 may be an independent physical server, or a server cluster or 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 adjusting the active power of a power flow sample, and the method 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. Among them:
[0060] Step S1, by giving the power values of some nodes in the power grid system, the overall load power level, and the overall generator power level, and distributing the power values of the remaining ungiven power nodes in the power grid system according to the given results, the power distribution value of each ungiven power node is obtained.
[0061] Among them, by accurately determining the basic information of each node in a power grid system, this basic information covers the type of node, the upper and lower limits of the output power range of the generator, and the parameters of the line. Among these nodes, we distinguish between load nodes and generator nodes. At the same time, we specify power values for certain specific nodes in the power grid system. 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, that is, by specifying the power values of some nodes, we can effectively adjust the power of those unassigned power nodes, so as to better meet the total load level of the entire power grid system and improve the 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 power grid scenarios, the topology often changes, and the reliance 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 that do not match the active 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 is 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 in the power grid is directly used for allocation, it will present obvious situations of sending network and receiving network. 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 the local power grid with large active power deviation through the community partition algorithm, the rationality of active power distribution of the power flow sample can be improved. At the same time, the closely connected nodes in the network can be better captured to facilitate active power balance.
[0065] Among them, the community partitioning algorithm is an algorithm used to identify and divide closely connected groups of nodes in the network. The core idea of this algorithm is to group the nodes in the network according to their connection relationships, so that the nodes in 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] In the formula, 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, which is 1 when nodes i and j belong to the same partition and 0 otherwise.
[0069] Step S3: for each partition, according to the power values of each given power node in the partition and the power allocation values of each ungiven power node, determine the total load power and the total generator power in the partition.
[0070] In power systems, partition management is a common organizational method, in which each partition consists of multiple nodes. These nodes can be load nodes or generator nodes. Among these nodes, the power values of some nodes are pre-set, which we call given power nodes; while the power values of some nodes need to be allocated through calculation, which are called ungiven power nodes. By comprehensively considering the power values of all given power nodes in the partition and the power allocation values of all ungiven power nodes, the total power in the partition can be calculated.
[0071] Furthermore, the total power in the partition is subdivided into two parts: one is the total load power in the partition, which represents the total power consumed by all load nodes in the partition; the other is the total generator power in the partition, which represents the total power provided by all generator nodes in the partition.
[0072] Step S4: According to 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 the optimization management of the power grid, for those partitions where the difference between the generator output and the load ratio is too large, special measures need to be taken to improve the active power balance in the local area. The specific approach is to transfer the load and generator output of these partitions that are not clearly specified to the power to the adjacent partitions. In this way, the power imbalance problem in a specific partition can be effectively alleviated, thereby improving the stability and efficiency of the entire power grid.
[0074] For example, suppose that when screening the power grid by partition, it is found that the power ratio of some partitions exceeds 1.5. Such partitions 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 explicitly specified. At the same time, for the generator nodes whose power is not explicitly specified, it is necessary to increase their output to improve the power generation capacity of the entire partition. However, in order to ensure that the overall load level of the entire power grid remains consistent, we cannot simply make adjustments within these partitions. Therefore, it is necessary to transfer the adjusted power balance state to nearby partitions, especially those with lower power ratios. Through this cross-partition power transfer, a wider grid balance can be achieved to ensure the stability and reliability of power supply.
[0075] Step S5: Balance and adjust the power of each ungiven 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: determining 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 the 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 ungiven 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] It is understandable that in the initial stage, the active power flow distribution of the power grid system was obtained, but the line loss factor was not taken into account in this process. However, in reality, the line loss of the power grid system has a direct impact on the overall level of generator power. Therefore, in order to more accurately reflect the actual situation, we need to update the overall level of generator power to reflect the impact of line loss. In this way, we can re-evaluate each partition within the partition set, especially for those power nodes that are not given a balanced adjustment. In this way, we can get a more accurate active power flow distribution of 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 in the partition and the allocated values of the ungiven power nodes, the total load power and the total generator power in the partition are calculated. 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 differences in proportions 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, the power values of some nodes in the power grid system, the overall load power level, and the overall generator power level are given in step S1, 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:
[0083] Step S101: obtaining the power value of each given power node by giving the power value 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 ungiven 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 of 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 level of power through load Subtract the sum of the power of the given partial load node , 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 the power grid system, the adjustment of the power distribution ratio can be judged by whether there is a converged reference flow sample. Specifically, it is to check whether the power grid system has the past historical flow sample data. If the power grid system does have these historical flow data, then it can be adjusted by calculating the power ratio of each uncertain node in the reference flow sample. In this process, a certain value will be subtracted from the load and the generator respectively, and then the power of the uncertain nodes will be allocated accordingly according to the active power ratio of the nodes in the converged reference flow sample. On the other hand, if the power grid system does not have past historical flow samples, especially when new loads or generator nodes appear, a different strategy will be adopted. In this case, the load average distribution method will be adopted, and for the generator, the ratio will be calculated according to the upper limit of its active output, and then the power will be allocated according to 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] According to the historical active power of each ungiven power node and the sum of the historical powers of the ungiven power nodes, the power allocation ratios corresponding to each ungiven power node are determined.
[0097] Exemplarily, the power allocation ratio occupied by a single node is calculated as:
[0098]
[0099] Where i is the number of the unspecified power node, The node active data of the unknown power node i 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 unknown power (load / generator) nodes.
[0100] In the case where the power grid system does not have historical power flow data, the power flow sample active power regulation method provided in the embodiment of the present application further includes:
[0101] The predetermined power allocation ratio includes a power allocation ratio of a load node and a power allocation ratio of a generator node;
[0102] Among them, 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 quantity. 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] In the formula, is the power distribution ratio of the generator node, is the sum of the upper limits of the active output of the generator nodes, is the upper limit of active output of generator node i.
[0108] In some embodiments, the step S5 of balancing and adjusting the power of each ungiven power node in each partition in the partition set to obtain the 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 turn 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 ungiven power load node and increasing the power of the ungiven power generator node.
[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 a plurality of 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 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.
[0117] Among them, the power adjustment ratio of the ungiven power node of the partition with the smallest power ratio is:
[0118]
[0119] In the formula, , 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 nodes and the ungiven power generator nodes of the partition W, respectively, , They 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 screened out 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 allocation 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 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.
[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 power allocation value of the adjusted 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] In this process, if it is determined that the adjusted power allocation value of the generator node exceeds the limit, the off-line power is calculated based on the difference between the allocation value and the power limit, and this off-line power is used as the adjustment value. Then, by comparing the off-line power with the sum of the powers of other partitions adjacent to the screened partition with the minimum power ratio, the adjustment ratio of each unspecified power node in these partitions is determined. This adjustment is repeated until it is confirmed that the adjusted power allocation value of the generator node is no longer beyond the limit, and finally the initial active power flow distribution of the power grid system is obtained.
[0126] In some embodiments, in step S7, by taking into account the line loss of the power grid system, the power of each ungiven power node in each partition in the partition set is re-balanced to obtain the active power flow distribution of the power grid system, including:
[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 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 of the power grid system and the overall level of load power; on this basis, the power values of the remaining ungiven power nodes in the power grid system are reallocated; and the power of the ungiven power nodes in each partition in the partition set is adjusted until balance is achieved, and line losses are 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 one or more power flow sample active power regulation system embodiments provided below can refer to the limitations on 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 set the 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 unset power nodes in the power grid system according to the given results to obtain the power allocation value of each unset 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] The power sum calculation module 300 is used to determine the total load power and the total generator power in each partition according to 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 used to screen out 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 of each partition;
[0138] The power balancing and adjusting module 500 is used to balance and adjust the power of each ungiven 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 used to obtain the power value of each given power node by setting the power value of some nodes in the power grid system, the overall load power level, and the overall generator power level;
[0142] Determine the sum of powers of all given power nodes according to power values of all given power nodes;
[0143] Determine the sum of powers of remaining ungiven power nodes in the power grid system according to the sum of powers 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 based on the total power of the remaining ungiven power nodes in the power grid system to obtain a power allocation value of 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 according to 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] Among them, 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 cluster partitioning module 200 is used to cluster and partition 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 used to sort the partitions in the partition set from large to small according to the power ratio;
[0151] According to the sorting result, the power of each ungiven power node in the partition is balanced and adjusted in turn to obtain a first power adjustment value of each ungiven power node;
[0152] For each partition, multiple partitions electrically adjacent to the partition are determined, and the partition with the smallest power ratio is selected;
[0153] Determine the power adjustment ratio of each ungiven power node according to the sum of powers 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] According to the power adjustment ratio of each ungiven power node, the power allocation value of each ungiven power node in the partition with the smallest power ratio is adjusted, and an adjusted power allocation value is obtained; 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 power allocation value of the generator node after adjustment exceeds the limit;
[0156] 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. 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 of remaining ungiven 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 in any of the above embodiments.
[0161] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the steps of the method for regulating active power of power flow samples in any of the above embodiments are implemented.
[0162] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, electronic device and computer storage medium 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 specification 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 data 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 that are 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, a program segment or a part of a code, and the module, a program segment or a part of a 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 from 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 only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, 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 separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, each functional unit in each embodiment of the present invention 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.
[0168] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present invention 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. The computer software product is stored in a storage medium, including several instructions for executing all or part of the steps of the method described in each embodiment of the present invention through a computer device (which can be a personal computer, server, or network device, etc.). The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (full name in English: Read-Only Memory, English abbreviation: ROM), random access memory (full name in English: Random Access Memory, English abbreviation: RAM), disk or optical disk and other media that can store program codes.
[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 the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for regulating active power of power flow samples, characterized in that: include: The power distribution value of each ungiven power node is obtained by assigning the power values of some nodes in the power grid system, the overall load power level, and the overall generator power level, and allocating the power values of the remaining ungiven power nodes in the power grid system according to the given results; Clustering and partitioning all nodes in the power grid system to obtain multiple partitions; wherein the nodes include load nodes and generator nodes; For each of the partitions, according to the power values of each given power node in the partition and the power allocation values of each ungiven power node, determine the total load power and the total generator power in 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 whose power ratio is greater than a preset ratio deviation threshold is screened out; Balance and adjust the power of each ungiven 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 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.
2. The method for regulating active power of power flow samples according to claim 1, characterized in that: The method of obtaining the power allocation value of each ungiven 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, and allocating the power values of the remaining ungiven power nodes in the power grid system according to the given results, comprises: By giving power values of some nodes in the power grid system, the overall load power level, and the overall generator power level, the power value of each given power node is obtained; Determining the sum of powers of all the given power nodes according to the power values of all the given power nodes; Determine the sum of powers of remaining ungiven power nodes in the power grid system according to 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 ungiven power nodes 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 of each of the ungiven 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 ratios respectively corresponding to the ungiven power nodes are 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 allocation ratio includes a power allocation ratio of a load node and a power allocation ratio of a generator node; The power allocation 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 given power and the total power upper limit of all generator nodes without 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 step of balancing and adjusting the power of each ungiven 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, determine a plurality of partitions electrically adjacent to the partition, and select the partition with the smallest power ratio; Determine the power adjustment ratio of each of the ungiven power nodes according to the sum of powers of all of 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; According to the power adjustment ratio of each of the ungiven power nodes, the power allocation value of each of the ungiven power nodes in the partition with the smallest power ratio is adjusted to obtain 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 it is determined 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 method of re-balancing and adjusting 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 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 of remaining unassigned power nodes in the power grid system based on the updated overall power level of the generators; After the power of each ungiven 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. A power flow sample active power regulation system, characterized in that: include: A power setting and allocation module, used to set the 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 unset power nodes in the power grid system according to the given results to obtain the power allocation value of each unset power node; A clustering and partitioning module, used for 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; A power sum calculation module, used for determining, for each partition, 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; A partition screening module, used to screen out 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 of each partition; A power balancing and adjusting module, used for balancing and adjusting the power of each ungiven 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, used 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 ungiven 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, and 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 power flow sample active power regulation method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Automatic integrating and adjusting method for flow data
CN101447671A
Improved risk assessment electricity generation and load power adjustment method
CN104037810A
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
Method and system for acquiring severest voltage stability margin based on coordinated continuation power flow
US20200091716A1