Capacitor switching method, electronic equipment and computer readable storage medium

By detecting the power factor of the power grid and the overcompensation capacity of the phase line, dynamically cutting or inputting the capacitor, the problem of poor flexibility and adaptability of the reactive compensation system during the load fluctuations and imbalance of the grid is solved, and the stability and compensation efficiency of the power grid are improved.

CN120280947AActive Publication Date: 2025-07-08DELIXI ELECTRIC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510772403.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-07-08
Estimated Expiration
2045-06-11

AI Technical Summary

Technical Problem

When dealing with grid load fluctuations and imbalances, existing reactive power compensation systems have poor flexibility and adaptability and low compensation efficiency, and cannot achieve dynamic optimization and adjustment of different capacitor types and capacity.

Method used

By detecting the power factor of the power grid, the overcompensation capacity of each phase line of the power grid is determined, and dynamically cut off or invest in co-compensation and subcompensation capacitors according to the relationship between the actual input capacity and the preset capacity to achieve accurate control of the capacitor.

Benefits of technology

It improves the flexibility and adaptability of the reactive power compensation system, significantly improves the stability and compensation efficiency of the power grid operation, and solves the problems of grid load fluctuations and three-phase imbalance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120280947A_ABST
    Figure CN120280947A_ABST
Patent Text Reader

Abstract

The invention provides a capacitor switching method, electronic equipment and a computer readable storage medium, and belongs to the technical field of power equipment. In the method, when it is detected that a first power factor of a power grid at the current moment is larger than a first preset power factor, first overcompensation capacities corresponding to three phase lines of the power grid are determined, and according to a comparison result of the first overcompensation capacities corresponding to the three phase lines and a preset capacity, the first overcompensation capacities corresponding to the three phase lines are calculated. And determining and cutting off the first target capacitor or the second target capacitor according to the relation between the actual input capacity of the capacitor input into the power grid and the first overcompensation capacity corresponding to all or part of the phase lines. Based on the first overcompensation capacity corresponding to the three phase lines and the actual input capacity of the capacitor input into the power grid, the capacitor is judged and cut off in real time, complex scenes such as power grid load fluctuation and three-phase imbalance can be effectively dealt with, the flexibility and adaptability of the reactive compensation system are improved, and the reactive compensation method is suitable for large-scale popularization and application. And the stability of power grid operation and the overall efficiency of a power system are obviously improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power equipment, and particularly to a method for switching capacitors, an electronic device, and a computer-readable storage medium. Background Art

[0002] In modern power systems, in order to ensure the stable and efficient operation of the power grid, it is usually necessary to effectively compensate the reactive power of the three-phase power grid through a reactive power compensation system.

[0003] In related technologies, the reactive power compensation system usually includes shunt capacitors and / or series capacitors with different capacities. Existing switching methods usually input or cut off capacitors in the order of "first shunt compensation, then series compensation, first large capacity, then small capacity", but this method fails to fully consider the real-time changes of the power grid load and the synergistic effect between different capacitors. Especially in the case of power grid load fluctuations or severe three-phase imbalance, the flexibility and adaptability of existing switching methods are poor, and dynamic optimization adjustment of different capacitor types and capacities cannot be achieved, resulting in low compensation efficiency and thus affecting the overall effect of the reactive power compensation system.

[0004] Therefore, when dealing with power grid load fluctuations and imbalances, the existing reactive power compensation system has poor flexibility and adaptability, and low compensation efficiency, which becomes an urgent problem to be solved. Summary of the Invention

[0005] This application provides a method for switching capacitors, an electronic device, and a computer-readable storage medium to solve the problems of poor flexibility and adaptability, and low compensation efficiency of the existing reactive power compensation system when dealing with power grid load fluctuations and imbalances.

[0006] In a first aspect, this application provides a method for switching capacitors, including: when it is detected that the first power factor of the power grid at the current moment is greater than the first preset power factor, determining the first over-compensation capacity corresponding to each of the three phase lines of the power grid; According to the comparison results of the first over-compensation capacity corresponding to the three phase lines with the preset capacity, and the relationship between the actual input capacity of the capacitors already input to the power grid and the first over-compensation capacity corresponding to all or some of the three phase lines, determining and cutting off the first target capacitor or the second target capacitor; Wherein, the first target capacitor is a capacitor that is input to the power grid in three phases, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest; the second over-compensation capacity is the smallest of the first over-compensation capacities; the first target capacitor is a shunt capacitor or a series capacitor; The second target capacitor is a split-compensation capacitor in which at least the first target phase is connected to the power grid, the actual connection capacity of the first target phase is greater than or equal to the first over-compensation capacity corresponding to the first target phase line, and the difference between the actual connection capacity of the first target phase and the first over-compensation capacity corresponding to the first target phase line is the smallest; the first target phase corresponds to the first target phase line, and the first target phase line is any one of the three phase lines in which the first over-compensation capacity is greater than the preset capacity.

[0007] In a second aspect, the present application provides a capacitor switching device, including: a module configured to execute the method described in the first aspect or various possible designs of the first aspect above.

[0008] In a third aspect, the present application provides an electronic device, including: a memory and at least one processor; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method described in the first aspect or various possible designs of the first aspect above.

[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed, the method described in the first aspect or various possible designs of the first aspect above is implemented.

[0010] In a fifth aspect, the present application provides a computer program product, in which computer program code is included, and when the computer program code runs on a computer, the computer is enabled to implement the method described in the first aspect or various possible designs of the first aspect above.

[0011] In a sixth aspect, the present application provides a chip, including: an interface circuit and a logic circuit, where the interface circuit is configured to receive a signal from another chip outside the chip and transmit it to the logic circuit, or send a signal from the logic circuit to another chip outside the chip, and the logic circuit is configured to implement the method described in the first aspect or various possible designs of the first aspect above.

[0012] The embodiments of the present application provide a method for switching capacitors, an electronic device, and a computer-readable storage medium. In this method, when it is detected that the first power factor of the power grid at the current moment is greater than the first preset power factor, the first over-compensation capacity corresponding to each of the three phase lines of the power grid is determined. Then, based on the comparison result between the first over-compensation capacity corresponding to the three phase lines and the preset capacity, and the relationship between the actual input capacity of the capacitors already put into the power grid and the first over-compensation capacity corresponding to all or some of the phase lines, the first target capacitor or the second target capacitor is determined and disconnected. Based on the first over-compensation capacity corresponding to the three phase lines and the actual input capacity of the capacitors already put into the power grid, the present application can determine and disconnect capacitors in real time, effectively avoiding the situation of excessive or insufficient reactive power compensation. By using the method provided by the present application, it is possible to more effectively handle complex scenarios such as power grid load fluctuations and three-phase imbalance, improve the flexibility and adaptability of the reactive power compensation system, and significantly improve the stability of the power grid operation and the overall efficiency of the power system. Description of the Drawings

[0013] Figure 1 FIG. is a schematic structural diagram of a reactive power compensation system provided by an embodiment of the present application; Figure 2 FIG. is a topological diagram of a main circuit of a common compensation type capacitor provided by an embodiment of the present application; Figure 3 FIG. is a topological diagram of a main circuit of a split compensation type capacitor provided by an embodiment of the present application; Figure 4 FIG. is a schematic flowchart of a method for switching capacitors provided by an embodiment of the present application; Figure 5 FIG. is a schematic flowchart of another method for switching capacitors provided by an embodiment of the present application; Figure 6 FIG. is a schematic flowchart of another method for switching capacitors provided by an embodiment of the present application; Figure 7 FIG. is a schematic flowchart of another method for switching capacitors provided by an embodiment of the present application; Figure 8 FIG. is a schematic flowchart of yet another method for switching capacitors provided by an embodiment of the present application; Figure 9 FIG. is a schematic structural diagram of a capacitor switching device provided by an embodiment of the present application; Figure 10 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0014] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Apparently, the described embodiments are part of rather than all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of this application without creative efforts fall within the scope of protection of this application.

[0015] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used in the description of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the description and claims of this application and the accompanying drawings are intended to cover non-exclusive inclusion.

[0016] Referring to "embodiments" herein means that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase "embodiments" appearing in various positions in the description is not necessarily referring to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those of ordinary skill in the art explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0017] The term "and / or" herein is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: the existence of A, the simultaneous existence of A and B, and the existence of B. In addition, the character " / " herein generally represents an "or" relationship between the associated objects before and after.

[0018] In addition, terms such as "first" and "second" in the description and claims of this application or the above-mentioned accompanying drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of such features.

[0019] In the description of this application, unless otherwise stated, "a plurality of" and "at least two" mean two or more (including two). Similarly, "multiple groups" and "at least two groups" mean two or more groups (including two groups).

[0020] In the description of this application, it should be noted that unless otherwise clearly specified and limited, the terms "connected" and "coupled" should be understood in a broad sense. For example, "connected" or "coupled" can refer not only to physical connection, but also to electrical connection or signal connection. For example, it can be a direct connection, that is, a physical connection, or it can be indirectly connected through at least one intermediate component, as long as the circuit is connected; signal connection can also refer to signal connection through a media medium in addition to signal connection through a circuit. For example, radio waves. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.

[0021] In order to enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be noted that, without conflict, different technical features in this application can be combined with each other.

[0022] Next, the implementation background of the technical solution provided by the embodiments of this application will be introduced.

