Power grid control method and device, electronic equipment, storage medium and program product

By real-time detection of grid voltage and current, and adaptive adjustment of the virtual impedance parameters of the voltage control equipment, the problem of poor grid stability in weak grid environments is solved, and the stability and accuracy of the grid system under different intensity conditions are improved.

CN122394059APending Publication Date: 2026-07-14PETROCHINA SHENZHEN NEW ENERGY RESEARCH INSTITUTE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PETROCHINA SHENZHEN NEW ENERGY RESEARCH INSTITUTE CO LTD
Filing Date
2026-06-11
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In weak power grid environments, phase-locked loops (PLLs) are prone to phase jumps and loss of lock-in, resulting in poor power grid system stability and insufficient reactive power compensation capability of existing SVG (Static Var Generator).

Method used

By detecting grid voltage and current in real time, the grid strength parameters are determined, and the virtual impedance parameters of the voltage control equipment are adaptively adjusted to dynamically adapt to the voltage disturbance suppression and oscillation attenuation capabilities, thereby improving grid stability.

Benefits of technology

It enhances the operational stability and voltage control accuracy of the power grid system under different intensity conditions, and avoids the problem of weak reactive power compensation capability under weak power grid conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122394059A_ABST
    Figure CN122394059A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a power grid control method and device, electronic equipment, storage medium and program product. It relates to the technical field of new smart grid control. The method comprises: acquiring a first voltage and a first current of a first power grid, the control system of the first power grid comprising a plurality of voltage control devices; determining a first parameter of the first power grid based on the first voltage and the first current, the first parameter being used to indicate the strength of the first power grid; adjusting a second parameter of the plurality of voltage control devices based on the first parameter, the second parameter being used to indicate the suppression capability of voltage disturbance and the attenuation capability of voltage oscillation of the first power grid, the first parameter being negatively correlated with the second parameter; and controlling the first voltage based on the adjusted plurality of voltage control devices. The stability of the power grid system in a weak power grid can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of new smart grid control technology, and in particular to a grid control method, device, electronic equipment, storage medium and program product. Background Technology

[0002] As the proportion of new energy power generation continues to increase, voltage and frequency fluctuations in the power system will intensify, and grid strength will weaken, placing higher demands on the dynamic response capability of reactive power compensation devices.

[0003] Currently, reactive power compensation in power systems can be achieved using grid-connected Static Var Generators (SVG). SVGs extract the voltage amplitude, phase, and frequency information of the grid through phase-locked loops (PLLs), and use this information as a reference to adjust the reactive power output of the SVG for grid compensation. However, in weak grid environments, the PLLs are prone to phase jumps and loss of lock-in, leading to poor stability of the power grid system in such conditions. Summary of the Invention

[0004] This application provides a power grid control method, apparatus, electronic device, storage medium, and program product to improve the stability of the power grid system in weak power grids.

[0005] In a first aspect, embodiments of this application provide a power grid control method, including:

[0006] The first voltage and first current of the first power grid are obtained, and the control system of the first power grid includes multiple voltage control devices;

[0007] Based on the first voltage and the first current, a first parameter of the first power grid is determined, which is used to indicate the grid strength of the first power grid;

[0008] Based on the first parameter, the second parameter of multiple voltage control devices is adjusted. The second parameter is used to indicate the ability to suppress voltage disturbances and attenuate voltage oscillations in the first power grid. The first parameter is negatively correlated with the adjusted second parameter.

[0009] The first voltage is controlled based on the adjusted multiple voltage control devices;

[0010] Based on the first voltage and the first current, the first parameters of the first power grid are determined, including:

[0011] In the target scenario, determine the first change in the first voltage and the second change in the first current. The target scenario is the scenario where the first power grid receives reactive power disturbance.

[0012] Based on the first and second changes, a third parameter of the first power grid is determined. The third parameter is used to indicate the ability of the first power grid to impede current under changes in voltage and current.

[0013] Based on the third parameter, the first parameter of the first power grid is determined.

[0014] In one possible implementation, adjusting a second parameter of a plurality of voltage control devices based on a first parameter includes:

[0015] Based on the preset reference reactance, the preset reactance adjustment coefficient, and the first parameter, the reactance in the second parameter of multiple voltage control devices is adjusted;

[0016] Based on the preset reference resistor, the preset resistance adjustment coefficient, and the first parameter, the resistance in the second parameter is adjusted.

[0017] In one possible implementation, the method further includes:

[0018] Based on the first voltage and the first current, the load reactive power is determined, and the load reactive power is used to indicate the reactive power demand on the load side of the first power grid.

[0019] Determine the allocation coefficient, which is used to indicate the proportion of reactive power tasks that should be undertaken by multiple voltage control devices;

[0020] Based on the load reactive power and the distribution factor, determine the reactive power requirements of each voltage control device;

[0021] Based on the reactive power requirements of each voltage control device, the voltage bias of each voltage control device is determined. The voltage bias is used to indicate the amount of voltage compensation that needs to be adjusted for multiple voltage control devices.

[0022] In one possible implementation, determining the allocation coefficients includes:

[0023] The first temperature and capacity margin of each voltage control device are determined respectively. The capacity margin is used to indicate the remaining available capacity of each voltage control device.

[0024] Based on the first temperature of each voltage control device, a heat capacity factor is determined. The heat capacity factor is used to indicate the degree of thermal balance among the voltage control devices.

[0025] The allocation coefficient is determined based on the first temperature of each voltage control device and the capacity margin of each voltage control device.

[0026] In one possible implementation, the reactive power requirements of multiple voltage control devices are determined based on load reactive power and allocation factors, including:

[0027] Determine the voltage regulation reactive power and feedforward reactive power. The voltage regulation reactive power is used to indicate the amount of reactive power compensation required to maintain the voltage stability of the first power grid, while the feedforward reactive power is used to indicate the amount of reactive power compensation required to predict and suppress voltage disturbances in the first power grid in advance.

[0028] Based on load reactive power, voltage regulation reactive power and feedforward reactive power, the total reactive power demand is determined, and the total reactive power demand is used to indicate the total reactive power compensation required by the first power grid.

[0029] Based on the total reactive power demand and the allocation factor, the reactive power demand of multiple voltage control devices is determined.

[0030] Secondly, embodiments of this application provide a power grid control device, including: an acquisition module, a determination module, an adjustment module, and a control module, wherein...

[0031] The acquisition module is used to acquire the first voltage and the first current of the first power grid. The control system of the first power grid includes multiple voltage control devices.

[0032] The determination module is used to determine a first parameter of the first power grid based on a first voltage and a first current, wherein the first parameter is used to indicate the grid strength of the first power grid;

[0033] An adjustment module is used to adjust a second parameter of multiple voltage control devices based on a first parameter. The second parameter indicates the ability to suppress voltage disturbances and attenuate voltage oscillations in the first power grid. The first parameter is negatively correlated with the adjusted second parameter.

[0034] The control module is used to control the first voltage based on the adjusted multiple voltage control devices;

[0035] The determination module is also used for:

[0036] In the target scenario, determine the first change in the first voltage and the second change in the first current. The target scenario is the scenario where the first power grid receives reactive power disturbance.

[0037] Based on the first and second changes, a third parameter of the first power grid is determined. The third parameter is used to indicate the ability of the first power grid to impede current under changes in voltage and current.

[0038] Based on the third parameter, the first parameter of the first power grid is determined.

[0039] In one possible implementation, the adjustment module is specifically used for:

[0040] Based on the preset reference reactance, the preset reactance adjustment coefficient, and the first parameter, the reactance in the second parameter of multiple voltage control devices is adjusted;

[0041] Based on the preset reference resistor, the preset resistance adjustment coefficient, and the first parameter, the resistance in the second parameter is adjusted.

[0042] In one possible implementation, the power grid control device further includes a processing module for:

[0043] Based on the first voltage and the first current, the load reactive power is determined, and the load reactive power is used to indicate the reactive power demand on the load side of the first power grid.

[0044] Determine the allocation coefficient, which is used to indicate the proportion of reactive power tasks that should be undertaken by multiple voltage control devices;

[0045] Based on the load reactive power and the distribution factor, determine the reactive power requirements of each voltage control device;

[0046] Based on the reactive power requirements of each voltage control device, the voltage bias of each voltage control device is determined. The voltage bias is used to indicate the amount of voltage compensation that needs to be adjusted for multiple voltage control devices.

[0047] In one possible implementation, the processing module is specifically used for:

[0048] The first temperature and capacity margin of each voltage control device are determined respectively. The capacity margin is used to indicate the remaining available capacity of each voltage control device.

[0049] Based on the first temperature of each voltage control device, a heat capacity factor is determined. The heat capacity factor is used to indicate the degree of thermal balance among the voltage control devices.

[0050] The allocation coefficient is determined based on the first temperature of each voltage control device and the capacity margin of each voltage control device.

[0051] In one possible implementation, the processing module is specifically used for:

[0052] Determine the voltage regulation reactive power and feedforward reactive power. The voltage regulation reactive power is used to indicate the amount of reactive power compensation required to maintain the voltage stability of the first power grid, while the feedforward reactive power is used to indicate the amount of reactive power compensation required to predict and suppress voltage disturbances in the first power grid in advance.

[0053] Based on load reactive power, voltage regulation reactive power and feedforward reactive power, the total reactive power demand is determined, and the total reactive power demand is used to indicate the total reactive power compensation required by the first power grid.

[0054] Based on the total reactive power demand and the allocation factor, the reactive power demand of multiple voltage control devices is determined.

[0055] Thirdly, embodiments of this application provide an electronic device, including: at least one processor and a memory; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to perform the power grid control method as described in the first aspect and various possible designs of the first aspect.

[0056] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the power grid control method described in the first aspect and various possible designs of the first aspect.

