Power grid harmonic control method, device and equipment and storage medium
By optimizing the load distribution node matrix in the power system, adjusting the load access nodes, and using genetic algorithms or Bayesian optimization models to suppress harmonics, the problem of power grid harmonic resonance was solved, and the stability and reliability of the power system were improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JIEYANG POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
- Filing Date
- 2026-01-15
- Publication Date
- 2026-05-29
Smart Images

Figure CN122118754A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power system technology, and in particular to a method, apparatus, equipment and storage medium for controlling power grid harmonics. Background Technology
[0002] With the development of power system technology, the application of integrated power systems (generation, grid, load, and storage) is becoming increasingly widespread. However, with the increasing integration of new energy generation and more types of power electronic equipment, the interaction between generation, grid, load, and storage harmonic sources is becoming more severe, exacerbating harmonic pollution in the power system and potentially leading to harmonic resonance in the power grid. Therefore, controlling harmonics in the power system to avoid harmonic resonance has become an urgent technical problem to be solved.
[0003] In related technologies, the main method is to add filters to suppress harmonics in the power system, thereby maintaining the safety and stability of the power system.
[0004] However, this implementation method increases hardware costs and has limited harmonic suppression capabilities, and may also introduce new harmonics, affecting the performance of harmonic control. Summary of the Invention
[0005] This application provides a method, apparatus, device, and storage medium for controlling power grid harmonics, which can flexibly, efficiently, and cost-effectively control power grid harmonics, thereby improving the stability and reliability of the power system.
[0006] In a first aspect, embodiments of this application provide a method for controlling power grid harmonics, the method comprising:
[0007] Based on the network architecture information of the power system, the load distribution node matrix of the power grid is determined; wherein, the power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load;
[0008] Based on the load distribution node information indicated by the load distribution node matrix, the first voltage distortion rate of the power grid is determined;
[0009] If it is determined that the first voltage distortion rate does not meet the preset limit requirement, the load distribution node information included in the load distribution node matrix is optimized to obtain an updated load distribution node matrix.
[0010] Based on the updated load distribution node matrix, the nodes to which the loads of the power grid are connected are adjusted, and power is supplied to the loads of the power grid to suppress the harmonics generated by the power grid.
[0011] In one possible implementation, the load distribution node information included in the load distribution node matrix is optimized to obtain an updated load distribution node matrix, including:
[0012] According to the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix is updated to obtain the mutated load distribution node matrix.
[0013] Determine the second voltage distortion rate of the modified load distribution node matrix;
[0014] If it is determined that the second voltage distortion rate meets the preset limit requirement, then the mutated load distribution node matrix is determined as the updated load distribution node matrix.
[0015] In one possible implementation, the preset power grid update requirements include load distribution requirements and power grid operation requirements; based on the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix is updated to obtain a modified load distribution node matrix, including:
[0016] The load distribution cluster is initialized according to the load distribution requirements to obtain the load distribution cluster; wherein the load distribution cluster includes multiple initialized load distribution node matrices;
[0017] Based on the power grid operation requirements and the fitness information corresponding to each initialized load distribution node matrix, multiple load distribution node matrices to be mutated are selected from the load distribution cluster according to a preset data selection method.
[0018] Based on the preset crossover method, preset crossover probability, preset mutation probability, and the power grid operation requirements, the multiple load distribution node matrices to be mutated are subjected to crossover mutation processing to obtain the mutated load distribution node matrix.
[0019] In one possible implementation, the load distribution requirement indicates the number of nodes that each load can access, as determined based on the network architecture information of the power system.
[0020] The power grid operation requirements include: node fundamental voltage requirements, line transmission power requirements, and load switching frequency requirements; wherein, the node fundamental voltage requirement indicates that the node fundamental voltage of each node in the power grid meets the upper and lower voltage limits; the line transmission power requirement indicates that the sum of the load power corresponding to each node in the power grid meets the maximum allowable power of the node; and the load switching frequency requirement indicates that the number of times each load in the power grid switches to the connected nodes within a target time period meets the switching frequency requirement.
[0021] In one possible implementation, the load distribution node information included in the load distribution node matrix is optimized to obtain an updated load distribution node matrix, including:
[0022] Based on the load distribution node information indicated by the load distribution node matrix, the load type and load quantity included in the current power grid are determined;
[0023] From the preset load distribution node matrix, a new load distribution node matrix that matches the load type and load quantity is determined, and the new load distribution node matrix is determined as the updated load distribution node matrix.
[0024] In one possible implementation, determining the first voltage distortion rate of the power grid based on the load distribution node information indicated by the load distribution node matrix includes:
[0025] Based on the load distribution node information indicated by the load distribution node matrix, the harmonic voltage information of each node in the power grid is determined;
[0026] The third voltage distortion rate of each node is determined based on the ratio between the harmonic voltage information of each node and the fundamental voltage of the corresponding node.
[0027] The first voltage distortion rate is obtained by weighted summation of the third voltage distortion rate of each node.
[0028] In one possible implementation, the harmonic voltage information of each node in the power grid is determined based on the load distribution node information indicated by the load distribution node matrix, including:
[0029] Determine the current information injected into the corresponding node for each load in the power grid, and the admittance information corresponding to each load;
[0030] Based on the load distribution node information indicated by the load distribution node matrix, the current information, and the admittance information, the admittance matrix and injection current matrix corresponding to the power grid are determined.
[0031] The harmonic voltage information of each node is determined based on the admittance matrix and the injection current matrix.
[0032] Secondly, embodiments of this application provide a power grid harmonic control device, the device comprising:
[0033] The first determining unit is used to determine the load distribution node matrix of the power grid based on the network architecture information of the power system; wherein the power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load;
[0034] The second determining unit is used to determine the first voltage distortion rate of the power grid based on the load distribution node information indicated by the load distribution node matrix.
[0035] An optimization processing unit is used to optimize the load distribution node information included in the load distribution node matrix if it is determined that the first voltage distortion rate does not meet the preset limit requirement, so as to obtain an updated load distribution node matrix.
[0036] The power supply adjustment unit is used to adjust the nodes to which the loads of the power grid are connected according to the updated load distribution node matrix, and then supply power to the loads of the power grid to suppress the harmonics generated by the power grid.
[0037] In one possible implementation, the optimization processing unit is configured to:
[0038] According to the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix is updated to obtain the mutated load distribution node matrix.
[0039] Determine the second voltage distortion rate of the modified load distribution node matrix;
[0040] If it is determined that the second voltage distortion rate meets the preset limit requirement, then the mutated load distribution node matrix is determined as the updated load distribution node matrix.
[0041] In one possible implementation, the preset power grid update requirements include load distribution requirements and power grid operation requirements; in this case, the optimization processing unit is used to:
[0042] The load distribution cluster is initialized according to the load distribution requirements to obtain the load distribution cluster; wherein the load distribution cluster includes multiple initialized load distribution node matrices;
[0043] Based on the power grid operation requirements and the fitness information corresponding to each initialized load distribution node matrix, multiple load distribution node matrices to be mutated are selected from the load distribution cluster according to a preset data selection method.
[0044] Based on the preset crossover method, preset crossover probability, preset mutation probability, and the power grid operation requirements, the multiple load distribution node matrices to be mutated are subjected to crossover mutation processing to obtain the mutated load distribution node matrix.
[0045] In one possible implementation, the load distribution requirement indicates the number of nodes that each load can access, as determined based on the network architecture information of the power system.
[0046] The power grid operation requirements include: node fundamental voltage requirements, line transmission power requirements, and load switching frequency requirements; wherein, the node fundamental voltage requirement indicates that the node fundamental voltage of each node in the power grid meets the upper and lower voltage limits; the line transmission power requirement indicates that the sum of the load power corresponding to each node in the power grid meets the maximum allowable power of the node; and the load switching frequency requirement indicates that the number of times each load in the power grid switches to the connected nodes within a target time period meets the switching frequency requirement.
[0047] In one possible implementation, the optimization processing unit is configured to:
[0048] Based on the load distribution node information indicated by the load distribution node matrix, the load type and load quantity included in the current power grid are determined;
[0049] From the preset load distribution node matrix, a new load distribution node matrix that matches the load type and load quantity is determined, and the new load distribution node matrix is determined as the updated load distribution node matrix.
[0050] In one possible implementation, the second determining unit is configured to:
[0051] Based on the load distribution node information indicated by the load distribution node matrix, the harmonic voltage information of each node in the power grid is determined;
[0052] The third voltage distortion rate of each node is determined based on the ratio between the harmonic voltage information of each node and the fundamental voltage of the corresponding node.
[0053] The first voltage distortion rate is obtained by weighted summation of the third voltage distortion rate of each node.
[0054] In one possible implementation, the second determining unit is configured to:
[0055] Determine the current information injected into the corresponding node for each load in the power grid, and the admittance information corresponding to each load;
[0056] Based on the load distribution node information indicated by the load distribution node matrix, the current information, and the admittance information, the admittance matrix and injection current matrix corresponding to the power grid are determined.
[0057] The harmonic voltage information of each node is determined based on the admittance matrix and the injection current matrix.
[0058] Thirdly, embodiments of this application provide a computer device, including: a memory and a processor;
[0059] The memory stores computer-executed instructions;
[0060] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0061] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0062] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0063] The power grid harmonic control method, apparatus, device, and storage medium provided in this application can first determine the load distribution node matrix of the power grid based on the network architecture information of the power system. Then, based on the load distribution node information indicated by the load distribution node matrix, the first voltage distortion rate of the power grid is determined. This allows for a simple and quick determination of whether harmonic resonance is likely to occur in the power grid under the current load access node distribution. If the first voltage distortion rate does not meet the preset limit, then the power grid is determined to have a risk of harmonic resonance. In this case, the load distribution node information included in the load distribution node matrix needs to be optimized to obtain an updated load distribution node matrix. Based on the updated load distribution node matrix, the nodes to which the loads of the power grid are connected are adjusted before power is supplied to the loads of the power grid to suppress the harmonics generated by the power grid. This implementation method enables real-time optimization and adjustment of load distribution nodes when a harmonic resonance risk is identified at the current load distribution nodes. This allows for flexible and effective harmonic suppression to meet real-world harmonic suppression requirements, proactively avoiding harmonic risks, and enabling online monitoring of grid harmonic conditions. Consequently, it improves the stability, safety, and reliability of the power system. Furthermore, this implementation method eliminates the need for additional hardware, reducing costs and saving space. It also avoids introducing new resonance risks, thus enhancing the performance of the harmonic control method. Attached Figure Description
[0064] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0065] Figure 1 A flowchart illustrating a power grid harmonic control method provided in this application embodiment. Figure 1 ;
[0066] Figure 2 A flowchart illustrating a power grid harmonic control method provided in this application embodiment. Figure 2 ;
[0067] Figure 3 A schematic diagram illustrating the implementation process of a power grid harmonic control method provided in this application embodiment;
[0068] Figure 4 A schematic diagram of a power grid harmonic control device provided in an embodiment of this application;
[0069] Figure 5 A schematic diagram of another power grid harmonic control device provided in an embodiment of this application;
[0070] Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application.
[0071] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0072] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0073] In this document, the term "and / or" merely describes a relationship, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Furthermore, the term "at least one" in this document means any combination of at least two of any one or more elements. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.
[0074] With the development of power system technology, the application of integrated power systems (generation, grid, load, and storage) is becoming increasingly widespread. However, with the increasing integration of new energy generation and more types of power electronic equipment, the interaction between generation, grid, load, and storage harmonic sources is becoming more severe, exacerbating harmonic pollution in the power system and potentially leading to harmonic resonance in the power grid. Therefore, controlling harmonics in the power system to avoid harmonic resonance has become an urgent technical problem to be solved.
[0075] In related technologies, the main method is to add filters to suppress harmonics in the power system, thereby maintaining the safety and stability of the power system.
[0076] One approach is to add a passive filter to provide a low-impedance circuit at the resonant point of the power system, absorbing harmonic currents and thus reducing harmonics and preventing harmonic resonance in the power system. However, this approach is less flexible and carries the risk of introducing other resonances.
[0077] Another approach is to inject compensating current into the harmonic currents generated by the power system by adding an active filter, thereby eliminating the resonant source. However, this approach is costly, and the filter's capacity is limited, which affects the harmonic suppression performance.
[0078] The power grid harmonic control method provided in this application can flexibly and effectively control the harmonics generated by the power grid by adjusting the nodes where user loads are connected in real time. This not only avoids the increased cost caused by adding filters, but also effectively prevents harmonic resonance in the power system, thereby improving the stability and reliability of the power system.
[0079] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0080] Figure 1 A flowchart illustrating a power grid harmonic control method provided in this application embodiment. Figure 1 ,like Figure 1 As shown, the method includes:
[0081] S101. Based on the network architecture information of the power system, determine the load distribution node matrix of the power grid.
[0082] The power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load.
[0083] In one example, the distribution node information of the load can be used to indicate the node to which the load is connected, that is, to determine whether a node is connected to the load.
[0084] For example, the distribution node information of the load can be denoted as: That is, it indicates whether the k-th load at time t is distributed under node n. At this time, if =1, which means that at time t, the k-th load is distributed at node n; if =0, which means that the kth load is not distributed at node n at time t.
[0085] At this point, after determining the nodes where each load in the power system is distributed at time t, the load distribution node matrix of the power grid can be obtained. This load distribution node matrix can then be denoted as... Where K represents the number of loads and N represents the number of nodes.
[0086] In this embodiment of the application, the network architecture of the power system is the core framework for the design and operation of the power system. At this time, the path of power transmission and distribution can be determined based on the network architecture information, and then the load distribution node matrix of the power grid can be determined.
[0087] S102. Determine the first voltage distortion rate of the power grid based on the load distribution node information indicated by the load distribution node matrix.
[0088] In one example, the first voltage distortion rate can indicate the degree to which the voltage corresponding to the power grid deviates from an ideal sine wave under the load distribution node matrix, also known as the total harmonic distortion rate.
[0089] In one example, the first voltage distortion rate can be determined by the ratio between the effective values of all harmonic components and the effective value of the fundamental frequency.
[0090] S103. If it is determined that the first voltage distortion rate does not meet the preset limit requirement, the load distribution node information included in the load distribution node matrix is optimized to obtain the updated load distribution node matrix.
[0091] In one example, the preset limit requirement can indicate a voltage distortion rate limit, and / or a voltage distortion rate change limit.
[0092] Different application scenarios may have different voltage distortion rate limits and / or voltage distortion rate change rate limits. For example, in a public power grid scenario, the voltage distortion rate limit can be set to value A1, and the voltage distortion rate change rate limit can be set to value A2; in an industrial power grid scenario, the grid distortion rate limit can be set to value B1, and the voltage distortion rate change rate limit can be set to value B2, etc. Alternatively, in a voltage level 1 application scenario, the voltage distortion rate limit can be set to value C1, and the voltage distortion rate change rate limit can be set to value C2; in a voltage level 2 application scenario, the voltage distortion rate limit can be set to value D1, and the voltage distortion rate change rate limit can be set to value D2, etc. No specific limitations are imposed here; the appropriate limit should be set to meet actual needs.
[0093] In one example, if the first voltage distortion rate does not meet the preset limit requirement, the distribution node information of the loads included in the load distribution node matrix can be adjusted so that the voltage distortion rate of the load distribution node matrix formed by the adjusted load distribution node information meets the preset limit requirement, thereby achieving optimization and obtaining an updated load distribution node matrix.
[0094] In one example, the load distribution node information included in the load distribution node matrix can be optimized using a harmonic suppression optimization model to obtain an updated load distribution node matrix. The harmonic suppression optimization model can be a genetic algorithm model, a Bayesian optimization model, or something similar.
[0095] In another example, embodiments of this application can also optimize the load distribution nodes based on pre-stored load distribution information to obtain a new load distribution node matrix.
[0096] S104. Based on the updated load distribution node matrix, after adjusting the nodes to which the loads of the power grid are connected, power is supplied to the loads of the power grid to suppress the harmonics generated by the power grid.
[0097] As described above, the power grid harmonic control method provided in this application first determines the load distribution node matrix of the power grid based on the network architecture information of the power system. Then, based on the load distribution node information indicated by the load distribution node matrix, it determines the first voltage distortion rate of the power grid. This allows for a simple and quick determination of whether harmonic resonance is likely to occur in the power grid under the current load access node distribution. If the first voltage distortion rate does not meet the preset limit, it is determined that the power grid has a risk of harmonic resonance. In this case, the load distribution node information included in the load distribution node matrix needs to be optimized to obtain an updated load distribution node matrix. Based on the updated load distribution node matrix, the nodes to which the loads of the power grid are connected are adjusted before power is supplied to the loads of the power grid to suppress the harmonics generated by the power grid. This implementation method enables real-time optimization and adjustment of load distribution nodes when a harmonic resonance risk is identified at the current load distribution nodes. This allows for flexible and effective harmonic suppression to meet real-world harmonic suppression requirements, proactively avoiding harmonic risks, and enabling online monitoring of grid harmonic conditions. Consequently, it improves the stability, safety, and reliability of the power system. Furthermore, this implementation method eliminates the need for additional hardware, reducing costs and saving space. It also avoids introducing new resonance risks, thus enhancing the performance of the harmonic control method.
[0098] Figure 2 A flowchart illustrating a power grid harmonic control method provided in this application embodiment. Figure 2 ,like Figure 2 As shown, in this embodiment... Figure 1 Based on the embodiments, a method for controlling power grid harmonics is described in detail, which includes:
[0099] S201. Based on the network architecture information of the power system, determine the load distribution node matrix of the power grid.
[0100] The power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load.
[0101] In one example, this step can be referred to the content described in S101 above, and will not be repeated in detail here.
[0102] S202. Based on the load distribution node information indicated by the load distribution node matrix, determine the harmonic voltage information of each node in the power grid.
[0103] In one example, after determining the load distribution node matrix of the power grid, the impedance information corresponding to each node in the power grid, as well as the current information injected by the load into the corresponding node, can be determined based on the load distribution node information. Then, the harmonic voltage information of each node in the power grid can be determined based on the impedance information corresponding to each node and the current information injected by the load into the corresponding node.
[0104] In one example, since the nodes and connected loads in the power grid are generally connected in parallel, harmonic voltage information can be determined by calculating admittance in order to simplify the calculation process and improve calculation efficiency.
[0105] In practice, the current information injected into the corresponding node for each load in the power grid, as well as the admittance information corresponding to each load, are first determined. Then, based on the load distribution node information, current information, and admittance information indicated by the load distribution node matrix, the admittance matrix and injected current matrix corresponding to the power grid are determined. Finally, based on the admittance matrix and injected current matrix, the harmonic voltage information of each node is determined.
[0106] In one example, under normal grid operation, a clamp-on power analyzer can be used to measure the voltage v, current i (i.e., the injected current of the load), active power P, and reactive power Q of each load. Then, the power characteristics S and impedance characteristics Z of the load can be determined according to the following formulas (1) to (2).
[0107] (1)
[0108] ,in, , , (2)
[0109] Based on this, it is assumed that the current information injected into the corresponding node by each load is represented as follows: That is, it represents the current information injected into the corresponding node by load k at time t. At this time, the injected current matrix corresponding to the power grid can be determined by the following formula (3).
[0110] (3)
[0111] In one example, the admittance information corresponding to each load can be represented as: That is, it represents the admittance information of load k at time t. At this time, since the admittance of a node includes self-admittance and mutual admittance, and the mutual admittance is related to the connection mode of each node in the power grid, the mutual admittance is a fixed value, which can be denoted as . Self-admittance can be composed of load admittance and basic admittance. Therefore, self-admittance is determined by the following formula (4).
[0112] ,in, (4)
[0113] Based on this, the admittance matrix corresponding to the power grid can be seen in the following formula (5).
[0114] (5)
[0115] In one example, assuming that the power grid can include up to the Hth harmonic, the hth harmonic voltage of each node can be determined according to the admittance matrix and the injected current matrix, as shown in the following formula (6).
[0116] (6)
[0117] Based on this, the harmonic voltage information of the nth node can be expressed as: .
[0118] S203. Based on the ratio between the harmonic voltage information of each distribution node and the fundamental voltage of the corresponding distribution node, determine the third voltage distortion rate of each distribution node.
[0119] For specific implementation, please refer to the formula (7) below.
[0120] (7)
[0121] S204. After weighted summation of the third voltage distortion rate of each distributed node information, the first voltage distortion rate is obtained.
[0122] For specific implementation, please refer to the formula (8) below.
[0123] (8)
[0124] in, This represents the power quality weighting coefficient of the nth node.
[0125] In one example, because different nodes in the power grid are connected to different loads, high-precision power electronic devices require higher power quality, which allows for the setting of larger weighting coefficients, thereby improving the flexibility and diversity of the determined first voltage distortion rate.
[0126] In one example, after determining the first voltage distortion rate of the power grid, the quality of the power grid can be measured based on the first voltage distortion rate to determine whether there is a risk of harmonic resonance in the power grid.
[0127] In this embodiment of the application, the first voltage distortion rate can be determined based on the voltage distortion rate change rate to determine whether the preset limit requirement is met. If the first voltage distortion rate change rate is greater than or equal to the maximum distortion rate change rate allowed by the power grid, it indicates that the preset limit requirement is not met, as shown in the formula (9) below.
[0128] (9)
[0129] in, This indicates the maximum allowable rate of change in distortion of the power grid.
[0130] In one example, if the first voltage distortion rate is determined to meet the preset limit requirement, it means that under the current load connection of the power grid, there is no risk of harmonic resonance in the power grid. At this time, the next round of power grid harmonic control can be carried out directly.
[0131] In one example, if it is determined that the first voltage distortion rate does not meet the preset limit requirement, the distribution node information of the load included in the load distribution node matrix needs to be optimized to eliminate the risk of harmonic resonance in the power grid. See the process described below for details.
[0132] S205. If it is determined that the first voltage distortion rate does not meet the preset limit requirement, the load distribution node information included in the load distribution node matrix is optimized to obtain the updated load distribution node matrix.
[0133] In one embodiment, when optimizing the load distribution node information included in the load distribution node matrix, a genetic algorithm can be used to perform the optimization process, thereby effectively determining the load distribution node information that meets the preset limit requirements. See the process described in S206 to S208 below for details.
[0134] S206. According to the preset power grid update requirements, update the distribution node information of the target load in the load distribution node matrix to obtain the modified load distribution node matrix.
[0135] In one example, the target load can be understood as the load of the node connected to the switch in the power grid, that is, the load that updates the distribution node information in the load distribution node matrix.
[0136] In one example, the number of target loads can be one or more.
[0137] In one example, preset grid update requirements can indicate the requirements for ensuring stable grid operation. In this case, preset grid update requirements can include load distribution requirements and grid operation requirements.
[0138] Optionally, the load distribution requirements indicate the number of nodes that each load can access, as determined based on the network architecture information of the power system.
[0139] In one example, the node requirements for each load to be connected indicate, on the one hand, the number of nodes that each load is allowed to connect to, as determined by the grid layout information, and on the other hand, the number of nodes that a single load is allowed to connect to.
[0140] Based on this, assuming that the set of nodes that the kth load is allowed to access is represented as BUS, and the number of nodes that a single load is allowed to access is 1, then the load distribution requirements corresponding to the kth load can be expressed as the following formulas (10) to (11).
[0141] (10)
[0142] (11)
[0143] Optionally, grid operation requirements may include: node fundamental voltage requirements, line transmission power requirements, and load switching frequency requirements.
[0144] Among them, the node fundamental voltage requirement indicates that the node fundamental voltage of each node in the power grid meets the upper and lower voltage limits.
[0145] In one example, the voltage at all nodes in the power grid needs to be maintained within permissible ranges to prevent damage to power electronic devices.
[0146] Based on this, the node fundamental voltage requirement can be expressed as shown in the following formula (12).
[0147] (12)
[0148] in, This represents the fundamental voltage at the nth node. This represents the upper voltage requirement for the nth node. This represents the lower voltage limit requirement for the nth node.
[0149] Among them, the line transmission power requirement indicates that the sum of the load power corresponding to each node in the power grid meets the maximum allowable power of the node.
[0150] In one example, the transmission power of each line (i.e., each node) in the power grid cannot exceed the stability limit of that node. Based on this, the line transmission power requirement can be expressed as shown in the following formula (13).
[0151] (13)
[0152] in, This represents the power of the k-th load at the n-th node at time t. This represents the maximum allowed power of the nth node at time t.
[0153] Among them, the load switching frequency requirement indicates the number of times each load in the power grid switches its connected nodes within a target time period, in order to meet the switching frequency requirement.
[0154] In one example, to avoid frequent load switching nodes, a load switching frequency requirement can be set. In this case, the absolute value of the difference between the distributed node information at adjacent time points can be used to determine whether a load transfer has occurred at that node. If the absolute value of the difference between the distributed node information at adjacent time points is 0, it indicates that no transfer has occurred; if it is 1, it indicates that a transfer has occurred. Let's assume the target time period is denoted as T, and the switching frequency requirement is denoted as... Therefore, the load switching frequency requirement can be expressed as shown in the following formula (14).
[0155] (14)
[0156] In one example, after determining the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix can be updated according to the preset power grid update requirements.
[0157] In practice, the load distribution cluster can be initialized first according to the load distribution requirements, which includes multiple initialized load distribution node matrices. Then, based on the grid operation requirements and the fitness information corresponding to each initialized load distribution node matrix, multiple load distribution node matrices to be mutated are selected from the load distribution cluster according to a preset data selection method. Finally, based on preset crossover methods, preset crossover probabilities, preset mutation probabilities, and grid operation requirements, the multiple load distribution node matrices to be mutated are subjected to crossover and mutation processing to obtain the mutated load distribution node matrices.
[0158] In one example, fitness information can be determined based on the fitness function. In this case, the fitness function can be determined by the reciprocal of the voltage distortion rate determined by the above formula (8), and then the fitness information can be obtained. In this case, the lower the value of the voltage distortion rate, the higher the value of the fitness information.
[0159] In one example, the preset data selection method can be a roulette wheel selection algorithm. In this case, multiple load distribution node matrices to be mutated can be selected from the load distribution cluster according to the preset data selection method, which meet the power grid operation requirements and have high fitness information.
[0160] In one example, the preset intersection method can be a single-point intersection method, a multi-point intersection method, or a sequential intersection method, etc. There is no limitation on the preset intersection method here, and the actual needs shall prevail.
[0161] In one example, the preset crossover probability can indicate the probability of crossover processing between multiple load distribution node matrices to be mutated. In this case, by setting the preset crossover probability, the diversity of crossover mutation processing can be improved, thereby helping to quickly filter out matrices that meet the preset limit requirements. For example, the preset crossover probability can be set to 0.8.
[0162] In one example, a preset mutation probability can indicate the probability that the node connected to a single load will change. By setting the preset mutation probability, a random factor can be introduced, thereby further enhancing the diversity of crossover mutation processing. For instance, the preset crossover probability can be set to 0.1.
[0163] S207. Determine the second voltage distortion rate of the mutated load distribution node matrix.
[0164] In one example, the method for determining the second voltage distortion rate is the same as the method for determining the first voltage distortion rate described above, and will not be elaborated further here.
[0165] S208. If it is determined that the second voltage distortion rate meets the preset limit requirement, then the mutated load distribution node matrix is determined as the updated load distribution node matrix.
[0166] In one example, if it is determined that the second voltage distortion rate still does not meet the preset limit requirement, the next round of optimization can be performed according to the process described above to obtain a new updated load distribution node matrix, and the judgment can be made again until the preset limit requirement is met.
[0167] In another implementation, optimization processing can be performed based on pre-stored load distribution information to improve the speed of optimization processing, as described in S209 to S210 below.
[0168] S209. Determine the load types and quantities included in the load distribution node matrix.
[0169] S210. From the preset load distribution node matrix, determine a new load distribution node matrix that matches the load type and load quantity, and set the new load distribution node matrix as the updated load distribution node matrix.
[0170] S211. Based on the updated load distribution node matrix, after adjusting the nodes to which the loads of the power grid are connected, power is supplied to the loads of the power grid in order to suppress the harmonics generated by the power grid.
[0171] Figure 3 This is a schematic diagram illustrating the implementation process of a power grid harmonic control method provided in an embodiment of this application, as shown below. Figure 3 As shown, this method can determine the load distribution node information in the power grid at time t based on the network architecture information of the power system, and then determine the load distribution node matrix.
[0172] At this point, the injected current, impedance characteristics, and power characteristics of each load can be determined based on the load distribution node information indicated by the load distribution node matrix.
[0173] Then, based on the injected current, impedance characteristics, and power characteristics of each load, the first voltage distortion rate of the power grid can be determined. At this point, it can be determined whether the first voltage distortion rate meets the preset limit requirements.
[0174] If the conditions are met, monitoring will continue at time t+1.
[0175] If the conditions are not met, the distribution node information of the load included in the load distribution node matrix is optimized according to the genetic algorithm so that the second voltage distortion rate corresponding to the updated load distribution node matrix meets the preset limit requirement. Then, according to the updated load distribution node matrix, the nodes connected to the load of the power grid are adjusted to supply power to the load of the power grid, so as to suppress the harmonics generated by the power grid and thus avoid the generation of harmonic resonance in the power grid.
[0176] Figure 4 This is a schematic diagram of the structure of a power grid harmonic control device provided in an embodiment of this application, as shown below. Figure 4 As shown, the power grid harmonic control device 40 provided in this embodiment includes:
[0177] The first determining unit 401 is used to determine the load distribution node matrix of the power grid based on the network architecture information of the power system; wherein the power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load.
[0178] The second determining unit 402 is used to determine the first voltage distortion rate of the power grid based on the load distribution node information indicated by the load distribution node matrix.
[0179] The optimization processing unit 403 is used to optimize the load distribution node information included in the load distribution node matrix if it is determined that the first voltage distortion rate does not meet the preset limit requirement, so as to obtain an updated load distribution node matrix.
[0180] The power supply adjustment unit 404 is used to adjust the nodes to which the loads of the power grid are connected according to the updated load distribution node matrix, and then supply power to the loads of the power grid to suppress the harmonics generated by the power grid.
[0181] Figure 5 A schematic diagram of another power grid harmonic control device provided in this application embodiment is shown below. Figure 5 As shown, the power grid harmonic control device 50 provided in this embodiment includes:
[0182] The first determining unit 501 is used to determine the load distribution node matrix of the power grid based on the network architecture information of the power system; wherein the power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load.
[0183] The second determining unit 502 is used to determine the first voltage distortion rate of the power grid based on the load distribution node information indicated by the load distribution node matrix.
[0184] The optimization processing unit 503 is used to optimize the load distribution node information included in the load distribution node matrix if it is determined that the first voltage distortion rate does not meet the preset limit requirement, so as to obtain an updated load distribution node matrix.
[0185] The power supply adjustment unit 504 is used to adjust the nodes to which the loads of the power grid are connected according to the updated load distribution node matrix, and then supply power to the loads of the power grid to suppress the harmonics generated by the power grid.
[0186] In one possible implementation, the optimization processing unit 503 is configured to:
[0187] According to the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix is updated to obtain the modified load distribution node matrix.
[0188] Determine the second voltage distortion rate of the mutated load distribution node matrix;
[0189] If it is determined that the second voltage distortion rate meets the preset limit requirement, then the mutated load distribution node matrix is determined as the updated load distribution node matrix.
[0190] In one possible implementation, the preset power grid update requirements include load distribution requirements and power grid operation requirements; in this case, the optimization processing unit 503 is used to:
[0191] The load distribution cluster is initialized according to the load distribution requirements; the load distribution cluster includes multiple initialized load distribution node matrices.
[0192] Based on the power grid operation requirements and the fitness information corresponding to each initialized load distribution node matrix, multiple load distribution node matrices to be mutated are selected from the load distribution cluster according to the preset data selection method.
[0193] Based on the preset crossover method, preset crossover probability, preset mutation probability, and power grid operation requirements, multiple load distribution node matrices to be mutated are subjected to crossover mutation processing to obtain the mutated load distribution node matrix.
[0194] In one possible implementation, the load distribution requirement indicates the number of nodes that each load can access, as determined based on the network architecture information of the power system.
[0195] The power grid operation requirements include: node fundamental voltage requirements, line transmission power requirements, and load switching frequency requirements. Among them, the node fundamental voltage requirement indicates that the node fundamental voltage of each node in the power grid meets the upper and lower voltage limits; the line transmission power requirement indicates that the sum of the load power corresponding to each node in the power grid meets the maximum allowable power of the node; and the load switching frequency requirement indicates that the number of times each load in the power grid switches to the connected nodes within the target time period meets the switching frequency requirement.
[0196] In one possible implementation, the optimization processing unit 503 is configured to:
[0197] Based on the load distribution node information indicated by the load distribution node matrix, determine the load type and load quantity included in the current power grid;
[0198] From the preset load distribution node matrix, a new load distribution node matrix that matches the load type and load quantity is determined, and the new load distribution node matrix is set as the updated load distribution node matrix.
[0199] In one possible implementation, the second determining unit 502 is configured to:
[0200] Based on the load distribution node information indicated by the load distribution node matrix, the harmonic voltage information of each node in the power grid is determined.
[0201] The third voltage distortion rate of each node is determined by the ratio between the harmonic voltage information of each node and the fundamental voltage of the corresponding node.
[0202] The first voltage distortion rate is obtained by weighted summation of the third voltage distortion rate at each node.
[0203] In one possible implementation, the second determining unit 502 is configured to:
[0204] Determine the current information injected into the corresponding node for each load in the power grid, as well as the admittance information corresponding to each load;
[0205] Based on the load distribution node information, current information, and admittance information indicated by the load distribution node matrix, the admittance matrix and injection current matrix corresponding to the power grid are determined.
[0206] The harmonic voltage information of each node is determined based on the admittance matrix and the injected current matrix.
[0207] The power grid harmonic control device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0208] Figure 6 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 6 As shown, the computer device 60 provided in this embodiment includes at least one processor 601 and a memory 602. Optionally, the computer device 60 further includes a communication component 603. The processor 601, memory 602, and communication component 603 are connected via a bus 604.
[0209] In a specific implementation, at least one processor 601 executes computer execution instructions stored in memory 602, causing at least one processor 601 to perform the above-described method.
[0210] The specific implementation process of processor 601 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0211] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0212] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0213] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0214] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0215] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0216] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0217] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0218] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0219] The units described as separate components may or may not be physically separate. 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 the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0220] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0221] If a function 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 this invention, or the part that contributes to the prior art, or a 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 to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0222] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0223] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for controlling power grid harmonics, characterized in that, The method includes: Based on the network architecture information of the power system, the load distribution node matrix of the power grid is determined; wherein, the power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load; Based on the load distribution node information indicated by the load distribution node matrix, the first voltage distortion rate of the power grid is determined; If it is determined that the first voltage distortion rate does not meet the preset limit requirement, the load distribution node information included in the load distribution node matrix is optimized to obtain an updated load distribution node matrix. Based on the updated load distribution node matrix, the nodes to which the loads of the power grid are connected are adjusted, and power is supplied to the loads of the power grid to suppress the harmonics generated by the power grid.
2. The method according to claim 1, characterized in that, The load distribution node information included in the load distribution node matrix is optimized to obtain an updated load distribution node matrix, including: According to the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix is updated to obtain the mutated load distribution node matrix. Determine the second voltage distortion rate of the modified load distribution node matrix; If it is determined that the second voltage distortion rate meets the preset limit requirement, then the mutated load distribution node matrix is determined as the updated load distribution node matrix.
3. The method according to claim 2, characterized in that, The preset power grid update requirements include load distribution requirements and power grid operation requirements; based on the preset power grid update requirements, the distribution node information of the target load in the load distribution node matrix is updated to obtain a modified load distribution node matrix, including: The load distribution cluster is initialized according to the load distribution requirements to obtain the load distribution cluster; wherein the load distribution cluster includes multiple initialized load distribution node matrices; Based on the power grid operation requirements and the fitness information corresponding to each initialized load distribution node matrix, multiple load distribution node matrices to be mutated are selected from the load distribution cluster according to a preset data selection method. Based on the preset crossover method, preset crossover probability, preset mutation probability, and the power grid operation requirements, the multiple load distribution node matrices to be mutated are subjected to crossover mutation processing to obtain the mutated load distribution node matrix.
4. The method according to claim 3, characterized in that, The load distribution requirements indicate the number of nodes that each load can access, as determined based on the network architecture information of the power system. The power grid operation requirements include: node fundamental voltage requirements, line transmission power requirements, and load switching frequency requirements; wherein, the node fundamental voltage requirement indicates that the node fundamental voltage of each node in the power grid meets the upper and lower voltage limits; the line transmission power requirement indicates that the sum of the load power corresponding to each node in the power grid meets the maximum allowable power of the node; and the load switching frequency requirement indicates that the number of times each load in the power grid switches to the connected nodes within a target time period meets the switching frequency requirement.
5. The method according to claim 1, characterized in that, The load distribution node information included in the load distribution node matrix is optimized to obtain an updated load distribution node matrix, including: Based on the load distribution node information indicated by the load distribution node matrix, the load type and load quantity included in the current power grid are determined; From the preset load distribution node matrix, a new load distribution node matrix that matches the load type and load quantity is determined, and the new load distribution node matrix is determined as the updated load distribution node matrix.
6. The method according to any one of claims 1-5, characterized in that, Based on the load distribution node information indicated by the load distribution node matrix, the first voltage distortion rate of the power grid is determined, including: Based on the load distribution node information indicated by the load distribution node matrix, the harmonic voltage information of each node in the power grid is determined; The third voltage distortion rate of each node is determined based on the ratio between the harmonic voltage information of each node and the fundamental voltage of the corresponding node. The first voltage distortion rate is obtained by weighted summation of the third voltage distortion rate of each node.
7. The method according to claim 6, characterized in that, Based on the load distribution node information indicated by the load distribution node matrix, the harmonic voltage information of each node in the power grid is determined, including: Determine the current information injected into the corresponding node for each load in the power grid, and the admittance information corresponding to each load; Based on the load distribution node information indicated by the load distribution node matrix, the current information, and the admittance information, the admittance matrix and injection current matrix corresponding to the power grid are determined. The harmonic voltage information of each node is determined based on the admittance matrix and the injection current matrix.
8. A power grid harmonic control device, characterized in that, The device includes: The first determining unit is used to determine the load distribution node matrix of the power grid based on the network architecture information of the power system; wherein the power grid includes at least one node and at least one load; the load distribution node matrix is used to indicate the distribution node information of the load; The second determining unit is used to determine the first voltage distortion rate of the power grid based on the load distribution node information indicated by the load distribution node matrix. An optimization processing unit is used to optimize the load distribution node information included in the load distribution node matrix if it is determined that the first voltage distortion rate does not meet the preset limit requirement, so as to obtain an updated load distribution node matrix. The power supply adjustment unit is used to adjust the nodes to which the loads of the power grid are connected according to the updated load distribution node matrix, and then supply power to the loads of the power grid to suppress the harmonics generated by the power grid.
9. A computer device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.