A micro-grid control method, device, equipment and computer readable storage medium

CN122553376APending Publication Date: 2026-08-11EXTREME ENERGY STORAGE (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-05-07
Publication Date
2026-08-11

AI Technical Summary

Technical Problem

然而,目前对于柴油发电机的调度控制策略存在以下技术缺陷:工业负载往往伴随高频的脉动或冲击,传统按负载阈值简单增、减柴油发电机台数的策略,会导致发电机组频繁启动和停机,严重影响机械寿命并增加维护成本;传统策略多将储能作为简单的“备用电源”或仅在柴油发电机满载时,才参与削峰,未能充分发挥储能系统响应速度快、可双向充放电的“缓冲”作用

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122553376A_ABST
    Figure CN122553376A_ABST
Patent Text Reader

Abstract

This application discloses a microgrid control method, apparatus, device, and computer-readable storage medium, relating to the field of microgrid technology. The method includes: acquiring the load power of the microgrid, the number of operating fuel cell generators, the preset output power of a single fuel cell generator, and a control threshold power, thereby determining a control command; setting a timer with a delay time according to the control command, and adjusting the number of operating fuel cell generators according to the control command after the timer's accumulated time reaches the delay time; determining the interaction power between the fuel cell generators and the energy storage device based on the adjusted number of fuel cell generators, the preset output power of a single fuel cell generator, and the load power of the microgrid. By introducing a delay time, the number of fuel cell generators is adjusted with lag, avoiding frequent start-stop of fuel cell generators and extending equipment life.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of microgrid technology, and in particular to a microgrid control method, apparatus, device, and computer-readable storage medium. Background Technology

[0002] With advancements in energy storage technology, microgrid systems, which integrate diesel generators and energy storage systems, are widely used in remote areas, mines, islands, and large-scale infrastructure projects. Typically, multiple diesel generators are connected in parallel as the main power source. However, current scheduling and control strategies for diesel generators suffer from the following technical shortcomings: industrial loads are often accompanied by high-frequency fluctuations or surges. Traditional strategies that simply increase or decrease the number of diesel generators based on load thresholds lead to frequent generator starts and stops, severely impacting mechanical lifespan and increasing maintenance costs. Furthermore, traditional strategies often treat energy storage as a simple "backup power source" or only participate in peak shaving when the diesel generators are at full load, failing to fully utilize the "buffering" function of energy storage systems, which offer fast response times and bidirectional charging and discharging capabilities. Summary of the Invention

[0003] To address the problems mentioned in the background art, this application provides the following technical solutions: Firstly, a microgrid control method is provided, applied to a microgrid including a fuel generator and energy storage devices. The control method includes: The system obtains the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0004] The control commands are determined based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power.

[0005] According to the control instructions, a timer is set with a delay time, and after the timer's accumulated time reaches the delay time, the number of running fuel generators is adjusted according to the control instructions.

[0006] The interaction power between the fuel generators and the energy storage devices is determined based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0007] Furthermore, the delay time is based on: Determined; where T dz T represents the delay time. min T represents the minimum delay time. max This represents the maximum delay time, K represents the adjustment coefficient, and ΔP = P L - P t P represents the difference between the load power of the microgrid and the total power of the fuel generators currently in operation.L P represents the load power of the microgrid. t This indicates the total power of the fuel generator.

[0008] Furthermore, based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power, control commands are determined, including: Response to P L >P t + P th The adjustment command is to increase the number of fuel generators, where P L P represents the load power of the microgrid. t = N * P e P represents the total power of the fuel generators, N represents the number of fuel generators currently in operation, and P represents the total power of the fuel generators. e P represents the preset output power of a single fuel generator. th This indicates the control threshold power.

[0009] Response to P L < (N - 1) * P e - P th The adjustment instruction is to reduce the number of fuel generators.

[0010] Furthermore, based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid, the interaction power between the fuel generators and the energy storage devices is determined, including: According to: P tar = P L – N * P e Determine the interaction power, where P tar Indicates the interaction power.

[0011] Furthermore, after determining the interaction power between the fuel generator and the energy storage device, the following also includes: Get the interaction limit power.

[0012] Response to | P tar |>| P max |When, then according to: P L - P tar Update the total power of the fuel generators and distribute the total power of the fuel generators evenly among the currently operating fuel generators, where P max This indicates that the power is limited by the interaction.