[0057] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the power grid control method described in the first aspect and various possible designs of the first aspect.

[0058] In a sixth aspect, embodiments of this application provide a chip including at least one processor, the processor being configured to execute program instructions to implement the power grid control method as described in the first aspect above and various possible designs of the first aspect.

[0059] This application provides a power grid control method, device, electronic device, storage medium, and program product. By real-time detection of the first voltage and first current of the first power grid, a first parameter indicating the power grid strength is determined. Then, combined with the first parameter, the second parameters of multiple voltage control devices are adaptively adjusted, and the first parameter and the adjusted second parameter are negatively correlated. This allows the voltage control devices to dynamically adapt their ability to suppress voltage disturbances and attenuate oscillations with the power grid strength, avoiding the problem of weak reactive power compensation under weak power grids, improving the accuracy and adaptability of voltage control, and thus enhancing the operational stability of the power grid system under different intensity conditions. Attached Figure Description

[0060] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0061] Figure 1 A schematic flowchart of a power grid control method provided in an embodiment of this application;

[0062] Figure 2 A flowchart illustrating a method for determining a first parameter provided in an embodiment of this application;

[0063] Figure 3 A flowchart illustrating a method for adjusting a second parameter provided in an embodiment of this application;

[0064] Figure 4A schematic flowchart illustrating a method for determining voltage bias provided in an embodiment of this application;

[0065] Figure 5 A schematic diagram illustrating adaptive adjustment of virtual impedance provided in an embodiment of this application;

[0066] Figure 6 A schematic diagram of a grid-type energy storage SVG system architecture provided for an embodiment of this application;

[0067] Figure 7 This is a schematic diagram of the structure of a power grid control device provided in an embodiment of this application;

[0068] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0069] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0070] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0071] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of the relevant data all comply with the relevant laws, regulations, and standards of the relevant regions, have taken necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation portals for users to choose to authorize or refuse.

[0072] Furthermore, the technical solution involved in this application, which involves big data analysis of user information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.) and the use of artificial intelligence technology for automated decision-making, and makes decisions that have a significant impact on personal rights based on the results of automated decision-making, provides users with corresponding operation entry points for users to choose to agree to or reject the results of automated decision-making; if the user chooses to reject, the process will proceed to the expert decision-making process.

[0073] It should be noted that the power grid control method, device, electronic device, storage medium and program product provided in this application can be used in the field of new smart grid control technology, and can also be used in any field other than the field of new smart grid control technology. The application field of the power grid control method, device, electronic device, storage medium and program product in this application is not limited.

[0074] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0075] As the proportion of new energy power generation continues to increase, voltage and frequency fluctuations in the power system will intensify, and grid strength will weaken, placing higher demands on the dynamic response capability of reactive power compensation devices.

[0076] Currently, reactive power compensation in power systems can be achieved using grid-connected SVG (Static Var Generator). The SVG extracts the voltage amplitude, phase, and frequency information of the power grid through a phase-locked loop (PLL), and uses this information as a reference to adjust the SVG's reactive power output for compensation. However, in weak grid environments, the PLL is prone to phase jumps and loss of lock-in, resulting in weak reactive power compensation capabilities of the SVG and consequently poor stability of the power grid system in such conditions.

[0077] To address the aforementioned problems, this application provides a power grid control method, which involves obtaining a first voltage and a first current of a first power grid, wherein the control system of the first power grid includes multiple voltage control devices; determining a first parameter of the first power grid based on the first voltage and the first current, wherein the first parameter indicates the grid strength of the first power grid; adjusting a second parameter of the multiple voltage control devices based on the first parameter, wherein the second parameter indicates the ability to suppress voltage disturbances and attenuate voltage oscillations of the first power grid, wherein the first parameter is negatively correlated with the adjusted second parameter; and controlling the first voltage based on the adjusted multiple voltage control devices.

[0078] In the above method, by real-time detection of the first voltage and first current of the first power grid, a first parameter indicating the power grid strength is determined. Then, combined with the first parameter, the second parameters of multiple voltage control devices are adaptively adjusted, and the first parameter is negatively correlated with the adjusted second parameter. This allows the voltage control devices to dynamically adapt their ability to suppress voltage disturbances and attenuate oscillations with the power grid strength, avoiding the problem of weak reactive power compensation under weak power grid conditions, improving the accuracy and adaptability of voltage control, and thus enhancing the operational stability of the power grid system under different intensity conditions.

[0079] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0080] Figure 1 This is a schematic flowchart illustrating a power grid control method provided in an embodiment of this application. Please refer to [link / reference]. Figure 1 As shown, the method may include the following steps:

[0081] S101. Obtain the first voltage and first current of the first power grid. The control system of the first power grid includes multiple voltage control devices.

[0082] The execution subject of this application embodiment can be an electronic device or a power grid control device installed in an electronic device. The power grid control device can be implemented by software or by a combination of software and hardware.

[0083] In one possible implementation, the first power grid refers to the target power network that requires voltage control and reactive power compensation.

[0084] In one possible implementation, the first voltage refers to the real-time AC voltage at the grid connection point of the first power grid. It is a core electrical quantity representing the power grid's operating status, and its unit can be volt (V) or kilovolt (kV). It should be noted that the first voltage can be a vector quantity, and active voltage and reactive voltage can be separated from it. The active voltage can be the component of the first voltage on the real axis (horizontal axis), and the reactive voltage can be the component of the first voltage on the imaginary axis (vertical axis). The grid connection point of the first power grid refers to the common node where the first power grid and the voltage control equipment are electrically connected.

[0085] In one possible implementation, the first current refers to the real-time AC current at the grid connection point of the first power grid, which can indicate the load power and energy transmission status of the power grid, and the unit can be ampere (A) or kiloampere (kA).

[0086] In one possible implementation, the voltage control device refers to a power electronic device connected to the first power grid and capable of actively regulating the grid voltage. The voltage control device can be used to compensate for grid voltage deviations, suppress voltage disturbances and oscillations by outputting reactive power, and ensure that the voltage of the first power grid is stable within the rated range.

[0087] In one possible implementation, the voltage control devices can be connected in parallel.

[0088] In one possible implementation, the first voltage and first current can be acquired at the grid connection point between the first power grid and the voltage control equipment. Specifically, a high-precision three-phase voltage sensor and a three-phase current sensor can be configured at this connection point to acquire the first voltage and first current at a preset acquisition period or frequency. The acquired first voltage and first current can be transmitted to the main controller in the voltage control equipment via a shielded cable, and the main controller stores the first voltage and first current in its database. The preset acquisition period is, for example, 5 milliseconds (ms), and the preset acquisition frequency is, for example, 10 kilohertz (kHz).

[0089] Optionally, after the first voltage and first current are transmitted to the main controller in the voltage control device, the first voltage and first current can be preprocessed, including filtering (filtering out harmonic interference in the first power grid), normalization (converting the first voltage and first current into per-unit values ​​for easy subsequent calculation), and outlier removal (removing abnormal data caused by sensor failure or power grid transient impact), to obtain clean and accurate electrical quantity data, and then the preprocessed first voltage and first current are stored in the database of the main controller.

[0090] S102. Based on the first voltage and the first current, determine the first parameter of the first power grid, which is used to indicate the grid strength of the first power grid.

[0091] In one possible implementation, the first parameter can be the Short Circuit Ratio (SCR). The Short Circuit Ratio refers to the ratio of the short-circuit capacity at the grid connection point of the first power grid to the rated capacity of the voltage control equipment connected to that grid connection point. It is a dimensionless parameter, and the magnitude of the Short Circuit Ratio can indicate the strength of the power grid. The larger the first parameter, the smaller the impedance of the first power grid, the stronger the power grid, and the better the voltage stability of the first power grid; the smaller the first parameter, the larger the impedance of the first power grid, the weaker the power grid, and the worse the voltage stability of the first power grid.

[0092] Among them, the short-circuit capacity of the grid connection point of the first power grid refers to the maximum apparent short-circuit power that the grid connection point can provide under a three-phase short-circuit fault. It can indicate the ability of the first power grid to provide reactive power support and short-circuit current to the fault point. The larger the short-circuit capacity, the stronger the voltage support capability of the power grid. The unit is megavolt-ampere (MVA). The rated capacity of the voltage control equipment connected to the grid connection point refers to the maximum apparent power that the voltage control equipment can continuously output under rated operating conditions. The unit is MVA.

[0093] In one possible implementation, the power grid strength is weak when the first parameter is less than or equal to a preset parameter threshold, and strong when the first parameter is greater than the preset parameter threshold. For example, the preset parameter threshold is 2.

[0094] S103. Based on the first parameter, adjust the second parameter of multiple voltage control devices. The second parameter is used to indicate the ability to suppress voltage disturbances and attenuate voltage oscillations in the first power grid. The first parameter is negatively correlated with the adjusted second parameter.

[0095] In one possible implementation, the second parameter refers to virtual impedance, which is an equivalent impedance introduced into the voltage control device through a software algorithm. It is different from the physical impedance in the power system (such as the impedance of wires and transformers). Virtual impedance has no actual hardware loss and its value can be flexibly adjusted through the algorithm.

[0096] In one possible implementation, the virtual impedance comprises two parts: virtual resistance and virtual reactance. The virtual impedance can be expressed as: Zv = Rv + jXv, where Rv is the virtual resistance and Xv is the virtual reactance. The virtual impedance can be used to indicate the ability to suppress voltage disturbances in the first power grid and the ability to attenuate voltage oscillations: the larger the virtual impedance value, the stronger the ability of the voltage control device to suppress voltage disturbances in the first power grid and the better the attenuation effect of voltage oscillations, which can solve the problem of strong coupling oscillation between the power grid and the equipment under weak power grid conditions; the smaller the virtual impedance value, the faster the reactive power output response speed of the voltage control device, which can meet the rapid voltage regulation requirements under strong power grid conditions.

