Power supply control method and apparatus, and computer device and storage medium

By obtaining weather and power outage forecast information, determining the power supply control mode, and adjusting the power supply method according to the priority of power consumption, the problem of low power supply control efficiency in the existing technology is solved, and efficient power supply under different circumstances is achieved.

WO2024179464A1PCT designated stage expired Publication Date: 2024-09-06GUANGZHOU RIMSEA TECH CO LTD

Patent Information

Application Number
PCT/CN2024/078800
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2024-02-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing power supply control method based on energy storage equipment cannot effectively guarantee the power supply demand in emergency situations when the power grid is difficult to supply, resulting in low power supply control efficiency.

Method used

By obtaining the weather forecast information and power outage forecast information of the area where the energy storage unit to be measured is located in the energy storage system, the power supply control mode is determined, and power is supplied to the electrical equipment through the energy storage equipment or mains power according to the power consumption priority, including storm mode , rainy day mode, power outage mode and normal mode.

Benefits of technology

It improves the efficiency of power supply control, ensures that the power supply mode can be reasonably adjusted under different weather conditions and power outages, meets the power supply needs of electrical equipment, and enhances the emergency response capability of the energy storage system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078800_06092024_PF_FP
    Figure CN2024078800_06092024_PF_FP
Patent Text Reader

Abstract

The present application relates to a power supply control method and apparatus, and a computer device and a storage medium. The method comprises: acquiring weather forecast information of an area where an energy storage unit to be tested in an energy storage system is located, power cut forecast information of the area, and a power utilization priority of an electric device, wherein said energy storage unit comprises at least one energy storage device; determining a power supply control mode according to the weather forecast information and the power cut forecast information; and according to the power supply control mode and the power utilization priority, supplying power to the electric device by means of the energy storage device in said energy storage unit or a mains supply. The method can improve the efficiency of power supply control.
Need to check novelty before this filing date? Find Prior Art

Description

Power supply control method, device, computer equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 2023101873216 filed with the Chinese Patent Office on March 2, 2023, entitled “Power supply control method, device, computer equipment and storage medium,” the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of new energy technology, and in particular to a power supply control method, device, computer equipment and storage medium. Background Art

[0004] With the popularization of home energy storage and outdoor energy storage equipment, the demand for power supply control through energy storage equipment is becoming more urgent.

[0005] Existing power supply control methods based on energy storage devices usually use all the electricity generated by the energy storage devices to power electrical equipment. However, this power supply control method cannot guarantee the power supply needs in emergency situations when the power supply of the power grid is difficult, and there is a problem of low power supply control efficiency.

[0006] Summary of the Invention

[0007] Based on this, it is necessary to provide a power supply control method, device, computer equipment, computer-readable storage medium and computer program product that can improve the power supply control efficiency in order to address the problem of low power supply control efficiency in existing power supply control methods.

[0008] In a first aspect, the present application provides a power supply control method. The method comprises:

[0009] Obtaining weather forecast information for the area where the energy storage unit to be tested is located, power outage forecast information for the area, and power consumption priority of electrical equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device;

[0010] Determine the power supply control mode based on weather forecast information and power outage forecast information;

[0011] According to the power supply control mode and power priority, the power-consuming equipment is powered by the energy storage device in the energy storage unit under test or the mains power.

[0012] In one embodiment, the weather forecast information includes either storm warning information or rainy day forecast information; and determining the power supply control mode based on the weather forecast information and the power outage forecast information includes:

[0013] When the storm warning information indicates that the storm level exceeds the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, determining that the power supply control mode is the storm mode;

[0014] When the rainy day forecast information indicates that the duration of rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the rainy day mode;

[0015] When the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, the power supply control mode is determined to be the power outage mode;

[0016] When the storm warning information indicates that the storm level does not exceed the warning storm level, the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the normal mode.

[0017] In one embodiment, the power supply control mode is a storm mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, including:

[0018] Obtain storm start time and storm duration from storm warning information;

[0019] If the current time is earlier than the storm start time, the energy storage battery is controlled to stop supplying power, and the electrical equipment is powered by the solar panels in the energy storage unit under test or the mains electricity; the battery power of the energy storage battery is detected, and when the battery power is less than the full power, the energy storage battery is charged by the solar panels in the energy storage unit under test or the mains electricity until the battery power is fully charged;

[0020] When the current time is equal to the start time of the storm, the electrical equipment is powered by the energy storage battery in the energy storage unit to be tested according to the battery power of the energy storage battery, the power priority of the electrical equipment and the duration of the storm, until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0021] In one embodiment, based on the battery level of the energy storage battery, the power priority of the power consumption device, and the duration of the storm, the power consumption device is powered by the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level, including:

[0022] Determine the battery life of the energy storage battery according to the battery capacity of the energy storage battery;

[0023] If the battery life is less than the duration of the storm, the power is cut off step by step according to the power priority of the electrical equipment to determine the battery life after the power outage. If the battery life after the power outage is not less than the duration of the storm, the energy storage batteries in the energy storage unit to be tested are used to supply power to the electrical equipment that is not cut off until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0024] When the flight duration is not less than the duration of the storm, the electrical equipment is powered by the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0025] In one embodiment, the power supply control mode is a rainy day mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, including:

[0026] Obtain the power consumption of each energy storage device at each historical moment;

[0027] Determine peak and valley power consumption periods based on power consumption at various historical moments;

[0028] When the current time is during the peak power consumption period, the energy storage battery in the energy storage unit to be tested supplies power to the electrical equipment until the rainy day forecast information indicates that the rainy day has ended and the solar panel continues to output power for a period exceeding the preset output time.

[0029] When the current time is during a low electricity consumption period, the energy storage battery is charged by the mains electricity, and the electrical equipment is powered by the mains electricity until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output electricity for a period exceeding the preset output time.

[0030] In one embodiment, the power supply control mode is a power outage mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, including:

[0031] Obtain the power outage start time and duration from the power outage forecast information;

[0032] If the current time is earlier than the start time of the power outage, the power generation of the solar panel is determined based on the duration of the power outage and the daily power generation of the solar panel; the real-time battery power of the energy storage battery is obtained, and the full power requirement of the energy storage device is subtracted from the real-time battery power; if the power generation of the solar panel is less than the full power requirement during the duration of the power outage, the energy storage battery is charged with AC power until the power generation of the solar panel is no less than the full power requirement;

[0033] When the current time is equal to the start time of the power outage, power is supplied to the electrical equipment through the solar panels or energy storage batteries in the energy storage unit to be tested until the power outage forecast information indicates that the power outage is over.

[0034] In one embodiment, the power supply control mode is a normal mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, including:

[0035] Obtain the power consumption of electrical equipment, the power generation of solar panels, and the battery level of energy storage batteries within a preset time period;

