Capacitor switching method, electronic device and computer-readable storage medium

By detecting the power factor of the power grid and dynamically cutting off the target capacitor, optimizing the capacitor turnover sequence, the flexibility and adaptability of the reactive compensation system in the power grid load fluctuations and imbalances are solved, and the grid stability and compensation efficiency are improved.

CN120280947BActive Publication Date: 2025-08-22DELIXI ELECTRIC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510772403.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-08-22
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 the target capacitors are dynamically cut off, including co-compensation and subcompensation capacitors, and the switching order of the capacitors is optimized.

Benefits of technology

It improves the flexibility and adaptability of the reactive power compensation system, significantly improves the stability of the power grid operation and the overall efficiency of the power system, and avoids excessive or insufficient reactive power compensation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120280947B_ABST
    Figure CN120280947B_ABST
Patent Text Reader

Abstract

The present application provides a capacitor switching method, electronic device and computer-readable storage medium, which belong to the field of power equipment technology. 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 overcompensation capacity corresponding to the three phase lines of the power grid is determined, and based on the comparison results of the first overcompensation capacity corresponding to the three phase lines and the preset capacity, as well as the relationship between the actual input capacity of the capacitors already put into the power grid and the first overcompensation capacity corresponding to all or part of the phase lines, the first target capacitor or the second target capacitor is determined and cut off. Based on the first overcompensation capacity corresponding to the three phase lines and the actual input capacity of the capacitors already put into the power grid, the present application judges and cuts off the capacitors in real time, which can effectively cope with complex scenarios such as power grid load fluctuations and three-phase imbalance, improves the flexibility and adaptability of the reactive compensation system, and significantly improves the stability of power grid operation and the overall efficiency of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power equipment, and in particular to a capacitor switching method, an electronic device, and a computer-readable storage medium. Background Art

[0002] In modern power systems, in order to ensure 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 compensation system.

[0003] In the related art, reactive power compensation systems usually include co-compensation capacitors and / or separate compensation capacitors of different capacities. The existing switching method usually switches capacitors in or out in the order of "co-compensation first, separate compensation later, large capacity first, small capacity later", but this method fails to fully consider the real-time changes in 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 method are poor, and it is impossible to achieve dynamic optimization and adjustment of different capacitor types and capacities, resulting in low compensation efficiency, thereby affecting the overall effect of the reactive power compensation system.

[0004] Therefore, the existing reactive power compensation system has poor flexibility and adaptability when dealing with grid load fluctuations and imbalances, and its low compensation efficiency has become a problem that needs to be solved urgently. Summary of the Invention

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

[0006] In a first aspect, the present application provides a capacitor switching method, comprising: determining first overcompensation capacities corresponding to three phase lines of the power grid respectively when detecting that a first power factor of the power grid at a current moment is greater than a first preset power factor;

[0007] Determining and removing a first target capacitor or a second target capacitor based on a comparison result of the first overcompensation capacity corresponding to the three phase lines and a preset capacity, and a relationship between the actual capacity of the capacitors already put into the power grid and the first overcompensation capacity corresponding to all or part of the three phase lines;

[0008] The first target capacitor is a capacitor whose three phases are all connected to the power grid, whose actual connected capacity is greater than or equal to the second overcompensation capacity, and whose difference between the actual connected capacity and the second overcompensation capacity is the smallest; the second overcompensation capacity is the smallest first overcompensation capacity; the first target capacitor is a co-compensation capacitor or a separate overcompensation capacitor;

[0009] 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 connected capacity of the first target phase is greater than or equal to the first overcompensation capacity corresponding to the first target phase line, and the difference between the actual connected capacity of the first target phase and the first overcompensation capacity corresponding to the first target phase line is minimized; the first target phase corresponds to the first target phase line, and the first target phase line is any phase line among the three phase lines whose first overcompensation capacity is greater than the preset capacity.

[0010] In a second aspect, the present application provides a capacitor switching device, comprising: a module for executing the method described in the first aspect or various possible designs of the first aspect.

[0011] In a third aspect, the present application provides an electronic device, comprising: a memory and at least one processor;

[0012] The memory stores computer-executable instructions;

[0013] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method described in the first aspect or various possible designs of the first aspect.

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

[0015] In a fifth aspect, the present application provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer implements the method described in the first aspect or various possible designs of the first aspect.

[0016] In the sixth aspect, the present application provides a chip comprising: an interface circuit and a logic circuit, wherein the interface circuit is used to receive signals from other chips outside the chip and transmit them to the logic circuit, or to send signals from the logic circuit to other chips outside the chip, and the logic circuit is used to implement the method described in the first aspect or various possible designs of the first aspect.

[0017] The embodiments of the present application provide a capacitor switching method, 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 overcompensation capacity corresponding to the three phase lines of the power grid is determined, and based on the comparison results of the first overcompensation 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 overcompensation capacity corresponding to all or part of the phase lines, the first target capacitor or the second target capacitor is determined and cut off. Based on the first overcompensation capacity corresponding to the three phase lines and the actual input capacity of the capacitors already put into the power grid, the present application judges and cuts off the capacitors in real time, which can effectively avoid excessive or insufficient reactive compensation. The method provided by the present application can more effectively cope with complex scenarios such as power grid load fluctuations and three-phase imbalance, improve the flexibility and adaptability of the reactive compensation system, and significantly improve the stability of power grid operation and the overall efficiency of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic structural diagram of a reactive power compensation system provided in an embodiment of the present application;

[0019] Figure 2 A topological diagram of a main circuit of a common-compensation capacitor provided in an embodiment of the present application;

[0020] Figure 3 A topological diagram of a main circuit of a split-compensation capacitor provided in an embodiment of the present application;

[0021] Figure 4 A schematic diagram of a flow chart of a capacitor switching method provided in an embodiment of the present application;

[0022] Figure 5 A schematic flow chart of another capacitor switching method provided in an embodiment of the present application;

[0023] Figure 6 A schematic flow chart of another capacitor switching method provided in an embodiment of the present application;

[0024] Figure 7 A schematic flow chart of another capacitor switching method provided in an embodiment of the present application;

[0025] Figure 8 A schematic flow chart of another capacitor switching method provided in an embodiment of the present application;

[0026] Figure 9 A schematic structural diagram of a capacitor switching device provided in an embodiment of the present application;

[0027] Figure 10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0028] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used in the specification of the 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 specification, claims and drawings of this application are intended to cover non-exclusive inclusions.

[0030] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiment" in various places in the specification does not necessarily refer to the same embodiment, nor does it necessarily refer to independent or alternative embodiments that are mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] The term "and / or" in this document simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists, A and B can exist at the same time, and B exists. Additionally, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

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

[0033] In the description of this application, unless otherwise specified, "multiple" and "at least two" mean more than two (including two). Similarly, "multiple groups" and "at least two groups" mean more than two groups (including two).

[0034] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "connected" and "connect" should be understood in a broad sense. For example, "connected" or "connected" can refer not only to physical connections, but also to electrical connections or signal connections. For example, it can be a direct connection, i.e., a physical connection, or an indirect connection through at least one intermediate element, as long as circuit connectivity is achieved. It can also refer to internal connectivity between two elements. Signal connection can refer not only to signal connection through circuits, but also to signal connection through media, such as radio waves. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

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

[0036] Below, the implementation background of the technical solution provided in the embodiment of this application is introduced.

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

[0038] Figure 1 This is a schematic diagram of the structure of a reactive power compensation system provided in an embodiment of the present application. Figure 1 As shown, the reactive power compensation system includes a reactive power compensation controller and multiple capacitors.