[0013] Furthermore, the energy storage device has a warning zone, which is set to deviate from the center value of the energy storage device's power by a first power level.

[0014] If the energy storage device is operating in the warning zone and the remaining power of the energy storage device is greater than the center value of the power, the energy storage device is discharged at the first power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0015] In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is charged with the second power, and the sum of the load power and the second power is used as the total power of the fuel generator.

[0016] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0017] Furthermore, the energy storage device also has an intervention zone, which is set to deviate from the center value of the energy storage device's charge by a second charge.

[0018] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is discharged with the first discharge power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0019] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being less than the center value of the power, the energy storage device is charged with the second charging power, and the sum of the load power and the second power is taken as the total power of the fuel generator.

[0020] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0021] Secondly, a microgrid control device is provided for use in a microgrid including a fuel generator and energy storage equipment. The microgrid control device includes: The status monitoring module is used to obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0022] The instruction generation module is used to determine the control instructions based on the microgrid's load power, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0023] The delay control module is used to set a timer with a delay time according to the control command, and adjust the number of running fuel generators according to the control command after the accumulated time of the timer reaches the delay time.

[0024] The power distribution module is used to determine the interaction power between the fuel generators and the energy storage devices based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0025] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the microgrid control method described in the first aspect.

[0026] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the microgrid control method described in the first aspect is implemented.

[0027] Fifthly, a computer program product is provided, including a computer program that, when executed by a processor, implements the microgrid control method described in the first aspect.

[0028] The beneficial effects of the technical solution provided in this application are as follows: by implementing the microgrid control method, device, equipment and computer storage medium described in this application, by introducing a delay time, the number of fuel generators can be adjusted in a lagging manner, avoiding frequent start-stop of fuel generators and extending the life of fuel generators; by coordinating energy storage devices and fuel generators, the flexibility of microgrid functions is provided; by introducing a SOC hierarchical active intervention mechanism, the healthy operation of energy storage devices is ensured, and the microgrid's adaptability to complex operating conditions is improved. Attached Figure Description

[0029] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0030] Figure 1 This is a schematic diagram of a microgrid control method provided in an embodiment of this application; Figure 2 This is a schematic diagram of a microgrid control device provided in an embodiment of this application; Figure 3 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0032] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The numbers in the accompanying drawings are only used to distinguish individual functional parts or modules and do not indicate logical relationships between parts or modules. The terms “comprising,” “including,” or “including,” and similar terms mean that the element or object preceding the term encompasses the element or object listed following the term and its equivalents, without excluding other elements or objects. The terms “connected,” “linked,” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. “Above,” “below,” “left,” “right,” etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0033] The various embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that in the drawings, the same reference numerals are assigned to components having substantially the same or similar structure and function, and repeated descriptions of them will be omitted.

[0034] In view of the frequent start-stop of diesel generators in microgrid systems and the single "peak shaving" function of energy storage devices, this application provides the following implementation method.

[0035] In some embodiments, such as Figure 1 As shown, a microgrid control method is applied to a microgrid including a fuel cell generator and an energy storage device. The control method includes: S100: Obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0036] A microgrid is an independent power generation and distribution system composed of several fuel generators, energy storage systems, and loads. It can operate independently of the main power grid, but requires coordinated control to maintain internal power balance and frequency stability.

[0037] The load power of a microgrid refers to the total power consumed by all electrical devices within the microgrid at a certain moment. The core task of a microgrid system is to monitor the changes in this power in real time and control fuel generators and energy storage to meet it.

[0038] Fuel-powered generators are the main power generation equipment in microgrids, suitable for long-term stable output of high power, but with slow dynamic response and an optimal economic load factor. Preferably, diesel generators are used as fuel-powered generators. The optimal economic load factor refers to the load operating point where the fuel-powered generator has the lowest fuel consumption rate, highest operating efficiency, and lowest overall cost during operation.

[0039] The preset output power refers to the output power of the fuel generator when it operates at the optimal economic load rate.

[0040] The control threshold power refers to the power that determines the change in the number of fuel generators. If the difference in the total power of the fuel generators does not exceed the control threshold power, the number of fuel generators will not be adjusted, and the power will be adjusted by the energy storage device.

[0041] S200: Determines control commands based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power.