[0036] When the power generation of the solar panel is greater than or equal to the power consumption of the electrical device, the electrical device is powered by the solar panel in the energy storage unit to be tested;

[0037] When the power generation of the solar panel is less than the power consumption of the electrical equipment and the preset time period is at the peak power consumption period, the electrical equipment is supplied with power through the solar panel or energy storage battery in the energy storage unit to be tested;

[0038] When the power generation of the solar panel is less than the power consumption of the electrical equipment and the preset time period is a low power consumption period, the electrical equipment is powered by the solar panel in the energy storage unit to be tested and the mains electricity.

[0039] In a second aspect, the present application further provides a power supply control device. The device comprises:

[0040] An acquisition module configured to acquire weather forecast information, power outage forecast information, and power consumption priority of electrical equipment in an area where an energy storage unit to be tested is located in the energy storage system; the energy storage unit to be tested includes at least one energy storage device;

[0041] a determination module configured to determine a power supply control mode based on weather forecast information and power outage forecast information;

[0042] The power supply module is configured to supply power to the power-consuming device through the energy storage device in the energy storage unit to be tested or the mains power according to the power supply control mode and the power consumption priority.

[0043] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0044] Obtaining weather forecast information for the area where the energy storage unit to be tested is located, power outage forecast information for the area, and power consumption priority of electrical equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device;

[0045] Determine the power supply control mode based on weather forecast information and power outage forecast information;

[0046] According to the power supply control mode and power priority, the power-consuming equipment is powered by the energy storage device in the energy storage unit under test or the mains power.

[0047] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0048] Obtaining weather forecast information for the area where the energy storage unit to be tested is located, power outage forecast information for the area, and power consumption priority of electrical equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device;

[0049] Determine the power supply control mode based on weather forecast information and power outage forecast information;

[0050] According to the power supply control mode and power priority, the power-consuming equipment is powered by the energy storage device in the energy storage unit under test or the mains power.

[0051] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0052] Obtaining weather forecast information for the area where the energy storage unit to be tested is located, power outage forecast information for the area, and power consumption priority of electrical equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device;

[0053] Determine the power supply control mode based on weather forecast information and power outage forecast information;

[0054] According to the power supply control mode and power priority, the power-consuming equipment is powered by the energy storage device in the energy storage unit under test or the mains power.

[0055] The above-mentioned power supply control method, device, computer equipment, storage medium and computer program product obtain weather forecast information of the area where the energy storage unit to be tested in the energy storage system is located, power outage forecast information of the area where the energy storage unit is located, and power priority of the electrical equipment. The energy storage unit to be tested includes at least one energy storage device. The power supply control mode is determined according to the weather forecast information and power outage forecast information. Different power supply control modes can be adjusted according to different weather and power outage conditions, thereby improving the efficiency of power supply control. At the same time, different electrical equipment has corresponding power priority. According to the power supply control mode and power priority, the electrical equipment is powered by the energy storage device in the energy storage unit to be tested or the mains power, further improving the power supply control efficiency of each energy storage unit to be tested in the energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] FIG1 is a diagram illustrating an application environment of a power supply control method according to an embodiment;

[0057] FIG2 is a schematic flow chart of a power supply control method according to an embodiment;

[0058] FIG3 is a schematic diagram of a sub-process of S204 in one embodiment;

[0059] FIG4 is a schematic diagram of a sub-process of S206 in one embodiment;

[0060] FIG5 is a schematic diagram of a sub-process of S406 in one embodiment;

[0061] FIG6 is a second schematic diagram of a sub-process of S206 in one embodiment;

[0062] FIG7 is a schematic diagram of a third sub-process of S206 in one embodiment;

[0063] FIG8 is a fourth schematic diagram of a sub-process of S206 in one embodiment;

[0064] FIG9 is a schematic diagram of the overall flow of a power supply control method in one embodiment;

[0065] FIG10 is a structural block diagram of a power supply control device in one embodiment;

[0066] FIG11 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0068] The power supply control method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. The power supply control method is applied to an energy storage system, which includes a computer device 102, an electric device 104 and at least one energy storage unit 106 to be tested, each energy storage unit 106 to be tested includes at least one energy storage device 108, and data is exchanged between the computer device 102, the electric device 104 and the at least one energy storage device 108. The power supply control method provided in the embodiment of the present application is executed by the computer device 102: obtaining weather forecast information of the area where the energy storage unit 106 to be tested in the energy storage system is located, power outage forecast information of the area where the energy storage unit 106 to be tested is located, and the power priority of the electric device 104; the energy storage unit 106 to be tested includes at least one energy storage device 108; according to the weather forecast information and the power outage forecast information, the power supply control mode is determined; according to the power supply control mode and the power priority, the electric device 104 is powered by the energy storage device 108 in the energy storage unit 106 to be tested or the mains. The computer device 102 may be a terminal or a server. The terminal may include, but is not limited to, various personal computers, laptops, smartphones, tablet computers, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, and smart car devices. Portable wearable devices may include smart watches, smart bracelets, and head-mounted devices. The server may be implemented as a standalone server or a server cluster consisting of multiple servers.

[0069] In one embodiment, as shown in FIG2 , a power supply control method is provided. The method is described by taking the computer device 102 in FIG1 as an example, and includes the following steps:

[0070] S202, obtaining weather forecast information of the area where the energy storage unit to be tested in the energy storage system is located, power outage forecast information of the area where the energy storage unit is located, and power consumption priority of power-consuming equipment; the energy storage unit to be tested includes at least one energy storage equipment.

[0071] Energy storage devices are designed to rationally utilize energy and improve energy efficiency by collecting and storing excess energy that is not used for a period of time. This energy can then be extracted and used during peak hours or transported to areas with energy shortages for reuse. An energy storage system is a system that includes energy storage devices. The energy storage system includes at least one energy storage unit to be tested, each of which contains at least one energy storage device and at least one electrical device. Energy storage devices can be either photovoltaic or battery-based.

[0072] Weather forecast information is used to indicate weather status information of the corresponding area within a preset time period in the future, for example, including the duration of rainy days and the duration of sunny days, etc. Power outage forecast information is used to indicate power outage information of the corresponding area within a preset time period in the future, for example, including the duration of the power outage, the start time of the power outage, and the end time of the power outage, etc. The computer device obtains weather forecast information of the area where the energy storage unit to be tested is located, power outage forecast information of the area where the energy storage unit to be tested is located, and power usage priority of the electrical equipment in the energy storage unit to be tested from the energy storage system. In some embodiments, the computer device can also obtain weather forecast information from the meteorological department of the area where the corresponding energy storage unit to be tested is located, and obtain power outage information from the power supply department of the area where the energy storage unit to be tested is located. The power usage priority of the electrical equipment can be a pre-specified power usage order priority. For example, the lighting equipment among the electrical equipment has the highest power usage priority, the refrigeration equipment has the second power usage priority, etc.