[0039] The input end of the reactive power compensation controller is electrically connected to phase A UA, phase B UB, phase C UC and phase N UN of the three-phase power grid respectively, and the output end of the reactive power compensation controller is electrically connected to multiple capacitors in a cascade manner.

[0040] The multiple capacitors may all be common-compensation capacitors, or they may all be separate-compensation capacitors, or some may be common-compensation capacitors and some may be separate-compensation capacitors. Figure 1 As shown, the plurality of capacitors include a common-complementary capacitor 1 and a common-complementary capacitor 2 , and a separate-complementary capacitor 1 and a separate-complementary capacitor 2 .

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

[0042] Figure 2 This is a topological diagram of the main circuit of a common compensation capacitor provided in an embodiment of the present application. 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.

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

[0044] By controlling the closing or opening of the first relay SA1 and the second relay SC1, the common-compensation capacitors are controlled to be connected to or removed from the three-phase power grid. In actual applications, the first relay SA1 and the second relay SC1 must be closed or opened simultaneously to simultaneously perform reactive power compensation for Phases A, B, and C of the three-phase power grid. 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 connected to Phases AB, BC, and CA of the power grid, respectively, achieving the goal of the common-compensation capacitors simultaneously performing reactive power compensation for Phases A, B, and C of the three-phase power grid. 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 Phase B of the power grid, while the other terminals are disconnected. The first capacitor group has no impact on the power grid, completing the common-compensation capacitor removal operation. That is, the common-compensation capacitors are removed from the power grid and no reactive power compensation is performed.

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

[0046] Figure 3 This is a topological diagram of a main circuit of a split-compensation capacitor provided in an embodiment of the present application. Figure 2 As 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.

[0047] The output end 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 split-compensation capacitor) through the third relay SA2, the output end 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 split-compensation capacitor) through the fourth relay SB, the output end 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 split-compensation capacitor) through the fifth relay SC2, and the output end 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 (the N phase of the split-compensation capacitor).

[0048] By controlling the third relay SA2 to close or open, the fourth capacitor C4 corresponding to phase A of the split-compensation capacitor is controlled to be connected to phase A of the three-phase power grid or cut out of 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 split-compensation capacitor is controlled to be connected to phase B of the three-phase power grid or cut out of 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 split-compensation capacitor is controlled to be connected to phase C of the three-phase power grid or cut out of phase C of the three-phase power grid. In actual 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 split-compensation capacitor performing reactive power compensation on a single phase of the three-phase power grid; 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 split-compensation capacitor performing reactive power compensation on phases A, B, and C of the three-phase power grid simultaneously.

[0049] In related technologies, existing switching methods typically implement or remove capacitors in the order of "combined compensation first, then distributed compensation, and large capacity first, then small capacity." However, this method fails to fully account for real-time changes in grid load and the synergistic effects between different capacitors. Especially in situations of grid load fluctuations or severe three-phase imbalance, existing switching methods lack flexibility and adaptability, and are unable to dynamically optimize the adjustment of different capacitor types and capacities, resulting in low compensation efficiency and thus affecting the overall effectiveness of the reactive power compensation system.

[0050] Next, some specific embodiments and drawings are used to describe in detail how the present application solves the problems of poor flexibility and adaptability and low compensation efficiency of the above-mentioned reactive power compensation system when dealing with grid load fluctuations and imbalances.

[0051] Figure 4 This is a flow chart of a capacitor switching method provided in an embodiment of the present application. Figure 4 As shown, the capacitor switching method provided in the embodiment of the present application specifically includes S401 and S402, and S401 and S402 are described in detail below.

[0052] It should be noted that the executor of the capacitor switching method provided in the embodiment of the present application is a reactive power compensation controller.

[0053] S401: When detecting that a first power factor of a power grid at a current moment is greater than a first preset power factor, a reactive power compensation controller determines first overcompensation capacities corresponding to three phase lines of the power grid.

[0054] 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.

[0055] The first preset power factor is recorded as . It is the highest power factor allowed during normal operation of the power grid. The value of can be set by the grid management personnel, and this embodiment does not specifically limit this. The value of is 0.95.

[0056] It should be noted that the first power factor is recorded as .exist In this case, the reactive power compensation controller will think that the grid is overcompensated at the current moment. In order to avoid unnecessary fluctuations in the grid, it is necessary to improve the grid power factor by removing the capacitors that have been put into the grid.

[0057] It should be noted that in In this case, the reactive power compensation controller can be used according to and The reactive power compensation controller determines the first overcompensation capacity corresponding to phase line A, phase line B and phase line C respectively. and The method for determining the first overcompensation capacity corresponding to phase line A, phase line B and phase line C respectively based on the difference between the values ​​of 0 and 1 is an existing method, which will not be described in detail in this embodiment.

[0058] Figure 5 This is a flow chart of another capacitor switching method provided in an embodiment of the present application. Figure 5 As 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. S301 and S302 are described in detail below.

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

[0060] It should be noted that, at any moment, the method by which the reactive power compensation controller determines the power factor of the power grid at that moment is an existing method, which will not be described in detail in this embodiment.

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

[0062] It should be noted that when the reactive compensation controller determines In the case of the reactive compensation controller performing the method steps shown in S401; when the reactive compensation controller determines In this case, the reactive power compensation controller executes the method steps shown in S501.

[0063] S501: The reactive power compensation controller determines whether a first power factor is less than a second preset power factor.

[0064] The second preset power factor is recorded as . It is the minimum power factor allowed during normal operation of the power grid. . The value of can be set by the grid management personnel, and this embodiment does not specifically limit this. The value of is 0.9.

[0065] It should be noted that in In this case, the reactive power compensation controller will think that the reactive power of the three-phase grid is too low at the current moment, and it is necessary to improve the grid power factor by adding capacitors.

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

[0067] S504: The reactive power compensation controller controls all capacitors in the reactive power compensation system to maintain a current state.

[0068] It should be noted that in In this case, it means that the first power factor is within an ideal and stable range, the grid operation is stable, there is no need for compensation (no need to put in capacitors), and there is no risk of overcompensation (no need to remove capacitors), and the reactive power compensation controller controls all capacitors in the reactive power compensation system to maintain the current state.

[0069] S402. The reactive power compensation controller determines and removes the first target capacitor or the second target capacitor based on a comparison result of the first overcompensation capacity corresponding to the three phase lines and the preset capacity, and a relationship between the actual input capacity of the capacitors already put into the grid and the first overcompensation capacity corresponding to all or part of the three phase lines.

[0070] The preset capacity may be set by the grid management personnel, and this embodiment does not impose any specific limitation on this.

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

[0072] The first target capacitor is a capacitor whose three phases are all connected to the grid, whose actual connected capacity is greater than or equal to the second overcompensation capacity, and whose difference between the actual connected capacity and the second overcompensation capacity is the smallest.

[0073] The second overcompensation capacity is the smallest first overcompensation capacity.

[0074] The first target capacitor is a common compensation capacitor or a separate compensation capacitor.

[0075] Among them, the second target capacitor is a split-compensation 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 overcompensation capacity corresponding to the first target phase line, and the difference between the actual input capacity of the first target phase and the first overcompensation capacity corresponding to the first target phase line is minimized.

[0076] The first target phase corresponds to the first target phase line, and the first target phase line is any phase line among the three phase lines whose first overcompensation capacity is greater than the preset capacity.

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

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