[0042] Control commands are the specific execution commands issued by a microgrid system to fuel generators or energy storage systems after determining the power difference. These include adjustments to the number of fuel generators and the power load on energy storage devices.

[0043] S300: According to the control command, the timer is set with a delay time, and after the timer's accumulated time reaches the delay time, the number of running fuel generators is adjusted according to the control command.

[0044] This causes the microgrid's adjustment of the number of operating fuel generators to lag behind the issuance of control commands; the lag time is the delay time. This effectively filters instantaneous fluctuations and peak interference in load power, preventing fuel generators from frequently starting and stopping due to minor disturbances. Consequently, it ensures that the units operate within the optimal economic load range for extended periods, minimizing fuel consumption and extending equipment lifespan.

[0045] Typically, the number of fuel generators is adjusted by gradually increasing or decreasing them. This is because the microgrid control method described in this application periodically monitors the microgrid's operating data during operation, allowing for adjustments to the number of fuel generators to be corrected and optimized in subsequent monitoring cycles. Since the load power of a microgrid fluctuates greatly, and there is a time lag between adjusting the number of fuel generators and real-time load changes, this method offsets the uncertainty caused by sudden load power changes, thus avoiding frequent start-ups and shutdowns of fuel generators. Before the control command is issued and the number of fuel generators is adjusted, a power buffer is provided through energy storage devices (i.e., when the load power is greater than the total power of the fuel generators, the energy storage devices supply power to the load; when the load power is less than the total power of the fuel generators, the surplus power charges the energy storage devices), thereby ensuring the normal power supply of the microgrid to the load.

[0046] S400: Determine the interaction power between the fuel generators and the energy storage devices based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0047] Interactive power refers to the power difference exchanged in real time between the fuel generator and the energy storage system in order to maintain the overall power balance of the microgrid.

[0048] Specifically, the delay time is based on: Determined; where T dz T represents the delay time. min T represents the minimum delay time. max This represents the maximum delay time, K represents the adjustment coefficient, and ΔP = P L - P t P represents the difference between the load power of the microgrid and the total power of the fuel generators currently in operation. L P represents the load power of the microgrid. t This indicates the total power of the fuel generator.

[0049] T min This represents the minimum delay time, used to prevent frequent start-stop cycles of the fuel generator caused by sudden changes in load power. When the load power of the microgrid changes drastically, the power difference can become extremely large instantaneously. In this case, the minimum delay time constraint prevents the fuel generator from responding too quickly to any sudden load change.

[0050] T max This indicates the maximum delay time, used to represent the actual load power demand variation.

[0051] K represents the adjustment coefficient, indicating the sensitivity of the delay time to power changes.

[0052] When performing the above calculations using a computer, it is preferable to use the following formula to calculate the delay time: Where ε represents a small quantity. This is because the calculation of the delay time using a computer involves the load power P of the microgrid. load and the total power P of the fuel generator t The difference between the two is calculated, but when the difference is too small, the denominator in the formula approaches zero, causing the calculation result to overflow. Adding a small amount ε to the denominator ensures the computer can perform the calculation correctly.

[0053] Specifically, S200: Based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power, it determines the control commands, including: Response to P L >P t + P th The adjustment command is to increase the number of fuel generators, where P L P represents the load power of the microgrid. t = N * P e P represents the total power of the fuel generators, N represents the number of fuel generators currently in operation, and P represents the total power of the fuel generators. e P represents the preset output power of a single fuel generator. th This indicates the control threshold power.

[0054] Response to P L < (N - 1) * P e - P th The adjustment instruction is to reduce the number of fuel generators.

[0055] Specifically, S400: Based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid, the interaction power between the fuel generators and the energy storage device is determined, including: According to: P tar = P L – N * P e Determine the interaction power, where P tar Indicates the interaction power.

[0056] Specifically, after determining the interaction power between the fuel generator and the energy storage device, the following is also included: S510: Get interactive power limit.

[0057] S520: Responds to | P tar |>| P max |When, then according to: P L - P tarUpdate the total power of the fuel generators and distribute the total power of the fuel generators evenly among the currently operating fuel generators, where P max This indicates that the power is limited by the interaction.

[0058] At this point, the fuel generator will no longer operate at its preset output power to ensure uninterrupted power supply to the microgrid and to ensure the safe operation of energy storage devices within the microgrid system.