[0097] In one possible implementation, the first parameter and the adjusted second parameter are negatively correlated. This means that the larger the value of the first parameter (stronger grid strength), the smaller the value of the second parameter (virtual impedance) can be adjusted; conversely, the smaller the value of the first parameter (weaker grid strength), the larger the value of the second parameter (virtual impedance) can be adjusted. Specifically, the detailed implementation method for adjusting the second parameter of multiple voltage control devices based on the first parameter is described in subsequent embodiments and will not be repeated here.

[0098] In one possible implementation, when the first parameter is small, the second parameter can be increased; when the first parameter is large, the second parameter can be decreased.

[0099] S104. Based on the adjusted multiple voltage control devices, the first voltage is controlled.

[0100] In one possible implementation, the specific method for controlling the first voltage based on multiple adjusted voltage control devices is as follows:

[0101] Each voltage control device corrects the output voltage reference of the inverter (such as a three-level voltage source inverter (VSC)) through the second parameter, directly corrects the output voltage reference of the inverter, and makes the output characteristics of each voltage control device adapt to the current grid strength of the first grid. Under weak grid conditions, it enhances damping to suppress oscillation, and under strong grid conditions, it improves response speed.

[0102] Each voltage control device's zone controller receives the reactive power demand of its respective voltage control device and corrects the virtual electromotive force based on its reactive power demand, thereby correcting the inverter's output voltage reference a second time. At the same time, combined with the cross-coupling calculation of virtual impedance in the dq coordinate system, the d-axis and q-axis components of the output voltage reference are refined and calibrated to obtain the calibrated output voltage reference, thereby eliminating impedance coupling interference.

[0103] The zone controllers of each voltage control device generate a modulated pulse width modulation signal (PWM) based on the calibrated output voltage reference and send it to the inverter. The inverter controls the inverter to convert the DC power of the energy storage battery into AC power that is in phase and frequency with the first grid, so that each voltage control device outputs the power corresponding to the reactive power demand to the grid connection point of the first grid.

[0104] Among them, the inverter's output voltage reference refers to the target output voltage reference value set by the zone controller of the voltage control equipment for the inverter. It is the basis for the inverter to execute PWM modulation and is an AC voltage vector, including amplitude information and phase information.

[0105] In one possible implementation, the voltage control devices may modify the inverter's output voltage reference using a second parameter, including:

[0106] Each voltage control device loads a grid-type SVG to generate a virtual electromotive force (EMF). Combined with a second parameter, the corrected output voltage reference is determined. The virtual EMF refers to the equivalent EMF generated by the voltage control device after loading the grid-type SVG, simulating the electromagnetic characteristics of a synchronous generator. It serves as the voltage reference for grid-type control, is an AC voltage vector, and is adapted to the rated frequency and phase of the first power grid. "Grid-type" means that the voltage control device can autonomously establish and maintain the grid voltage and frequency, possessing voltage source characteristics similar to a synchronous generator.

[0107] The corrected output voltage reference can be expressed as:

[0108]

[0109] Where ESVG is the virtual electromotive force, Io is the real-time output current of the voltage control device, and Zv is the second parameter.

[0110] Among them, the real-time output current of the voltage control equipment refers to the AC current actually output by the inverter of the voltage control equipment to the grid connection point of the first power grid. It is a current vector and can indicate the current power output status of the voltage control equipment.

[0111] In one possible implementation, by combining the cross-coupling calculation of the virtual impedance in the dq coordinate system, the d-axis and q-axis components of the output voltage reference are refined and calibrated. The d-axis and q-axis components of the output voltage reference can be expressed as follows:

[0112]

[0113] Where ESVGd is the d-axis component of the corrected virtual electromotive force, ESVGq is the q-axis component of the corrected virtual electromotive force, Iod is the d-axis component of the real-time output current, Ioq is the q-axis component of the real-time output current, Xv is the virtual reactance in the second parameter, and Rv is the virtual resistance in the second parameter.

[0114] In one possible implementation, after each voltage control device outputs the power corresponding to the reactive power demand to the grid connection point of the first power grid, the following can also be done:

[0115] The main controller in the control system monitors the real-time value of the first voltage at a preset acquisition cycle. If the first voltage deviates from the rated range, iteratively adjusts the total reactive power demand and the reactive power distribution ratio of each voltage control device. Each voltage control device responds and adjusts synchronously until the first voltage stabilizes within the rated allowable deviation range.

[0116] In one possible implementation, after each voltage control device outputs the power corresponding to the reactive power demand to the grid connection point of the first power grid, the following can also be done:

[0117] During operation, each voltage control device initiates a dynamic circulating current suppression strategy. By collecting the output current deviation between each voltage control device, a virtual circulating current damping resistor is introduced to correct the voltage reference value. This suppresses the internal zone circulating current of multiple voltage control devices operating in parallel to within a preset proportion of the rated current (such as 1%), ensuring reactive power output coordination and preventing circulating current from affecting the first voltage control effect.

[0118] In this embodiment, a first voltage and a first current of a first power grid are obtained, and the control system of the first power grid includes multiple voltage control devices; based on the first voltage and the first current, a first parameter of the first power grid is determined, the first parameter being used to indicate the grid strength of the first power grid; based on the first parameter, a second parameter of the multiple voltage control devices is adjusted, the second parameter being used to indicate the ability to suppress voltage disturbances and the ability to attenuate voltage oscillations of the first power grid, the first parameter being negatively correlated with the adjusted second parameter; based on the adjusted multiple voltage control devices, the first voltage is controlled.

[0119] In the above method, by real-time detection of the first voltage and first current of the first power grid, a first parameter indicating the power grid strength is determined. Then, combined with the first parameter, the second parameters of multiple voltage control devices are adaptively adjusted, and the first parameter is negatively correlated with the adjusted second parameter. This allows the voltage control devices to dynamically adapt their ability to suppress voltage disturbances and attenuate oscillations with the power grid strength, avoiding the problem of weak reactive power compensation under weak power grid conditions, improving the accuracy and adaptability of voltage control, and thus enhancing the operational stability of the power grid system under different intensity conditions.

[0120] Next, combined Figure 2 The method for determining the first parameter is explained in detail, for example. Figure 2 This is a flowchart illustrating a method for determining a first parameter as provided in an embodiment of this application. Please refer to... Figure 2 As shown, the method may include the following steps:

[0121] S201. In the target scenario, determine the first change in the first voltage and the second change in the first current. The target scenario is the scenario where the first power grid receives reactive power disturbance.

[0122] In one possible implementation, the target scenario refers to the operating scenario in which the first power grid receives reactive power disturbances. This is the power grid operating state constructed to calculate the grid impedance and derive the first parameter. In this scenario, the first power grid maintains normal power supply, and only the connected voltage control equipment injects small-amplitude reactive power disturbances into the first power grid. There are no other sudden changes in operating conditions (such as a sudden increase in load or a sudden change in the power generation of new energy sources).

[0123] In one possible implementation, reactive power disturbance refers to a small-amplitude change in reactive power actively injected by the voltage control device into the grid connection point of the first power grid. In the embodiments of this application, pseudo-random binary sequence (PRBS) type reactive power disturbance can be adopted, which has the characteristics of strong anti-interference ability, small impact on power grid power quality, and precise excitation of power grid impedance characteristics.

[0124] In one possible implementation, the first change refers to the voltage change of the first voltage (real-time AC voltage) at the grid connection point of the first power grid under the target scenario due to the reception of reactive power disturbance, that is, the first voltage difference between the injection of reactive power disturbance and the injection before the injection, which can be a vector value.

[0125] In one possible implementation, the second change refers to the change in the first current (real-time AC current) at the grid connection point of the first power grid under the target scenario due to the reactive disturbance, that is, the difference between the first current after the reactive disturbance is injected and before the injection, which can be a vector value.

[0126] In one possible implementation, the main controller can first detect the operating status of the first power grid. After confirming that the first power grid is in a steady state (e.g., load fluctuation less than 5%, new energy power generation fluctuation less than 5%, and no obvious voltage and current oscillation), it controls multiple voltage control devices to inject a preset reactive power disturbance into the grid connection point of the first power grid through soft start. The disturbance type is PRBS type, the disturbance capacity can be 1% to 2% of the total rated capacity of the voltage control devices, the duration can be 200ms to 500ms, the amplitude of PRBS type can be ±0.3 megavar (Mvar), and the disturbance period can be 50ms, ensuring that the first power grid is only affected by this reactive power disturbance in the target scenario, without interference from other operating conditions.

[0127] In addition, before reactive power disturbance injection, the main controller collects and stores the steady-state initial value of the first voltage and the steady-state initial value of the first current through the high-precision three-phase voltage sensor and current sensor at the grid connection point. During reactive power disturbance injection, when collecting the real-time voltage and current values ​​at the grid connection point, it is necessary to ensure that the voltage sensor and current sensor are triggered synchronously with a phase error of less than or equal to 1μs.

[0128] In one possible implementation, after the reactive power disturbance injection stabilizes, multiple voltage values ​​(e.g., 5 voltage values) and multiple current values ​​(e.g., 5 current values) at the grid connection point can be continuously collected at a preset acquisition period. These voltage and current values ​​are then preprocessed (harmonics are filtered out, outliers are removed), and the average of the preprocessed voltage values ​​is taken as the first real-time voltage value, and the average of the preprocessed current values ​​is taken as the first real-time current value. The difference between the first real-time voltage value and the steady-state initial value of the first voltage at the grid connection point is determined as the first change, and the difference between the first real-time current value and the steady-state initial value of the first current at the grid connection point is determined as the second change. For example, the first change can be expressed as: Where V1 is the real-time value of the first voltage, V0 is the steady-state initial value of the first voltage, and the second change can be expressed as: Where I1 is the real-time value of the first current and I0 is the steady-state initial value of the first current.