[0079] The 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 overcompensation capacity corresponding to the three phase lines of the power grid is determined, and based on the comparison results of the first overcompensation capacity corresponding to the three phase lines and the preset capacity, as well as the relationship between the actual input capacity of the capacitors already put into the power grid and the first overcompensation capacity corresponding to all or part of the phase lines, the first target capacitor or the second target capacitor is determined and cut off. Based on the first overcompensation capacity corresponding to the three phase lines and the actual input capacity of the capacitors already put into the power grid, the present application judges and cuts off the capacitors in real time, which can effectively avoid excessive or insufficient reactive compensation. The method provided by the present application can more effectively cope with complex scenarios such as power grid load fluctuations and three-phase imbalance, improve the flexibility and adaptability of the reactive compensation system, and significantly improve the stability of power grid operation and the overall efficiency of the power system.

[0080] In the above embodiment, the reactive power compensation controller determines and removes the first or second target capacitor based on a comparison of the first overcompensation capacities corresponding to the three phases with the preset capacities, as well as the relationship between the actual capacities of the capacitors already connected to the grid and the first overcompensation capacities corresponding to all or some of the three phases. The specific process by which the reactive power compensation controller determines and removes the first or second target capacitor is described in detail below.

[0081] Figure 6 This is a flow chart of another capacitor switching method provided in an embodiment of the present application. Figure 6 As shown, in a possible embodiment, the method steps shown in S402 can be implemented through S4021 to S4025, and S4021 to S4025 are described in detail below.

[0082] S4021. The reactive power compensation controller determines whether the first overcompensation capacities corresponding to the three phase lines are all greater than a preset capacity.

[0083] It should be noted that when the first power factor is greater than the first preset power factor, for any of the three phases, the first overcompensation capacity corresponding to that phase must be greater than or equal to the preset capacity. If the first overcompensation capacity corresponding to that phase is greater than the preset capacity, it indicates that overcompensation has occurred on that phase, and the capacitors connected to that phase need to be removed. If the first overcompensation capacity corresponding to that phase is equal to the preset capacity, it indicates that overcompensation has not occurred on that phase, and there is no need to control the switching of the capacitors connected to that phase.

[0084] When the first overcompensation capacity corresponding to the three phase lines is greater than the preset capacity, the reactive compensation controller executes the method steps shown in S4022; when the first overcompensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, the reactive compensation controller executes the method steps shown in S4024.

[0085] S4022: If the first overcompensation capacities corresponding to the three phase lines are all greater than the preset capacities, the reactive power compensation controller determines whether a first target capacitor exists based on the second overcompensation capacities.

[0086] It should be noted that when the first overcompensation capacities corresponding to the three phase lines are all greater than the preset capacity, it means that overcompensation has occurred in phases A, B and C of the power grid. The reactive compensation controller needs to determine the smallest first overcompensation capacity among the first overcompensation capacities corresponding to phases A, B and C as the second overcompensation capacity, and based on the second overcompensation capacity, determine whether there is a first target capacitor in the reactive compensation system, so that in the subsequent case where the first target capacitor exists, by cutting off the first target capacitor, the capacity of the capacitors already put into use in phases A, B and C of the power grid can be effectively reduced by cutting off only one capacitor, thereby reducing the power factor of the power grid.

[0087] S4023: If the first target capacitor exists, the reactive power compensation controller cuts off the first target capacitor.

[0088] 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 the capacitor, and will not be described in detail in this embodiment.

[0089] It should be noted that if the first target capacitor exists, the reactive power compensation controller terminates the capacitor switching control corresponding to the current moment after removing the first target capacitor, and 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 the first target capacitor does not exist, the reactive power compensation controller executes the method steps shown in S4024.

[0090] S4024. If the first overcompensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, or the first target capacitor does not exist, the reactive power compensation controller determines whether a second target capacitor exists based on the first overcompensation capacity corresponding to the first target phase line.

[0091] The second target capacitor is a split-compensation capacitor.

[0092] It should be noted that, when the first overcompensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, it means that at least one of the phases A, B and C of the power grid has not been overcompensated. The reactive compensation controller needs to determine whether there is a second target capacitor corresponding to the first target phase line based on the first overcompensation capacity corresponding to each phase line (first target phase line) where overcompensation has occurred (the first overcompensation capacity is greater than the preset capacity), so that in the event that the second target capacitor corresponding to the first target phase line exists, the second target capacitor corresponding to the first target phase line can be cut off to effectively reduce the capacitor capacity already put into use on the first target phase line.

[0093] In one embodiment, the first target phase line is any phase line among the three phase lines whose first overcompensation capacity is greater than a preset capacity. In this case, there is at least one first target phase line, and the reactive power compensation controller needs to determine whether a second target capacitor exists for each first target phase line. If a second target capacitor exists for each first target phase line, the controller disconnects the second target capacitor corresponding to the first target phase line.

[0094] In another embodiment, the first target phase line may be the phase line with the largest first overcompensation capacity among the three phase lines. In this case, there is only one first target phase line, and the reactive power compensation controller only needs to determine whether a second target capacitor corresponding to this first target phase line exists. If a second target capacitor corresponding to the first target phase line exists, the second target capacitor corresponding to the first target phase line is removed.

[0095] 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 is a separate compensation capacitor in the reactive power compensation system that is connected to the grid for at least the first target phase (the phase corresponding to the first target phase line); if so, based on the actual input capacity of the first target phase of the separate compensation capacitor connected to the grid for at least the first target phase, it is determined whether there is a separate compensation capacitor whose actual input capacity of the first target phase is greater than or equal to the first overcompensation capacity corresponding to the first target phase line; if there is a separate compensation capacitor whose actual input capacity of the first target phase is greater than or equal to the first overcompensation capacity corresponding to the first target phase line, the separate compensation capacitor whose actual input capacity of the first target phase is closest to the first overcompensation capacity corresponding to the first target phase line is determined as the second target capacitor.

[0096] If there are no separate compensation capacitors connected to the grid for the first target phase in the reactive power compensation system, it can be directly determined that there are no second target capacitors. If the actual input capacity of the first target phase of the separate compensation capacitors connected to the grid for the first target phase in the reactive power compensation system is less than the first overcompensation capacity corresponding to the first target phase line, it can also be determined that there are no second target capacitors.

[0097] S4025: If the second target capacitor exists, the reactive power compensation controller cuts off the second target capacitor.

[0098] The specific method for the reactive power compensation controller to remove the second target capacitor is the same as the method for the existing reactive power compensation controller to remove the capacitor, and will not be described in detail in this embodiment.

[0099] It should be noted that for each first target phase line, if a second target capacitor corresponding to the first target phase line exists, the reactive power compensation controller terminates capacitor switching control corresponding to the current moment after disconnecting all second target capacitors corresponding to the first target phase line, and 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 no second target capacitor exists, the reactive power compensation controller executes the method steps shown in S403.

[0100] In this embodiment, first, it is determined whether phases A, B, and C in the power grid have all experienced overcompensation. If so, the presence of a first target capacitor is determined based on the second overcompensation capacity. If the first target capacitor exists, the first target capacitor is promptly removed, thereby avoiding unnecessary overcompensation and improving power grid stability. If some of phases A, B, and C have not experienced overcompensation, or if the first target capacitor does not exist, the presence of a second target capacitor is determined based on the first overcompensation capacity corresponding to each overcompensated phase line. If the second target capacitor exists, the second target capacitor is promptly removed, further optimizing the capacitor removal process and avoiding overcompensation. This embodiment improves the flexibility and adaptability of reactive compensation through dynamic and precise capacitor removal control, solves the problems of low compensation efficiency and insufficient system response in the prior art, and significantly improves the stability and operational efficiency of the power grid.