[0059] Preferably, the energy storage device has a warning zone, which is set to deviate from the center value of the energy storage device's power by a first power level.

[0060] If the energy storage device is operating in the warning zone and the remaining power of the energy storage device is greater than the center value of the power, the energy storage device is discharged at the first power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0061] In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is charged with the second power, and the sum of the load power and the second power is used as the total power of the fuel generator.

[0062] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0063] To illustrate, the center value of the energy storage device's power is 50% of the State of Charge (SOC), and the first power level is set to 30%. Therefore, the warning zone ranges from 20% to 80% of the SOC.

[0064] For energy storage systems operating within this range at a state of charge (SOC) greater than 50%, discharge is performed at the first power level. The specific value of the first power level can be set according to the actual situation. At this time, because the energy storage participates in the discharge, under a fixed load power, the total output power of the fuel generator decreases, and the output power of a single fuel generator is adjusted accordingly.

[0065] For energy storage systems operating within this range at less than 50% SOC, discharge is performed at the second power level. The specific value of the second power can be set according to the actual situation. At this time, since the energy storage parameters have charging requirements, under the condition of a fixed load power, the total output power of the fuel generator increases, and the output power of a single fuel generator increases accordingly.

[0066] Preferably, the energy storage device also has an intervention zone, which is set to deviate from the center value of the energy storage device's charge by a second charge.

[0067] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is discharged with the first discharge power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0068] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being less than the center value of the power, the energy storage device is charged with the second charging power, and the sum of the load power and the second power is taken as the total power of the fuel generator.

[0069] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0070] Schematic, the second offset charge is selected as 40%. Therefore, the range of the intervention zone is: 0%~10% and 90%~100%.

[0071] For energy storage systems operating within the 0% to 10% SOC range, a preset charging power is used to force-charge the energy storage devices until they recover to the warning zone. At this point, the fuel generator will bear the additional preset power to charge the energy storage devices. Therefore, it is necessary to increase the output power of a single fuel generator, or to increase the number of fuel generators to supply the additional preset power.

[0072] For energy storage systems operating within the 90%–100% SOC range, a preset discharge power is used to force the energy storage devices to discharge until they recover to the warning zone. At this point, the output power of the fuel generator is reduced accordingly. Alternatively, the additional power released by the energy storage devices can be consumed by connecting a dissipative load cell to the load, thus preventing overvoltage damage to the busbar and subsequent equipment burnout.

[0073] By implementing the microgrid control method described in the embodiments of this application, the number of fuel generators can be adjusted with lag by introducing a delay time, thus avoiding frequent start-stop of fuel generators and extending their lifespan. The coordination between energy storage devices and fuel generators provides flexibility for microgrid functions. By introducing a SOC hierarchical active intervention mechanism, the healthy operation of energy storage devices is ensured, and the microgrid's adaptability to complex operating conditions is improved.

[0074] It should be understood that, although Figure 1 The steps in the flowchart shown are displayed sequentially as indicated by the arrows; however, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise explicitly stated herein, there is no strict order in which these steps are performed, and they can be executed in other orders. Furthermore, Figure 1 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0075] In other embodiments, such as Figure 2 As shown, a microgrid control device is applied to a microgrid including a fuel cell generator and an energy storage device. The microgrid control device includes: The status monitoring module is used to obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0076] The instruction generation module is used to determine the control instructions based on the microgrid's load power, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0077] The delay control module is used to set a timer with a delay time according to the control command, and adjust the number of running fuel generators according to the control command after the accumulated time of the timer reaches the delay time.

[0078] The power distribution module is used to determine the interaction power between the fuel generators and the energy storage devices based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0079] For specific limitations regarding the microgrid control device described above, please refer to the limitations of the microgrid control method above, which will not be repeated here. Each module in the aforementioned microgrid control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in a computer device, or stored in software in the memory of a computer device, so that the processor can call and execute the operations corresponding to each module.

[0080] In other embodiments, such as Figure 3 As shown, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the microgrid control method described in the first aspect. Specifically, it includes: S100: Obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0081] S200: Determines control commands based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power.

[0082] S300: According to the control command, the timer is set with a delay time, and after the timer's accumulated time reaches the delay time, the number of running fuel generators is adjusted according to the control command.