[0129] In one possible implementation, the rules for determining the first and second changes are as follows: Multiple voltage and current values ​​of the first power grid are collected only after the reactive power disturbance injection has stabilized, discarding transient data at the rising and falling edges of the disturbance to avoid transient impacts affecting the accuracy of determining the first and second changes; the phases of the multiple voltage values ​​are consistent with the phase of the steady-state initial value of the first voltage, and the phases of the multiple current values ​​are consistent with the phase of the steady-state initial value of the first current; the collected multiple voltage and current values ​​are filtered to remove grid harmonics, high-frequency interference signals, and abnormal values ​​exceeding the normal fluctuation range; the real-time values ​​of the first voltage and the first current are determined based on the pre-processed multiple voltage and current values; using the steady-state initial values ​​of the first voltage and the first current collected before the reactive power disturbance injection as reference values, the difference between the real-time value of the first voltage and the steady-state initial value of the first voltage (within phase) is calculated to obtain the first change, and the difference between the real-time value of the first current and the steady-state initial value of the first current (within phase) is calculated to obtain the second change.

[0130] S202. Based on the first change and the second change, determine the third parameter of the first power grid. The third parameter is used to indicate the ability of the first power grid to impede current under changes in voltage and current.

[0131] In one possible implementation, the third parameter refers to the grid impedance of the first grid, which is the equivalent impedance of the AC circuit, and the unit is ohm (Ω). The grid impedance is a vector value, which includes two parts: resistance and reactance. In medium and high voltage AC grids, reactance is much larger than resistance and is the main component of grid impedance. The third parameter can be expressed as: Z = R + jX, where R is the grid resistance and X is the grid reactance.

[0132] In one possible implementation, since the first change is the line voltage change and the second change is the line current change, the line voltage change can be converted into a phase voltage change, and the line current change can be converted into a phase current change. The ratio between the phase voltage change and the phase current change is then determined as the third parameter. Specifically, the ratio between the line voltage change and 3V can be defined as the phase voltage change, and the line current change as the phase current change. For example, the phase voltage change can be expressed as ΔVφ = ΔV / 3, and the phase current change can be expressed as ΔIφ = ΔI.

[0133] For example, the third parameter can be expressed as: |Z|=|ΔVφ| / |ΔIφ|, where |ΔVφ| represents the magnitude of the phase voltage change and |ΔIφ| represents the magnitude of the phase current change.

[0134] S203. Based on the third parameter, determine the first parameter of the first power grid.

[0135] In one possible implementation, the rated phase voltage of the first power grid and the rated capacity of the voltage control equipment at the grid connection point of the first power grid can be obtained; the ratio between the square of the rated phase voltage of the first power grid and the third parameter can be determined as the short-circuit capacity of the grid connection point of the first power grid; and the ratio between the short-circuit capacity and the rated capacity can be determined as the first parameter.

[0136] Among them, the rated phase voltage is the nominal phase voltage of the first power grid, and is related to the rated line voltage of the first power grid. The ratios between V are consistent. The rated phase voltage is the single-phase-to-ground standard voltage amplitude under normal steady-state operation of the first power grid. The rated line voltage refers to the standard nominal voltage between any two phase lines in the three-phase AC first power grid. For example, if the rated line voltage of the first power grid is 35kV, then the corresponding rated phase voltage is 35 / kV. KV. The rated phase voltage is a fixed nominal parameter of the first power grid. It does not need to be updated in real time unless there are special power grid modifications or voltage level adjustments. It can be corrected synchronously only after the hardware parameters of the first power grid are upgraded.

[0137] Rated capacity is the total apparent power of each voltage control device, and the unit can be MVA. This rated capacity is an inherent parameter of the voltage control device and is pre-stored in the database of the main controller. It can be updated in real time according to the operating status of the voltage control device (such as deducting its rated capacity when a device fails and exits).

[0138] In one possible implementation, obtaining the rated phase voltage may include: reading the rated line voltage preset in the first power grid; and then dividing the rated line voltage by... V, thus obtaining the rated phase voltage of the first power grid.

[0139] In one possible implementation, obtaining the rated capacity of the voltage control equipment at the grid connection point of the first power grid may include: traversing each voltage control equipment, reading the preset stored rated apparent power of each voltage control equipment, then adding the read rated apparent power of each voltage control equipment, and determining the sum as the rated capacity.

[0140] For example, the short-circuit capacity at the grid connection point of the first power grid can be expressed as: Ssc = Vn 2 / |Z|, where Vn is the rated phase voltage of the first power grid.

[0141] For example, the first parameter can be expressed as: SCR=Ssc / Srated, where Srated is the rated capacity of the voltage control equipment at the grid connection point of the first power grid.

[0142] It should be noted that the first parameter can be determined once at a preset acquisition cycle or every 10 minutes. Load fluctuation and bus voltage fluctuation can also be acquired. When the load fluctuation is greater than 20% or the bus voltage fluctuation is greater than 3%, the first parameter is determined once. This allows subsequent embodiments to adjust the second parameters of multiple voltage control devices based on the first parameter, thereby controlling the first voltage.

[0143] The process of acquiring load fluctuations may include: collecting the first load active power when the first power grid is in a steady state before the reactive power disturbance is injected, collecting the second load active power at the current sampling time, calculating the difference between the second load active power and the first load active power, dividing the difference by the first load active power, taking the absolute value of the division result, and expressing the percentage of the absolute value as the load fluctuation.

[0144] The process of collecting the first load active power when the first power grid is in a steady state before the reactive power disturbance is injected may include: obtaining the voltage and current of the first power grid when it is in a steady state before the reactive power disturbance is injected, and determining the product of the voltage, current and the cosine value of the phase as the first load active power, wherein the phase refers to the phase of the voltage or the phase of the current, and the phase of the voltage is consistent with the phase of the current.

[0145] The acquisition of the second load active power at the current sampling moment may include: acquiring the voltage and current at the current sampling moment, and determining the product of the voltage, current and the cosine value of the phase as the second load active power.

[0146] Obtaining bus voltage fluctuation may include: taking the rated line voltage of the first power grid as the first line voltage, then collecting the effective value of the line voltage at the grid connection point at the current sampling time, calculating the difference between the effective value of the line voltage and the first line voltage, dividing the difference by the first line voltage, taking the absolute value of the division result, and expressing the percentage of the absolute value as the bus voltage fluctuation.

[0147] The process of collecting the effective value of the line voltage at the grid connection point at the current sampling time can include: synchronously collecting the instantaneous voltage data of each phase of the three-phase bus through the three-phase voltage sensor configured at the grid connection point; continuously collecting multiple sets of instantaneous voltage values ​​according to a preset sampling period; and then calculating the arithmetic mean of the instantaneous voltage values, using the average value as the effective value of the line voltage at the grid connection point at the current sampling time.

[0148] In this embodiment, reactive power disturbance is injected into the first power grid to construct the target scenario. By combining the first change in the first voltage and the second change in the second current, a third parameter indicating the grid's current-blocking capability is determined. Then, by combining the third parameter, a first parameter indicating the grid strength is obtained. The core parameters of the first power grid are derived through the change in electrical quantities. The calculation logic is direct and closely matches the actual operating characteristics of the power grid. It can quickly and accurately obtain the first parameter reflecting the true strength of the power grid, providing a precise and reliable basis for the adaptive adjustment of the parameters of voltage control equipment in subsequent power grid control.

[0149] Next, combined Figure 3 The method for adjusting the second parameter will be explained in detail, for example. Figure 3 This is a flowchart illustrating a method for adjusting a second parameter according to an embodiment of this application. Please refer to... Figure 3 As shown, the method may include the following steps:

[0150] S301. Based on the preset reference reactance, the preset reactance adjustment coefficient, and the first parameter, adjust the reactance in the second parameter of multiple voltage control devices.

[0151] In one possible implementation, the preset reference reactance refers to the basic reference value of the virtual reactance in the virtual impedance. It is a fixed value preset by the voltage control equipment according to the rated parameters before leaving the factory. It can be embedded in the equipment control program by software. The unit is per unit value (pu). For example, the preset reference reactance is 0.05pu.

[0152] In one possible implementation, the preset reactance adjustment coefficient refers to the proportional coefficient used to adjust the magnitude of the change of the virtual reactance with the first parameter. It is a preset dimensionless constant, which is tuned according to the damping requirements and response speed requirements of the grid voltage control. It can be fixed in the main controller. For example, the preset reactance adjustment coefficient is 0.8.

[0153] In one possible implementation, the reactance in the adjusted second parameter can be expressed as:

[0154] Xv = Xbase × (1 + Kx × 1 / SCR)

[0155] Where Xbase is the preset reference reactance, Kx is the preset reactance adjustment coefficient, and SCR is the first parameter before adjustment.

[0156] S302. Based on the preset reference resistor, the preset resistance adjustment coefficient, and the first parameter, adjust the resistance in the second parameter.

[0157] In one possible implementation, the preset reference resistance refers to the basic reference value of the virtual resistance in the virtual impedance, which corresponds to the preset reference reactance. It is a fixed value preset by the software and is in pu. For example, the preset reference resistance is 0.02pu.

[0158] In one possible implementation, the preset resistance adjustment coefficient refers to the proportional coefficient used to adjust the change of the virtual resistance with the first parameter. It is a preset dimensionless constant. In order to adapt to the requirements of power grid damping enhancement, its value is usually greater than the reactance adjustment coefficient to ensure rapid damping enhancement under weak power grid conditions. For example, the preset resistance adjustment coefficient is 1.5.