[0101] In the above embodiment, the reactive power compensation controller needs to determine whether the first target capacitor exists based on the second overcompensation capacity. Next, the specific process of the reactive power compensation controller determining whether the first target capacitor exists based on the second overcompensation capacity is described in detail.

[0102] In a possible embodiment, the method steps shown in S4022 may be implemented by Sd1 to Sd3 , which are described in detail below.

[0103] Sd1. The reactive power compensation controller determines whether the first capacitor and / or the second capacitor exist based on the second overcompensation capacity.

[0104] Among them, the first capacitor is a separate compensation type capacitor with all three phases connected to the power grid, an actual input capacity greater than or equal to the second overcompensation capacity, and a minimum difference between the actual input capacity and the second overcompensation capacity.

[0105] It should be noted that when the reactive compensation controller determines whether there is a first capacitor, it first determines whether there is a separate compensation type capacitor with all three phases connected to the grid in the reactive compensation system. If so, based on the actual input capacity of the separate compensation type capacitor with all three phases connected to the grid, it is determined whether there is a separate compensation type capacitor with an actual input capacity greater than or equal to the second overcompensation capacity; if there is a separate compensation type capacitor with an actual input capacity greater than or equal to the second overcompensation capacity and all three phases connected to the grid, the separate compensation type capacitor with all three phases connected to the grid, the actual input capacity greater than or equal to the second overcompensation capacity, and the actual input capacity closest to the second overcompensation capacity, is determined as the first capacitor.

[0106] If the reactive power compensation system does not have separate compensation capacitors with all three phases connected to the grid, it can be directly determined that the first capacitor does not exist. If the reactive power compensation system does have separate compensation capacitors with all three phases connected to the grid, but the actual input capacity of the separate compensation capacitors is less than the second overcompensation capacity, it can also be determined that the first capacitor does not exist.

[0107] The second capacitor is a common compensation capacitor which is connected to the power grid, has an actual input capacity greater than or equal to the second overcompensation capacity, and has the smallest difference between the actual input capacity and the second overcompensation capacity.

[0108] 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 common-compensation capacitor put into the grid in the reactive power compensation system. If so, based on the actual input capacity of the common-compensation capacitor put into the grid, it is determined whether there is a common-compensation capacitor whose actual input capacity is greater than or equal to the second over-compensation capacity; if there is a common-compensation capacitor put into the grid with an actual input capacity greater than or equal to the second over-compensation capacity, then the common-compensation capacitor whose actual input capacity is greater than or equal to the second over-compensation capacity and whose actual input capacity is closest to the second over-compensation capacity is determined as the second capacitor.

[0109] If there are no common-compensation capacitors connected to the grid in the reactive power compensation system, it can be directly determined that the second capacitor does not exist. If there are common-compensation capacitors connected to the grid in the reactive power compensation system, but the actual input capacity of the common-compensation capacitors connected to the grid is less than the second overcompensation capacity, it can also be determined that the second capacitor does not exist.

[0110] It should be noted that when the reactive compensation controller determines that there are the first capacitor and / or the second capacitor based on the second overcompensation capacity, the reactive compensation controller executes the method steps shown in Sd2; when the reactive compensation controller determines that there are no first capacitor and the second capacitor based on the second overcompensation capacity, the reactive compensation controller executes the method steps shown in Sd3.

[0111] Sd2. If the first capacitor and / or the second capacitor exist, the reactive power compensation controller determines that the first target capacitor exists.

[0112] In the case where the first capacitor exists, the first target capacitor is the first capacitor.

[0113] In the case where a second capacitor exists, the first target capacitor is the second capacitor.

[0114] In a case where 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 of the first capacitor and the second capacitor.

[0115] In a case where a first capacitor and a second capacitor exist and the actual input capacities of the first capacitor and the second capacitor are the same, the first target capacitor is the first capacitor.

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

[0117] In a case where only the second capacitor exists, the reactive power compensation controller determines that the first target capacitor exists, and the first target capacitor is the second capacitor.

[0118] When a first capacitor and a second capacitor exist at the same time and their actual input capacities are different, the reactive power compensation controller determines that a first target capacitor exists, and the first target capacitor is the capacitor with the smaller actual input capacity between the first capacitor and the second capacitor.

[0119] If both the first and second capacitors exist and their actual operating capacities are the same, the reactive power compensation controller determines that a first target capacitor exists and is the first capacitor, which is a split-compensation capacitor. That is, if the first and second capacitors have the same actual operating capacities, the split-compensation capacitor (the first capacitor) is prioritized as the first target capacitor.

[0120] In this embodiment, when a first capacitor and a second capacitor with different actual input capacities exist simultaneously, the capacitor with the smaller actual input capacity of the first and second capacitors is determined as the first target capacitor; when a first capacitor and a second capacitor with the same actual input capacity exist simultaneously, the first capacitor is determined as the first target capacitor. This allows for more accurate identification of the capacitors to be removed, avoiding excessive impact on the power grid and improving the flexibility and precision of capacitor removal operations. At the same time, it effectively balances the removal order of different types of capacitors, optimizes the dynamic adjustment capability of reactive power compensation, and significantly improves the efficiency of the reactive power compensation system and the stability of power grid operation.

[0121] Sd3: If the first capacitor and the second capacitor do not exist, the reactive power compensation controller determines that the first target capacitor does not exist.

[0122] In this embodiment, based on the second overcompensation capacity, the first target capacitor is dynamically determined by accurately screening the three-phase grid-connected separate-compensation and common-compensation capacitors whose actual input capacity is greater than or equal to the second overcompensation capacity and whose difference with the second overcompensation capacity is minimized. This method enables flexible identification of the type and specific capacity of capacitors to be removed, improving the accuracy of capacitor removal operations and the flexibility of the reactive power compensation system. This effectively enhances the regulation efficiency of the reactive power compensation system and the stability of the grid, and solves the problems of inefficiency and uneven compensation caused by the traditional fixed removal sequence.

[0123] In the above embodiment, the reactive power compensation system may not have the first target capacitor and the second target capacitor. Next, the method executed by the reactive power compensation controller when the first target capacitor and the second target capacitor do not exist will be described in detail.

[0124] Figure 7 This is a flow chart of another capacitor switching method provided in an embodiment of the present application. Figure 7 As shown, in a possible embodiment, the capacitor switching method provided in the embodiment of the present application further includes S403 to S408, and S403 to S408 are described in detail below.

[0125] S403: The reactive power compensation controller determines whether the first overcompensation capacities corresponding to the three phase lines are all greater than a preset capacity.

[0126] The implementation method of the method steps shown in S403 is the same as the implementation method of the method steps shown in the above S4021, and will not be repeated in this embodiment.

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

[0128] S404: If the second target capacitor does not exist, and the first overcompensation capacities corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller determines whether a third target capacitor exists.

[0129] The third target capacitor is a capacitor with the largest actual input capacity and all three phases are connected to the grid. The third target capacitor is a common compensation capacitor or a separate compensation capacitor.

[0130] It should be noted that when the first overcompensation capacity corresponding to the three phase lines is greater than the preset capacity, it means that overcompensation has occurred in phases A, B and C of the power grid. Since the first target capacitor and the second target capacitor do not exist in the reactive compensation control system, the reactive compensation controller further determines whether there is a third target capacitor in the reactive compensation system, so that in the subsequent case where the third target capacitor exists, by cutting off the third target capacitor, the capacity of the capacitors already put into use in phases A, B and C of the power grid can be effectively reduced by cutting off only one capacitor.