[0083] S400: Determine the interaction power between the fuel generators and the energy storage devices based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0084] Specifically, the delay time is based on: Determined; where T dz T represents the delay time. min T represents the minimum delay time. max This represents the maximum delay time, K represents the adjustment coefficient, and ΔP = P L - P t P represents the difference between the load power of the microgrid and the total power of the fuel generators currently in operation. L P represents the load power of the microgrid. t This indicates the total power of the fuel generator.

[0085] Specifically, S200: Based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power, it determines the control commands, including: Response to P L >P t + P th The adjustment command is to increase the number of fuel generators, where P L P represents the load power of the microgrid. t = N * P e P represents the total power of the fuel generators, N represents the number of fuel generators currently in operation, and P represents the total power of the fuel generators. e P represents the preset output power of a single fuel generator. th This indicates the control threshold power.

[0086] Response to P L < (N - 1) * P e - P th The adjustment instruction is to reduce the number of fuel generators.

[0087] Specifically, S400: Based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid, the interaction power between the fuel generators and the energy storage device is determined, including: According to: P tar = P L – N * P e Determine the interaction power, where P tar Indicates the interaction power.

[0088] Specifically, after determining the interaction power between the fuel generator and the energy storage device, the following is also included: S510: Get interactive power limit.

[0089] S520: Responds to | P tar |>| P max |When, then according to: P L - P tar Update the total power of the fuel generators and distribute the total power of the fuel generators evenly among the currently operating fuel generators, where P max This indicates that the power is limited by the interaction.

[0090] Preferably, the energy storage device has a warning zone, which is set to deviate from the center value of the energy storage device's power by a first power level.

[0091] If the energy storage device is operating in the warning zone and the remaining power of the energy storage device is greater than the center value of the power, the energy storage device is discharged at the first power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0092] In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is charged with the second power, and the sum of the load power and the second power is used as the total power of the fuel generator.

[0093] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0094] Preferably, the energy storage device also has an intervention zone, which is set to deviate from the center value of the energy storage device's charge by a second charge.

[0095] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is discharged with the first discharge power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0096] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being less than the center value of the power, the energy storage device is charged with the second charging power, and the sum of the load power and the second power is taken as the total power of the fuel generator.

[0097] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0098] In other embodiments, a computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the microgrid control method described in the first aspect. Specifically, it includes: S100: Obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0099] S200: Determines control commands based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power.

[0100] S300: According to the control command, the timer is set with a delay time, and after the timer's accumulated time reaches the delay time, the number of running fuel generators is adjusted according to the control command.

[0101] S400: Determine the interaction power between the fuel generators and the energy storage devices based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0102] Specifically, the delay time is based on: Determined; where T dz T represents the delay time. min T represents the minimum delay time. max This represents the maximum delay time, K represents the adjustment coefficient, and ΔP = P L - P t P represents the difference between the load power of the microgrid and the total power of the fuel generators currently in operation. L P represents the load power of the microgrid. t This indicates the total power of the fuel generator.

[0103] Specifically, S200: Based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power, it determines the control commands, including: Response to P L >P t + P th The adjustment command is to increase the number of fuel generators, where P L P represents the load power of the microgrid. t = N * P e P represents the total power of the fuel generators, N represents the number of fuel generators currently in operation, and P represents the total power of the fuel generators. e P represents the preset output power of a single fuel generator. th This indicates the control threshold power.

[0104] Response to P L < (N - 1) * P e - P th The adjustment instruction is to reduce the number of fuel generators.

[0105] Specifically, S400: Based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid, the interaction power between the fuel generators and the energy storage device is determined, including: According to: P tar = P L – N * P e Determine the interaction power, where P tar Indicates the interaction power.

[0106] Specifically, after determining the interaction power between the fuel generator and the energy storage device, the following is also included: S510: Get interactive power limit.

[0107] S520: Responds to | P tar |>| P max |When, then according to: P L - P tar Update the total power of the fuel generators and distribute the total power of the fuel generators evenly among the currently operating fuel generators, where P max This indicates that the power is limited by the interaction.

[0108] Preferably, the energy storage device has a warning zone, which is set to deviate from the center value of the energy storage device's power by a first power level.

[0109] If the energy storage device is operating in the warning zone and the remaining power of the energy storage device is greater than the center value of the power, the energy storage device is discharged at the first power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0110] In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is charged with the second power, and the sum of the load power and the second power is used as the total power of the fuel generator.