[0159] In one possible implementation, the resistance in the adjusted second parameter can be expressed as:

[0160] Rv = Rbase × (1 + Kr × 1 / SCR)

[0161] Where Rbase is the preset reference resistor, Kr is the preset resistance adjustment coefficient, and SCR is the first parameter before adjustment.

[0162] In one possible implementation, in a strong power grid scenario, the virtual reactance can be 0.058 pu and the virtual resistance can be 0.026 pu; in a weak power grid scenario, the virtual reactance can be 0.07 pu and the virtual resistance can be 0.035 pu.

[0163] In this embodiment, the second parameter is decomposed into reactance and resistance, which are adjusted separately. Based on preset reference reactance, reference resistance, and corresponding adjustment coefficients, adaptive adjustment is achieved in combination with the first parameter. The resistance adjustment coefficient is greater than the reactance adjustment coefficient to meet the requirements of enhanced grid damping. This adjustment method is computationally efficient and can achieve a precise negative correlation between the adjusted second parameter and the first parameter. Under weak grid conditions, reactance and resistance are increased to enhance disturbance suppression and improve system damping, while under strong grid conditions, parameters are decreased to accelerate reactive power response. At the same time, the preset parameters are fixed and multiple devices are adjusted uniformly, ensuring the synchronization and consistency of the adjustment. This provides accurate and reliable parameter support for voltage control equipment to adapt to different grid strength conditions, improving the adaptability and stability of grid control.

[0164] Based on the above embodiments, the control system of the first power grid can determine the voltage bias of each voltage control device, and then, in combination with the reactive power demand and operating status of each voltage control device, perform precise reactive power allocation and voltage bias calculation, thereby realizing coordinated control of coarse and fine adjustment of the first voltage of the first power grid.

[0165] Next, combined Figure 4 The method for determining the voltage bias of each voltage control device is described in detail, with examples provided. Figure 4This is a schematic flowchart illustrating a method for determining voltage bias according to an embodiment of this application. Please refer to... Figure 4 As shown, the method may include the following steps:

[0166] S401. Based on the first voltage and the first current, determine the load reactive power, which is used to indicate the reactive power demand on the load side of the first power grid.

[0167] In one possible implementation, load reactive power refers to the reactive power provided by the first power grid to the electrical load within its supply range. It is the actual reactive power demand generated on the load side, determined by the characteristics of the electrical load (e.g., inductive loads need to absorb capacitive reactive power, and capacitive loads need to absorb inductive reactive power). The unit is Mvar or kilovar (kvar).

[0168] In one possible implementation, the reactive power of the load can be represented as:

[0169]

[0170] Where Vgrid is the first voltage and Igrid is the first current.

[0171] S402. Determine the allocation coefficient, which is used to indicate the proportion of reactive power tasks that multiple voltage control devices should undertake.

[0172] In one possible implementation, the allocation coefficient refers to the proportion of the reactive power compensation task that each of the multiple voltage control devices should undertake to the total reactive power demand. It is a dimensionless constant, and the sum of the allocation coefficients of each voltage control device is 1. Its value is determined by the real-time operating status of the device.

[0173] In some implementations, determining the allocation coefficients may include:

[0174] The first temperature and capacity margin of each voltage control device are determined respectively. The capacity margin is used to indicate the remaining available capacity of each voltage control device. Based on the first temperature of each voltage control device, the heat capacity factor is determined. The heat capacity factor is used to indicate the degree of thermal balance among the voltage control devices. Based on the first temperature and capacity margin of each voltage control device, the allocation coefficient is determined.

[0175] In one possible implementation, the first temperature refers to the real-time operating temperature of the insulated gate bipolar transistor (IGBT) component in the core power device (such as the step-up transformer) of each voltage control device. It can indicate the thermal operating status of each voltage control device and is measured in degrees Celsius (°C). It is collected in real time by a high-precision temperature sensor configured in the core power device (such as the step-up transformer).

[0176] In one possible implementation, capacity margin refers to the current remaining available apparent power capacity of each voltage control device. It is the ratio of the difference between the rated apparent power of the device and the current actual output apparent power to the rated apparent power. It is a dimensionless constant with a value range of 0 to 1. It is used to indicate the ability of each voltage control device to continue to undertake reactive power compensation tasks. The larger the capacity margin, the more reactive power tasks the voltage control device can undertake.

[0177] In one possible implementation, the main controller can use a temperature sensor in the voltage control device to collect the first temperature of the IGBT components in the core power device (such as a step-up transformer). The collection period of the first temperature can be preset, for example, 5ms.

[0178] In one possible implementation, the current actual output active power and current actual output reactive power of each voltage control device can be determined. Then, based on the current actual output active power and current actual output reactive power of each voltage control device, the capacity margin of each voltage control device can be determined. The capacity margin can be expressed as:

[0179]

[0180] Where Srated is the rated capacity (e.g., 15MVA), P is the current actual output active power of the voltage control device, and Q is the current actual output reactive power of the voltage control device.

[0181] In one possible implementation, if the number of voltage-controlled devices is 2, the heat capacity factor can be expressed as:

[0182]

[0183] Wherein, KT is the preset temperature adjustment coefficient (e.g., 0.02), TIGBT1 is the first temperature of the first voltage control device, and TIGBT2 is the first temperature of the second voltage control device.

[0184] In one possible implementation, if the number of voltage control devices is 2, the allocation coefficient can be expressed as:

[0185]

[0186] Where M1 is the capacity margin of the first voltage control device, M2 is the capacity margin of the second voltage control device, βthermal is the heat capacity factor, β1 is the master-slave role coefficient of the first voltage control device, and β2 is the master-slave role coefficient of the second voltage control device.

[0187] The master-slave role coefficient of voltage control equipment refers to the weighting coefficient pre-configured or dynamically allocated in real time for each voltage control device according to the system control strategy. It is used to distinguish the master and slave roles of multiple voltage control devices in the coordinated voltage regulation process and is a dimensionless constant. The master device has a larger master-slave role coefficient and is given priority in undertaking more reactive power compensation tasks; the slave device has a smaller master-slave role coefficient and is used to assist in sharing reactive power compensation tasks. The master-slave role coefficient can be dynamically adjusted according to system operating conditions, equipment health status, equipment commissioning sequence, or control commands, thereby achieving hierarchical coordination, balanced output, and stable and reliable reactive power distribution among multiple devices.

[0188] In one possible implementation, the sum of the allocation coefficients of each voltage control device is 1.

[0189] S403. Based on the load reactive power and the distribution coefficient, determine the reactive power requirements of each voltage control device.

[0190] In some implementations, the reactive power requirements of multiple voltage control devices are determined based on load reactive power and distribution factors, which may include:

[0191] Determine the reactive power for voltage regulation and the reactive power for feedforward. The reactive power for voltage regulation is used to indicate the amount of reactive power compensation required to maintain the voltage stability of the first power grid, and the reactive power for feedforward is used to indicate the amount of reactive power compensation required to predict and suppress voltage disturbances in the first power grid in advance. Based on the reactive power for load, reactive power for voltage regulation, and reactive power for feedforward, determine the total reactive power demand, which is used to indicate the total reactive power compensation required by the first power grid. Based on the total reactive power demand and the allocation coefficient, determine the reactive power demand of multiple voltage control devices.

[0192] In one possible implementation, voltage regulation reactive power refers to the amount of reactive power compensation required to maintain the voltage of the first power grid within the rated range. It is determined by the deviation between the actual voltage of the power grid and the rated voltage. The greater the deviation, the greater the demand for voltage regulation reactive power. The unit can be Mvar.

[0193] In one possible implementation, feedforward reactive power refers to the reactive power compensation required to suppress the short-term voltage disturbance trend of the first power grid in advance, which is predicted by a prediction algorithm. The reactive power compensation is calculated by the prediction unit of the control system of the first power grid (which is equipped with a lightweight Long Short-Term Memory (LSTM) neural network model), and the unit is Mvar.

[0194] In one possible implementation, total reactive power demand refers to the total reactive power compensation required by the first power grid under the current operating conditions to maintain voltage stability, compensate for load reactive power, and suppress voltage disturbances. It consists of three parts: load reactive power, voltage regulation reactive power, and feedforward reactive power, and the unit is Mvar.

[0195] In one possible implementation, the voltage regulation reactive power can be determined based on the rated voltage of the first power grid and the first voltage. The voltage regulation reactive power can be expressed as:

[0196]

[0197] Where Dq is the droop coefficient, Vn is the rated voltage of the first power grid, and Vgrid is the first voltage.

[0198] The droop coefficient refers to the core adjustment coefficient of reactive power-voltage droop control. It is a dimensionless constant or a dimensionless proportional coefficient that can indicate the mapping relationship between the voltage deviation of the first power grid and the reactive power compensation. The droop coefficient can be pre-set according to the rated capacity of the voltage control equipment, the voltage regulation characteristics of the power grid, and the system stability margin. It is used to constrain the adjustment range of reactive power regulation, avoid excessive reactive power compensation caused by small voltage fluctuations, and ensure the stability of reactive power regulation.

[0199] In one possible implementation, the main controller can obtain feedforward reactive power from the independent prediction unit (configured by a lightweight LSTM model) of the power grid control system. Specifically, the prediction unit collects historical voltage, current and load fluctuation data of the first power grid, completes short-time voltage disturbance prediction through the lightweight LSTM model, and determines the feedforward reactive power to suppress the disturbance.

[0200] In one possible implementation, the total reactive power demand can be determined by summing the load reactive power, voltage regulation reactive power, and feedforward reactive power.

[0201] In one possible implementation, if the number of voltage control devices is 2, then the reactive power demand of the first voltage control device can be expressed as:

[0202]

[0203] in, The initial reactive power output of the first voltage-controlled device. For total reactive power demand, This is the allocation coefficient for the first voltage control device.