[0023] In modern power grids, the compensation of reactive power is an important means to ensure the stable and efficient operation of the power grid. To achieve this goal, it is usually necessary to effectively compensate the reactive power of the three-phase power grid through a reactive power compensation system.

[0024] Figure 1 FIG. is a schematic structural diagram of a reactive power compensation system provided by an embodiment of this application. As Figure 1 shown, the reactive power compensation system includes a reactive power compensation controller and a plurality of capacitors.

[0025] The input terminals of the reactive power compensation controller are respectively electrically connected to the phase A UA, phase B UB, phase C UC and phase N UN of the three-phase power grid, and the output terminal of the reactive power compensation controller is electrically connected to a plurality of capacitors in a cascaded manner.

[0026] The plurality of capacitors may all be common compensation type capacitors, may all be split compensation type capacitors, or may be partially common compensation type capacitors and partially split compensation type capacitors. As Figure 1 shown, the plurality of capacitors include a common compensation type capacitor 1 and a common compensation type capacitor 2, as well as a split compensation type capacitor 1 and a split compensation type capacitor 2.

[0027] In the case where the capacitor is a common compensation type capacitor, the phase A, phase B and phase C of the common compensation type capacitor are respectively electrically connected to the phase A UA, phase B UB and phase C UC of the three-phase power grid.

[0028] Figure 2 FIG. is a topology diagram of the main circuit of a common compensation type capacitor provided by an embodiment of this application. As Figure 2As shown, the first relay group includes a first relay SA1 and a second relay SC1; the first capacitor group includes a first capacitor C1, a second capacitor C2, and a third capacitor C3, and the first capacitor C1, the second capacitor C2, and the third capacitor C3 are connected in a triangle.

[0029] The output terminal of the B-phase UB of the three-phase power grid is electrically connected to the common terminal of the first capacitor C1 and the second capacitor C2 (the connection terminal of the B-phase of the shunt capacitor); the output terminal of the A-phase UA of the three-phase power grid passes through the first relay SA1 and is electrically connected to the common terminal of the first capacitor C1 and the third capacitor C3 (the connection terminal of the A-phase of the shunt capacitor); the output terminal of the C-phase UC of the three-phase power grid passes through the second relay SC1 and is electrically connected to the common terminal of the second capacitor C2 and the third capacitor C3 (the connection terminal of the C-phase of the shunt capacitor).

[0030] By controlling the closing or opening of the first relay SA1 and the second relay SC1, the shunt capacitor is controlled to be put into the three-phase power grid or cut off from the three-phase power grid. In practical applications, the first relay SA1 and the second relay SC1 must be closed or opened simultaneously to perform reactive power compensation for the A-phase, B-phase, and C-phase of the three-phase power grid at the same time. When the first relay SA1 and the second relay SC1 are closed, the first capacitor C1, the second capacitor C2, and the third capacitor C3 are respectively connected between the AB phase, BC phase, and CA phase of the power grid, achieving the purpose of the shunt capacitor performing reactive power compensation for the A-phase, B-phase, and C-phase of the three-phase power grid at the same time. When the first relay SA1 and the second relay SC1 are opened, the common terminal of the first capacitor C1 and the second capacitor C2 is connected to the B-phase of the power grid, and the others are in an open state. The first capacitor group has no impact on the power grid, completing the operation of cutting off the shunt capacitor, that is, the shunt capacitor exits the power grid and does not perform reactive power compensation for the power grid.

[0031] In the case where the capacitor is a split capacitor, the A-phase, B-phase, C-phase, and N-phase of the split capacitor are respectively electrically connected to the A-phase UA, B-phase UB, C-phase UC, and N-phase UN of the three-phase power grid.

[0032] Figure 3 This is a topology diagram of the main circuit of a split capacitor provided by an embodiment of the present application. As Figure 2 shown, the second relay group includes a third relay SA2, a fourth relay SB, and a fifth relay SC2; the second capacitor group includes a fourth capacitor C4, a fifth capacitor C5, and a sixth capacitor C6, and the fourth capacitor C4, the fifth capacitor C5, and the sixth capacitor C6 are connected in a Y shape.

[0033] The output terminal of phase A, UA, of the three-phase power grid is electrically connected to one end of the fourth capacitor C4 (the connection end of phase A of the shunt compensation capacitor) through the third relay SA2. The output terminal of phase B, UB, of the three-phase power grid is electrically connected to one end of the fifth capacitor C5 (the connection end of phase B of the shunt compensation capacitor) through the fourth relay SB. The output terminal of phase C, UC, of the three-phase power grid is electrically connected to one end of the sixth capacitor C6 (the connection end of phase C of the shunt compensation capacitor) through the fifth relay SC2. The output terminal of phase N, UN, of the three-phase power grid is electrically connected to the other end of the fourth capacitor C4, the other end of the fifth capacitor C5, and the common end of the sixth capacitor C6 (phase N of the shunt compensation capacitor).

[0034] By controlling the third relay SA2 to close or open, the fourth capacitor C4 corresponding to phase A of the shunt compensation capacitor is put into phase A of the three-phase power grid or cut off from phase A of the three-phase power grid. By controlling the fourth relay SB to close or open, the fifth capacitor C5 corresponding to phase B of the shunt compensation capacitor is put into phase B of the three-phase power grid or cut off from phase B of the three-phase power grid. By controlling the fifth relay SC2 to close or open, the sixth capacitor C6 corresponding to phase C of the shunt compensation capacitor is put into phase C of the three-phase power grid or cut off from phase C of the three-phase power grid. In practical applications, the third relay SA2, the fourth relay SB, and the fifth relay SC2 can be closed or opened separately to achieve the purpose of the shunt compensation capacitor performing reactive power compensation on a certain phase of the three-phase power grid alone; the third relay SA2, the fourth relay SB, and the fifth relay SC2 can also be closed or opened together to achieve the purpose of the shunt compensation capacitor performing reactive power compensation on phases A, B, and C of the three-phase power grid simultaneously.

[0035] In the related art, the existing switching methods usually put in or cut off capacitors in the order of "first common compensation and then shunt compensation, first large capacity and then small capacity", but this method fails to fully consider the real-time changes of the grid load and the synergistic effect between different capacitors. Especially in the case of grid load fluctuations or severe three-phase imbalance, the flexibility and adaptability of the existing switching methods are poor, and it is impossible to achieve dynamic optimization adjustment of different capacitor types and capacities, resulting in low compensation efficiency and thus affecting the overall effect of the reactive power compensation system.

[0036] Next, through some specific embodiments and drawings, this application will be detailedly introduced on how to solve the problems of poor flexibility and adaptability and low compensation efficiency of the above reactive power compensation system when dealing with grid load fluctuations and imbalances.

[0037] Figure 4 It is a schematic flow diagram of a capacitor switching method provided by an embodiment of this application. As Figure 4 shown, the capacitor switching method provided by the embodiment of this application specifically includes S401 and S402, and S401 and S402 will be described in detail below.

[0038] It should be noted that the execution subject of the capacitor switching method provided in the embodiment of this application is a reactive power compensation controller.

[0039] S401. When the reactive power compensation controller detects that the first power factor of the power grid at the current moment is greater than the first preset power factor, determine the first over-compensation capacity corresponding to each of the three phase lines of the power grid.

[0040] Wherein, the power grid is a three-phase power grid, and the three phase lines of the power grid are divided into phase line A, phase line B, and phase line C.

[0041] Wherein, the first preset power factor is denoted as . It is the highest power factor allowed during the normal operation of the power grid. The value of can be set by the power grid management personnel themselves, and this embodiment does not make specific limitations thereto. For example, the value of is 0.95.

[0042] It should be noted that the first power factor is denoted as . In the case of , the reactive power compensation controller will consider that the power grid is over-compensated at the current moment. In order to avoid unnecessary fluctuations in the power grid, it is necessary to improve the power factor of the power grid by cutting off the capacitors already connected to the power grid.

[0043] It should be noted that in the case of , the reactive power compensation controller can determine the first over-compensation capacity corresponding to phase line A, phase line B, and phase line C respectively according to the difference between and . The method for the reactive power compensation controller to determine the first over-compensation capacity corresponding to phase line A, phase line B, and phase line C respectively according to the difference between and is a conventional method, and this embodiment will not elaborate on it.

[0044] Figure 5 is a schematic flowchart of another capacitor switching method provided in the embodiment of this application. As Figure 5 shown, before the reactive power compensation controller executes the method steps shown in S401, the reactive power compensation controller also needs to execute the method steps shown in S301 and S302, which are described in detail below.

[0045] S301. The reactive power compensation controller determines the first power factor of the power grid at the current moment.

[0046] It should be noted that for any moment, the method for the reactive power compensation controller to determine the power factor of the power grid at that moment is a conventional method, and this embodiment will not elaborate on it.

[0047] S302. The reactive power compensation controller determines whether the first power factor is greater than the first preset power factor.

[0048] It should be noted that, in the case where the reactive power compensation controller determines , the reactive power compensation controller executes the method steps shown in S401; in the case where the reactive power compensation controller determines , the reactive power compensation controller executes the method steps shown in S501.

[0049] S501. The reactive power compensation controller determines whether the first power factor is less than the second preset power factor.

[0050] Wherein, the second preset power factor is denoted as . is the lowest power factor allowed during the normal operation of the power grid, . The value of can be set by the power grid management personnel themselves, and this embodiment does not make specific limitations thereto. For example, the value of is 0.9.