[0111] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0112] Preferably, the energy storage device also has an intervention zone, which is set to deviate from the center value of the energy storage device's charge by a second charge.

[0113] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is discharged with the first discharge power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0114] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being less than the center value of the power, the energy storage device is charged with the second charging power, and the sum of the load power and the second power is taken as the total power of the fuel generator.

[0115] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0116] In other embodiments, a computer program product includes a computer program that, when executed by a processor, implements the microgrid control method described in the first aspect. Specifically, it includes: S100: Obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power.

[0117] S200: Determines control commands based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power.

[0118] S300: According to the control command, the timer is set with a delay time, and after the timer's accumulated time reaches the delay time, the number of running fuel generators is adjusted according to the control command.

[0119] S400: Determine the interaction power between the fuel generators and the energy storage devices based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

[0120] Specifically, the delay time is based on: Determined; where T dz T represents the delay time. min T represents the minimum delay time. max This represents the maximum delay time, K represents the adjustment coefficient, and ΔP = P L - P t P represents the difference between the load power of the microgrid and the total power of the fuel generators currently in operation. L P represents the load power of the microgrid. t This indicates the total power of the fuel generator.

[0121] Specifically, S200: Based on the microgrid's load power, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power, it determines the control commands, including: Response to P L >P t + P th The adjustment command is to increase the number of fuel generators, where P L P represents the load power of the microgrid. t = N * P e P represents the total power of the fuel generators, N represents the number of fuel generators currently in operation, and P represents the total power of the fuel generators. e P represents the preset output power of a single fuel generator. th This indicates the control threshold power.

[0122] Response to P L< (N - 1) * P e - P th The adjustment instruction is to reduce the number of fuel generators.

[0123] Specifically, S400: Based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid, the interaction power between the fuel generators and the energy storage device is determined, including: According to: P tar = P L – N * P e Determine the interaction power, where P tar Indicates the interaction power.

[0124] Specifically, after determining the interaction power between the fuel generator and the energy storage device, the following is also included: S510: Get interactive power limit.

[0125] S520: Responds to | P tar |>| P max |When, then according to: P L - P tar Update the total power of the fuel generators and distribute the total power of the fuel generators evenly among the currently operating fuel generators, where P max This indicates that the power is limited by the interaction.

[0126] Preferably, the energy storage device has a warning zone, which is set to deviate from the center value of the energy storage device's power by a first power level.

[0127] If the energy storage device is operating in the warning zone and the remaining power of the energy storage device is greater than the center value of the power, the energy storage device is discharged at the first power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0128] In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is charged with the second power, and the sum of the load power and the second power is used as the total power of the fuel generator.

[0129] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0130] Preferably, the energy storage device also has an intervention zone, which is set to deviate from the center value of the energy storage device's charge by a second charge.

[0131] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is discharged with the first discharge power, and the difference between the load power and the first power is taken as the total power of the fuel generator.

[0132] In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being less than the center value of the power, the energy storage device is charged with the second charging power, and the sum of the load power and the second power is taken as the total power of the fuel generator.

[0133] The total power of the fuel generators is evenly distributed to the operating fuel generators.

[0134] By implementing the microgrid control method, apparatus, equipment, and computer storage medium described in the embodiments of this application, the number of fuel generators can be adjusted lag-wise by introducing a delay time, thus avoiding frequent start-stop of fuel generators and extending their lifespan. The coordination between energy storage devices and fuel generators provides flexibility in microgrid functions. By introducing a SOC hierarchical active intervention mechanism, the healthy operation of energy storage devices is ensured, and the microgrid's adaptability to complex operating conditions is improved.

[0135] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0136] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program loaded on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from memory, or installed from ROM. When the computer program is executed by an external processor, it performs the functions defined in the methods of embodiments of this application.

[0137] It should be noted that the computer-readable medium in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In the embodiments of this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the embodiments of this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.

[0138] The aforementioned computer-readable medium may be included in the aforementioned server; or it may exist independently and not assembled into the server. The aforementioned computer-readable medium carries one or more programs that, when executed by the server, cause the server to: in response to detecting that the peripheral mode of the terminal is not activated, acquire the frame rate of the application on the terminal; when the frame rate meets the screen-off condition, determine whether the user is acquiring the terminal's screen information; and in response to the determination that the user is not acquiring the terminal's screen information, control the screen to enter an immediate dimming mode.