[0204] In one possible implementation, if the number of voltage control devices is 2, then the reactive power demand of the second voltage control device can be expressed as:

[0205]

[0206] in, The initial reactive power output of the second voltage control device. For total reactive power demand, This is the allocation coefficient for the second voltage control device.

[0207] S404. Based on the reactive power requirements of each voltage control device, determine the voltage bias of each voltage control device. The voltage bias is used to indicate the amount of voltage compensation that needs to be adjusted for multiple voltage control devices.

[0208] In one possible implementation, voltage bias refers to the amount of inverter output voltage compensation that each voltage control device needs to adjust in order to output the power corresponding to the reactive power demand. The unit is kV or pu. The value of voltage bias is positively correlated with the reactive power demand of the corresponding voltage control device. The greater the reactive power demand, the greater the voltage bias.

[0209] In one possible implementation, the voltage bias of each voltage control device can be determined based on the corrected virtual electromotive force (the virtual electromotive force corrected for the ESVG in S104 based on the voltage bias of the voltage control device), the rated virtual electromotive force of each voltage control device, the droop coefficient, the current actual reactive power output of each voltage control device, and the reactive power demand of each voltage control device. For a voltage control device, its voltage bias can be expressed as:

[0210]

[0211] Where Eref is the corrected virtual electromotive force, En is the rated virtual electromotive force of the voltage control device, Dq is the droop coefficient, Qout is the current actual output reactive power of the voltage control device, and Qref is the reactive power demand of the voltage control device.

[0212] In this embodiment, by determining the reactive power of the load and combining the thermal state and capacity margin of the voltage control equipment to determine the allocation coefficient of each voltage control equipment, the total reactive power demand is determined by integrating the multi-dimensional needs of load compensation, voltage regulation, and disturbance prediction and is broken down to individual voltage control equipment. Then, the voltage bias is derived based on the reactive power demand in a closed loop, and the voltage bias can reverse the virtual electromotive force in S104 to form feedback regulation. This not only achieves a balanced distribution of reactive power tasks among multiple voltage control equipment, avoiding overheating and overload of individual equipment, and taking into account the real-time and forward-looking nature of reactive power compensation, but also, through the accurate calculation of voltage bias, makes the inverter's output voltage adapt to the grid conditions and equipment reactive power demand, strengthens the stability of parallel collaboration of multiple voltage control equipment, improves the grid voltage control accuracy, simplifies the control logic, and ensures the reliability and adaptability of voltage regulation under different operating conditions such as weak grids and strong grids.

[0213] Based on the above embodiments, the control system of the first power grid may include: a main controller, voltage control equipment, and a prediction unit, wherein,

[0214] The main controller is the core unit of the control system. It is used to obtain the pre-processed first voltage and first current at the grid connection point of the first power grid, determine the first parameter indicating the grid strength based on it, and then uniformly adjust the second parameters of multiple voltage control devices according to the first parameter. At the same time, the main controller determines the load reactive power based on the first voltage and first current, calculates the allocation coefficient by combining the first temperature and capacity margin of each voltage control device, and obtains the total reactive power demand by integrating voltage regulation reactive power and feedforward reactive power. Then, it allocates the reactive power demand to each voltage control device according to the allocation coefficient. It can also monitor the real-time value of the first voltage. If the first voltage deviates from the rated range, it iteratively adjusts the total reactive power demand and the reactive power allocation ratio of each voltage control device. It can also collect the operating status parameters of each voltage control device to ensure the balance and coordination of reactive power distribution when multiple devices are running in parallel.

[0215] The voltage control device is the execution unit for voltage control of the first power grid. It is a power electronic device connected to the first power grid and capable of actively adjusting the grid voltage. It can receive the reactive power demand issued by the main controller, load the grid-type SVG to generate a virtual electromotive force, and combine it with the second parameter adjusted by the main controller to correct the output voltage reference of the inverter. At the same time, it corrects the virtual electromotive force based on its own reactive power demand, completes the secondary calibration of the output voltage reference, and finally controls the inverter to output the power corresponding to the reactive power demand to the grid connection point of the first power grid by generating a PWM signal, thereby achieving precise regulation of the first voltage. It can also start a dynamic circulating current suppression strategy to suppress the internal partition circulating current of multiple voltage control devices operating in parallel within a preset proportion of the rated current, ensuring the coordination of reactive power output.

[0216] The prediction unit is a predictive auxiliary unit for the voltage control of the first power grid. It is an independent calculation module of the first power grid control system and is equipped with a lightweight LSTM model to provide feedforward reactive power for the control system. Specifically, it can collect historical voltage, current and load fluctuation data of the first power grid, and use the lightweight LSTM model to predict the short-term voltage disturbance trend of the first power grid in the future. It calculates the feedforward reactive power required to suppress the voltage disturbance in advance and provides it to the main controller. This allows the main controller to incorporate the compensation requirements of the disturbance prediction when determining the total reactive power demand, so that the reactive power compensation of the first power grid has foresight and effectively improves the suppression effect of voltage disturbance.

[0217] The main controller has a high sampling frequency, up to 10kHz, and a control cycle of 100 microseconds (μs) for the first voltage. It can communicate with the partition controller via optical fiber, with a communication cycle of 2ms. The partition controller can operate at a frequency of 10kHz and is connected to the temperature sensor via a 16-bit high-speed analog-to-digital (AD) converter, with a sampling accuracy of 0.01%. The prediction unit can be implemented based on a digital signal processor (DSP) or a field programmable gate array (FPGA), and calculates the feedforward reactive power once every preset prediction cycle (e.g., 5ms).

[0218] Based on the above embodiments, if a voltage control device experiences a hardware failure (inverter overcurrent, DC bus overvoltage, communication interruption, etc.), it will switch immediately; if the capacity margin of a voltage control device is less than 10% and the duration exceeds 5 seconds, it will switch to another voltage control device as the master; if a voltage control device fails to complete the reactive power command 3 times in a row (each time with an interval of 2 seconds) (actual output deviation > 15%), it will switch.

[0219] In one possible implementation, a smooth transition strategy can be adopted during the switching process: After the main controller detects the switching conditions, it issues a switching command. The original main voltage control device (the device with the largest master-slave role coefficient is the main voltage control device) reduces its output according to a linear ramp function, with the ramp time set to 10ms-20ms. Simultaneously, the new main voltage control device increases its output to the target value according to the same ramp rate. During the switching process, the sum of the outputs of the two main voltage control devices remains basically constant, the total reactive power output fluctuation is controlled within ±3%, and the corresponding bus voltage fluctuation is less than 0.5%, ensuring a smooth and shock-free switching process.

[0220] Based on the above embodiments, the following will be combined with... Figure 5 The adaptive adjustment of virtual impedance is explained. Figure 5 This is a schematic diagram illustrating an adaptive adjustment of virtual impedance provided in an embodiment of this application, such as... Figure 5 As shown, the horizontal axis represents the short-circuit ratio (SCR) of the power grid, and the vertical axis represents the per-unit value of the virtual impedance.

[0221] Virtual reactance, as a core component affecting reactive power characteristics, takes a value of 0.07pu~0.09pu in weak grid areas (SCR less than 2), and gradually decreases to 0.058pu~0.06pu in strong grid areas (SCR greater than 3.5) as SCR increases. This means that in weak grid areas, the reactance is increased to strengthen voltage disturbance suppression and avoid insufficient reactive power compensation, while in strong grid areas, the reactance is decreased to improve reactive power response speed and adapt to the needs of rapid voltage regulation.

[0222] The virtual resistance, as the core component providing system damping, takes a value of approximately 0.035pu~0.05pu in the weak grid area, and gradually decreases to 0.026pu~0.028pu in the strong grid area as the SCR increases. Moreover, its adjustment range (determined by the preset resistance adjustment coefficient Kr) is greater than that of the virtual reactance, ensuring rapid improvement of system damping and attenuation of voltage oscillation under weak grid conditions, and solving the problem of strong coupling oscillation between the grid and equipment.

[0223] The smaller the SCR, the weaker the power grid, the greater the (virtual) impedance, and the stronger the stability of the control system.

[0224] Based on the above embodiments, determining feedforward reactive power using a lightweight LSTM model can include:

[0225] Using a preset prediction period (e.g., 5ms) as the control period, input the historical time sequence of the first voltage at the grid connection point of the first power grid. The data is downsampled and normalized preprocessed, and the real-time voltage slope dV / dt is extracted, where k is the timing index of the current control cycle;

[0226] A lightweight prediction method using sparse matrix computation and activation function lookup table (LUT) is adopted to reduce computation latency while ensuring prediction accuracy and output the original predicted voltage change trend. At the same time, the background performs online correction using recursive least squares (RLS) with low-frequency tasks, only updating the output layer weights to complete error judgment and weight fine-tuning, thereby improving the model's adaptability under unseen operating conditions.

[0227] The original predicted trend and the real-time slope dV / dt obtained by physical feature extraction are checked for sign to determine whether the sign of the original predicted trend is equal to the sign of the real-time slope dV / dt. If they are not equal, the circuit breaker action is triggered directly, the feedforward reactive power is set to 0, and the system is reverted to pure SVG feedback control.

[0228] If the trend verification passes, the amplitude verification is further performed to determine whether the absolute value of the original predicted trend is less than 10% of the rated virtual electromotive force. If it is not less than 10%, the circuit breaker is triggered, and the feedforward reactive power is set to 0. If it is less than 10%, the feedforward gain coefficient is multiplied by the original predicted trend to obtain the feedforward reactive power. The feedforward gain coefficient can refer to the proportional coefficient used to adjust the output amplitude of the feedforward reactive power. It is preset according to the grid strength, equipment capacity and system response characteristics to ensure that the feedforward adjustment is smooth and not excessive. The original predicted trend is, for example, the voltage change in the next control cycle.