[0051] It should be noted that, in the case of , the reactive power compensation controller will consider that the reactive power of the three-phase power grid at the current moment is too low, and it is necessary to improve the power factor of the power grid by putting capacitors into operation.

[0052] In the case where the reactive power compensation controller determines , the reactive power compensation controller executes the method steps shown in S502. In the case where the reactive power compensation controller determines that the first power factor is greater than or equal to the second preset power factor, that is, , the reactive power compensation controller executes the method steps shown in S504.

[0053] S504. The reactive power compensation controller controls all capacitors in the reactive power compensation system to maintain their current states.

[0054] It should be noted that, in the case of , it indicates that the first power factor is in an ideal and stable range, the power grid operates stably, there is neither a need for compensation (no need to put capacitors into operation) nor a risk of over-compensation (no need to cut off capacitors), and the reactive power compensation controller controls all capacitors in the reactive power compensation system to maintain their current states.

[0055] S402. The reactive power compensation controller determines and cuts off the first target capacitor or the second target capacitor according to the comparison result between the first over-compensation capacity corresponding to the three phase lines and the preset capacity, and the relationship between the actual input capacity of the capacitors already put into the power grid and the first over-compensation capacity corresponding to all or part of the three phase lines.

[0056] Among them, the preset capacity can be set by the grid management personnel themselves, and this embodiment does not make specific limitations on this.

[0057] For example, the preset capacity is 0.

[0058] Among them, the first target capacitor is a capacitor in which all three phases are connected to the grid, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest.

[0059] The second over-compensation capacity is the smallest first over-compensation capacity.

[0060] The first target capacitor is a common-compensation type capacitor or a split-compensation type capacitor.

[0061] Among them, the second target capacitor is a split-compensation type capacitor in which at least the first target phase is connected to the grid, the actual input capacity of the first target phase is greater than or equal to the first over-compensation capacity corresponding to the first target phase line, and the difference between the actual input capacity of the first target phase and the first over-compensation capacity corresponding to the first target phase line is the smallest.

[0062] Among them, the first target phase corresponds to the first target phase line, and the first target phase line is any one of the three phase lines in which the first over-compensation capacity is greater than the preset capacity.

[0063] It should be noted that the second target capacitor is a split-compensation type capacitor.

[0064] When the first target phase line is phase line A, the first target phase is phase A, and the A phase of the capacitor refers to the phase connected to phase line A of the grid; when the first target phase line is phase line B, the first target phase is phase B, and the B phase of the capacitor refers to the phase connected to phase line B of the grid; when the first target phase line is phase line C, the first target phase is phase C, and the C phase of the capacitor refers to the phase connected to phase line C of the grid.

[0065] An embodiment of the present application provides a capacitor switching method. When it is detected that the first power factor of the power grid at the current moment is greater than the first preset power factor, the first over-compensation capacity corresponding to each of the three phase lines of the power grid is determined. Then, based on the comparison result between the first over-compensation capacity corresponding to the three phase lines and the preset capacity, and the relationship between the actual input capacity of the capacitors already connected to the power grid and the first over-compensation capacity corresponding to all or some of the phase lines, the first target capacitor or the second target capacitor is determined and disconnected. Based on the first over-compensation capacity corresponding to the three phase lines and the actual input capacity of the capacitors already connected to the power grid, the present application can determine and disconnect capacitors in real time, effectively avoiding the situations of over-compensation or under-compensation of reactive power. Through the method provided by the present application, it is possible to more effectively handle complex scenarios such as power grid load fluctuations and three-phase unbalances, improving the flexibility and adaptability of the reactive power compensation system and significantly enhancing the stability of the power grid operation and the overall efficiency of the power system.

[0066] In the above embodiment, the reactive power compensation controller needs to determine and disconnect the first target capacitor or the second target capacitor based on the comparison result between the first over-compensation capacity corresponding to the three phase lines and the preset capacity, and the relationship between the actual input capacity of the capacitors already connected to the power grid and the first over-compensation capacity corresponding to all or some of the three phase lines. Next, the specific process of the reactive power compensation controller determining and disconnecting the first target capacitor or the second target capacitor will be described in detail.

[0067] Figure 6 is a schematic flowchart of another capacitor switching method provided by an embodiment of the present application. As Figure 6 shown, in a possible embodiment, the method steps shown in S402 can be implemented through S4021 to S4025, which will be described in detail below.

[0068] S4021. The reactive power compensation controller determines whether the first over-compensation capacity corresponding to the three phase lines is greater than the preset capacity.

[0069] It should be noted that when the first power factor is greater than the first preset power factor, for any one of the three phase lines, the first over-compensation capacity corresponding to this phase line is necessarily greater than or equal to the preset capacity. If the first over-compensation capacity corresponding to this phase line is greater than the preset capacity, it indicates that over-compensation has occurred on this phase line, and the capacitors already connected to this phase line need to be disconnected; if the first over-compensation capacity corresponding to this phase line is equal to the preset capacity, it indicates that over-compensation has not occurred on this phase line, and no switching control is required for the capacitors already connected to this phase line.

[0070] When the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller executes the method steps shown in S4022; when the first over-compensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, the reactive power compensation controller executes the method steps shown in S4024.

[0071] S4022: If the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller determines whether there is a first target capacitor based on the second over-compensation capacity.

[0072] It should be noted that when the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity, it indicates that over-compensation has occurred in phases A, B, and C of the power grid. The reactive power compensation controller needs to determine the smallest first over-compensation capacity among the first over-compensation capacities corresponding to phases A, B, and C as the second over-compensation capacity, and based on the second over-compensation capacity, determine whether there is a first target capacitor in the reactive power compensation system. So that in the case where there is a first target capacitor, by removing the first target capacitor, the capacity of the capacitors already invested in phases A, B, and C of the power grid can be effectively reduced by only removing one capacitor, thereby reducing the power factor of the power grid.

[0073] S4023: If there is a first target capacitor, the reactive power compensation controller removes the first target capacitor.

[0074] The specific method for the reactive power compensation controller to remove the first target capacitor is the same as the method for the existing reactive power compensation controller to remove capacitors, and this embodiment will not elaborate on it.

[0075] It should be noted that if there is a first target capacitor, after the reactive power compensation controller removes the first target capacitor, it ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 again. If there is no first target capacitor, the reactive power compensation controller executes the method steps shown in S4024.

[0076] S4024: If the first over-compensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, or there is no first target capacitor, the reactive power compensation controller determines whether there is a second target capacitor based on the first over-compensation capacity corresponding to the first target phase line.

[0077] Among them, the second target capacitor is a split-compensation type capacitor.

[0078] It should be noted that when the first over-compensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, it indicates that at least one of the A phase, B phase, and C phase of the power grid has not undergone over-compensation. The reactive power compensation controller needs to determine whether there is a second target capacitor corresponding to the first target phase line based on the first over-compensation capacity corresponding to each phase line (the first target phase line) with over-compensation (the first over-compensation capacity is greater than the preset capacity). In this way, subsequently, when there is a second target capacitor corresponding to the first target phase line, by disconnecting the second target capacitor corresponding to the first target phase line, the capacity of the capacitors already connected to the first target phase line can be effectively reduced.

[0079] In one implementation, the first target phase line is any one of the three phase lines with a first over-compensation capacity greater than the preset capacity. In this case, the number of first target phase lines is at least one, and the reactive power compensation controller needs to determine whether there is a second target capacitor corresponding to each first target phase line, and when there is a second target capacitor corresponding to the first target phase line, disconnect the second target capacitor corresponding to the first target phase line.

[0080] In another implementation, the first target phase line can also be the one with the largest first over-compensation capacity among the three phase lines. In this case, the number of first target phase lines is one, and the reactive power compensation controller only needs to determine whether there is a second target capacitor corresponding to this one first target phase line, and when there is a second target capacitor corresponding to the first target phase line, disconnect the second target capacitor corresponding to the first target phase line.

[0081] When the reactive power compensation controller determines whether there is a second target capacitor corresponding to the first target phase line, it first determines whether there are shunt capacitors connected to the power grid for at least the first target phase (the phase corresponding to the first target phase line) in the reactive power compensation system. If there are, then based on the actual connected capacity of the shunt capacitors for at least the first target phase connected to the power grid, it determines whether there is a shunt capacitor with an actual connected capacity greater than or equal to the first over-compensation capacity corresponding to the first target phase line; if there is a shunt capacitor with an actual connected capacity greater than or equal to the first over-compensation capacity corresponding to the first target phase line, then the shunt capacitor with the actual connected capacity closest to the first over-compensation capacity corresponding to the first target phase line is determined as the second target capacitor.

[0082] If there are no shunt capacitors for the first target phase connected to the power grid in the reactive power compensation system, it can be directly determined that there is no second target capacitor. If the actual connected capacities of the shunt capacitors for the first target phase connected to the power grid in the reactive power compensation system are all less than the first over-compensation capacity corresponding to the first target phase line, it can also be determined that there is no second target capacitor.

[0083] S4025. If there is a second target capacitor, the reactive power compensation controller disconnects the second target capacitor.

[0084] The specific method for the reactive power compensation controller to disconnect the second target capacitor is the same as the method for the existing reactive power compensation controller to disconnect the capacitor, and this embodiment will not elaborate on it.