[0131] In the case that the third target capacitor exists, the reactive power compensation controller executes the method steps shown in S405 ; in the case that the third target capacitor does not exist, the reactive power compensation controller executes the method steps shown in S406 .

[0132] S405 : If the third target capacitor exists, the reactive power compensation controller cuts off the third target capacitor.

[0133] 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 will not be described in detail in this embodiment.

[0134] It should be noted that if there is a third target capacitor, the reactive compensation controller ends the capacitor switching control corresponding to the current moment after cutting off the third target capacitor, and 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 the above S301 again.

[0135] S406. If the third target capacitor does not exist, or the second target capacitor does not exist, and the first overcompensation 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.

[0136] The fourth target capacitor is a separate compensation type capacitor that is connected to the grid with at least the first target phase and has the largest actual connection capacity for the first target phase.

[0137] 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 if there is a fourth target capacitor corresponding to the first target phase line, cut off the fourth target capacitor corresponding to each first target phase line.

[0138] For any first target phase line, when the reactive power compensation controller determines whether a fourth target capacitor corresponding to the first target phase line exists, it first determines whether there is a split-compensation capacitor connected to the grid for at least the first target phase in the reactive power compensation system. If so, the split-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. If there is no split-compensation capacitor connected to the 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.

[0139] It should be noted that if there is a fourth target capacitor corresponding to the first target, the reactive power compensation controller terminates the capacitor switching control corresponding to the current moment after removing the fourth target capacitor, and 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, the reactive power compensation controller does not control the capacitor removal in the reactive power compensation system, and 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 at the next moment.

[0140] S407: If the fourth target capacitor exists, the reactive power compensation controller cuts off the fourth target capacitor.

[0141] 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 the capacitor, and will not be described in detail in this embodiment.

[0142] In this embodiment, when there is no second target capacitor and the first overcompensation capacity of the three phase lines is greater than the preset capacity, all three phases of the reactive compensation system are connected to the grid, and the capacitor with the largest actual input capacity is used as the third target capacitor, and the third target capacitor is cut off to ensure that the overcompensation capacity is quickly and effectively reduced to avoid excessive compensation of the grid; when the third target capacitor does not exist, or the second target capacitor does not exist and the first overcompensation 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 grid, and the sub-compensation capacitor with the largest actual input capacity of the first target phase is used as the fourth target capacitor, and the fourth target capacitor is cut off, thereby achieving precise cut-off adjustment for specific phase lines. The method of this embodiment effectively improves the flexibility and accuracy of capacitor cut-off through hierarchical and priority target capacitor selection and cut-off, optimizes the reactive compensation process, and significantly improves the stability and compensation efficiency of the grid.

[0143] In the above embodiment, the reactive power compensation controller needs to determine whether a third target capacitor exists, and the third target capacitor is a common compensation capacitor or a separate compensation capacitor. Next, the specific process of the reactive power compensation controller determining whether the third target capacitor exists is described in detail.

[0144] In a possible embodiment, the method steps shown in S404 may be implemented by Sf1 to Sf3 , which are described in detail below.

[0145] Sf1. The reactive power compensation controller determines whether the third capacitor and / or the fourth capacitor exist.

[0146] Among them, the third capacitor is a three-phase power-supply type capacitor with the largest actual power-supply capacity.

[0147] It should be noted that when the reactive power compensation controller determines whether a third capacitor exists, it first determines whether there are separate compensation capacitors in the reactive power compensation system with all three phases connected to the grid. If so, the separate compensation capacitor with the largest actual input capacity in all three phases connected to the grid is determined as the third capacitor. If there are no separate compensation capacitors in the reactive power compensation system with all three phases connected to the grid, it can be directly determined that the third capacitor does not exist.

[0148] Among them, the fourth capacitor is a common compensation capacitor that is put into the power grid and has the largest actual input capacity.

[0149] It should be noted that when the reactive power compensation controller determines whether the fourth capacitor exists, it first determines whether there is a common compensation capacitor connected to the grid in the reactive power compensation system. If so, the common compensation capacitor with the largest actual connected capacity is determined as the fourth capacitor. If there is no common compensation capacitor connected to the grid in the reactive power compensation system, it can be directly determined that the fourth capacitor does not exist.

[0150] It should be noted that when the reactive compensation controller determines that there are a third capacitor and / or a fourth capacitor, the reactive compensation controller executes the method steps shown in Sf2; when the reactive compensation controller determines that there are no third capacitors and fourth capacitors, the reactive compensation controller executes the method steps shown in Sf3.

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

[0152] In the case where a third capacitor exists, the third target capacitor is the third capacitor.

[0153] In the case where a fourth capacitor exists, the third target capacitor is the fourth capacitor.

[0154] When there are a third capacitor and a fourth capacitor, 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 between the third capacitor and the fourth capacitor.

[0155] When a third capacitor and a 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.

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

[0157] In a case where 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.

[0158] In the case that a third capacitor and a fourth capacitor having different actual input capacities exist at the same time, the reactive power compensation controller determines that a third target capacitor exists, and the third target capacitor is the capacitor having a larger actual input capacity between the third capacitor and the fourth capacitor.

[0159] In the case that a third capacitor and a fourth capacitor having different actual input capacities exist at the same time, the reactive power compensation controller determines that a third target capacitor exists, and the third target capacitor is the third capacitor.

[0160] In this embodiment, when a third capacitor and a fourth capacitor with different actual input capacities are both present, and the actual input capacities of the third and fourth capacitors are both less than or equal to the second overcompensation capacity, the capacitor with the larger actual input capacity of the third and fourth capacitors is determined as the third target capacitor. If the third and fourth capacitors are identical, the third capacitor is determined as the third target capacitor. By removing the third target capacitor, the overcompensation capacity can be more effectively reduced, avoiding system instability caused by frequent removal of smaller capacitors, improving the efficiency and flexibility of removal control, and further optimizing the power factor and voltage stability of the power grid.

[0161] Sf3. If the third capacitor and the fourth capacitor do not exist, the reactive power compensation controller determines that the third target capacitor does not exist.

[0162] In this embodiment, the third target capacitor is dynamically determined based on the actual input capacity and capacitor type of the separate compensation capacitors and the common compensation capacitors that are all put into the three-phase power grid, and the type and specific capacity of the capacitor to be removed are flexibly identified, thereby improving the accuracy of the capacitor removal operation and the flexibility of the reactive compensation system, effectively improving the regulation efficiency of the reactive compensation system and the stability of the power grid, and solving the problems of inefficiency and uneven compensation caused by the traditional fixed switching sequence.

[0163] 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 activation control is required based on the magnitude relationship between the first power factor and the second preset power factor. The specific process by which the reactive power compensation controller determines whether capacitor activation control is required is described in detail below.

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

[0165] S501: The reactive power compensation controller determines whether a first power factor is less than a second preset power factor.

[0166] The second preset power factor is smaller than the first preset power factor, that is, .

[0167] S502: If the first power factor is less than the second preset power factor, the reactive power compensation controller determines first reactive power shortages corresponding to the three phase lines.

[0168] It should be noted that in In this case, the reactive power compensation controller can be used according to and The reactive power compensation controller determines the first reactive power shortage corresponding to phase line A, phase line B and phase line C respectively. and The method for determining the first reactive power shortage corresponding to phase line A, phase line B and phase line C respectively based on the difference between the values ​​of the first reactive power shortage and the first reactive power shortage corresponding to phase line A, phase line B and phase line C is an existing method, which will not be described in detail in this embodiment.