[0073] S204: Determine a power supply control mode based on the weather forecast information and the power outage forecast information.

[0074] Among them, the power supply control mode is a method mode in which each energy storage device in the energy storage unit to be tested controls the power supply to the electrical equipment, including storm mode, rainy day mode, power outage mode and normal mode. The computer device determines the power supply control mode of the energy storage unit to be tested based on the weather forecast information and the corresponding power outage forecast information corresponding to the energy storage unit to be tested. In some embodiments, within a preset control time period, the weather forecast information and the power outage forecast information change. The computer device will update the power supply control mode based on the changed weather forecast information and the changed power outage forecast information to obtain an updated power supply control mode to adapt to different weather and power outage changes and improve the power supply control efficiency.

[0075] S206 , supplying power to the power-consuming device through the energy storage device in the energy storage unit to be tested or the mains power according to the power supply control mode and the power consumption priority.

[0076] Among them, mains power refers to the power supply from the power grid. In some embodiments, the electric energy in the energy storage device can be used to charge the energy storage device using mains power, so that when the mains power supply is insufficient, the electric energy in the energy storage device can be used to power the power-consuming device. At the same time, when the electric energy in the energy storage device is insufficient to meet the power demand of the power-consuming device, the power-consuming device is powered by mains power. The computer device supplies power to the power-consuming device through the energy storage device in the energy storage unit to be tested or the mains power according to the power supply control mode and power priority, and reasonably plans the power supply to the power-consuming device to ensure that the power supply to the power-consuming device can be maintained in various weather conditions and power outages, thereby improving the power supply control efficiency.

[0077] In the above-mentioned power supply control method, by obtaining weather forecast information of the area where the energy storage unit to be tested in the energy storage system is located, power outage forecast information of the area where the energy storage unit is located, and power usage priority of the electrical equipment, the energy storage unit to be tested includes at least one energy storage device. According to the weather forecast information and the power outage forecast information, the power supply control mode is determined, and different power supply control modes can be adjusted according to different weather and power outage conditions, thereby improving the efficiency of power supply control; at the same time, different electrical equipment has corresponding power usage priority. According to the power supply control mode and power usage priority, the electrical equipment is powered by the energy storage device in the energy storage unit to be tested or the mains power, further improving the power supply control efficiency of each energy storage unit to be tested in the energy storage system.

[0078] In one embodiment, as shown in FIG3 , the weather forecast information includes either storm warning information or rainy day forecast information; determining the power supply control mode based on the weather forecast information and the power outage forecast information includes:

[0079] S302, when the storm warning information indicates that the storm level exceeds the warning storm level, the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, determine that the power supply control mode is the storm mode.

[0080] The weather forecast information obtained by the computer device includes any one of storm warning information or rainy day forecast information. The storm level is used to characterize the intensity of the storm, and the higher the storm level, the stronger the storm intensity. In the case where the storm warning information indicates that the storm level exceeds the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the duration of the power outage does not exceed the preset duration, it indicates that a high-level storm will occur in the area where the energy storage unit to be tested is located within a preset time period in the future, and the duration of the rainy weather and power outage will not be long. The computer device will determine that the power supply control mode of the energy storage unit to be tested is the storm mode. In some embodiments, storms are often accompanied by rainy weather or power outages. When the storm warning information indicates that the storm level exceeds the warning storm level, the computer device can determine that the power supply control mode is the storm mode.

[0081] S304, when the rainy day forecast information indicates that the duration of rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, determine that the power supply control mode is the rainy day mode.

[0082] Among them, when the rainy day forecast information indicates that the duration of rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, it indicates that the area where the energy storage unit to be tested is located will experience a long period of rainy weather within the future preset time period, the storm level is not high, and the power outage duration is not long. The computer equipment will determine that the power supply control mode of the energy storage unit to be tested is the rainy day mode.

[0083] S306, when the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, determine that the power supply control mode is the power outage mode.

[0084] In particular, when the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, it indicates that the area where the energy storage unit to be tested is located will experience a long power outage within a future preset time period, the storm level is not high, and the duration of the rainy weather is not long. The computer device will determine that the power supply control mode of the energy storage unit to be tested is the power outage mode. In some embodiments, when the rainy day forecast information indicates that the duration of the rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the computer device may determine that the power supply control mode is the power outage mode.

[0085] S308, when the storm warning information indicates that the storm level does not exceed the warning storm level, the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, determine that the power supply control mode is the normal mode.

[0086] Among them, when the storm warning information indicates that the storm level does not exceed the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, it indicates that the area where the energy storage unit to be tested is located will not have a long period of power outage and rainy weather in the future preset time period, the storm level is not high, and the computer equipment determines that the power supply control mode is the normal mode.

[0087] In this embodiment, by determining different power supply control modes based on different storm warning information, rainy day forecast information, and power outage forecast information, it is beneficial to adjust the power supply control method according to the weather and power outage conditions in the area where the energy storage unit to be tested is located, which is beneficial to improving the power supply control efficiency.

[0088] In one embodiment, as shown in FIG4 , the power supply control mode is a storm mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, including:

[0089] S402: Obtain the storm start time and storm duration from the storm warning information.

[0090] The storm warning information includes the storm start time and storm duration. The storm start time indicates the time when the storm level exceeds the warning storm level. The storm duration indicates the duration that the storm level exceeds the warning storm level. The computer device obtains the storm start time and storm duration from the storm warning information.

[0091] S404, when the current time is earlier than the storm start time, control the energy storage battery to stop supplying power, and power the electrical equipment through the solar panels in the energy storage unit to be tested or the mains power; detect the battery power of the energy storage battery, and when the battery power is less than the full power, charge the energy storage battery through the solar panels in the energy storage unit to be tested or the mains power until the battery power reaches the full power.

[0092] The current time refers to the moment the storm warning information is received. If the current time is earlier than the storm start time, it indicates that a storm exceeding the warning level has not yet begun. If the current time is earlier than the storm start time, the computer device controls the energy storage battery to stop supplying power, and the solar panels in the energy storage unit under test or the mains power supply are used to power the electrical devices. That is, from the time the storm warning information is received until the storm starts, the energy storage battery stops supplying power to the electrical devices, and the solar panels in the energy storage unit under test or the mains power supply are used to power the electrical devices.

[0093] Full charge refers to the amount of energy a storage battery holds when fully charged. Computer equipment detects the battery level. If the battery level is less than full charge, the battery is charged via the solar panels in the energy storage unit under test or the mains electricity until it reaches full charge. This ensures that the battery is fully charged before a storm begins.