[0085] It should be noted that for each first target phase line, if there is a second target capacitor corresponding to the first target phase line, after the reactive power compensation controller disconnects all the second target capacitors corresponding to the first target phase lines, it ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again. If there is no second target capacitor, the reactive power compensation controller executes the method steps shown in S403.

[0086] In this embodiment, first, it is judged whether over-compensation has occurred in all of the A-phase, B-phase, and C-phase in the power grid. If over-compensation has occurred in all of the A-phase, B-phase, and C-phase, it is determined whether there is a first target capacitor based on the second over-compensation capacity, and if there is a first target capacitor, the first target capacitor is disconnected in a timely manner to avoid unnecessary over-compensation and improve the stability of the power grid. If over-compensation has not occurred in some of the A-phase, B-phase, and C-phase, or there is no first target capacitor, it is determined whether there is a second target capacitor based on the first over-compensation capacity corresponding to each phase line where over-compensation has occurred, and if there is a second target capacitor, the second target capacitor is disconnected in a timely manner, further optimizing the capacitor disconnection process and avoiding over-compensation. Through dynamic and precise capacitor disconnection control, this embodiment improves the flexibility and adaptability of reactive power compensation, solves the problems of low compensation efficiency and insufficient system response in the existing technology, and significantly improves the stability and operation efficiency of the power grid.

[0087] In the above embodiment, the reactive power compensation controller needs to determine whether there is a first target capacitor based on the second over-compensation capacity. Next, the specific process for the reactive power compensation controller to determine whether there is a first target capacitor based on the second over-compensation capacity will be described in detail.

[0088] In a possible embodiment, the method steps shown in S4022 can be implemented through Sd1 to Sd3, and the following will describe Sd1 to Sd3 in detail.

[0089] Sd1. The reactive power compensation controller determines whether there is a first capacitor and / or a second capacitor based on the second over-compensation capacity.

[0090] Among them, the first capacitor is a split-compensation capacitor that is connected to the power grid in all three phases, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest.

[0091] It should be noted that when the reactive power compensation controller determines whether there is a first capacitor, it first determines whether there is a shunt compensation capacitor with all three phases connected to the power grid in the reactive power compensation system. If so, it then determines whether there is a shunt compensation capacitor with an actual input capacity greater than or equal to the second over-compensation capacity based on the actual input capacity of the shunt compensation capacitor with all three phases connected to the power grid. If there is a shunt compensation capacitor with an actual input capacity greater than or equal to the second over-compensation capacity and all three phases are connected to the power grid, the shunt compensation capacitor with all three phases connected to the power grid, an actual input capacity greater than or equal to the second over-compensation capacity, and the actual input capacity closest to the second over-compensation capacity is determined as the first capacitor.

[0092] If there is no shunt compensation capacitor with all three phases connected to the power grid in the reactive power compensation system, it can be directly determined that there is no first capacitor. If there is a shunt compensation capacitor with all three phases connected to the power grid in the reactive power compensation system, but the actual input capacities of the shunt compensation capacitors with all three phases connected to the power grid are all less than the second over-compensation capacity, it can also be determined that there is no first capacitor.

[0093] Among them, the second capacitor is a shunt compensation capacitor that is connected to the power grid, has an actual input capacity greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest.

[0094] It should be noted that when the reactive power compensation controller determines whether there is a second capacitor, it first determines whether there is a shunt compensation capacitor connected to the power grid in the reactive power compensation system. If so, it then determines whether there is a shunt compensation capacitor with an actual input capacity greater than or equal to the second over-compensation capacity based on the actual input capacity of the shunt compensation capacitor connected to the power grid. If there is a shunt compensation capacitor with an actual input capacity greater than or equal to the second over-compensation capacity and is connected to the power grid, the shunt compensation capacitor connected to the power grid with an actual input capacity greater than or equal to the second over-compensation capacity and the actual input capacity closest to the second over-compensation capacity is determined as the second capacitor.

[0095] If there is no shunt compensation capacitor connected to the power grid in the reactive power compensation system, it can be directly determined that there is no second capacitor. If there is a shunt compensation capacitor connected to the power grid in the reactive power compensation system, but the actual input capacities of the shunt compensation capacitors connected to the power grid are all less than the second over-compensation capacity, it can also be determined that there is no second capacitor.

[0096] It should be noted that when the reactive power compensation controller determines that there is a first capacitor and / or a second capacitor based on the second over-compensation capacity, the reactive power compensation controller executes the method steps shown in Sd2. When the reactive power compensation controller determines that there is no first capacitor and second capacitor based on the second over-compensation capacity, the reactive power compensation controller executes the method steps shown in Sd3.

[0097] Sd2. If there is a first capacitor and / or a second capacitor, the reactive power compensation controller determines that there is a first target capacitor.

[0098] Wherein, when there is a first capacitor, the first target capacitor is the first capacitor.

[0099] When there is a second capacitor, the first target capacitor is the second capacitor.

[0100] When there are a first capacitor and a second capacitor, and the actual input capacities of the first capacitor and the second capacitor are different, the first target capacitor is the capacitor with the smaller actual input capacity among the first capacitor and the second capacitor.

[0101] When there are a first capacitor and a second capacitor, and the actual input capacities of the first capacitor and the second capacitor are the same, the first target capacitor is the first capacitor.

[0102] It should be noted that when only the first capacitor exists, the reactive power compensation controller determines that there is a first target capacitor, and the first target capacitor is the first capacitor.

[0103] When only the second capacitor exists, the reactive power compensation controller determines that there is a first target capacitor, and the first target capacitor is the second capacitor.

[0104] When there are a first capacitor and a second capacitor at the same time, and the actual input capacities of the first capacitor and the second capacitor are different, the reactive power compensation controller determines that there is a first target capacitor, and the first target capacitor is the capacitor with the smaller actual input capacity among the first capacitor and the second capacitor.

[0105] When there are a first capacitor and a second capacitor at the same time, and the actual input capacities of the first capacitor and the second capacitor are the same, the reactive power compensation controller determines that there is a first target capacitor, and the first target capacitor is the first capacitor, and the first capacitor is a split-compensation type capacitor. That is, when the actual input capacities of the first capacitor and the second capacitor are the same, the split-compensation type capacitor (the first capacitor) is preferentially determined as the first target capacitor.

[0106] In this embodiment, when there are a first capacitor and a second capacitor with different actual input capacitances at the same time, the capacitor with the smaller actual input capacitance among the first capacitor and the second capacitor is determined as the first target capacitor; when there are a first capacitor and a second capacitor with the same actual input capacitance at the same time, the first capacitor is determined as the first target capacitor, which can more accurately identify the capacitor to be removed, avoid excessive impact on the power grid, and improve the flexibility and fineness of the capacitor removal operation. At the same time, it effectively balances the removal order of different types of capacitors, optimizes the dynamic regulation ability of reactive power compensation, and significantly improves the efficiency of the reactive power compensation system and the stability of the power grid operation.

[0107] Sd3. If there are no first capacitor and second capacitor, the reactive power compensation controller determines that there is no first target capacitor.

[0108] In this embodiment, based on the second over-compensation capacity, capacitors with actual input capacitances greater than or equal to the second over-compensation capacity and the smallest difference from the second over-compensation capacity are accurately selected from the shunt capacitors and the shunt-series capacitors that are all connected to the power grid in three phases, so as to dynamically determine the first target capacitor. The method of this embodiment can flexibly identify the type and specific capacitance of the capacitor to be removed, improve the accuracy of the capacitor removal operation and the flexibility of the reactive power compensation system, effectively improve the regulation efficiency of the reactive power compensation system and the stability of the power grid, and solve the problems of low efficiency and unbalanced compensation caused by the traditional fixed removal order.

[0109] In the above embodiment, there may be no first target capacitor and second target capacitor in the reactive power compensation system. Next, the method executed by the reactive power compensation controller when there is no first target capacitor and second target capacitor will be described in detail.

[0110] Figure 7 It is a schematic flow chart of another capacitor switching method provided by the embodiment of the present application. As Figure 7 shown, in a possible embodiment, the capacitor switching method provided by the embodiment of the present application further includes S403 to S408, which will be described in detail below.

[0111] S403. The reactive power compensation controller determines whether the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity.

[0112] Among them, the implementation method of the method step shown in S403 is the same as the implementation method of the method step shown in S4021 above, and this embodiment will not repeat it here.

[0113] It should be noted that in the absence of the second target capacitor, if the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller executes the method steps shown in S404; if the first over-compensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, the reactive power compensation controller executes the method steps shown in S406.

[0114] S404. If there is no second target capacitor and the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller determines whether there is a third target capacitor.

[0115] Among them, the third target capacitor is the capacitor that is connected to the power grid in three phases and has the largest actual input capacity. The third target capacitor is a common compensation type capacitor or a split compensation type capacitor.

[0116] It should be noted that when the first over-compensation capacities corresponding to the three phase lines are all greater than the preset capacity, it indicates that over-compensation has occurred in the A phase, B phase, and C phase of the power grid. Since there is no first target capacitor and second target capacitor in the reactive power compensation control system, the reactive power compensation controller further determines whether there is a third target capacitor in the reactive power compensation system. So that in the case of the existence of the third target capacitor, by removing the third target capacitor, the capacity of the capacitors already connected in the A phase, B phase, and C phase of the power grid can be effectively reduced by removing only one capacitor.