[0169] S503. The reactive power compensation controller determines and puts into operation the fifth target capacitor or the sixth target capacitor based on the comparison result of 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 put into the grid and the first reactive power shortage corresponding to all or part of the three phase lines.

[0170] Among them, the fifth target capacitor is a capacitor whose three phases are not connected to the grid, whose connectable capacity is less than or equal to the second reactive power shortage, and whose connectable capacity has the smallest difference with the second reactive power shortage.

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

[0172] The fifth target capacitor is a common compensation capacitor or a separate compensation capacitor.

[0173] Among them, the sixth target capacitor is a split compensation capacitor in which at least the second target phase is not connected to the 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.

[0174] The second target phase corresponds to the second target phase line, and the second target phase line is any phase line among the three phase lines whose first reactive power shortage is greater than the preset capacity.

[0175] When the second target phase line is phase line A, the second target phase is phase A, and phase A of the capacitor refers to a 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 phase B of the capacitor refers to a 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 phase C of the capacitor refers to a phase connected to phase line C of the power grid.

[0176] 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 shortages corresponding to the three phase lines of the power grid are determined, and based on the comparison results of the first reactive power shortages corresponding to the three phase lines and the preset capacities, as well as the relationship between the investable capacity of the capacitors not put into the power grid and the first reactive power shortages corresponding to all or part of the phase lines, the fifth target capacitor or the sixth target capacitor is determined and invested. This application judges and invests capacitors in real time based on the first reactive power shortages corresponding to the three phase lines and the investable capacity of the capacitors not put into the power grid, which can effectively avoid the situation of insufficient reactive compensation. The method provided by this application can more effectively cope with complex scenarios such as power grid load fluctuations and three-phase imbalance, improve the flexibility and adaptability of the reactive compensation system, and significantly improve the stability of power grid operation and the overall efficiency of the power system.

[0177] In the above embodiment, the reactive power compensation controller determines and activates the fifth or sixth target capacitor based on a comparison of the first reactive power shortages corresponding to the three phases with the preset capacities, as well as the relationship between the available capacities of capacitors not yet connected to the grid and the first reactive power shortages corresponding to all or some of the three phases. The specific process by which the reactive power compensation controller determines and activates the fifth or sixth target capacitor is described in detail below.

[0178] Figure 8 A flow chart of another capacitor switching method provided in an embodiment of the present application. Figure 8 As shown, in a possible embodiment, the method steps shown in S503 can be implemented through S5031 to S5035, and S5031 to S5035 are described in detail below.

[0179] S5031. The reactive power compensation controller determines whether the first reactive power shortages corresponding to the three phase lines are all greater than a preset capacity.

[0180] It should be noted that when the first power factor is less than the second preset power factor, for any of the three phases, the first reactive power shortage corresponding to that phase must be greater than or equal to the preset capacity. If the first reactive power shortage corresponding to that phase is greater than the preset capacity, it indicates that reactive power compensation for that phase is insufficient, and capacitors are required for that phase. If the first overcompensation capacity corresponding to that phase is equal to the preset capacity, reactive power compensation for that phase is adequate, and capacitors are no longer required.

[0181] 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 phase line among the three phase lines is equal to the preset capacity, the reactive power compensation controller executes the method steps shown in S5034.

[0182] S5032: If the first reactive power shortages corresponding to the three phase lines are all greater than the preset capacity, the reactive power compensation controller determines whether a fifth target capacitor exists based on the second reactive power shortage.

[0183] It should be noted that when the first reactive power shortages corresponding to the three phase lines are all greater than the preset capacity, it means that the reactive compensation of phases A, B and C of the power grid is insufficient. The reactive compensation controller needs to determine the smallest first reactive power shortage among the first reactive power shortages corresponding to phases A, B and C as the second reactive power shortage, and determine whether there is a fifth target capacitor in the reactive compensation system based on the second reactive power shortage, so that in the subsequent case where the fifth target capacitor exists, by putting the fifth target capacitor into use, the capacitor capacity of phases A, B and C of the power grid can be effectively increased by putting only one capacitor into use, thereby realizing reactive compensation of phases A, B and C of the power grid.

[0184] S5033: If a fifth target capacitor exists, the reactive power compensation controller activates the fifth target capacitor.

[0185] The specific method for the reactive power compensation controller to put the fifth target capacitor into operation is the same as the method for the existing reactive power compensation controller to put the capacitor into operation, and will not be described in detail in this embodiment.

[0186] It should be noted that if the fifth target capacitor exists, the reactive power compensation controller terminates the capacitor switching control corresponding to the current moment after switching the fifth target capacitor, and 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 the fifth target capacitor does not exist, the reactive power compensation controller executes the method steps shown in S5034.

[0187] S5034. If the first reactive power shortage corresponding to at least one of the three phase lines is equal to the preset capacity, or the fifth target capacitor does not exist, 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 corresponding to the second target phase line.

[0188] It should be noted that, when the first reactive power shortage corresponding to at least one of the three phase lines is equal to the preset capacity, it means that at least one phase of the A, B and C phases 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 corresponding to each phase line (second target phase line) that needs reactive power compensation (the first reactive power shortage is greater than the preset capacity), so that in the event that the sixth target capacitor corresponding to the second target phase line exists, the capacity of the capacitor already put into use in the second target phase line can be effectively increased by putting the sixth target capacitor corresponding to the second target phase line into use.

[0189] In one embodiment, the second target phase line is any phase line among the three phase lines whose first reactive power shortage is greater than a preset capacity. In this case, there is at least one second target phase line, and the reactive power compensation controller needs to determine whether a sixth target capacitor exists for each second target phase line. If a sixth target capacitor exists for each second target phase line, the controller disconnects the sixth target capacitor.

[0190] In another embodiment, the second target phase line may be the phase line with the largest first reactive power shortage among the three phase lines. In this case, there is only one second target phase line, and the reactive power compensation controller only needs to determine whether a sixth target capacitor corresponding to this second target phase line exists. If a sixth target capacitor corresponding to the second target phase line exists, the sixth target capacitor corresponding to the second target phase line is disconnected.

[0191] 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 a split compensation capacitor in the reactive power compensation system that has not been put into the grid for at least the second target phase (the phase corresponding to the second target phase line); if so, based on the connectable capacity of the second target phase of the split compensation capacitor that has not been put into the grid for at least the second target phase, it is determined whether there is a split compensation capacitor whose connectable capacity for the second target phase is less than or equal to the first reactive power shortage corresponding to the second target phase line; if there is a split compensation capacitor whose connectable capacity for the second target phase is less than or equal to the first reactive power shortage corresponding to the second target phase line, the split compensation capacitor whose connectable capacity for the second target phase is closest to the first reactive power shortage corresponding to the second target phase line is determined as the sixth target capacitor.

[0192] If there are no separate compensation capacitors in the reactive power compensation system that are not connected to the grid for the second target phase, it can be directly determined that the sixth target capacitor does not exist. If the available capacity of the second target phase of the separate compensation capacitors in the reactive power compensation system that are not connected to the grid for the second target phase is greater than the first reactive power shortage corresponding to the second target phase line, it can also be determined that the sixth target capacitor does not exist.

[0193] S5035: If a sixth target capacitor exists, the reactive power compensation controller activates the sixth target capacitor.

[0194] The specific method for the reactive power compensation controller to put the sixth target capacitor into operation is the same as the method for the existing reactive power compensation controller to put the capacitor into operation, and will not be described in detail in this embodiment.

