Energy storage system charging and discharging control method, electronic device and storage medium
By obtaining the charge and discharge and electricity consumption information of the energy storage system, and dynamically controlling the charge and discharge of the energy storage equipment according to the power supply structure and environment, the problem of inaccurate charge and discharge control of the energy storage system in the prior art is solved, and lower electricity consumption costs and higher resource utilization efficiency are achieved.
Patent Information
- Application Number
- CN202411924121.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-08
AI Technical Summary
The charging and discharging control scheme of existing energy storage systems cannot accurately control the charging and discharging of energy storage equipment, resulting in excessive electricity consumption costs and large resource losses.
By obtaining the charging and discharging power information, electricity consumption power information and power supply power information of each energy storage device in the energy storage system, charging and discharging control is dynamically carried out according to the power supply architecture and power supply environment to match the real-time power consumption demand.
It improves the accuracy of charging and discharging control of energy storage systems, reduces electricity costs, and saves resources.
Smart Images

Figure CN119787442A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery testing technology, and in particular to a method for controlling charging and discharging of an energy storage system, an electronic device, and a storage medium. Background Art
[0002] Energy storage technology is increasingly used in modern society, especially in power systems. Energy storage equipment can balance the contradiction between power supply and demand and improve the stability and reliability of power systems. The charging and discharging strategy of energy storage equipment is of great significance to improving the performance of power systems. For enterprises with large power loads, especially continuous production lines, the load difference between daytime and nighttime is not large. Charging energy storage equipment at night will affect the calculation of electricity charges for demand users. This is because the peak of user load will be superimposed when charging at night, which may lead to an increase in the demand electricity charge expenditure of the power grid. On the other hand, when energy storage equipment is discharged during the day, if the discharge period coincides with the peak electricity price period of the power grid, the discharge price difference income may be reduced.
[0003] The current coordination strategy of the energy storage coordination system is single, and most of the coordination strategies rely on the power consumption of the energy storage equipment, which makes it difficult to meet the goal of precise regulation. Therefore, the current energy storage system charging and discharging control scheme cannot accurately control the charging and discharging of the energy storage equipment, resulting in excessively high electricity costs and large resource losses. Summary of the invention
[0004] The embodiments of the present application provide a method for controlling charging and discharging of an energy storage system, an electronic device, and a storage medium, which can improve the accuracy of charging and discharging control of the energy storage system, thereby reducing electricity costs and saving resources.
[0005] The present application provides a method for controlling charging and discharging of an energy storage system, including:
[0006] Obtaining charging and discharging power information of each energy storage device in the energy storage system, power consumption information of the energy storage system, and power supply information;
[0007] Determining the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system;
[0008] The energy storage device of the energy storage system is dynamically charged and discharged according to the real-time power demand of the energy storage system, the charging and discharging power information and the power supply environment.
[0009] Optionally, in some embodiments of the present application, dynamically controlling the charging and discharging of the energy storage device of the energy storage system according to the real-time power demand of the energy storage system, the charging and discharging power information, and the power supply environment includes:
[0010] Obtaining the maximum demand of the energy storage system within a preset time period;
[0011] If the power supply environment is the first power supply environment, dynamically controlling the charge and discharge of the energy storage device of the energy storage system according to the difference between the real-time power demand of the energy storage system and the maximum demand, and the charge and discharge power information;
[0012] If the power supply environment is the second power supply environment, the charge and discharge state of the energy storage system is determined, and the energy storage device of the energy storage system is dynamically charged and discharged according to the difference between the real-time power demand of the energy storage system and the maximum demand, the charge and discharge state, and the charge and discharge power information.
[0013] Optionally, in some embodiments of the present application, if the power supply environment is the first power supply environment, dynamically charging and discharging the energy storage device of the energy storage system according to the difference between the real-time power demand of the energy storage system and the maximum demand, and the charging and discharging power information, including:
[0014] If the power supply environment is the first power supply environment, calculating the difference between the real-time power demand of the energy storage system and the maximum demand;
[0015] If the maximum power of the energy storage system is less than or equal to the difference, charging the energy storage device of the energy storage system according to the charging and discharging power information;
[0016] If the maximum power is greater than the difference, the energy storage device of the energy storage system is charged through the energy storage system and a preset power supply system according to the charging and discharging power information.
[0017] Optionally, in some embodiments of the present application, if the maximum power is greater than the difference, charging the energy storage device of the energy storage system through the energy storage system and a preset power supply system according to the charging and discharging power information includes:
[0018] If the maximum power is greater than the difference, comparing the difference between the maximum power and the real-time power demand;
[0019] If the maximum power is greater than or equal to the real-time power demand, charging the energy storage device of the energy storage system through the energy storage system according to the charging and discharging power information;
[0020] If the maximum power is less than the real-time power demand, the energy storage device of the energy storage system is charged simultaneously through the energy storage system and a preset power supply system according to the charging and discharging power information.
[0021] Optionally, in some embodiments of the present application, if the power supply environment is the second power supply environment, determining the charge and discharge state of the energy storage system, and dynamically charging and discharging the energy storage device of the energy storage system according to the difference between the real-time power demand of the energy storage system and the maximum demand, the charge and discharge state, and the charge and discharge power information, including:
[0022] If the power supply environment is the second power supply environment, determining the charge and discharge state of the energy storage system;
[0023] When the charge-discharge state is a charging state, the photovoltaic residual power of the preset photovoltaic system is obtained;
[0024] The energy storage system is powered by a preset photovoltaic system and a preset power supply system according to the photovoltaic surplus power and the charging and discharging power information.
[0025] Optionally, in some embodiments of the present application, the step of supplying power to the energy storage system through a preset photovoltaic system and a preset power supply system according to the photovoltaic surplus power and the charging and discharging power information includes:
[0026] Extracting the required power of the energy storage device from the charging and discharging power information;
[0027] If the photovoltaic surplus power is greater than the required power, the energy storage device is charged through a preset photovoltaic system;
[0028] If the photovoltaic surplus power is less than or equal to the required power, the energy storage device is charged through a preset photovoltaic system and a preset power supply system.
[0029] Optionally, in some embodiments of the present application, it further includes:
[0030] If the photovoltaic surplus power is less than the required power and the photovoltaic surplus power is a preset value, the energy storage device is charged based on the maximum demand.
[0031] Optionally, in some embodiments of the present application, it further includes:
[0032] When the charging and discharging state is the discharging state, the photovoltaic power generation of the preset photovoltaic system is obtained;
[0033] Power is supplied to a target area according to the photovoltaic power generation and the charging and discharging power information.
[0034] Correspondingly, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the steps of any of the above methods when executing the program.
[0035] The present application also provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0036] The embodiment of the present application provides a method, electronic device and storage medium for controlling the charging and discharging of an energy storage system. After obtaining the charging and discharging power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system and the power supply power information, the power supply power information is split according to the power supply architecture corresponding to the energy storage system. Then, the power supply environment of the energy storage system is determined based on the split result corresponding to the power supply power information. Finally, the energy storage device of the energy storage system is dynamically charged and discharged according to the real-time power demand of the energy storage system, the charging and discharging power information and the power supply environment. The scheme for controlling the charging and discharging of an energy storage system provided in the present application performs data splitting on the power supply power information according to the power supply architecture corresponding to the energy storage system, thereby determining the power supply environment corresponding to the energy storage system. Finally, the energy storage device of the energy storage system is dynamically charged and discharged according to the real-time power demand, the charging and discharging power information and the power supply environment of the energy storage system. Thus, the accuracy of the charging and discharging control of the energy storage system is improved, thereby reducing electricity costs and saving resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 It is a flow chart of a method for controlling charging and discharging of an energy storage system provided in an embodiment of the present application;
[0039] Figure 2 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0041] Embodiments of the present application provide a method for controlling charging and discharging of an energy storage system, an electronic device, and a storage medium.
[0042] Among them, the energy storage system charging and discharging control method can be specifically applied in a terminal, which may include a tablet computer or a personal computer (PC). The terminal can establish a wired or wireless connection with a server. The server may include an independently operated server or a distributed server, or may include a server cluster composed of multiple servers.
[0043] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.
[0044] A method for controlling charging and discharging of an energy storage system comprises: obtaining charging and discharging power information of each energy storage device in the energy storage system, power consumption information of the energy storage system, and power supply power information; determining the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system; and dynamically controlling the charging and discharging of the energy storage devices of the energy storage system according to the real-time power demand of the energy storage system, the charging and discharging power information, and the power supply environment.
[0045] See also Figure 1 , Figure 1 A schematic diagram of a flow chart of a method for controlling the charging and discharging of an energy storage system provided in an embodiment of the present application. The specific flow chart of the method for controlling the charging and discharging of an energy storage system may be as follows:
[0046] 101. Obtain charging and discharging power information of each energy storage device in the energy storage system, power consumption information of the energy storage system, and power supply power information.
[0047] An energy storage system is a device or system used to store electrical energy. It can store energy when electricity demand is low and release energy when demand is high. Energy storage devices are key components used to store electrical energy in power systems. They can store energy when electricity demand is low and release energy when demand is high. Charge and discharge power information refers to a series of parameters and data related to battery charging and discharging in an energy storage system. The charge and discharge power information can specifically include charging power, discharge power, charge and discharge efficiency, charge and discharge voltage, charge and discharge current, and charge and discharge efficiency. Electricity power information refers to a series of parameters and data related to the energy consumption of a device or system in a power system. Electricity power information can include real-time electricity power, peak electricity power, average electricity power, electricity power factor, and electricity load curve. Power supply power information refers to parameters and data related to electricity supply in an energy storage system. The power supply power information can include power line efficiency, transformer efficiency, and energy storage system charging efficiency, etc.
[0048] For example, specifically, the charging and discharging power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system, and the power supply information can be obtained through the battery management system. The charging and discharging power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system, and the power supply information can be obtained through the energy management system. The specific selection can be made according to actual conditions, and the embodiments of the present application are not limited thereto.
[0049] 102. Determine the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system.
[0050] The power supply architecture refers to the overall structure and configuration of power supply in the power system, which includes the organization and connection of various links such as power generation, transmission, distribution and power consumption. Energy storage systems can be connected to different power supply architectures, including integration with the mains, integration with distributed power generation (such as photovoltaic and wind power), and independent power supply. The power supply environment refers to the sum of various equipment and conditions in the power supply system, which together determine the way power is generated, transmitted, distributed and used.
[0051] Energy storage systems are usually connected to photovoltaic power generation systems and the power grid to form an integrated power supply architecture. For example, a distributed photovoltaic energy storage system is connected to the DC bus through a bidirectional converter, and the photovoltaic panel group is connected to the grid through a boost converter. This architecture allows the energy storage system to provide power during peak load periods of the grid and alleviate power fluctuations.
[0052] For example, the system architecture of the energy storage system can be checked, and the power supply source can be analyzed through the power supply information to determine the power supply environment of the energy storage system. Specifically, if the energy storage system only relies on power supply from the grid (such as charging from the grid) and there is no access to any photovoltaic or other renewable energy, it is determined to be the first power supply environment. If the energy storage system can be charged from the photovoltaic power generation system (for example, when there is excess photovoltaic power generation during the day), it is determined to be the second power supply environment.
[0053] 103. According to the real-time power demand, charging and discharging power information and power supply environment of the energy storage system, the energy storage equipment of the energy storage system is dynamically charged and discharged.
[0054] Real-time electricity demand refers to the actual electricity consumption demand of the energy storage system in a specific time period. For example, the real-time electricity demand of the energy storage system is monitored, and different energy storage strategies are configured in combination with the charging and discharging power and the power supply environment, such as discharging during peak load of the grid and charging during low load, to achieve peak shaving and valley filling.
[0055] Optionally, in some embodiments of the present application, the step of “dynamically controlling the charging and discharging of the energy storage device of the energy storage system according to the real-time power demand, charging and discharging power information, and power supply environment of the energy storage system” may specifically include:
[0056] Obtain the maximum demand of the energy storage system within a preset time period;
[0057] If the power supply environment is the first power supply environment, dynamically controlling the charging and discharging of the energy storage device of the energy storage system according to the difference between the real-time power demand and the maximum demand of the energy storage system and the charging and discharging power information;
[0058] If the power supply environment is the second power supply environment, the charge and discharge status of the energy storage system is determined, and the energy storage device of the energy storage system is dynamically charged and discharged according to the difference between the real-time power demand and the maximum demand of the energy storage system, the charge and discharge status, and the charge and discharge power information.
[0059] The power supply environment includes a first power supply environment and a second power supply environment. Optionally, in some embodiments of the present application, the first power supply environment is a power supply environment without photovoltaic power supply, and the second power supply environment is a power supply environment with photovoltaic power supply. The maximum demand usually refers to the maximum power consumption level that the energy storage system can reach within a specific time period.
[0060] For example, if the power supply environment is the first power supply environment, the power generation and power consumption can be predicted through the long short-term memory network. Then, the charge and discharge amount is determined according to the difference between the predicted power generation and power consumption. Then, the power generation and power consumption prediction errors are estimated according to historical data, and the redundant power is determined according to the prediction error. Then, the prior distribution of each state variable of each battery is determined according to the historical state data. Finally, the energy storage equipment of the energy storage system is dynamically charged and discharged according to the charge and discharge amount, redundant power and the posterior probability of each battery.
[0061] For example, if the power supply environment is the second power supply environment, the current state of charge (SOC) and charging and discharging power information of the energy storage system can be monitored to determine whether the energy storage device is in a charging state or a discharging state. Obtain the real-time power demand of the energy storage system and compare it with the preset maximum demand. If the real-time power demand is higher than the maximum demand, the energy storage system needs to discharge to meet the demand; if it is lower than the maximum demand, charging can be considered. According to the difference between the real-time power demand and the maximum demand, a charging and discharging strategy is formulated: if the real-time demand is greater than the maximum demand, the energy storage system should discharge to provide additional power support. If the real-time demand is less than the maximum demand, the energy storage system can be charged, especially when the photovoltaic power generation is sufficient, using excess photovoltaic power for charging. A dual closed-loop control strategy is adopted to control the charging and discharging process of the energy storage device through the voltage loop and the current loop to ensure that the system can stabilize the output voltage when disturbed and respond quickly to load changes.
[0062] Optionally, in some embodiments of the present application, the step of “if the power supply environment is the first power supply environment, dynamically controlling the charge and discharge of the energy storage device of the energy storage system according to the difference between the real-time power demand and the maximum demand of the energy storage system and the charge and discharge power information” may specifically include:
[0063] If the power supply environment is the first power supply environment, the difference between the real-time power demand of the energy storage system and the maximum demand is calculated;
[0064] If the maximum power of the energy storage system is less than or equal to the difference, the energy storage device of the energy storage system is charged according to the charging and discharging power information;
[0065] If the maximum power is greater than the difference, the energy storage device of the energy storage system is charged through the energy storage system and a preset power supply system according to the charging and discharging power information.
[0066] For example, specifically, if the power supply environment is the first power supply environment, the difference between the real-time power demand and the maximum demand is calculated, and then the difference is compared with the maximum power; if the maximum power of the energy storage system is less than or equal to the difference, the energy storage system will use its maximum power for charging to meet the difference between the real-time power demand and the maximum demand; if the maximum power of the energy storage system is greater than the difference, the energy storage device of the energy storage system is charged through the energy storage system and the preset power supply system, such as obtaining additional power from the preset power supply system (such as the power grid) to meet the difference.
[0067] Optionally, in some embodiments of the present application, the step of “if the maximum power is greater than the difference, charging the energy storage device of the energy storage system through the energy storage system and a preset power supply system according to the charging and discharging power information” may specifically include:
[0068] If the maximum power is greater than the difference, the difference between the maximum power and the real-time power demand is compared;
[0069] If the maximum power is greater than or equal to the real-time power demand, the energy storage device of the energy storage system is charged through the energy storage system according to the charging and discharging power information;
[0070] If the maximum power is less than the real-time power demand, the energy storage device of the energy storage system is charged simultaneously through the energy storage system and the preset power supply system according to the charging and discharging power information.
[0071] For example, when the maximum power of the energy storage system is greater than the difference, the maximum power is compared with the real-time power demand: if the maximum power is greater than or equal to the real-time power demand, the energy storage device of the energy storage device is charged through the energy storage system according to the charging and discharging power information. If the maximum power is less than the real-time power demand, additional power is required to meet the demand. According to the charging and discharging power information, the energy storage device of the energy storage system is charged simultaneously through the energy storage system and the preset power supply system (such as the power grid). This means that the energy storage system will charge at its maximum power, while obtaining additional power from the preset power supply system to meet the remaining power demand.
[0072] Specifically, the maximum demand (MD) of the energy storage system within the preset time period is 1000kW (maximum power demand), the real-time power demand (RD) is 800kW (actual power demand at the current moment); the maximum power (Pmax) of the energy storage system is 500kW (the maximum charging and discharging power that the energy storage system can provide).
[0073] Since Pmax(500kW) > D(200kW), then compare Pmax(500kW) with RD(800kW): Since Pmax(500kW) < RD(800kW), the editor in charge needs to obtain additional power from the preset power supply system. Then, the energy storage system charges the energy storage device at a maximum power of 500kW. At the same time, 300kW of additional power (800kW - 500kW) is obtained from the preset power supply system (such as the power grid) to meet the real-time power consumption demand.
[0074] Optionally, in some embodiments of the present application, the step "if the power supply environment is the second power supply environment, then determine the charge-discharge state of the energy storage system, and perform dynamic charge-discharge control on the energy storage device of the energy storage system according to the difference between the real-time power consumption demand and the maximum demand of the energy storage system, the charge-discharge state, and the charge-discharge power information" may specifically include:
[0075] If the power supply environment is the second power supply environment, then determine the charge-discharge state of the energy storage system;
[0076] When the charge-discharge state is the charging state, obtain the remaining photovoltaic power of the preset photovoltaic system;
[0077] Supply power to the energy storage system through the preset photovoltaic system and the preset power supply system according to the remaining photovoltaic power and the charge-discharge power information.
[0078] For example, according to the state of charge (SOC) of the energy storage system and the real-time power consumption demand, determine the current charge-discharge state. If the SOC of the energy storage system is high and the photovoltaic power generation is sufficient, the system may be in the discharge state to meet the real-time power consumption demand; if the SOC is low, then charging may be required. When the charge-discharge state is the charging state, it is necessary to obtain the remaining photovoltaic power of the preset photovoltaic system. If the remaining photovoltaic power plus the maximum power of the energy storage system is greater than or equal to the real-time power consumption demand, the energy storage device can be charged through the photovoltaic system and the energy storage system. In this case, the photovoltaic system first meets the power consumption demand, and the remaining power is used for charging. If the remaining photovoltaic power plus the maximum power of the energy storage system is less than the real-time power consumption demand, it is necessary to supply power to the energy storage system simultaneously through the preset photovoltaic system and the preset power supply system (such as the power grid). According to the above conditions, implement the corresponding charging strategy. If the photovoltaic system can provide sufficient remaining power, give priority to using photovoltaic power for charging; if not, start the power grid power supply to supplement the required power.
[0079] Optionally, in some embodiments of the present application, the step "supply power to the energy storage system through the preset photovoltaic system and the preset power supply system according to the remaining photovoltaic power and the charge-discharge power information" may specifically include:
[0080] Extracting the required power of the energy storage device from the charging and discharging power information;
[0081] If the photovoltaic surplus power is greater than the required power, the energy storage device is charged through the preset photovoltaic system;
[0082] If the photovoltaic surplus power is less than or equal to the required power, the energy storage device is charged through a preset photovoltaic system and a preset power supply system.
[0083] The current required power of the energy storage device is extracted from the charging and discharging power information of the energy storage system, that is, the power that the energy storage device needs to charge.
[0084] For example, specifically, the current demand power is extracted from the monitoring data of the energy storage system, that is, the power that the energy storage device needs to charge or the power that is being discharged. The current output power is obtained through the monitoring equipment of the photovoltaic system. At the same time, the current real-time electricity demand of the energy storage system is obtained. Next, the photovoltaic surplus power = photovoltaic system output power - real-time electricity demand is calculated. If the photovoltaic surplus power is greater than the demand power, it means that the electricity generated by the photovoltaic system is sufficient to meet the charging needs of the energy storage device. At this time, the energy storage system can directly use the surplus power of the photovoltaic system for charging without the need for additional power supply. If the photovoltaic surplus power is less than or equal to the demand power, it means that additional power is needed to meet the charging needs of the energy storage device. At this time, the energy storage system will use the surplus power of the photovoltaic system and the power obtained from the power grid for charging.
[0085] Optionally, in some embodiments of the present application, the following may be specifically included:
[0086] If the photovoltaic surplus power is less than the required power and the photovoltaic surplus power is the preset value, the energy storage device is charged based on the maximum demand.
[0087] Optionally, the preset value can be pre-set by the operation and maintenance personnel, such as 10w, that is, if the photovoltaic surplus power is less than the required power, and the photovoltaic surplus power reaches or is lower than the preset value, the energy storage device is charged through the preset power supply system (such as the power grid) to ensure that the energy storage device can be charged according to the maximum demand.
[0088] Optionally, in some embodiments of the present application, the following may be specifically included:
[0089] When the charge-discharge state is the discharge state, the photovoltaic power generation of the preset photovoltaic system is obtained;
[0090] Power is supplied to the target area based on photovoltaic power generation and charging and discharging power information.
[0091] For example, specifically, a power supply strategy for the target area is formulated by combining the photovoltaic power generation amount and the discharge capacity of the energy storage device. If the photovoltaic power generation amount is sufficient to meet the demand of the target area, photovoltaic power is preferentially used. If the photovoltaic power generation amount is insufficient to meet the demand of the target area, the energy storage system will supplement the remaining power demand.
[0092] To further understand the charge and discharge control method of the energy storage system of the present application, the following further illustrates by taking the application of this charge and discharge control method of the energy storage system in a factory area as an example, specifically as follows:
[0093] The power consumption monitoring system of the factory area includes: monitoring of the power consumption of the factory area itself, monitoring of the power supply power of photovoltaic equipment, monitoring of the total power supply of the power grid, and monitoring of the charge and discharge power of the energy storage device. The above data is uploaded to the cloud system. Through the monitoring of the data system and logical judgment in the cloud system, the charge and discharge power of the energy storage system is controlled to achieve the purpose of not exceeding the monthly power consumption demand of the factory area.
[0094] Situation 1: When the photovoltaic system does not generate electric energy: The maximum monthly demand is XLmax, the real-time demand of the factory area is XLontime, and the energy storage system is in the charging period. The charging power of the energy storage system is: less than or equal to (XLmax - XLontime) until the energy storage device is fully charged.
[0095] Situation 2: When the photovoltaic system does not generate electric energy: The maximum monthly demand is XLmax, the real-time demand of the factory area is XLontime, and the energy storage system is in the discharging period. The discharging power of the energy storage system is: When the maximum power FD of the energy storage system > XLontime, the factory area only uses the power supply of the energy storage system. When the maximum power FD of the energy storage system < XLontime, in addition to using the power supply of the energy storage system in the factory area, the remaining demand is supplied by the power grid.
[0096] Situation 3: When the photovoltaic system generates electric energy: The maximum monthly demand is XLmax, the real-time demand of the factory area is XLontime, the photovoltaic generates an electric quantity GF, and the energy storage system is in the charging period. The photovoltaic gives priority to supplying power to the factory area, and the remaining power charges the energy storage device. If the remaining power of the photovoltaic is less than the demand power of the energy storage device, the remaining power is provided by the power grid. If there is no remaining power, the power grid is used to charge the energy storage device. The total demand of the factory area does not exceed the maximum monthly demand of XLmax until the energy storage device is fully charged.
[0097] Situation 4: When the photovoltaic system generates electric energy: The maximum monthly demand is XLmax, the real-time demand of the factory area is XLontime, the photovoltaic generates an electric quantity GF, and the energy storage system is in the discharging period: The photovoltaic gives priority to supplying power to the factory area, and the remaining power is provided by the energy storage device. If the power provided by the photovoltaic and the energy storage device does not meet the power consumption demand of the factory area, the remaining demand power is provided by the power grid.
[0098] After obtaining the charge and discharge power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system, and the power supply power information, the embodiment of the present application determines the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system. Finally, according to the real-time power demand of the energy storage system, the charge and discharge power information, and the power supply environment, the energy storage devices of the energy storage system are dynamically charged and discharged. The scheme for charge and discharge control of the energy storage system provided in the present application performs data splitting on the power supply power information according to the power supply architecture corresponding to the energy storage system, thereby determining the power supply environment corresponding to the energy storage system. Finally, according to the real-time power demand of the energy storage system, the charge and discharge power information, and the power supply environment, the energy storage devices of the energy storage system are dynamically charged and discharged. Thus, the accuracy of charge and discharge control of the energy storage system is improved, thereby reducing electricity costs and saving resources.
[0099] In addition, the present application also provides an electronic device, such as Figure 2 As shown, it shows a schematic diagram of the structure of the electronic device involved in the embodiment of the present application, specifically:
[0100] The electronic device may include components such as a processor 301 with one or more processing cores, a memory 302 with one or more computer-readable storage media, a power supply 303, and an input unit 304. Those skilled in the art will appreciate that Figure 2 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0101] The processor 301 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 302 and calling data stored in the memory 302, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 301 may include one or more processing cores; preferably, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.
[0102] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and energy storage system charge and discharge control by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.
[0103] The electronic device also includes a power supply 303 for supplying power to each component. Preferably, the power supply 303 can be logically connected to the processor 301 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions. The power supply 303 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0104] The electronic device may further include an input unit 304, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0105] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 301 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 302 according to the following instructions, and the processor 301 will run the application programs stored in the memory 302, thereby realizing various functions, as follows:
[0106] Obtain the charging and discharging power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system, and the power supply power information; determine the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system; dynamically control the charging and discharging of the energy storage devices of the energy storage system according to the real-time power demand of the energy storage system, the charging and discharging power information, and the power supply environment.
[0107] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0108] After obtaining the charge and discharge power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system, and the power supply power information, the embodiment of the present application determines the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system. Finally, according to the real-time power demand of the energy storage system, the charge and discharge power information, and the power supply environment, the energy storage devices of the energy storage system are dynamically charged and discharged. The scheme for charge and discharge control of the energy storage system provided in the present application performs data splitting on the power supply power information according to the power supply architecture corresponding to the energy storage system, thereby determining the power supply environment corresponding to the energy storage system. Finally, according to the real-time power demand of the energy storage system, the charge and discharge power information, and the power supply environment, the energy storage devices of the energy storage system are dynamically charged and discharged. Thus, the accuracy of charge and discharge control of the energy storage system is improved, thereby reducing electricity costs and saving resources.
[0109] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0110] To this end, an embodiment of the present application provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any of the energy storage system charge and discharge control methods provided in the embodiments of the present application. For example, the instructions can execute the following steps:
[0111] Obtain the charging and discharging power information of each energy storage device in the energy storage system, the power consumption information of the energy storage system, and the power supply power information; determine the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system; dynamically control the charging and discharging of the energy storage devices of the energy storage system according to the real-time power demand of the energy storage system, the charging and discharging power information, and the power supply environment.
[0112] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0113] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0114] Since the instructions stored in the storage medium can execute the steps in any one of the energy storage system charge and discharge control methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the energy storage system charge and discharge control methods provided in the embodiments of the present application can be achieved. For details, please refer to the previous embodiments and will not be repeated here.
[0115] The above is a detailed introduction to a method for controlling charging and discharging of an energy storage system, an electronic device, and a storage medium provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for controlling charging and discharging of an energy storage system, characterized in that: include: Obtaining charging and discharging power information of each energy storage device in the energy storage system, power consumption information of the energy storage system, and power supply information; Determining the power supply environment of the energy storage system according to the power supply architecture and power supply power information corresponding to the energy storage system; The energy storage device of the energy storage system is dynamically charged and discharged according to the real-time power demand of the energy storage system, the charging and discharging power information and the power supply environment.
2. The energy storage system charge and discharge control method according to claim 1, characterized in that: The dynamically charging and discharging control of the energy storage device of the energy storage system according to the real-time power demand of the energy storage system, the charging and discharging power information and the power supply environment includes: Obtaining the maximum demand of the energy storage system within a preset time period; If the power supply environment is the first power supply environment, dynamically controlling the charge and discharge of the energy storage device of the energy storage system according to the difference between the real-time power demand of the energy storage system and the maximum demand, and the charge and discharge power information; If the power supply environment is the second power supply environment, the charge and discharge state of the energy storage system is determined, and the energy storage device of the energy storage system is dynamically charged and discharged according to the difference between the real-time power demand of the energy storage system and the maximum demand, the charge and discharge state, and the charge and discharge power information.
3. The energy storage system charge and discharge control method according to claim 2, characterized in that: If the power supply environment is the first power supply environment, dynamically controlling the charging and discharging of the energy storage device of the energy storage system according to the difference between the real-time power demand of the energy storage system and the maximum demand, and the charging and discharging power information, includes: If the power supply environment is the first power supply environment, calculating the difference between the real-time power demand of the energy storage system and the maximum demand; If the maximum power of the energy storage system is less than or equal to the difference, charging the energy storage device of the energy storage system according to the charging and discharging power information; If the maximum power is greater than the difference, the energy storage device of the energy storage system is charged through the energy storage system and a preset power supply system according to the charging and discharging power information.
4. The energy storage system charge and discharge control method according to claim 3, characterized in that: If the maximum power is greater than the difference, charging the energy storage device of the energy storage system through the energy storage system and a preset power supply system according to the charging and discharging power information includes: If the maximum power is greater than the difference, comparing the difference between the maximum power and the real-time power demand; If the maximum power is greater than or equal to the real-time power demand, charging the energy storage device of the energy storage system through the energy storage system according to the charging and discharging power information; If the maximum power is less than the real-time power demand, the energy storage device of the energy storage system is charged simultaneously through the energy storage system and a preset power supply system according to the charging and discharging power information.
5. The energy storage system charge and discharge control method according to claim 2, characterized in that: If the power supply environment is the second power supply environment, the charge and discharge state of the energy storage system is determined, and the energy storage device of the energy storage system is dynamically charged and discharged according to the difference between the real-time power demand of the energy storage system and the maximum demand, the charge and discharge state, and the charge and discharge power information, including: If the power supply environment is the second power supply environment, determining the charge and discharge state of the energy storage system; When the charge-discharge state is a charging state, the photovoltaic residual power of the preset photovoltaic system is obtained; The energy storage system is powered by a preset photovoltaic system and a preset power supply system according to the photovoltaic surplus power and the charging and discharging power information.
6. The energy storage system charge and discharge control method according to claim 5, characterized in that: The step of supplying power to the energy storage system through a preset photovoltaic system and a preset power supply system according to the photovoltaic surplus power and the charging and discharging power information includes: Extracting the required power of the energy storage device from the charging and discharging power information; If the photovoltaic surplus power is greater than the required power, the energy storage device is charged through a preset photovoltaic system; If the photovoltaic surplus power is less than or equal to the required power, the energy storage device is charged through a preset photovoltaic system and a preset power supply system.
7. The energy storage system charge and discharge control method according to claim 6, characterized in that: Also includes: If the photovoltaic surplus power is less than the required power and the photovoltaic surplus power is a preset value, the energy storage device is charged based on the maximum demand.
8. The energy storage system charge and discharge control method according to claim 5, characterized in that: Also includes: When the charge-discharge state is a discharge state, the photovoltaic power generation of the preset photovoltaic system is obtained; Power is supplied to a target area according to the photovoltaic power generation and the charging and discharging power information.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the energy storage system charging and discharging control method as described in any one of claims 1-8 are implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, wherein when the computer program is executed by a processor, the steps of the energy storage system charging and discharging control method as described in any one of claims 1 to 8 are implemented.