[0117] In the case of the existence of the third target capacitor, the reactive power compensation controller executes the method steps shown in S405; in the case of the absence of the third target capacitor, the reactive power compensation controller executes the method steps shown in S406.

[0118] S405. If there is a third target capacitor, the reactive power compensation controller removes the third target capacitor.

[0119] The specific method for the reactive power compensation controller to remove the third target capacitor is the same as the method for the existing reactive power compensation controller to remove the capacitor, and this embodiment will not elaborate on it.

[0120] It should be noted that if there is a third target capacitor, after the reactive power compensation controller removes the third target capacitor, it ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again.

[0121] S406. If there is no third target capacitor, or there is no second target capacitor and the first over-compensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, the reactive power compensation controller determines whether there is a fourth target capacitor corresponding to the first target phase line.

[0122] Among them, the fourth target capacitor is a shunt compensation capacitor that is at least connected to the power grid for the first target phase and has the largest actual connected capacity for the first target phase.

[0123] It should be noted that the reactive power compensation controller needs to determine whether there is a fourth target capacitor corresponding to the first target phase line, and when there is a fourth target capacitor corresponding to the first target phase line, cut off each fourth target capacitor corresponding to the first target phase line.

[0124] For any first target phase line, when the reactive power compensation controller determines whether there is a fourth target capacitor corresponding to the first target phase line, it first determines whether there is a shunt compensation capacitor that is at least connected to the power grid for the first target phase in the reactive power compensation system. If there is, the shunt compensation capacitor with the largest actual connected capacity for the first target phase is determined as the fourth target capacitor corresponding to the first target phase. If there is no shunt compensation capacitor that is connected to the power grid for the first target phase in the reactive power compensation system, it can be directly determined that there is no fourth target capacitor corresponding to the first target phase.

[0125] It should be noted that if there is a fourth target capacitor corresponding to the first target phase, after the reactive power compensation controller cuts off the fourth target capacitor, it ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again. If there is no fourth target capacitor corresponding to the first target phase, the reactive power compensation controller does not perform cut-off control on the capacitors in the reactive power compensation system, and at the next moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again.

[0126] S407: If there is a fourth target capacitor, the reactive power compensation controller cuts off the fourth target capacitor.

[0127] The specific method for the reactive power compensation controller to cut off the fourth target capacitor is the same as the method for the existing reactive power compensation controller to cut off capacitors, and this embodiment will not elaborate on it here.

[0128] In this embodiment, in the case where there is no second target capacitor and the first over-compensation capacities of the three phase lines are all greater than the preset capacity, all three phases in the reactive power compensation system are connected to the power grid, and the capacitor with the largest actual connected capacity is used as the third target capacitor, and the third target capacitor is disconnected, so as to quickly and effectively reduce the over-compensation capacity and avoid over-compensation of the power grid; in the case where the third target capacitor does not exist, or the second target capacitor does not exist and the first over-compensation capacity of at least one of the three phase lines is equal to the preset capacity, at least the first target phase is connected to the power grid, and the shunt capacitor with the largest actual connected capacity in the first target phase is used as the fourth target capacitor, and the fourth target capacitor is disconnected, thereby achieving precise disconnection adjustment for a specific phase line. The method of this embodiment effectively improves the flexibility and accuracy of capacitor disconnection, optimizes the reactive power compensation process, and significantly improves the stability and compensation efficiency of the power grid through hierarchical and prioritized selection and disconnection of target capacitors.

[0129] In the above embodiment, the reactive power compensation controller needs to determine whether there is a third target capacitor, and the third target capacitor is a shunt compensation type capacitor or a series compensation type capacitor. Next, the specific process of the reactive power compensation controller determining whether there is a third target capacitor will be described in detail.

[0130] In a possible embodiment, the method steps shown in S404 can be implemented through Sf1 to Sf3, and Sf1 to Sf3 will be described in detail below.

[0131] Sf1. The reactive power compensation controller determines whether there is a third capacitor and / or a fourth capacitor.

[0132] Among them, the third capacitor is a shunt compensation type capacitor with all three phases connected to the power grid and the largest actual connected capacity.

[0133] It should be noted that when the reactive power compensation controller determines whether there is a third capacitor, it first determines whether there is a shunt compensation type capacitor with all three phases connected to the power grid in the reactive power compensation system. If there is, the shunt compensation type capacitor with the largest actual connected capacity among those with all three phases connected to the power grid is determined as the third capacitor. If there is no shunt compensation type capacitor with all three phases connected to the power grid in the reactive power compensation system, it can be directly determined that there is no third capacitor.

[0134] Among them, the fourth capacitor is a series compensation type capacitor connected to the power grid and with the largest actual connected capacity.

[0135] It should be noted that when the reactive power compensation controller determines whether there is a fourth capacitor, it first determines whether there is a series compensation type capacitor connected to the power grid in the reactive power compensation system. If there is, the series compensation type capacitor with the largest actual connected capacity is determined as the fourth capacitor. If there is no series compensation type capacitor connected to the power grid in the reactive power compensation system, it can be directly determined that there is no fourth capacitor.

[0136] It should be noted that when the reactive power compensation controller determines that the third capacitor and / or the fourth capacitor exists, the reactive power compensation controller executes the method steps shown in Sf2; when the reactive power compensation controller determines that the third capacitor and the fourth capacitor do not exist, the reactive power compensation controller executes the method steps shown in Sf3.

[0137] Sf2: If the third capacitor and / or the fourth capacitor exists, the reactive power compensation controller determines that the third target capacitor exists.

[0138] Wherein, when the third capacitor exists, the third target capacitor is the third capacitor.

[0139] When the fourth capacitor exists, the third target capacitor is the fourth capacitor.

[0140] When the third capacitor and the fourth capacitor exist and the actual input capacities of the third capacitor and the fourth capacitor are different, the third target capacitor is the capacitor with the larger actual input capacity among the third capacitor and the fourth capacitor.

[0141] When the third capacitor and the fourth capacitor exist and the actual input capacities of the third capacitor and the fourth capacitor are the same, the third target capacitor is the third capacitor.

[0142] It should be noted that when only the third capacitor exists, the reactive power compensation controller determines that the third target capacitor exists, and the third target capacitor is the third capacitor.

[0143] When only the fourth capacitor exists, the reactive power compensation controller determines that the third target capacitor exists, and the third target capacitor is the fourth capacitor.

[0144] When the third capacitor and the fourth capacitor with different actual input capacities exist simultaneously, the reactive power compensation controller determines that the third target capacitor exists, and the third target capacitor is the capacitor with the larger actual input capacity among the third capacitor and the fourth capacitor.

[0145] When the third capacitor and the fourth capacitor with different actual input capacities exist simultaneously, the reactive power compensation controller determines that the third target capacitor exists, and the third target capacitor is the third capacitor.

[0146] In this embodiment, when there are a third capacitor and a fourth capacitor with different actual input capacitances at the same time, the actual input capacitances of the third capacitor and the fourth capacitor are both less than or equal to the second over-compensation capacitance. Therefore, the capacitor with the larger actual input capacitance among the third capacitor and the fourth capacitor is determined as the third target capacitor; in the case where the third capacitor and the fourth capacitor are the same, the third capacitor is determined as the third target capacitor. By removing the third target capacitor, the over-compensation capacitance can be more effectively reduced, the system instability caused by frequently removing capacitors with smaller capacitances can be avoided, the efficiency and flexibility of the removal control can be improved, and the power factor and voltage stability of the power grid can be further optimized.

[0147] Sf3. If there are no third capacitor and fourth capacitor, the reactive power compensation controller determines that there is no third target capacitor.

[0148] In this embodiment, according to the actual input capacitances and capacitor types of the split-phase compensation capacitors and the shunt compensation capacitors that are all connected to the power grid in three phases, the third target capacitor is dynamically determined, the capacitor types and specific capacitances that need to be removed are flexibly identified, the accuracy of the capacitor removal operation and the flexibility of the reactive power compensation system are improved, the adjustment efficiency of the reactive power compensation system and the stability of the power grid are effectively enhanced, and the problems of low efficiency and unbalanced compensation caused by the traditional fixed switching sequence are solved.

[0149] In the above embodiment, when the first power factor is less than or equal to the first preset power factor, the reactive power compensation controller needs to determine the magnitude relationship between the first power factor and the second preset power factor, and determine whether capacitor input control needs to be performed according to the magnitude relationship between the first power factor and the second preset power factor. Next, the specific process of the reactive power compensation controller determining whether capacitor input control needs to be performed will be described in detail.

[0150] As Figure 5 shown, in a possible embodiment, the capacitor switching method provided by the embodiment of the present application further includes S501 to S504, and S501 to S504 will be described in detail below.

[0151] S501. The reactive power compensation controller determines whether the first power factor is less than the second preset power factor.

[0152] Wherein, the second preset power factor is less than the first preset power factor, that is .

[0153] S502. If the first power factor is less than the second preset power factor, the reactive power compensation controller determines the first reactive power shortage corresponding to each of the three phase lines.

[0154] It should be noted that in In the case of, the reactive power compensation controller can be based on and The difference to determine the first reactive power shortage corresponding to phase line A, phase line B, and phase line C respectively. The method for the reactive power compensation controller to determine the first reactive power shortage corresponding to phase line A, phase line B, and phase line C respectively based on the difference between and is an existing method, and this embodiment will not elaborate on it.