[0195] It should be noted that for each second target phase line, if a sixth target capacitor corresponding to the second target phase line exists, the reactive power compensation controller, after switching the sixth target capacitor on the second target phase line, terminates the capacitor switching control corresponding to the current moment, and 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 the sixth target capacitor does not exist, the reactive power compensation controller also terminates 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.

[0196] In this embodiment, first, it is determined whether phases A, B, and C in the power grid all require reactive compensation. If all phases A, B, and C require reactive compensation, then based on the second reactive power shortage, it is determined whether a fifth target capacitor exists. If the fifth target capacitor exists, the fifth target capacitor is promptly deployed to improve the stability of the power grid. If some of phases A, B, and C do not require reactive compensation, or if the fifth target capacitor does not exist, then based on the first reactive power shortage corresponding to each phase line requiring reactive compensation, it is determined whether a sixth target capacitor exists. If the sixth target capacitor exists, the sixth target capacitor is promptly deployed, further optimizing the capacitor deployment process and avoiding insufficient reactive compensation. This embodiment improves the flexibility and adaptability of reactive compensation through dynamic and precise capacitor deployment control, solves the problems of low compensation efficiency and insufficient system response in the prior art, and significantly improves the stability and operational efficiency of the power grid.

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

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

[0199] Se1. The reactive power compensation controller determines whether a fifth capacitor exists based on the second reactive power shortage.

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

[0201] 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 common-compensation capacitor in the reactive power compensation system that has not been put into the grid. If so, based on the available capacity of the common-compensation capacitor that has not been put into the grid, it determines whether there is a common-compensation capacitor whose available capacity is less than or equal to the second reactive power shortage. If there is a common-compensation capacitor whose available capacity is less than or equal to the second reactive power shortage and has not been put into the grid, the common-compensation capacitor whose available capacity is less than or equal to the second reactive power shortage and whose available capacity is closest to the second reactive power shortage and has not been put into the grid is determined as the fifth capacitor.

[0202] If there are no common-compensation capacitors not put into the grid in the reactive power compensation system, it can be directly determined that the fifth capacitor does not exist. If there are common-compensation capacitors not put into the grid in the reactive power compensation system, but the available capacity of the common-compensation capacitors not put into the grid is greater than the second reactive power shortage, it can also be determined that the fifth capacitor does not exist.

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

[0204] Se2. If the fifth capacitor exists, the reactive power compensation controller determines that the fifth target capacitor exists, and the fifth target capacitor is the fifth capacitor.

[0205] Se3. If the fifth capacitor does not exist, the reactive power compensation controller determines whether the sixth capacitor exists based on the second reactive power shortage.

[0206] Among them, the sixth capacitor is a separate compensation type capacitor whose three phases are not connected to the grid, whose input capacity is less than or equal to the second reactive power shortage, and whose input capacity has the smallest difference with the second reactive power shortage.

[0207] It should be noted that when the reactive compensation controller determines whether there is a sixth capacitor, it first determines whether there is a split-compensation capacitor in the reactive compensation system whose three phases are not put into the grid. If so, based on the investable capacity of the split-compensation capacitor whose three phases are not put into the grid, it determines whether there is a split-compensation capacitor whose investable capacity is less than or equal to the second reactive power shortage. If there is a split-compensation capacitor whose investable capacity is less than or equal to the second reactive power shortage and whose three phases are not put into the grid, the split-compensation capacitor whose three phases are not put into the grid, the investable capacity is less than or equal to the second reactive power shortage and whose investable capacity is closest to the second reactive power shortage is determined as the sixth capacitor.

[0208] If the reactive power compensation system does not contain any separate compensation capacitors whose three phases are not connected to the grid, it can be directly determined that the sixth capacitor does not exist. If the reactive power compensation system does contain any separate compensation capacitors whose three phases are not connected to the grid, but the available capacity of the separate compensation capacitors whose three phases are not connected to the grid is greater than the second reactive power shortage, it can also be determined that the sixth capacitor does not exist.

[0209] It should be noted that when the reactive compensation controller determines that there is a sixth capacitor based on the second reactive power shortage, the reactive compensation controller executes the method steps shown in Se4; when the reactive compensation controller determines that there is no sixth capacitor based on the second reactive power shortage, the reactive compensation controller executes the method steps shown in Se5.

[0210] 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.

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

[0212] In this embodiment, based on the second reactive power shortage, the capacitor whose available capacity is less than or equal to the second reactive power shortage and whose difference with the second reactive power shortage is the smallest among the common compensation capacitors that are not put into the grid is first 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, the capacitor whose available capacity is less than or equal to the second reactive power shortage and whose difference with the second reactive power shortage is the smallest among the separate compensation capacitors that are not put into the 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 common compensation capacitors first and separate compensation capacitors later, thereby improving the accuracy of capacitor operation and the flexibility of the reactive compensation system, effectively improving the regulation efficiency of the reactive compensation system and the stability of the grid, and solving the problems of low efficiency and uneven compensation caused by the traditional fixed switching order.

[0213] Figure 9 This is a schematic diagram of the structure of a capacitor switching device provided in an embodiment of the present application. Figure 9 As shown, the capacitor switching device 900 includes a first determining module 901 and a second determining module 902 .

[0214] The first determining module 901 is configured to determine first overcompensation capacities corresponding to the three phase lines of the power grid respectively when detecting that the first power factor of the power grid at the current moment is greater than a first preset power factor.

[0215] The second determination module 902 is configured to determine and remove the first target capacitor or the second target capacitor based on a comparison result of the first overcompensation capacity corresponding to the three phase lines and the preset capacity, and a relationship between the actual capacity of the capacitors already in operation and the first overcompensation capacity corresponding to all or part of the three phase lines.

[0216] Among them, the first target capacitor is a capacitor with all three phases connected to the grid, an actual input capacity greater than or equal to the second overcompensation capacity, and the difference between the actual input capacity and the second overcompensation capacity is the smallest; the second overcompensation capacity is the smallest first overcompensation capacity; the first target capacitor is a co-compensation capacitor or a separate compensation capacitor.

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

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

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

[0220] Memory 1001 may be an independent physical unit and may be connected to processor 1002 via bus 1003. Memory 1001 and processor 1002 may also be integrated and implemented via hardware. Memory 1001 is used to store program instructions, and processor 1002 invokes these program instructions to execute the operations performed by the reactive power compensation controller in any of the above method embodiments.

[0221] Optionally, when some or all of the methods in the above embodiments are implemented via software, the electronic device 1000 may include only a processor 1002. A memory 1001 for storing programs is located outside the electronic device 1000. The processor 1002 is connected to the memory via circuits / wires 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 hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0222] 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 also include a combination of the above types of memory.

[0223] Exemplarily, the present application provides a chip comprising: an interface circuit and a logic circuit, wherein the interface circuit is used to receive signals from other chips outside the chip and transmit them to the logic circuit, or to send signals from the logic circuit to other chips outside the chip, and the logic circuit is used to execute the operations performed by the reactive compensation controller in the above method embodiment.

[0224] Illustratively, the present application provides a computer-readable storage medium having computer program instructions stored thereon. The computer program instructions are executed by a processor of an electronic device so that the electronic device executes the operations performed by the reactive power compensation controller in the above method embodiment.

[0225] Illustratively, the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the operations performed by the reactive power compensation controller in the above method embodiment.