[0094] S406, when the current time is equal to the storm start time, the electrical equipment is powered by the energy storage battery in the energy storage unit to be tested according to the battery power of the energy storage battery, the power priority of the electrical equipment and the duration of the storm, until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0095] The current time is equal to the storm start time, indicating that a storm exceeding the warning storm level has begun. The computer device uses the energy storage battery in the energy storage unit under test to power the power consumption device based on the battery level of the energy storage battery, the power priority of the power consumption device, and the duration of the storm, until the storm warning information indicates that the storm level does not exceed the warning storm level. Because the energy storage battery was fully charged before the storm exceeding the warning storm level began, the energy storage battery can maintain power to the power consumption device for the duration of the storm.

[0096] In this embodiment, by stopping the power supply of the energy storage battery before the storm begins and fully charging the energy storage battery, it is ensured that after the storm begins, when the solar panels and the mains electricity cannot be used to power the electrical equipment, the energy stored in the energy storage battery can maintain the power supply to the electrical equipment. The energy storage system can still power the electrical equipment in the storm scenario, thereby improving the power supply control efficiency.

[0097] In one embodiment, as shown in FIG5 , based on the battery level of the energy storage battery, the power priority of the power consumption device, and the duration of the storm, the power consumption device is powered by the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level, including:

[0098] S502: Determine the battery life of the energy storage battery according to the battery power of the energy storage battery.

[0099] The battery life refers to the duration that the energy storage battery can provide power. The computer device calculates the battery life of the energy storage battery based on the battery power of the energy storage battery.

[0100] S504: When the battery life is less than the duration of the storm, the power is cut off step by step according to the power priority of the electrical equipment, and the battery life after the power outage is determined until the battery life after the power outage is not less than the duration of the storm. The electrical equipment that is not cut off from power is supplied with power through the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0101] Among them, if the battery life is less than the duration of the storm, it means that the battery life of the energy storage battery cannot meet the power supply needs of the electrical equipment within the duration of the storm. The computer equipment will cut off the power of the electrical equipment step by step according to the power priority of the electrical equipment to determine the battery life after the power outage. Specifically, according to the power priority of the electrical equipment, the power is cut off from the electrical equipment with the lowest priority first, and the battery life of the energy storage battery after disconnecting the electrical equipment with the lowest priority is determined, and it is judged whether the battery life after the power outage is less than the duration of the storm. If the battery life after the power outage is still less than the duration of the storm, the electrical equipment with the next higher priority is disconnected in order according to the order of power priority until the battery life after the power outage is not less than the duration of the storm. The battery life of the energy storage battery can meet the power demand of the electrical equipment that has not been powered off. The computer equipment supplies power to the electrical equipment that has not been powered off through the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level. This power supply control method can ensure that in storm scenarios, the energy storage battery can meet the power needs of higher-priority electrical equipment, thereby improving power supply control efficiency.

[0102] S506 , when the flight duration is not less than the storm duration, the electrical equipment is supplied with power by the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0103] The battery life is not less than the duration of the storm, indicating that the battery life of the energy storage battery can meet the power needs of the electrical equipment in the energy storage unit under test. If the battery life is not less than the duration of the storm, the computer device will power the electrical equipment through the energy storage battery in the energy storage unit under test until the storm warning information indicates that the storm level does not exceed the warning storm level. Storm scenarios are often prone to sudden power outages and rainy weather, making it impossible to use mains power and solar panels. Using energy storage batteries with sufficient battery life to charge electrical equipment is beneficial to improving power supply control efficiency.

[0104] In this embodiment, different power supply control methods are employed by determining whether the battery life of the energy storage battery is within the duration of the storm. If the battery life is less than the duration of the storm, power is gradually cut off according to power usage priority, ensuring that the energy storage battery can power higher-priority devices. If the battery life is not less than the duration of the storm, the energy storage battery is used to power the devices. This avoids power outages that can lead to power outages, such as being unable to use the mains power or solar panels on rainy days, and improves power supply control efficiency.

[0105] In one embodiment, as shown in FIG6 , the power supply control mode is a rainy day mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains, including:

[0106] S602: Obtain the power consumption of each energy storage device at each historical moment.

[0107] The energy storage system stores the power consumption of each energy storage device at each historical moment. The computer device obtains the power consumption of each energy storage device at each historical moment from the energy storage system.

[0108] S604: Determine peak power consumption time periods and valley power consumption time periods based on power consumption at various historical moments.

[0109] The computer device determines peak power consumption periods and valley power consumption periods based on power consumption at various historical moments. Peak power consumption periods refer to periods when power consumption exceeds a preset peak power level, while valley power consumption periods refer to periods when power consumption does not exceed a preset valley power level.

[0110] In some embodiments, the peak power consumption period and the valley power consumption period may also be the peak power consumption period and valley power consumption period of the region where the energy storage unit to be tested is located. The computer device obtains the peak power consumption period and valley power consumption period of the region where the energy storage unit to be tested is located from the power supply department.

[0111] S606, when the current time is in the peak power consumption period, the power-consuming device is powered by the energy storage battery in the energy storage unit to be tested until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output power for a period exceeding a preset output time.

[0112] The current time refers to any current time in the rainy day mode. The computer device obtains the duration of the solar panel's continuous power output. If the solar panel's continuous power output duration exceeds the preset output duration, it indicates that the rainy day has ended and the solar panel is now able to continuously output power.

[0113] When the current moment is during the peak power consumption period, the computer device supplies power to the power-consuming device through the energy storage battery in the energy storage unit to be tested until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output power for longer than the preset output time.

[0114] Since the price of city electricity is lower during peak hours than during off-peak hours, and energy storage batteries are generally charged with city electricity during off-peak hours, using energy storage batteries to power electrical equipment during peak hours can help reduce electricity costs.

[0115] S608, when the current moment is in a low electricity consumption period, the energy storage battery is charged by the mains electricity, and the electrical equipment is powered by the mains electricity until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output electricity for a period exceeding the preset output time.

[0116] During a low-power period, the computer device uses the mains electricity to charge the energy storage battery and power the power devices until the rainy weather forecast indicates the end of the rainy weather and the solar panels continue to output power for a period exceeding the preset output duration. Since the mains electricity price is lower during low-power periods, using the mains electricity to power the power devices during these periods can help reduce electricity costs.

[0117] In this embodiment, different power supply control methods are adopted during peak and off-peak periods of electricity consumption. Energy storage batteries are used for power supply during peak periods of electricity consumption, and mains electricity is used for power supply during off-peak periods of electricity consumption. This helps to reduce electricity costs and improve power supply control efficiency.

[0118] In one embodiment, as shown in FIG7 , the power supply control mode is a power outage mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is supplied with power by the energy storage device in the energy storage unit to be tested or the mains, including:

[0119] S702: Obtain the power outage start time and power outage duration from the power outage forecast information.

[0120] The power outage forecast information includes the power outage start time and the power outage duration. The computer device obtains the power outage start time and the power outage duration from the power outage forecast information.