[0155] S503. The reactive power compensation controller determines and connects the fifth target capacitor or the sixth target capacitor according to the comparison result between the first reactive power shortage corresponding to the three phase lines and the preset capacity, and the relationship between the connectable capacity of the capacitors not connected to the power grid and the first reactive power shortage corresponding to all or part of the three phase lines.

[0156] Among them, the fifth target capacitor is a capacitor that is not connected to the power grid in all three phases, whose connectable capacity is less than or equal to the second reactive power shortage, and the difference between the connectable capacity and the second reactive power shortage is the smallest.

[0157] The second reactive power shortage is the smallest first reactive power shortage.

[0158] The fifth target capacitor is a common compensation type capacitor or a split compensation type capacitor.

[0159] Among them, the sixth target capacitor is a split compensation type capacitor in which at least the second target phase is not connected to the power grid, the connectable capacity of the second target phase is less than or equal to the first reactive power shortage corresponding to the second target phase line, and the difference between the connectable capacity of the second target phase and the first reactive power shortage corresponding to the second target phase line is the smallest.

[0160] Among them, the second target phase corresponds to the second target phase line, and the second target phase line is any one of the three phase lines with the first reactive power shortage greater than the preset capacity.

[0161] When the second target phase line is phase line A, the second target phase is phase A, and the A phase of the capacitor refers to the phase connected to phase line A of the power grid; when the second target phase line is phase line B, the second target phase is phase B, and the B phase of the capacitor refers to the phase connected to phase line B of the power grid; when the second target phase line is phase line C, the second target phase is phase C, and the C phase of the capacitor refers to the phase connected to phase line C of the power grid.

[0162] In this embodiment, when it is detected that the first power factor of the power grid at the current moment is less than the second preset power factor, the first reactive power shortage corresponding to each of the three phase lines of the power grid is determined. Then, based on the comparison result between the first reactive power shortage corresponding to the three phase lines and the preset capacity, and the relationship between the available capacity of the capacitors not yet connected to the power grid and the first reactive power shortage corresponding to all or some of the phase lines, the fifth target capacitor or the sixth target capacitor is determined and connected. Based on the first reactive power shortage corresponding to the three phase lines and the available capacity of the capacitors not yet connected to the power grid, this application can determine and connect capacitors in real time, effectively avoiding the situation of insufficient reactive power compensation. Through the method provided by this application, it is possible to more effectively handle complex scenarios such as power grid load fluctuations and three-phase imbalance, improving the flexibility and adaptability of the reactive power compensation system, and significantly enhancing the stability of power grid operation and the overall efficiency of the power system.

[0163] In the above embodiment, the reactive power compensation controller needs to determine and connect the fifth target capacitor or the sixth target capacitor based on the comparison result between the first reactive power shortage corresponding to the three phase lines and the preset capacity, and the relationship between the available capacity of the capacitors not yet connected to the power grid and the first reactive power shortage corresponding to all or some of the three phase lines. Next, the specific process of how the reactive power compensation controller determines and connects the fifth target capacitor or the sixth target capacitor will be described in detail.

[0164] Figure 8 It is a schematic flowchart of another capacitor switching method provided by an embodiment of this application. As Figure 8 shown, in a possible embodiment, the method steps shown in S503 can be implemented through S5031 to S5035. The following will describe S5031 to S5035 in detail.

[0165] S5031. The reactive power compensation controller determines whether the first reactive power shortage corresponding to the three phase lines is greater than the preset capacity.

[0166] It should be noted that in the case where the first power factor is less than the second preset power factor, for any one of the three phase lines, the first reactive power shortage corresponding to this phase line must be greater than or equal to the preset capacity. If the first reactive power shortage corresponding to this phase line is greater than the preset capacity, it indicates that the reactive power compensation for this phase line is insufficient and a capacitor needs to be connected to this phase line; if the first over-compensation capacity corresponding to this phase line is equal to the preset capacity, it indicates that the reactive power compensation for this phase line is appropriate and no further capacitor needs to be connected to this phase line.

[0167] When the first reactive power shortage corresponding to the three phase lines is greater than the preset capacity, the reactive power compensation controller executes the method steps shown in S5032; when the first reactive power shortage corresponding to at least one of the three phase lines is equal to the preset capacity, the reactive power compensation controller executes the method steps shown in S5034.

[0168] S5032. If the first reactive power shortage amounts corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller determines whether there is a fifth target capacitor based on the second reactive power shortage amount.

[0169] It should be noted that when the first reactive power shortage amounts corresponding to the three phase lines are all greater than the preset capacity, it indicates that the reactive power compensation for the A-phase, B-phase, and C-phase of the power grid is insufficient. The reactive power compensation controller needs to determine the smallest first reactive power shortage amount among the first reactive power shortage amounts corresponding to the A-phase, B-phase, and C-phase as the second reactive power shortage amount, and based on the second reactive power shortage amount, determine whether there is a fifth target capacitor in the reactive power compensation system. In this way, when there is a fifth target capacitor in the subsequent process, by putting into operation the fifth target capacitor, the capacitor capacity of the A-phase, B-phase, and C-phase put into the power grid can be effectively increased by only putting into operation one capacitor, thereby realizing the reactive power compensation for the A-phase, B-phase, and C-phase of the power grid.

[0170] S5033. If there is a fifth target capacitor, the reactive power compensation controller puts into operation the fifth target capacitor.

[0171] The specific method for the reactive power compensation controller to put into operation the fifth target capacitor is the same as the method for the existing reactive power compensation controller to put into operation the capacitor, and this embodiment will not elaborate on this.

[0172] It should be noted that if there is a fifth target capacitor, after the reactive power compensation controller puts into operation the fifth target capacitor, it ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again. If there is no fifth target capacitor, the reactive power compensation controller executes the method steps shown in S5034.

[0173] S5034. If the first reactive power shortage amount corresponding to at least one of the three phase lines is equal to the preset capacity, or there is no fifth target capacitor, the reactive power compensation controller determines whether there is a sixth target capacitor corresponding to the second target phase line based on the first reactive power shortage amount corresponding to the second target phase line.

[0174] It should be noted that when the first reactive power shortage amount corresponding to at least one of the three phase lines is equal to the preset capacity, it indicates that at least one of the A-phase, B-phase, and C-phase of the power grid does not need reactive power compensation. The reactive power compensation controller needs to determine whether there is a sixth target capacitor corresponding to the second target phase line based on the first reactive power shortage amount corresponding to each phase line (the second target phase line) that needs reactive power compensation (the first reactive power shortage amount is greater than the preset capacity), so that in the subsequent process when there is a sixth target capacitor corresponding to the second target phase line, by putting into operation the sixth target capacitor corresponding to the second target phase line, the capacitor capacity already put into the second target phase line can be effectively increased.

[0175] In one embodiment, the second target phase line is any one of the three phase lines with the first reactive power shortage greater than the preset capacity. In this case, the number of second target phase lines is at least one. The reactive power compensation controller needs to determine whether there is a sixth target capacitor corresponding to each second target phase line, and when there is a sixth target capacitor corresponding to the second target phase line, disconnect the sixth target capacitor corresponding to the second target phase line.

[0176] In another embodiment, the second target phase line can also be the one with the largest first reactive power shortage among the three phase lines. In this case, the number of second target phase lines is one. The reactive power compensation controller only needs to determine whether there is a sixth target capacitor corresponding to this one second target phase line, and when there is a sixth target capacitor corresponding to the second target phase line, disconnect the sixth target capacitor corresponding to the second target phase line.

[0177] When the reactive power compensation controller determines whether there is a sixth target capacitor corresponding to the second target phase line, it first determines whether there is at least a shunt compensation capacitor of the second target phase (the phase corresponding to the second target phase line) that is not connected to the power grid in the reactive power compensation system. If so, then based on the available capacity of the second target phase of the shunt compensation capacitors of the second target phase that are not connected to the power grid, it determines whether there is a shunt compensation capacitor with the available capacity of the second target phase less than or equal to the first reactive power shortage corresponding to the second target phase line; if there is a shunt compensation capacitor with the available capacity of the second target phase less than or equal to the first reactive power shortage corresponding to the second target phase line, then the shunt compensation capacitor with the available capacity of the second target phase closest to the first reactive power shortage corresponding to the second target phase line is determined as the sixth target capacitor.

[0178] If there is no shunt compensation capacitor of the second target phase that is not connected to the power grid in the reactive power compensation system, it can be directly determined that there is no sixth target capacitor. If the available capacities of the second target phases of the shunt compensation capacitors of the second target phase that are not connected to the power grid in the reactive power compensation system are all greater than the first reactive power shortage corresponding to the second target phase line, it can also be determined that there is no sixth target capacitor.

[0179] S5035. If there is a sixth target capacitor, the reactive power compensation controller then connects the sixth target capacitor.

[0180] The specific method for the reactive power compensation controller to connect the sixth target capacitor is the same as the method for the existing reactive power compensation controller to connect capacitors, and this embodiment will not elaborate on it.

[0181] It should be noted that for each second target phase line, if there is a sixth target capacitor corresponding to the second target phase line, after the reactive power compensation controller inputs the sixth target capacitor on the second target phase line, it ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again. If there is no sixth target capacitor, the reactive power compensation controller also ends the capacitor switching control corresponding to the current moment, regards the next moment as the current moment, regards the second power factor of the power grid at the next moment as the first power factor, and executes the method steps shown in S301 above again.