[0229] The final determined feedforward reactive power is output to the main controller, and together with the load reactive power and voltage regulation reactive power, it constitutes the total reactive power demand, participates in the virtual electromotive force correction and voltage bias calculation, and realizes the early suppression of the first grid voltage disturbance.

[0230] Next, taking a case where the number of voltage control devices is 2 as an example, combined with... Figure 6 This paper describes the architecture of a grid-type energy storage SVG system, with examples provided. Figure 6 This is a schematic diagram of a grid-type energy storage SVG system architecture provided for an embodiment of this application. Please refer to... Figure 6 As shown, the system may include:

[0231] 35kV power grid (SCR fluctuation), Left partition, Right partition, Main controller, Artificial intelligence The system includes an AI prediction unit (equipped with a lightweight LSTM model and a fuse), an IGBT temperature sensor (collecting the first temperature as (T_IGBT)), an LC filter, and a step-up transformer (with a low-voltage side voltage of 690V and a high-voltage side voltage of 35kV). The left and right sections are symmetrical voltage control devices, each including a section controller. The left section includes a left section controller, and the right section includes a right section controller. Each section includes a series-connected energy storage battery pack (15 megawatts (MW) / 30 megawatt-hours (MWh)), a DC / DC converter, a three-level VSC inverter, an LC filter, and a step-up transformer. The high-voltage side of the step-up transformer is connected to the bus of the 35kV power grid. The 35kV power grid can transmit power to the step-up transformers in the left and right sections. The step-up transformers in the left and right sections can compensate for voltage to the 35kV power grid.

[0232] 35kV power grid (SCR fluctuation) refers to a high-voltage power grid with a rated voltage of 35kV, where the grid strength and SCR fluctuate in real time, and the grid is characterized by alternating periods of weak and strong grids.

[0233] The energy storage battery pack (15MW / 30MWh) refers to an energy storage battery pack with a rated charge / discharge power of 15MW and a rated energy storage capacity of 30MWh.

[0234] The IGBT temperature sensor is configured in the IGBT component of the step-up transformer to collect the first temperature of the IGBT component in real time and transmit it to the main controller through the partition controller.

[0235] The main controller communicates with the partition controllers of the left and right partitions and the AI ​​prediction unit through optical fiber. On the one hand, it receives the first voltage (V_grid), the first current (I_grid) of the first power grid and the operating status parameters of the two partitions to complete the calculation of the first parameter (SCR), the adjustment of the second parameter (virtual impedance Zv) and the allocation of reactive power demand. On the other hand, it receives the feedforward reactive power (Q_ff) output by the AI ​​prediction unit and works together to complete the calculation of total reactive power demand and the issuance of voltage bias command (ΔV_bias).

[0236] The AI ​​prediction unit independently collects historical electrical quantity data (V_grid, I_grid time series data) of the first power grid, generates feedforward reactive power through a lightweight LSTM model and feeds it back to the main controller;

[0237] After receiving instructions from the main controller, the two zone controllers execute the SVG control algorithm, combine it with the virtual impedance to correct the inverter output voltage reference, generate a PWM signal to control the operation of the three-level VSC inverter, and simultaneously start the dynamic circulating current suppression strategy to ensure the synergy of the parallel operation of the two zones. Finally, by outputting power corresponding to the reactive power demand, the precise and stable control of the first voltage of the 35KV power grid is achieved.

[0238] The DC power (voltage range of 800V-1200V) in the energy storage battery pack can be bidirectionally converted by a DC / DC converter into a voltage compatible with the DC bus (rated 1500V, allowable fluctuation range of 1400V-1600V), and then sent to a three-level VSC inverter, which converts the DC power into AC power that is in phase and frequency with the 35KV power grid.

[0239] like Figure 6 As shown, the fuse in the AI ​​prediction unit can realize the mechanism verification fuse function: through trend verification (determining whether the direction of voltage change predicted by LSTM is consistent with the sign of the voltage change rate measured by the physical measurement) and amplitude fuse (determining whether the prediction deviation exceeds 10% of the rated voltage), if the verification conditions are not met, the feedforward gain is immediately set to zero, and the system smoothly falls back to pure SVG feedback control (i.e., the total reactive power demand does not include feedforward reactive power), thus avoiding the AI ​​model from outputting abnormal values ​​under unseen operating conditions.

[0240] The thermal capacity allocation decision in the main controller refers to calculating the thermal capacity balance factor based on the first temperature (T_IGBT) of the IGBT components in the two zones, and determining the reactive power allocation coefficient by combining the capacity margin of each zone and the master-slave role coefficient. The total reactive power demand is tilted towards the zone with lower temperature rise and larger capacity margin, so as to achieve equipment thermal capacity balance and life management.

[0241] The generation of secondary voltage regulation commands in the main controller refers to determining the voltage bias of each voltage control device;

[0242] In the left partition controller, SVG refers to the virtual electromotive force generated by the network-type virtual synchronous machine, which gives the voltage control equipment voltage source characteristics and dynamic response capabilities similar to a synchronous generator.

[0243] The impedance in the left partition controller refers to the second parameter, virtual impedance, which is introduced through software algorithm without actual hardware loss. It can be adaptively adjusted according to the first parameter. It is increased under weak grid conditions to enhance damping and suppress oscillation, and decreased under strong grid conditions to improve response speed.

[0244] The circulating current suppression in the left partition controller refers to the dynamic circulating current damping strategy. By collecting the output current deviation between the two partitions, a virtual circulating current damping resistor is introduced to correct the voltage reference value. This suppresses the internal partition circulating current of multiple devices operating in parallel to within 1% of the rated current, ensuring reactive power output coordination and preventing circulating current from affecting the first voltage control effect.

[0245] Based on the above embodiments, the control algorithm can be decomposed into multiple parallel-executable modules. Combined with hardware computing power, timing optimization can be achieved to improve control response efficiency. The parallel-executable modules can be DSPs, which are embedded chips with high-speed computing capabilities, used to execute the power grid control method provided in the embodiments of this application. For example, the number of DSPs is 8. One DSP can be used to collect the first temperature, another DSP can be used for SVG active frequency control calculation, another DSP can be used for SVG reactive voltage control calculation, and yet another DSP can be used for virtual impedance calculation and dual closed-loop control. Other DSPs can be used as backup cores to handle prediction calculation, communication, and data recording tasks.

[0246] Based on the above embodiments, the predicted feedforward reactive power can be directly superimposed on the reactive power reference value without going through an integration stage, forming a fast channel. This resolves the contradiction between the lag and slow response of traditional SVG. The feedforward and feedback channels adopt a parallel structure, and the feedforward compensation and feedback compensation are directly added at the reactive power reference value calculation node. In this way, the two channels work independently without interference. The feedforward channel provides a fast response, while the feedback channel ensures steady-state accuracy. To prevent the feedforward and feedback from canceling each other out, a coordination coefficient can be set. When the feedforward compensation direction is opposite to the feedback compensation direction, the feedforward gain is automatically halved to avoid control conflicts.

[0247] Based on the above embodiments, to avoid current surges and grid oscillations that may be caused by excessively rapid reactive power change rates, a reactive power output change rate limit is set, with the maximum change rate set at 150% of the rated capacity per second, for example, 45 Mvar / s. Within a 100 μs control cycle, the maximum permissible reactive power change is 4.5 kvar. When the calculated reactive power command change exceeds the limit, a limiting process is applied, changing at the maximum rate. The speed limiter is implemented using a first-order inertial element, with the time constant set to 1 / 150 second. This time constant indicates the smooth transition speed of the reactive power command; a smaller time constant results in a faster command change, while a larger time constant results in a smoother command change. This allows the reactive power output to rise or fall smoothly at a limited rate, achieving a rapid and shock-free regulation effect.

[0248] Based on the above embodiments, a multi-timescale coordinated control strategy is adopted, dividing the control task into three timescales: a fast scale (100μs), a medium scale (5ms), and a slow scale (100ms). The fast scale handles the inner-loop current control and PWM modulation, the medium scale handles the outer-loop voltage control, VSG control, and feedforward compensation, and the slow scale handles parameter adaptive adjustment, SCR estimation, and master-slave switching. In this way, through multi-timescale hierarchical decoupled control, the fast scale ensures control accuracy, the medium scale achieves dynamic response, and the slow scale optimizes the operating strategy. These three scales are clearly defined, do not interfere with each other, and work together to enhance efficiency. This not only meets the high-frequency response requirements of grid voltage control but also reduces the computational load on the core processor and improves the efficiency of the control algorithm. Simultaneously, it enhances the system's anti-interference capability, operating condition adaptability, and fault tolerance, significantly improving the voltage stability, equipment reliability, and overall control performance of the grid under complex operating conditions.

[0249] Based on the above embodiments, to avoid overcurrent problems during grid-connected SVG short circuits, when the instantaneous output current exceeds 1.2 times the rated value, the virtual impedance increases by 5-10 times within 100μs, using high impedance to impede the short-circuit current. If the current continues to exceed 1.5 times the rated value, it automatically switches to current-limiting source mode to prioritize preventing the device from disconnecting from the grid. After the fault is cleared, it automatically switches back to SVG grid-connected mode. The current-limiting source mode refers to controlling the output current within a threshold range of 1.5 times the rated current, using a constant safe current as the control target, thus blocking the large current surge caused by short-circuit faults while maintaining grid connection and preserving rapid recovery capability after fault clearance, balancing device hardware safety and grid fault ride-through reliability.

[0250] Figure 7 This is a schematic diagram of a power grid control device provided in an embodiment of this application. Please refer to... Figure 7The power grid control device 700 includes: an acquisition module 701, a determination module 702, an adjustment module 703, and a control module 704, wherein...