[0121] S704: If the current time is earlier than the start time of the power outage, determine the power generation of the solar panel based on the duration of the power outage and the daily power generation of the solar panel; obtain the real-time battery power of the energy storage battery, subtract the real-time battery power from the full power of the energy storage device to obtain the full power requirement of the energy storage device; if the power generation of the solar panel is less than the full power requirement during the duration of the power outage, charge the energy storage battery using the mains power until the power generation of the solar panel is no less than the full power requirement.

[0122] The current time refers to the time when the power outage forecast information was received. If the current time is earlier than the power outage start time, it indicates that the power outage has not yet begun. If the current time is earlier than the power outage start time, the computer device multiplies the power outage duration by the daily power generation of the solar panels to obtain the power generation of the solar panels. The computer device obtains the real-time battery level of the energy storage battery and subtracts the real-time battery level from the full power level of the energy storage device to obtain the full power requirement of the energy storage device.

[0123] The solar panel's power generation is less than the full charge requirement, indicating that the solar panel's power generation cannot fully charge the energy storage battery within the duration of the power outage. If the solar panel's power generation is less than the full charge requirement during the power outage, the computer equipment will charge the energy storage battery using the mains power until the solar panel's power generation is equal to or greater than the full charge requirement. This means that the energy storage battery must be fully charged before the power outage begins. If the solar panel's power generation cannot meet the energy storage battery's charging requirements, the mains power will be used to charge the energy storage battery, ensuring that the energy storage battery is fully charged at the start of the power outage.

[0124] S706 , when the current time is equal to the power outage start time, power is supplied to the electrical equipment through the solar panels or energy storage batteries in the energy storage unit to be tested until the power outage forecast information indicates that the power outage is over.

[0125] In the event that the current time is equal to the time at which the power outage begins, the computer device supplies power to the electrical device via the solar panels or energy storage batteries in the energy storage unit under test until the power outage forecast indicates the end of the power outage. That is, after the power outage begins, the utility power is cut off, and the solar panels or energy storage batteries are used to supply power to the electrical device. In some embodiments, if the power supply control mode is the power outage mode and the rainy weather forecast indicates that the duration of rainy weather exceeds a preset duration, the energy storage batteries in the energy storage unit under test supply power to the electrical device until the power outage forecast indicates the end of the power outage.

[0126] In this embodiment, the solar panels are used to fully charge the energy storage battery before the power outage begins. When the solar panels' power generation is insufficient, the mains power is used to fully charge the energy storage battery, ensuring that the energy storage battery is fully charged at the start of the power outage. At the start of the power outage, due to the mains power outage, the solar panels and the fully charged energy storage battery are used to power the electrical devices. This ensures that the energy storage device has sufficient energy reserves during the power outage, meeting the power supply needs of the electrical devices and improving power supply control efficiency.

[0127] In one embodiment, as shown in FIG8 , the power supply control mode is a normal mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, including:

[0128] S802: Obtain the power consumption of the electrical equipment, the power generation of the solar panel, and the battery power of the energy storage battery within a preset time period.

[0129] The computer device obtains the power consumption of the electrical equipment, the power generation of the solar panel and the battery power of the energy storage battery within a preset time period.

[0130] S804 , when the power generation of the solar panel is greater than or equal to the power consumption of the electric device, the electric device is supplied with power through the solar panel in the energy storage unit to be tested.

[0131] If the amount of electricity generated by the solar panel is greater than or equal to the amount of electricity consumed by the electrical device, this indicates that the solar panel's power generation capacity can meet the electrical device's power needs. If the amount of electricity generated by the solar panel is greater than or equal to the amount of electricity consumed by the electrical device, the electrical device is powered by the solar panel in the energy storage unit under test.

[0132] S806: When the power generation of the solar panel is less than the power consumption of the electrical device and the preset time period is a peak power consumption period, the electrical device is powered by the solar panel and the energy storage battery in the energy storage unit to be tested.

[0133] The amount of electricity generated by the solar panel is less than the amount of electricity consumed by the device, indicating that the solar panel's power generation capacity cannot meet the device's power needs. If the amount of electricity generated by the solar panel is less than the device's power consumption, and the preset time period falls within a peak power consumption period, the computer device supplies power to the device through the energy storage battery in the energy storage unit under test.

[0134] S808 , when the power generation of the solar panel is less than the power consumption of the electrical device and the preset time period is a low power consumption period, the electrical device is powered by the solar panel in the energy storage unit to be tested and the mains electricity.

[0135] In which case, when the power generation of the solar panel is less than the power consumption of the electrical equipment and the preset time period is in a low power consumption period, the computer device supplies power to the electrical equipment through the mains power.

[0136] In this embodiment, by determining the relationship between the power generation of the solar panel and the power consumption of the electrical equipment, and whether the preset time period is at a peak or off-peak power consumption period, different power supply methods are adopted. When the power generation of the solar panel can meet the power consumption of the electrical equipment, the solar panel is used for power supply, which is beneficial to reducing electricity costs. If the power generation of the solar panel is insufficient, and during the peak power consumption period, due to the high price of mains electricity, the solar panel and energy storage battery in the energy storage unit to be tested are used to power the electrical equipment, which is beneficial to reducing electricity costs and improving power supply control efficiency. If the power generation of the solar panel is insufficient, and during the off-peak power consumption period, due to the low price of mains electricity, the solar panel and mains electricity in the energy storage unit to be tested are used to power the electrical equipment, which is beneficial to reducing electricity costs and further improving power supply control efficiency.

[0137] To illustrate the power supply control method and its effects in this solution in detail, the following is a detailed example:

[0138] The energy storage system includes at least one energy storage unit under test, each of which includes at least one energy storage device and at least one electrical device. The energy storage device is a household energy storage device. The energy storage unit under test is a household energy storage device. The energy storage device includes at least one of a solar panel or a storage battery. Figure 9 shows a schematic flow chart of the overall power supply control method for any energy storage unit under test in the energy storage system.

[0139] The computer device obtains weather forecast information for the area where the energy storage unit to be tested is located, power outage forecast information for the area, and power consumption priority of the power-consuming equipment. The weather forecast information includes either storm warning information or rainy day forecast information.

[0140] The computer equipment determines the power supply control mode according to the weather forecast information and the power outage forecast information. Specifically, when the storm warning information indicates that the storm level exceeds the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the storm mode; when the rainy day forecast information indicates that the duration of the rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the rainy day mode; when the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, the power supply control mode is determined to be the power outage mode; when the storm warning information indicates that the storm level does not exceed the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the normal mode.

[0141] The computer equipment supplies power to the power-consuming equipment through the energy storage device in the energy storage unit under test or the mains power according to the power supply control mode and power priority. The details are as follows:

[0142] When the power supply control mode is the storm mode: the computer device obtains the storm start time and storm duration from the storm warning information. When the current time is earlier than the storm start time, the energy storage battery is controlled to stop supplying power, and the electrical equipment is powered by the solar panels in the energy storage unit to be tested or the mains power; the battery power of the energy storage battery is detected. When the battery power is less than the full power, the energy storage battery is charged by the solar panels in the energy storage unit to be tested or the mains power until the battery power is fully charged. When the current time is equal to the storm start time, the electrical equipment is powered by the energy storage battery in the energy storage unit to be tested according to the battery power of the energy storage battery, the power priority of the electrical equipment and the duration of the storm until the storm warning information indicates that the storm level does not exceed the warning storm level. Specifically, based on the battery charge of the energy storage battery, the battery life of the energy storage battery is determined. If the battery life is less than the duration of the storm, the power is cut off step by step according to the power usage priority of the electrical equipment to determine the battery life after the power outage, until the battery life after the power outage is not less than the duration of the storm. The energy storage battery in the energy storage unit to be tested is used to supply power to the electrical equipment that has not been powered off until the storm warning information indicates that the storm level does not exceed the warning storm level. If the battery life is not less than the duration of the storm, the energy storage battery in the energy storage unit to be tested is used to supply power to the electrical equipment until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0143] When the power supply control mode is a rainy day mode: the computer device obtains the power consumption of each energy storage device at each historical moment, and determines the peak power consumption period and the low power consumption period based on the power consumption at each historical moment. If the current moment is in the peak power consumption period, the energy storage battery in the energy storage unit to be tested will be used to power the power-consuming device until the rainy day forecast information indicates that the rainy day has ended and the solar panel continues to output power for a period exceeding the preset output time. If the current moment is in the low power consumption period, the energy storage battery will be charged by the mains power, and the power-consuming device will be powered by the mains power until the rainy day forecast information indicates that the rainy day has ended and the solar panel continues to output power for a period exceeding the preset output time.

[0144] When the power supply control mode is the power outage mode: the computer device obtains the power outage start time and the power outage duration from the power outage forecast information. When the current time is earlier than the power outage start time, the power generation of the solar panel is determined according to the power outage duration and the daily power generation of the solar panel; the real-time battery power of the energy storage battery is obtained, and the full power generation of the energy storage device is subtracted from the real-time battery power to obtain the full power demand of the energy storage device; when the power generation of the solar panel is less than the full power demand within the power outage duration, the energy storage battery is charged by the mains until the power generation of the solar panel is not less than the full power demand; when the current time is equal to the power outage start time, power is supplied to the electrical equipment through the solar panel or energy storage battery in the energy storage unit to be tested until the power outage forecast information indicates that the power outage is over.

[0145] When the power supply control mode is the normal mode: the computer device obtains the power consumption of the electric device, the power generation of the solar panel and the battery power of the energy storage battery within a preset time period. When the power generation of the solar panel is greater than or equal to the power consumption of the electric device, the electric device is powered by the solar panel in the energy storage unit to be tested. When the power generation of the solar panel is less than the power consumption of the electric device and the preset time period is a peak power consumption period, the electric device is powered by the solar panel and the energy storage battery in the energy storage unit to be tested. When the power generation of the solar panel is less than the power consumption of the electric device and the preset time period is a low power consumption period, the electric device is powered by the solar panel and the mains in the energy storage unit to be tested.

[0146] The above-mentioned power supply control method obtains weather forecast information of the area where the energy storage unit to be tested is located in the energy storage system, power outage forecast information of the area where the energy storage unit to be tested is located, and power priority of the power-consuming equipment. The energy storage unit to be tested includes at least one energy storage device. According to the weather forecast information and power outage forecast information, the power supply control mode is determined. Different power supply control modes can be adjusted according to different weather and power outage conditions, thereby improving the efficiency of power supply control. At the same time, different power-consuming equipment has corresponding power priority. According to the power supply control mode and power priority, the power-consuming equipment is powered by the energy storage device in the energy storage unit to be tested or the mains, further improving the power supply control efficiency of each energy storage unit to be tested in the energy storage system. At the same time, it can self-learn according to the historical power consumption of each energy storage unit to be tested, and timely reserve power according to weather changes and grid power supply changes to ensure power supply endurance in emergency situations, making the energy storage system more intelligent and improving the ability of each energy storage unit to be tested to resist power shortages under different weather and grid power supply conditions.

[0147] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0148] Based on the same inventive concept, an embodiment of the present application further provides a power supply control device configured to implement the power supply control method described above. The solution to the problem provided by this device is similar to the solution described in the method described above. Therefore, the specific limitations of one or more power supply control device embodiments provided below can be found in the above-mentioned limitations of the power supply control method and will not be repeated here.

[0149] In one embodiment, as shown in FIG10 , a power supply control device 100 is provided, comprising: an acquisition module 120 , a determination module 140 , and a power supply module 160 , wherein:

[0150] An acquisition module 120 is configured to acquire weather forecast information of the region where the energy storage unit to be tested is located, power outage forecast information of the region, and power consumption priority of the electrical equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device;

[0151] a determination module 140 configured to determine a power supply control mode based on weather forecast information and power outage forecast information;

[0152] The power supply module 160 is configured to supply power to the power-consuming device through the energy storage device in the energy storage unit to be tested or the mains power according to the power supply control mode and the power consumption priority.

[0153] The above-mentioned power supply control device obtains weather forecast information of the area where the energy storage unit to be tested in the energy storage system is located, power outage forecast information of the area where the energy storage unit is located, and power usage priority of the electrical equipment. The energy storage unit to be tested includes at least one energy storage device. The power supply control mode is determined according to the weather forecast information and the power outage forecast information. Different power supply control modes can be adjusted according to different weather and power outage conditions, thereby improving the efficiency of power supply control. At the same time, different electrical equipment has corresponding power usage priority. According to the power supply control mode and power usage priority, the electrical equipment is powered by the energy storage device in the energy storage unit to be tested or the mains power, further improving the power supply control efficiency of each energy storage unit to be tested in the energy storage system.

[0154] In one embodiment, the weather forecast information includes any one of storm warning information or rainy day forecast information; the power supply control mode is determined according to the weather forecast information and the power outage forecast information, and the determination module 140 is further configured to: determine the power supply control mode as the storm mode when the storm warning information indicates that the storm level exceeds the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration; determine the power supply control mode as the storm mode when the rainy day forecast information indicates that the duration of the rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast When the information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the rainy day mode; when the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, the power supply control mode is determined to be the power outage mode; when the storm warning information indicates that the storm level does not exceed the warning storm level, the rainy day forecast information indicates that the duration of the rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the normal mode.