[0139] Computer program code for performing the operations of the embodiments of this application can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0140] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0141] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.

[0142] The above description is only a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A microgrid control method, characterized in that, The control method, applied to a microgrid including fuel generators and energy storage devices, includes: Obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power. The control command is determined based on the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power. According to the control command, a timer is set with a delay time, and after the accumulated time of the timer reaches the delay time, the number of running fuel generators is adjusted according to the control command. The interaction power between the fuel generators and the energy storage device is determined based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

2. The microgrid control method according to claim 1, characterized in that, The delay time is based on: Determined; where T dz T represents the delay time. min T represents the minimum delay time. max This represents the maximum delay time, K represents the adjustment coefficient, and ΔP = P L - P t P represents the difference between the load power of the microgrid and the total power of the operating fuel generators. L P represents the load power of the microgrid. t This indicates the total power of the fuel generator.

3. The microgrid control method according to claim 1, characterized in that, The step of determining the control command based on the load power of the microgrid, the number of operating fuel generators, the preset output power of a single fuel generator, and the control threshold power includes: Response to P L > P t + P th The adjustment command is to increase the number of fuel generators, where P L P represents the load power of the microgrid. t = N * P e P represents the total power of the fuel generators, N represents the number of fuel generators currently in operation, and P represents the total power of the fuel generators. e P represents the preset output power of a single fuel generator. th Indicates the control threshold power; Response to P L < (N - 1) * P e - P th If so, the adjustment instruction is to reduce the number of fuel generators.

4. The microgrid control method according to claim 1, characterized in that, The step of determining the interaction power between the fuel generators and the energy storage device based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid includes: According to: P tar = P L – N * P e Determine the interaction power, where P tar This represents the interaction power.

5. The microgrid control method according to claim 4, characterized in that, After determining the interaction power between the fuel generator and the energy storage device, the method further includes: Get the interaction limit power; Response to | P tar | > | P max |When, then according to: P L - P tar Update the total power of the fuel generators and distribute the total power of the fuel generators evenly among the currently operating fuel generators, where P max This indicates that the power is limited by the interaction.

6. The microgrid control method according to claim 1, characterized in that, The energy storage device has an early warning zone, which is set to deviate from the center value of the energy storage device's power by a first power level. In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the power center value, the energy storage device is discharged at a first power, and the difference between the load power and the first power is taken as the total power of the fuel generator. In response to the energy storage device operating in the warning zone and the remaining power of the energy storage device being greater than the power center value, the energy storage device is charged with the second power, and the sum of the load power and the second power is taken as the total power of the fuel generator. The total power of the fuel generators is evenly distributed to the operating fuel generators.

7. The microgrid control method according to claim 1, characterized in that, The energy storage device also has an intervention zone, which is set to deviate from the center value of the energy storage device's power by a second power level. In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being greater than the center value of the power, the energy storage device is discharged with a first discharge power, and the difference between the load power and the first power is taken as the total power of the fuel generator. In response to the energy storage device operating in the intervention zone and the remaining power of the energy storage device being less than the power center value, the energy storage device is charged with a second charging power, and the sum of the load power and the second power is taken as the total power of the fuel generator. The total power of the fuel generators is evenly distributed to the operating fuel generators.

8. A microgrid control device, characterized in that, The microgrid control device is applied to a microgrid that includes fuel generators and energy storage devices. The status monitoring module is used to obtain the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power. The instruction generation module is used to determine the control instruction based on the load power of the microgrid, the number of fuel generators in operation, the preset output power of a single fuel generator, and the control threshold power. The delay control module is used to set a timer with a delay time according to the control command, and after the accumulated time of the timer reaches the delay time, adjust the number of running fuel generators according to the control command. The power distribution module is used to determine the interaction power between the fuel generators and the energy storage device based on the adjusted number of fuel generators, the preset output power of a single fuel generator, and the load power of the microgrid.

9. A computer device, characterized in that, The device includes a memory, a processor, and a data access program stored in the memory and executable on the processor. When the processor executes the data access program, it implements the microgrid control method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by a processor, implements the microgrid control method according to any one of claims 1 to 7.