[0182] In this embodiment, first, it is judged whether reactive power compensation is required for phases A, B, and C in the power grid. If reactive power compensation is required for phases A, B, and C, it is determined whether there is a fifth target capacitor based on the second reactive power shortage amount, and if there is a fifth target capacitor, the fifth target capacitor is input in time to improve the stability of the power grid; if some of phases A, B, and C do not require reactive power compensation, or there is no fifth target capacitor, it is determined whether there is a sixth target capacitor based on the first reactive power shortage amount corresponding to each phase line that requires reactive power compensation, and if there is a sixth target capacitor, the sixth target capacitor is input in time, further optimizing the capacitor input process and avoiding insufficient reactive power compensation. This embodiment improves the flexibility and adaptability of reactive power compensation through dynamic and precise capacitor input control, solves the problems of low compensation efficiency and insufficient system response in the prior art, and significantly improves the stability and operation efficiency of the power grid.

[0183] In the above embodiment, the reactive power compensation controller needs to determine whether there is a fifth target capacitor based on the second reactive power shortage amount. Next, the specific process of the reactive power compensation controller determining whether there is a fifth target capacitor based on the second reactive power shortage amount will be described in detail.

[0184] In a possible embodiment, the method steps shown in S5032 can be implemented by Se1 to Se5, and Se1 to Se5 will be described in detail below.

[0185] Se1. The reactive power compensation controller determines whether there is a fifth capacitor based on the second reactive power shortage amount.

[0186] Among them, the fifth capacitor is a common compensation type capacitor that has not been input into the power grid, the available input capacity is less than or equal to the second reactive power shortage amount, and the difference between the available input capacity and the second reactive power shortage amount is the smallest.

[0187] It should be noted that when the reactive power compensation controller determines whether there is a fifth capacitor, it first determines whether there is a shunt capacitor of the common compensation type that has not been connected to the power grid in the reactive power compensation system. If there is, it then determines whether there is a shunt capacitor of the common compensation type whose available capacity is less than or equal to the second reactive power shortage based on the available capacity of the shunt capacitor of the common compensation type that has not been connected to the power grid. If there is a shunt capacitor of the common compensation type whose available capacity is less than or equal to the second reactive power shortage and has not been connected to the power grid, the shunt capacitor of the common compensation type with an available capacity less than or equal to the second reactive power shortage and the available capacity closest to the second reactive power shortage that has not been connected to the power grid is determined as the fifth capacitor.

[0188] If there is no shunt capacitor of the common compensation type that has not been connected to the power grid in the reactive power compensation system, it can be directly determined that there is no fifth capacitor. If there is a shunt capacitor of the common compensation type that has not been connected to the power grid in the reactive power compensation system, but the available capacities of the shunt capacitors of the common compensation type that have not been connected to the power grid are all greater than the second reactive power shortage, it can also be determined that there is no fifth capacitor.

[0189] It should be noted that when the reactive power compensation controller determines that there is a fifth capacitor based on the second reactive power shortage, the reactive power compensation controller executes the method steps shown in Se2. When the reactive power compensation controller determines that there is no fifth capacitor based on the second reactive power shortage, the reactive power compensation controller executes the method steps shown in Se3.

[0190] Se2: If there is a fifth capacitor, the reactive power compensation controller determines that there is a fifth target capacitor, and the fifth target capacitor is the fifth capacitor.

[0191] Se3: If there is no fifth capacitor, the reactive power compensation controller determines whether there is a sixth capacitor based on the second reactive power shortage.

[0192] Among them, the sixth capacitor is a shunt capacitor of the split compensation type that has not been connected to the power grid in all three phases, whose available capacity is less than or equal to the second reactive power shortage, and the difference between the available capacity and the second reactive power shortage is the smallest.

[0193] It should be noted that when the reactive power compensation controller determines whether there is a sixth capacitor, it first determines whether there is a shunt capacitor of the split compensation type that has not been connected to the power grid in all three phases in the reactive power compensation system. If there is, it then determines whether there is a shunt capacitor of the split compensation type whose available capacity is less than or equal to the second reactive power shortage based on the available capacity of the shunt capacitor of the split compensation type that has not been connected to the power grid in all three phases. If there is a shunt capacitor of the split compensation type whose available capacity is less than or equal to the second reactive power shortage and has not been connected to the power grid in all three phases, the shunt capacitor of the split compensation type that has not been connected to the power grid in all three phases, whose available capacity is less than or equal to the second reactive power shortage, and the available capacity closest to the second reactive power shortage is determined as the sixth capacitor.

[0194] If there is no shunt capacitor in the reactive power compensation system that is not connected to the power grid in all three phases, it can be directly determined that there is no sixth capacitor. If there is a shunt capacitor in the reactive power compensation system that is not connected to the power grid in all three phases, but the available capacity of the shunt capacitor that is not connected to the power grid in all three phases is greater than the second reactive power shortage, it can also be determined that there is no sixth capacitor.

[0195] It should be noted that when the reactive power compensation controller determines the existence of the sixth capacitor based on the second reactive power shortage, the reactive power compensation controller executes the method steps shown in Se4; when the reactive power compensation controller determines the non-existence of the sixth capacitor based on the second reactive power shortage, the reactive power compensation controller executes the method steps shown in Se5.

[0196] Se4: If the sixth capacitor exists, the reactive power compensation controller determines that the fifth target capacitor exists, and the fifth target capacitor is the sixth capacitor.

[0197] Se5: If the sixth capacitor does not exist, the reactive power compensation controller determines that the fifth target capacitor does not exist.

[0198] In this embodiment, based on the second reactive power shortage, first, the capacitor with the available capacity less than or equal to the second reactive power shortage and the smallest difference from the second reactive power shortage among the shunt capacitors not connected to the power grid is used as the fifth capacitor. If the fifth capacitor exists, the fifth capacitor is directly used as the fifth target capacitor; if the fifth capacitor does not exist, then the capacitor with the available capacity less than or equal to the second reactive power shortage and the smallest difference from the second reactive power shortage among the shunt capacitors not connected to the power grid in all three phases is used as the sixth capacitor. If the sixth capacitor exists, the sixth capacitor is directly used as the fifth target capacitor. If the sixth capacitor does not exist, it is determined that the fifth target capacitor does not exist. The method of this embodiment determines the fifth target capacitor in the order of shunt capacitors first and then series capacitors, improving the accuracy of capacitor switching operations and the flexibility of the reactive power compensation system, effectively enhancing the regulation efficiency of the reactive power compensation system and the stability of the power grid, and solving the problems of low efficiency and unbalanced compensation caused by the traditional fixed switching sequence.

[0199] Figure 9 This is a schematic structural diagram of a capacitor switching device provided by an embodiment of the present application. As Figure 9 shown, the capacitor switching device 900 includes a first determination module 901 and a second determination module 902.

[0200] The first determination module 901 is configured to determine the first over-compensation capacity corresponding to the three phase lines of the power grid when it is detected that the first power factor of the power grid at the current moment is greater than the first preset power factor.

[0201] A second determination module 902, configured to determine and cut off a first target capacitor or a second target capacitor according to a comparison result between the first over-compensation capacities corresponding to three phase lines and a preset capacity, and a relationship between the actual input capacity of the capacitors already connected to the power grid and the first over-compensation capacities corresponding to all or some of the three phase lines.

[0202] Wherein, the first target capacitor is a capacitor that is connected to the power grid in three phases, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest; the second over-compensation capacity is the smallest first over-compensation capacity; the first target capacitor is a common compensation type capacitor or a split compensation type capacitor.

[0203] The second target capacitor is a split compensation type capacitor in which at least a first target phase is connected to the power grid, the actual input capacity of the first target phase is greater than or equal to the first over-compensation capacity corresponding to the first target phase line, and the difference between the actual input capacity of the first target phase and the first over-compensation capacity corresponding to the first target phase line is the smallest; the first target phase and the first target phase line.

[0204] It should be understood that the execution of the above corresponding processes by each module has been described in detail in the above method embodiments. For the sake of brevity, it will not be repeated here.

[0205] Figure 10 This is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 10 shown, the electronic device 1000 provided in this embodiment includes: a memory 1001 and a processor 1002.

[0206] Wherein, the memory 1001 may be an independent physical unit and may be connected to the processor 1002 through a bus 1003. The memory 1001 and the processor 1002 may also be integrated together and implemented by hardware, etc. The memory 1001 is used to store program instructions, and the processor 1002 calls the program instructions to execute the operations performed by the reactive power compensation controller in any of the above method embodiments.

[0207] Optionally, when part or all of the methods in the above embodiments are implemented by software, the above electronic device 1000 may also include only the processor 1002. The memory 1001 for storing programs is located outside the electronic device 1000. The processor 1002 is connected to the memory through a circuit / wire, and is used to read and execute the programs stored in the memory. The processor 1002 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. The processor 1002 may further include a hardware chip. The above hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0208] The memory 1001 may include a volatile memory, such as a random-access memory (RAM); the memory may also include a non-volatile memory, such as a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); the memory may further include a combination of the above types of memories.

[0209] Exemplarily, this application provides a chip, including: an interface circuit and a logic circuit. The interface circuit is configured to receive signals from other chips outside the chip and transmit them to the logic circuit, or send the signals from the logic circuit to other chips outside the chip. The logic circuit is configured to perform the operations executed by the reactive power compensation controller in the above method embodiments.