[0155] In one embodiment, the power supply control mode is a storm mode; the energy storage device includes at least one of a solar panel or an energy storage battery; according to the power supply control mode and the power priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, and the power supply module 160 is further configured to: obtain the storm start time and storm duration from the storm warning information; when the current time is earlier than the storm start time, control the energy storage battery to stop supplying power, and power the power consumption device through the solar panel in the energy storage unit to be tested or the mains power; detect the battery power of the energy storage battery, and when the battery power is less than the full power, charge the energy storage battery through the solar panel in the energy storage unit to be tested or the mains power until the battery power is fully charged; when the current time is equal to the storm start time, according to the battery power of the energy storage battery, the power priority of the power consumption device and the storm duration, power the power consumption device through the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0156] In one embodiment, based on the battery power of the energy storage battery, the power priority of the power-consuming equipment, and the duration of the storm, the power-consuming equipment is powered by the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level. The power supply module 160 is further configured to: determine the battery life of the energy storage battery based on the battery power of the energy storage battery; if the battery life is less than the duration of the storm, cut off the power step by step according to the power priority of the power-consuming equipment, determine the battery life after the power outage, until the battery life after the power outage is not less than the duration of the storm, and power the unpowered power-consuming equipment through the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level; if the battery life is not less than the duration of the storm, power the power-consuming equipment through the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level.

[0157] In one embodiment, the power supply control mode is a rainy day mode; the energy storage device includes at least one of a solar panel or an energy storage battery; according to the power supply control mode and the power consumption priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, and the power supply module 160 is further configured to: obtain the power consumption of each energy storage device at each historical moment; determine the peak power consumption time period and the valley power consumption time period based on the power consumption at each historical moment; when the current moment is in the peak power consumption time period, the power consumption device is powered by the energy storage battery in the energy storage unit to be tested until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output power for a period exceeding a preset output time; when the current moment is in the valley power consumption time period, the energy storage battery is charged by the mains power, and the power consumption device is powered by the mains power until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output power for a period exceeding a preset output time.

[0158] In one embodiment, the power supply control mode is a power outage mode; the energy storage device includes at least one of a solar panel or an energy storage battery; according to the power supply control mode and the power consumption priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains power, and the power supply module 160 is further configured to: obtain the power outage start time and the power outage duration from the power outage forecast information; when the current time is earlier than the power outage start time, determine the power generation of the solar panel according to the power outage duration and the daily power generation of the solar panel; obtain the real-time battery power of the energy storage battery, subtract the real-time battery power from the full power of the energy storage device to obtain the full power requirement of the energy storage device; when the power generation of the solar panel is less than the full power requirement within the power outage duration, charge the energy storage battery through the mains power until the power generation of the solar panel is not less than the full power requirement; when the current time is equal to the power outage start time, power the power consumption device is powered by the solar panel or the energy storage battery in the energy storage unit to be tested until the power outage forecast information indicates that the power outage is over.

[0159] In one embodiment, the power supply control mode is a normal mode; the energy storage device includes at least one of a solar panel or an energy storage battery; according to the power supply control mode and the power consumption priority, the power supply device is powered by the energy storage device in the energy storage unit to be tested or the mains power, and the power supply module 160 is further configured to: obtain the power consumption of the power consumption device, the power generation of the solar panel, and the battery power of the energy storage battery within a preset time period; when the power generation of the solar panel is greater than or equal to the power consumption of the power consumption device, the power consumption device is powered by the solar panel in the energy storage unit to be tested; when the power generation of the solar panel is less than the power consumption of the power consumption device and the preset time period is in a peak power consumption period, the power consumption device is powered by the solar panel or the energy storage battery in the energy storage unit to be tested; when the power generation of the solar panel is less than the power consumption of the power consumption device and the preset time period is in a low power consumption period, the power consumption device is powered by the solar panel in the energy storage unit to be tested and the mains power.

[0160] Each module in the above-mentioned power supply control device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.

[0161] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in Figure 11. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and an external device. The communication interface of the computer device is configured to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, NFC (near field communication), or other technologies. When the computer program is executed by the processor, a power supply control method is implemented.

[0162] Those skilled in the art will understand that the structure shown in FIG11 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0163] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0164] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0165] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0166] 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 configured for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

[0167] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0168] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0169] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims. Industrial Applicability

[0170] Using this solution, the computer determines the power supply control mode based on weather forecast information and power outage forecast information for the area where the energy storage unit under test is located. The computer then supplies power to the user device through the energy storage device in the energy storage unit under test or the mains electricity based on the power supply control mode and power priority. This allows the power supply control mode to be adjusted based on varying weather and power outage conditions, improving power supply control efficiency. Furthermore, different power-consuming devices have corresponding power priorities, and power is supplied to the user device based on the power supply control mode and power priority, further improving the power supply control efficiency of the energy storage unit under test in the energy storage system.

Claims

1. A power supply control method, characterized in that: The method comprises: Obtaining weather forecast information of the area where the energy storage unit to be tested is located, power outage forecast information of the area, and power consumption priority of electrical equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device; Determining a power supply control mode according to the weather forecast information and the power outage forecast information; According to the power supply control mode and the power consumption priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains.

2. The method according to claim 1, characterized in that The weather forecast information includes any one of storm warning information or rainy day forecast information; and determining the power supply control mode according to the weather forecast information and the power outage forecast information includes: When the storm warning information indicates that the storm level exceeds the warning storm level, the rainy weather forecast information indicates that the duration of rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, determining that the power supply control mode is the storm mode; When the rainy day forecast information indicates that the duration of rainy weather exceeds the preset duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, determining that the power supply control mode is the rainy day mode; When the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, determining that the power supply control mode is the power outage mode; When the storm warning information indicates that the storm level does not exceed the warning storm level, the rainy day forecast information indicates that the duration of rainy weather does not exceed the preset duration, and the power outage forecast information indicates that the power outage duration does not exceed the preset power outage duration, the power supply control mode is determined to be the normal mode.

3. The method according to claim 1, characterized in that: The weather forecast information includes any one of storm warning information or rainy day forecast information; and determining the power supply control mode according to the weather forecast information and the power outage forecast information includes: When the storm warning information indicates that the storm level exceeds the warning storm level, determining that the power supply control mode is a storm mode; When the power outage forecast information indicates that the power outage duration exceeds the preset power outage duration, the storm warning information indicates that the storm level does not exceed the warning storm level, and the rainy day forecast information indicates that the duration of rainy weather exceeds the preset duration, the power supply control mode is determined to be the power outage mode.