[0251] The acquisition module 701 is used to acquire the first voltage and the first current of the first power grid. The control system of the first power grid includes multiple voltage control devices.

[0252] The determining module 702 is used to determine a first parameter of the first power grid based on a first voltage and a first current, wherein the first parameter is used to indicate the grid strength of the first power grid;

[0253] The adjustment module 703 is used to adjust the second parameter of multiple voltage control devices based on the first parameter. The second parameter is used to indicate the ability to suppress voltage disturbances and the ability to attenuate voltage oscillations in the first power grid. The first parameter is negatively correlated with the adjusted second parameter.

[0254] Control module 704 is used to control the first voltage based on the adjusted multiple voltage control devices;

[0255] Module 702 is also used for:

[0256] In the target scenario, determine the first change in the first voltage and the second change in the first current. The target scenario is the scenario where the first power grid receives reactive power disturbance.

[0257] Based on the first and second changes, a third parameter of the first power grid is determined. The third parameter is used to indicate the ability of the first power grid to impede current under changes in voltage and current.

[0258] Based on the third parameter, the first parameter of the first power grid is determined.

[0259] The power grid control device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be repeated here.

[0260] In one possible implementation, the adjustment module 703 is specifically used for:

[0261] Based on the preset reference reactance, the preset reactance adjustment coefficient, and the first parameter, the reactance in the second parameter of multiple voltage control devices is adjusted;

[0262] Based on the preset reference resistor, the preset resistance adjustment coefficient, and the first parameter, the resistance in the second parameter is adjusted.

[0263] In one possible implementation, the power grid control device further includes a processing module 705, which is configured to:

[0264] Based on the first voltage and the first current, the load reactive power is determined, and the load reactive power is used to indicate the reactive power demand on the load side of the first power grid.

[0265] Determine the allocation coefficient, which is used to indicate the proportion of reactive power tasks that should be undertaken by multiple voltage control devices;

[0266] Based on the load reactive power and the distribution factor, determine the reactive power requirements of each voltage control device;

[0267] Based on the reactive power requirements of each voltage control device, the voltage bias of each voltage control device is determined. The voltage bias is used to indicate the amount of voltage compensation that needs to be adjusted for multiple voltage control devices.

[0268] In one possible implementation, the processing module 705 is specifically used for:

[0269] The first temperature and capacity margin of each voltage control device are determined respectively. The capacity margin is used to indicate the remaining available capacity of each voltage control device.

[0270] Based on the first temperature of each voltage control device, a heat capacity factor is determined. The heat capacity factor is used to indicate the degree of thermal balance among the voltage control devices.

[0271] The allocation coefficient is determined based on the first temperature of each voltage control device and the capacity margin of each voltage control device.

[0272] In one possible implementation, the processing module 705 is specifically used for:

[0273] Determine the voltage regulation reactive power and feedforward reactive power. The voltage regulation reactive power is used to indicate the amount of reactive power compensation required to maintain the voltage stability of the first power grid, while the feedforward reactive power is used to indicate the amount of reactive power compensation required to predict and suppress voltage disturbances in the first power grid in advance.

[0274] Based on load reactive power, voltage regulation reactive power and feedforward reactive power, the total reactive power demand is determined, and the total reactive power demand is used to indicate the total reactive power compensation required by the first power grid.

[0275] Based on the total reactive power demand and the allocation factor, the reactive power demand of multiple voltage control devices is determined.

[0276] The power grid control device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be repeated here.

[0277] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 8 As shown, the electronic device 800 may include: a transceiver 801, a processor 802, and a memory 803.

[0278] Processor 802 executes computer execution instructions stored in memory, causing processor 802 to perform the scheme in the above embodiments. Processor 802 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0279] The memory 803 is connected to the processor 802 via the system bus and completes communication between them. The memory 803 is used to store computer program instructions.

[0280] Transceiver 801 can be used to obtain the task to be run and its configuration information.

[0281] The system bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The system bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only one thick line is used in the diagram, but this does not indicate that there is only one bus or one type of bus. Transceivers are used to enable communication between database access devices and other computers (e.g., clients, read-write libraries, and read-only libraries). Memory may include random access memory (RAM) and may also include non-volatile memory.

[0282] The electronic device provided in this application embodiment can be any device with on-device computing capabilities. For example, the electronic device can be a server, computer, or other such device, and this application embodiment does not limit this.

[0283] This application also provides a chip for executing instructions, which is used to execute the technical solution of the power grid control method in the above embodiments.

[0284] This application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on a computer, the computer performs the technical solution of the power grid control method described in the above embodiments.

[0285] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

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

[0287] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The unit composed of the above modules can be implemented in hardware or in the form of hardware plus software functional units.

[0288] The integrated modules described above, implemented as software functional modules, can be stored in a computer-readable storage medium. These software functional modules, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application.

[0289] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0290] The memory may include high-speed RAM, and may also include non-volatile memory (NVM), such as at least one disk storage device, and may also be a USB flash drive, external hard drive, read-only memory, disk or optical disc, etc.

[0291] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0292] The aforementioned storage media can be implemented from any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The storage media can be any available medium accessible to general-purpose or special-purpose computers.

[0293] An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Alternatively, the storage medium can be an integral part of the processor. The processor and storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and storage medium can exist as discrete components in an electronic control unit or main control device.

[0294] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0295] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A power grid control method, characterized in that, include: The system acquires the first voltage and the first current of the first power grid, wherein the control system of the first power grid includes multiple voltage control devices. Based on the first voltage and the first current, a first parameter of the first power grid is determined, wherein the first parameter is used to indicate the grid strength of the first power grid; Based on the first parameter, the second parameter of the plurality of voltage control devices is adjusted. The second parameter is used to indicate the ability to suppress voltage disturbances and attenuate voltage oscillations of the first power grid. The first parameter is negatively correlated with the adjusted second parameter. The first voltage is controlled based on the adjusted multiple voltage control devices; Determining the first parameter of the first power grid based on the first voltage and the first current includes: In the target scenario, a first change in the first voltage and a second change in the first current are determined, wherein the target scenario is the scenario in which the first power grid receives reactive power disturbance; Based on the first change and the second change, a third parameter of the first power grid is determined, which indicates the ability of the first power grid to impede current under changes in voltage and current. Based on the third parameter, the first parameter of the first power grid is determined.

2. The method according to claim 1, characterized in that, The adjustment of the second parameter of the plurality of voltage control devices based on the first parameter includes: Based on the preset reference reactance, the preset reactance adjustment coefficient, and the first parameter, the reactance in the second parameter of the plurality of voltage control devices is adjusted; The resistance in the second parameter is adjusted based on the preset reference resistance, the preset resistance adjustment coefficient, and the first parameter.

3. The method according to claim 1, characterized in that, The method further includes: Based on the first voltage and the first current, the load reactive power is determined, and the load reactive power is used to indicate the reactive power demand on the load side of the first power grid. Determine the allocation coefficient, which is used to indicate the proportion of reactive power tasks that the plurality of voltage control devices should undertake; Based on the load reactive power and the allocation coefficient, the reactive power requirements of each voltage control device are determined; Based on the reactive power requirements of each voltage control device, the voltage bias of each voltage control device is determined, and the voltage bias is used to indicate the amount of voltage compensation that needs to be adjusted by the multiple voltage control devices.

4. The method according to claim 3, characterized in that, The determination of the allocation coefficient includes: The first temperature and capacity margin of each voltage control device are determined respectively, and the capacity margin is used to indicate the remaining available capacity of each voltage control device; Based on the first temperature of each voltage control device, a heat capacity factor is determined, which is used to indicate the degree of thermal balance among the voltage control devices. The allocation coefficient is determined based on the first temperature of each voltage control device and the capacity margin of each voltage control device.

5. The method according to claim 3, characterized in that, The determination of the reactive power demand of the plurality of voltage control devices based on the load reactive power and the allocation coefficient includes: Determine the voltage regulation reactive power and the feedforward reactive power, wherein the voltage regulation reactive power is used to indicate the amount of reactive power compensation required to maintain the voltage stability of the first power grid, and the feedforward reactive power is used to indicate the amount of reactive power compensation required to predict and suppress voltage disturbances in the first power grid in advance. Based on the load reactive power, the voltage regulation reactive power, and the feedforward reactive power, the total reactive power demand is determined, and the total reactive power demand is used to indicate the total reactive power compensation required by the first power grid. Based on the total reactive power demand and the allocation coefficient, the reactive power demand of the plurality of voltage control devices is determined.

6. A power grid control device, characterized in that, include: The module includes an acquisition module, a determination module, an adjustment module, and a control module. The acquisition module is used to acquire the first voltage and the first current of the first power grid, and the control system of the first power grid includes multiple voltage control devices. The determining module is used to determine a first parameter of the first power grid based on the first voltage and the first current, wherein the first parameter is used to indicate the grid strength of the first power grid. The adjustment module is used to adjust the second parameter of the plurality of voltage control devices based on the first parameter. The second parameter is used to indicate the ability to suppress voltage disturbances and attenuate voltage oscillations of the first power grid. The first parameter is negatively correlated with the adjusted second parameter. The control module is used to control the first voltage based on the adjusted multiple voltage control devices; The determining module is further configured to determine, in a target scenario, a first change in the first voltage and a second change in the first current, wherein the target scenario is a scenario in which the first power grid receives reactive power disturbance; based on the first change and the second change, determine a third parameter of the first power grid, wherein the third parameter is used to indicate the first power grid's ability to impede current under voltage and current changes; and based on the third parameter, determine a first parameter of the first power grid.

7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 5.

9. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method described in any one of claims 1 to 5.

10. A chip comprising at least one processor, the processor being configured to execute program instructions to perform the method as claimed in any one of claims 1 to 5.