[0210] Exemplarily, this application provides a computer-readable storage medium, on which computer program instructions are stored. The computer program instructions are run by the processor of the electronic device, so that the electronic device performs the operations executed by the reactive power compensation controller in the above method embodiments.

[0211] Exemplarily, the present application provides a computer program product, which, when running on an electronic device, causes the electronic device to perform the operations executed by the reactive power compensation controller in the above method embodiments.

[0212] The above are only specific embodiments of the present application, enabling those skilled in the art to understand or implement the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments described herein, but rather to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for switching capacitors, characterized in that The method includes: When it is detected that the first power factor of the power grid at the current moment is greater than the first preset power factor, determining the first over-compensation capacity corresponding to each of the three phase lines of the power grid; According to the comparison result between the first over-compensation capacity corresponding to the three phase lines and the preset capacity, and the relationship between the actual input capacity of the capacitors already connected to the power grid and the first over-compensation capacity corresponding to all or some of the three phase lines, determining and disconnecting the first target capacitor or the second target capacitor; Wherein, the first target capacitor is a capacitor that is connected to all three phases of the power grid, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest; the second over-compensation capacity is the smallest of the first over-compensation capacities; the first target capacitor is a common compensation type capacitor or a split compensation type capacitor; The second target capacitor is a split compensation type capacitor in which at least the first target phase is connected to the power grid, the actual input capacity of the first target phase is greater than or equal to the first over-compensation capacity corresponding to the first target phase line, and the difference between the actual input capacity of the first target phase and the first over-compensation capacity corresponding to the first target phase line is the smallest; the first target phase corresponds to the first target phase line, and the first target phase line is any one of the three phase lines in which the first over-compensation capacity is greater than the preset capacity.

2. The method according to claim 1, wherein The step of determining and disconnecting the first target capacitor or the second target capacitor according to the comparison result between the first over-compensation capacity corresponding to the three phase lines and the preset capacity, and the relationship between the actual input capacity of the capacitors already connected to the power grid and the first over-compensation capacity corresponding to all or some of the three phase lines includes: Determining whether the first over-compensation capacity corresponding to the three phase lines is greater than the preset capacity; If the first over-compensation capacity corresponding to the three phase lines is greater than the preset capacity, determining whether there is a first target capacitor based on the second over-compensation capacity; If there is a first target capacitor, disconnecting the first target capacitor; If the first over-compensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, or there is no first target capacitor, determining whether there is a second target capacitor corresponding to the first target phase line based on the first over-compensation capacity corresponding to the first target phase line; If there is a second target capacitor, disconnecting the second target capacitor.

3. The method according to claim 2, wherein The step of determining whether there is a first target capacitor based on the second over-compensation capacity includes: Based on the second over-compensation capacity, determining whether there is a first capacitor and / or a second capacitor; wherein, the first capacitor is a split compensation type capacitor that is connected to all three phases of the power grid, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest; the second capacitor is a common compensation type capacitor that is connected to the power grid, the actual input capacity is greater than or equal to the second over-compensation capacity, and the difference between the actual input capacity and the second over-compensation capacity is the smallest. If the first capacitor and / or the second capacitor exists, it is determined that the first target capacitor exists; wherein, when the first capacitor exists, the first target capacitor is the first capacitor; when the second capacitor exists, the first target capacitor is the second capacitor; when the first capacitor and the second capacitor exist and the actual input capacitances of the first capacitor and the second capacitor are different, the first target capacitor is the capacitor with the smaller actual input capacitance among the first capacitor and the second capacitor; when the first capacitor and the second capacitor exist and the actual input capacitances of the first capacitor and the second capacitor are the same, the first target capacitor is the first capacitor; If the first capacitor and the second capacitor do not exist, it is determined that the first target capacitor does not exist.

4. The method according to claim 2, wherein The method further includes: If the second target capacitor does not exist and the first over-compensation capacitances corresponding to the three phase lines are all greater than the preset capacitance, it is determined whether a third target capacitor exists; wherein, the third target capacitor is a capacitor that is connected to the power grid in all three phases and has the largest actual input capacitance; the third target capacitor is a common compensation type capacitor or a split compensation type capacitor; If the third target capacitor exists, the third target capacitor is disconnected; If the third target capacitor does not exist, or if the second target capacitor does not exist and the first over-compensation capacitance corresponding to at least one of the three phase lines is equal to the preset capacitance, it is determined whether a fourth target capacitor corresponding to the first target phase line exists; wherein, the fourth target capacitor is a split compensation type capacitor that is connected to the power grid in at least the first target phase and has the largest actual input capacitance in the first target phase; If the fourth target capacitor exists, the fourth target capacitor is disconnected.

5. The method according to claim 4, wherein The determining whether the third target capacitor exists includes: Determining whether a third capacitor and / or a fourth capacitor exists; wherein, the third capacitor is a split compensation type capacitor that is connected to the power grid in all three phases and has the largest actual input capacitance; the fourth capacitor is a common compensation type capacitor that is connected to the power grid and has the largest actual input capacitance; If the third capacitor and / or the fourth capacitor exists, it is determined that the third target capacitor exists; wherein, when the third capacitor exists, the third target capacitor is the third capacitor; when the fourth capacitor exists, the third target capacitor is the fourth capacitor; when the third capacitor and the fourth capacitor exist and the actual input capacitances of the third capacitor and the fourth capacitor are different, the third target capacitor is the capacitor with the larger actual input capacitance among the third capacitor and the fourth capacitor; when the third capacitor and the fourth capacitor exist and the actual input capacitances of the third capacitor and the fourth capacitor are the same, the third target capacitor is the third capacitor; If the third capacitor and the fourth capacitor do not exist, it is determined that the third target capacitor does not exist.

6. The method according to claim 1, wherein The method further includes: When it is detected that the first power factor is less than or equal to a first preset power factor, determining whether the first power factor is less than a second preset power factor; wherein, the second preset power factor is less than the first preset power factor; If the first power factor is less than the second preset power factor, determining first reactive power shortages corresponding to the three phase lines respectively; According to the comparison result between the first reactive power shortages corresponding to the three phase lines and the preset capacity, and the relationship between the available capacity of the capacitors not connected to the power grid and the first reactive power shortages corresponding to all or some of the three phase lines, determining and connecting a fifth target capacitor or a sixth target capacitor; Wherein, the fifth target capacitor is a capacitor that is not connected to the power grid in all three phases, the available capacity is less than or equal to a second reactive power shortage, and the difference between the available capacity and the second reactive power shortage is the smallest; the second reactive power shortage is the smallest of the first reactive power shortages; the fifth target capacitor is a common compensation type capacitor or a split compensation type capacitor; The sixth target capacitor is a split compensation type capacitor in which at least a second target phase is not connected to the power grid, the available capacity of the second target phase is less than or equal to the first reactive power shortage corresponding to the second target phase line, and the difference between the available capacity of the second target phase and the first reactive power shortage corresponding to the second target phase line is the smallest; the second target phase corresponds to the second target phase line, and the second target phase line is any one of the three phase lines in which the first reactive power shortage is greater than the preset capacity.

7. The method according to claim 6, wherein The determining and connecting a fifth target capacitor or a sixth target capacitor according to the comparison result between the first reactive power shortages corresponding to the three phase lines and the preset capacity, and the relationship between the available capacity of the capacitors not connected to the power grid and the first reactive power shortages corresponding to all or some of the three phase lines includes: Determining whether the first reactive power shortages corresponding to the three phase lines are all greater than the preset capacity; If the first reactive power shortages corresponding to the three phase lines are all greater than the preset capacity, determining whether there is the fifth target capacitor based on the second reactive power shortage; If there is the fifth target capacitor, connecting the fifth target capacitor; If the first reactive power shortage corresponding to at least one of the three phase lines is equal to the preset capacity, or there is no fifth target capacitor, determining whether there is the sixth target capacitor corresponding to the second target phase based on the first reactive power shortage corresponding to the second target phase line; If there is the sixth target capacitor, connecting the sixth target capacitor.

8. The method according to claim 7, wherein The determining whether there is the fifth target capacitor based on the second reactive power shortage includes: Based on the second reactive power deficit, determine whether there is a fifth capacitor, where the fifth capacitor is a shunt compensation capacitor that has not been connected to the power grid, the available capacity is less than or equal to the second reactive power deficit, and the difference between the available capacity and the second reactive power deficit is the smallest; If there is the fifth capacitor, determine that there is the fifth target capacitor, where the fifth target capacitor is the fifth capacitor; If there is no such fifth capacitor, based on the second reactive power deficit, determine whether there is a sixth capacitor, where the sixth capacitor is a split compensation capacitor with all three phases not connected to the power grid, the available capacity is less than or equal to the second reactive power deficit, and the difference between the available capacity and the second reactive power deficit is the smallest; If there is the sixth capacitor, determine that there is the fifth target capacitor, where the fifth target capacitor is the sixth capacitor; If there is no such sixth capacitor, determine that there is no fifth target capacitor.

9. An electronic device, characterized in that, Comprising: A memory and at least one processor; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Capacitive switching control method for inhibiting zero sequence and negative sequence current of distribution transformer

    CN102931659A

  • Reactive power compensation method

    CN104319787A

  • Capacitor switching method, intelligent capacitor device and electronic equipment

    CN119231557A

  • Switching control method and device based on reactive power compensation

    CN119582246A

  • Reactive power compensator

    JP2004236494A