4. The method according to any one of claims 1 to 3, characterized in that: The power supply control mode is a storm mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and according to the power supply control mode and the power consumption priority, the power consumption device is powered by the energy storage device in the energy storage unit to be tested or the mains, including: Obtaining the storm start time and storm duration from the storm warning information; In the case where the current time is earlier than the storm start time, the energy storage battery is controlled to stop supplying power, and the electrical equipment is powered by the solar panel in the energy storage unit to be tested or the mains; the battery power of the energy storage battery is detected, and when the battery power is less than the full power, the energy storage battery is charged by the solar panel in the energy storage unit to be tested or the mains until the battery power reaches the full power; When the current time is equal to the start time of the storm, the electrical equipment is powered by the energy storage battery in the energy storage unit to be tested according to the battery power of the energy storage battery, the power priority of the electrical equipment and the duration of the storm, until the storm warning information indicates that the storm level does not exceed the warning storm level.

5. The method according to claim 4, characterized in that The step of supplying power to the electric device through the energy storage battery in the energy storage unit to be tested according to the battery power of the energy storage battery, the power priority of the electric device, and the duration of the storm, until the storm warning information indicates that the storm level does not exceed the warning storm level, includes: Determining the battery life of the energy storage battery according to the battery power of the energy storage battery; In the case where the battery life is less than the duration of the storm, the power is cut off step by step according to the power consumption priority of the power-consuming equipment, and the battery life after the power cut is determined, until the battery life after the power cut is not less than the duration of the storm, and the power is supplied to the power-consuming equipment that is not cut off through the energy storage battery in the energy storage unit to be tested, until the storm warning information indicates that the storm level does not exceed the warning storm level; In the case where the endurance duration is not less than the duration of the storm, the electrical equipment is powered by the energy storage battery in the energy storage unit to be tested until the storm warning information indicates that the storm level does not exceed the warning storm level.

6. The method according to any one of claims 1 to 5, characterized in that: The power supply control mode is a rainy day mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and the power supply to the power-consuming device is provided through the energy storage device in the energy storage unit to be tested or the mains according to the power supply control mode and the power consumption priority, including: Obtain the power consumption of each energy storage device at each historical moment; Determine peak power consumption time period and valley power consumption time period according to the power consumption at each historical moment; When the current time is in the peak power consumption period, the power-consuming device is powered by the energy storage battery in the energy storage unit to be tested until the rainy day forecast information indicates that the rainy day is over and the duration for which the solar panel continuously outputs power exceeds a preset output duration; When the current moment is in the low electricity consumption period, the energy storage battery is charged by the city power, and the power-consuming equipment is powered by the city power until the rainy day forecast information indicates that the rainy day is over and the solar panel continues to output electricity for a period of time exceeding the preset output time.

7. The method according to any one of claims 1 to 6, characterized in that: The power supply control mode is a power outage mode; the energy storage device includes at least one of a solar panel or an energy storage battery; and the power supply to the power-consuming device is provided through the energy storage device in the energy storage unit to be tested or the mains according to the power supply control mode and the power consumption priority, including: Obtaining the power outage start time and power outage duration from the power outage forecast information; In the case where the current time is earlier than the start time of the power outage, the power generation of the solar panel is determined according to the duration of the power outage and the daily power generation of the solar panel; the real-time battery power of the energy storage battery is obtained, and the full power demand of the energy storage device is obtained by subtracting the real-time battery power from the full power of the energy storage device; within the duration of the power outage, if the power generation of the solar panel is less than the full power demand, the energy storage battery is charged by the city power until the power generation of the solar panel is not less than the full power demand; When the current time is equal to the power outage start time, the electrical device is powered by the solar panel or energy storage battery in the energy storage unit to be tested until the power outage forecast information indicates that the power outage is over.

8. The method according to claim 7, characterized in that The step of determining the power generation of the solar panel according to the duration of the power outage and the daily power generation of the solar panel comprises: The power generation of the solar panel is obtained by multiplying the power outage duration by the daily power generation of the solar panel.

9. The method according to any one of claims 1 to 8, characterized in that: The power supply control mode is a normal mode; the energy storage device includes at least one of a solar panel or an energy storage battery; the power supply to the power-consuming device is provided through the energy storage device in the energy storage unit to be tested or the mains according to the power supply control mode and the power consumption priority, including: Obtaining the power consumption of the electrical equipment, the power generation of the solar panel and the battery power of the energy storage battery within a preset time period; When the power generation of the solar panel is greater than or equal to the power consumption of the electric device, the electric device is powered by the solar panel in the energy storage unit to be tested; When the power generation of the solar panel is less than the power consumption of the electrical device and the preset time period is in the peak power consumption time period, the electrical device is powered by the solar panel and the energy storage battery in the energy storage unit to be tested; When the power generation of the solar panel is less than the power consumption of the electrical equipment and the preset time period is in a low power consumption period, the electrical equipment is powered by the solar panel in the energy storage unit to be tested and the city power.

10. The method according to claim 9, characterized in that When the power generation of the solar panel is less than the power consumption of the electric device and the preset time period is in the peak power consumption time period, the electric device is supplied with power through the solar panel and the energy storage battery in the energy storage unit to be tested, including: When the power generation of the solar panel is less than the power consumption of the power-consuming device and the preset time period is in the power consumption peak time period, the power-consuming device is supplied with power by the energy storage battery in the energy storage unit to be tested; When the power generation of the solar panel is less than the power consumption of the electric device and the preset time period is in a low power consumption period, the electric device is powered by the solar panel in the energy storage unit to be tested and the city power, including: When the power generation of the solar cell panel is less than the power consumption of the power-consuming device and the preset time period is a low power consumption period, the power-consuming device is powered by the city power.

11. The method according to any one of claims 1 to 10, characterized in that: The type of the energy storage device includes at least one of a photovoltaic power generation type and an energy storage battery type.

12. A power supply control device, characterized in that: The device comprises: An acquisition module configured to acquire weather forecast information of a region where an energy storage unit to be tested is located, power outage forecast information of the region where the energy storage unit is located, and power consumption priority of power consumption equipment in the energy storage system; the energy storage unit to be tested includes at least one energy storage device; a determination module configured to determine a power supply control mode according to the weather forecast information and the power outage forecast information; The power supply module is configured to supply power to the power-consuming device through the energy storage device in the energy storage unit to be tested or the mains according to the power supply control mode and the power consumption priority.

13. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

15. An energy storage system, characterized in that: include: At least one energy storage unit to be tested and the computer device as claimed in claim 13.

Citation Information

Patent Citations

  • Difference self-healing control method based on device failure probability and power grid operation risks

    CN107516170A

  • Power utilization equipment, energy storage management method and device thereof, storage medium and server

    CN108596783A

  • Household electric energy management method and system based on weather prediction

    CN110288111A

  • Power grid regulation and control method, device, equipment, storage medium and computer program product

    CN114221353A

  • Power system stability control and auxiliary decision-making method and system under extreme meteorological disasters

    CN115204713A

Cited By

  • Coupling network numerical simulation and energy flow optimization method in energy interconnection mode based on demand side load

    CN118822041A