[0226] The foregoing description is intended only to provide specific embodiments of the present application, which will enable those skilled in the art to understand and implement the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments described herein, but is intended to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A capacitor switching method, characterized in that: The method comprises: 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 first overcompensation capacities corresponding to the three phase lines of the power grid respectively; Determining and removing a first target capacitor or a second target capacitor based on a comparison result of the first overcompensation capacity corresponding to the three phase lines and a preset capacity, and a relationship between the actual capacity of the capacitors already put into the power grid and the first overcompensation capacity corresponding to all or part of the three phase lines; The first target capacitor is a capacitor whose three phases are all connected to the power grid, whose actual connected capacity is greater than or equal to the second overcompensation capacity, and whose difference between the actual connected capacity and the second overcompensation capacity is the smallest; the second overcompensation capacity is the smallest first overcompensation capacity; the first target capacitor is a co-compensation capacitor or a separate overcompensation 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 connected capacity of the first target phase is greater than or equal to the first overcompensation capacity corresponding to the first target phase line, and the difference between the actual connected capacity of the first target phase and the first overcompensation capacity corresponding to the first target phase line is minimized; the first target phase corresponds to the first target phase line, and the first target phase line is any phase line among the three phase lines whose first overcompensation capacity is greater than the preset capacity; The determining and removing the first target capacitor or the second target capacitor based on the comparison result of the first overcompensation capacity corresponding to the three phase lines with the preset capacity, and the relationship between the actual input capacity of the capacitors already input into the power grid and the first overcompensation capacity corresponding to all or part of the three phase lines, includes: determining whether the first overcompensation capacities corresponding to the three phase lines are all greater than the preset capacities; If the first overcompensation capacities corresponding to the three phase lines are all greater than the preset capacities, determining whether the first target capacitor exists based on the second overcompensation capacity; If the first target capacitor exists, cutting off the first target capacitor; If the first overcompensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, or the first target capacitor does not exist, determining whether the second target capacitor corresponding to the first target phase line exists based on the first overcompensation capacity corresponding to the first target phase line; If the second target capacitor exists, the second target capacitor is cut off.

2. The method according to claim 1, characterized in that The determining whether the first target capacitor exists based on the second overcompensation capacity includes: Based on the second overcompensation capacity, determining whether a first capacitor and / or a second capacitor are present; wherein the first capacitor is a separate-compensation capacitor, with all three phases connected to the power grid, the actual connected capacity being greater than or equal to the second overcompensation capacity, and the difference between the actual connected capacity and the second overcompensation capacity being minimized; and the second capacitor is a common-compensation capacitor, with the actual connected capacity being greater than or equal to the second overcompensation capacity, and the difference between the actual connected capacity and the second overcompensation capacity being minimized; If the first capacitor and / or the second capacitor exist, it is determined that the first target capacitor exists; wherein, if the first capacitor exists, the first target capacitor is the first capacitor; if the second capacitor exists, the first target capacitor is the second capacitor; if the first capacitor and the second capacitor exist, 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 between the first capacitor and the second capacitor; if the first capacitor and the second capacitor exist, and the actual input capacities 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.

3. The method according to claim 1, characterized in that The method further comprises: If the second target capacitor does not exist and the first overcompensation capacities corresponding to the three phase lines are all greater than the preset capacities, determining whether a third target capacitor exists; wherein the third target capacitor is a capacitor that is connected to the power grid with all three phases and has the largest actual connected capacity; and the third target capacitor is a co-compensation capacitor or a separate compensation capacitor; If the third target capacitor exists, cutting off the third target capacitor; If the third target capacitor does not exist, or the second target capacitor does not exist, and the first overcompensation capacity corresponding to at least one of the three phase lines is equal to the preset capacity, determining whether a fourth target capacitor corresponding to the first target phase line exists; wherein the fourth target capacitor is a split-compensation capacitor that is connected to the power grid with at least the first target phase and has the largest actual connected capacity; If the fourth target capacitor exists, the fourth target capacitor is cut off.

4. The method according to claim 3, characterized in that The determining whether the third target capacitor exists includes: Determining whether a third capacitor and / or a fourth capacitor exist; wherein the third capacitor is a separate compensation type capacitor with all three phases connected to the power grid and having the largest actual connected capacity; and the fourth capacitor is a common compensation type capacitor connected to the power grid and having the largest actual connected capacity; If the third capacitor and / or the fourth capacitor exist, it is determined that the third target capacitor exists; wherein, if the third capacitor exists, the third target capacitor is the third capacitor; if the fourth capacitor exists, the third target capacitor is the fourth capacitor; if 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 between the third capacitor and the fourth capacitor; if 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; If the third capacitor and the fourth capacitor do not exist, it is determined that the third target capacitor does not exist.

5. The method according to claim 1, wherein The method further comprises: When detecting 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; Determining and putting into operation a fifth target capacitor or a sixth target capacitor based on a comparison result of the first reactive power shortage corresponding to the three phase lines and the preset capacity, and a relationship between the available capacity of capacitors not put into the power grid and the first reactive power shortage corresponding to all or part of the three phase lines; The fifth target capacitor is a capacitor whose three phases are not connected to the power grid, whose available capacity is less than or equal to the second reactive power shortage, and whose difference between the available capacity and the second reactive power shortage is the smallest; the second reactive power shortage is the smallest first reactive power shortage; the fifth target capacitor is a common compensation capacitor or a separate compensation capacitor; The sixth target capacitor is a split-compensation capacitor in which at least the second target phase is not put into the power grid, the puttable 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 puttable capacity of the second target phase and the first reactive power shortage corresponding to the second target phase line is minimized; the second target phase corresponds to the second target phase line, and the second target phase line is any phase line among the three phase lines in which the first reactive power shortage is greater than the preset capacity.

6. The method according to claim 5, characterized in that The determining and placing into operation a fifth target capacitor or a sixth target capacitor based on a comparison result of the first reactive power shortage corresponding to the three phase lines and the preset capacity, and a relationship between the available capacity of capacitors not placed into the power grid and the first reactive power shortage corresponding to all or part 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 the fifth target capacitor exists based on the second reactive power shortage; If the fifth target capacitor exists, then putting the fifth target capacitor into operation; If the first reactive power shortage corresponding to at least one of the three phase lines is equal to the preset capacity, or the fifth target capacitor does not exist, determining whether the sixth target capacitor corresponding to the second target exists based on the first reactive power shortage corresponding to the second target phase line; If the sixth target capacitor exists, the sixth target capacitor is put into operation.

7. The method according to claim 6, characterized in that The determining whether the fifth target capacitor exists based on the second reactive power shortage includes: Based on the second reactive power shortage, determining whether a fifth capacitor exists, the fifth capacitor being a common compensation capacitor that is not put into the power grid, having an inputtable capacity less than or equal to the second reactive power shortage, and having a minimum difference between the inputtable capacity and the second reactive power shortage; If the fifth capacitor exists, determining that the fifth target capacitor exists, and the fifth target capacitor is the fifth capacitor; If the fifth capacitor does not exist, determining whether a sixth capacitor exists based on the second reactive power shortage, wherein the sixth capacitor is a split-compensation capacitor whose three phases are not connected to the power grid, whose available capacity is less than or equal to the second reactive power shortage, and whose difference between the available capacity and the second reactive power shortage is minimal; If the sixth capacitor exists, determining that the fifth target capacitor exists, and the fifth target capacitor is the sixth capacitor; If the sixth capacitor does not exist, it is determined that the fifth target capacitor does not exist.

8. An electronic device, characterized in that: include: 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 performs the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Capacitor switching method, intelligent capacitor device and electronic equipment

    CN119231557A

  • Switching control method and device based on reactive power compensation

    CN119582246A