Energy storage system management method, device, medium, and product
Patent Information
- Application Number
- CN202611052054.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-10-27
AI Technical Summary
[0002]目前,现有光伏与储能协同调度的储能放电管理,存在多方面与设备实际运行不符、调度逻辑不严谨的技术问题,模型计算结果与设备实际运行能力存在偏差
[0009]本发明实施例中,通过基于光伏在第一时间步的光伏功率预测值、光伏的光伏逆变器的光伏逆变器额定功率、以及负荷在第一时间步的负荷需求功率,计算光伏可供给负荷的光伏供给功率;响应于光伏供给功率小于负荷需求功率,根据负荷需求功率和光伏供给功率计算第一负荷剩余功率缺口,并计算第一负荷剩余功率缺口与第一时间步的预设时间步长的第一乘积,根据第一乘积、储能系统在第一时间步的最大可用放电能量,以及储能系统的储能变流器额定功率与预设时间步长的第二乘积进行取小运算,得到储能系统在第一时间步的第一储能系统放电能量;计算储能系统放电能量除以预设时间步长的第一比值,根据第一比值和第一负荷剩余功率缺口计算第二负荷剩余功率缺口,响应于第二负荷剩余功率缺口大于0,将第二负荷剩余功率缺口作为电网向负荷供给的电网供给功率,并将电网供给功率与预设时间步长相乘得到电网在第一时间步的电网供电能量。本发明实施例的技术方案解决了目前的储能系统管理能力有待提升的问题,可以通过光伏逆变器约束、储能容量约束、储能变流器额定功率约束以及负荷功率缺口约束等,保证储能系统管理符合设备实际运行能力。
Smart Images

Figure CN122992914A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic power generation energy storage system management technology, and in particular to an energy storage system management method, equipment, medium and product. Background Technology
[0002] Currently, the existing photovoltaic and energy storage coordinated scheduling energy storage discharge management has many technical problems that are inconsistent with the actual operation of the equipment and the scheduling logic is not rigorous. The model calculation results deviate from the actual operating capacity of the equipment. Summary of the Invention
[0003] This invention provides an energy storage system management method, device, medium, and product to address the current problem of insufficient energy storage system management capabilities. It can ensure that energy storage system management conforms to the actual operating capabilities of the equipment by using constraints such as photovoltaic inverter constraints, energy storage capacity constraints, rated power constraints of energy storage converters, and load power gap constraints.
[0004] In a first aspect, embodiments of the present invention provide an energy storage system management method, the method comprising: Based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step, calculate the photovoltaic supply power that the photovoltaic can supply to the load. In response to the photovoltaic power supply being less than the load demand power, the first load remaining power gap is calculated based on the load demand power and the photovoltaic power supply, and the first product of the first load remaining power gap and the preset time step of the first time step is calculated. Based on the first product, the maximum available discharge energy of the energy storage system in the first time step, and the second product of the rated power of the energy storage converter of the energy storage system and the preset time step, the minimum value is calculated to obtain the first energy storage system discharge energy in the first time step. The first ratio of the energy storage system's discharge energy divided by a preset time step is calculated. The second load remaining power gap is calculated based on the first ratio and the first load remaining power gap. In response to the second load remaining power gap being greater than 0, the second load remaining power gap is used as the grid supply power supplied by the grid to the load. The grid supply power is multiplied by the preset time step to obtain the grid supply energy of the grid in the first time step.
[0005] Secondly, embodiments of the present invention also provide an energy storage system management device, the device comprising: The photovoltaic power supply calculation module is used to calculate the photovoltaic power supply that the photovoltaic can supply to the load based on the photovoltaic power prediction value in the first time step, the rated power of the photovoltaic inverter, and the load demand power of the load in the first time step. The first energy storage system discharge energy calculation module is used to calculate the first load remaining power gap in response to the photovoltaic power supply being less than the load demand power, based on the load demand power and the photovoltaic power supply power, and to calculate the first product of the first load remaining power gap and the preset time step of the first time step. Based on the first product, the maximum available discharge energy of the energy storage system in the first time step, and the second product of the rated power of the energy storage converter of the energy storage system and the preset time step, the module performs a minimum operation to obtain the first energy storage system discharge energy in the first time step. The power grid supply energy calculation module is used to calculate the first ratio of the energy storage system's discharge energy divided by a preset time step, calculate the second load remaining power gap based on the first ratio and the first load remaining power gap, and in response to the second load remaining power gap being greater than 0, use the second load remaining power gap as the power grid supply power supplied by the power grid to the load, and multiply the power grid supply power by the preset time step to obtain the power grid supply energy of the power grid in the first time step.
[0006] Thirdly, embodiments of the present invention also provide an electronic device, the electronic device comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the energy storage system management method according to any embodiment of the present invention.
[0007] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions, which are used to cause a processor to execute and implement the energy storage system management method described in any embodiment of the present invention.
[0008] Fifthly, embodiments of the present invention also provide a computer program product, including a computer program that, when executed by a processor, implements the energy storage system management method as described in any of the embodiments of the present invention.
[0009] In this embodiment of the invention, the photovoltaic power supply that can be supplied to the load is calculated based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power of the load at the first time step. In response to a situation where the photovoltaic power supply is less than the load demand power, a first load surplus power gap is calculated based on the load demand power and the photovoltaic power supply. A first product of the first load surplus power gap and a preset time step length at the first time step is calculated. The first product, the maximum available discharge energy of the energy storage system at the first time step, and a second product of the rated power of the energy storage inverter and the preset time step length are used to perform a minimum operation to obtain the first energy storage system discharge energy at the first time step. A first ratio of the energy storage system discharge energy divided by the preset time step is calculated. A second load surplus power gap is calculated based on the first ratio and the first load surplus power gap. In response to a situation where the second load surplus power gap is greater than 0, the second load surplus power gap is used as the grid supply power supplied by the grid to the load. The grid supply power is then multiplied by the preset time step to obtain the grid power supply energy at the first time step. The technical solution of this invention addresses the problem that the management capabilities of current energy storage systems need to be improved. It can ensure that the management of energy storage systems meets the actual operating capabilities of the equipment by means of constraints such as photovoltaic inverter constraints, energy storage capacity constraints, rated power constraints of energy storage converters, and load power gap constraints. Attached Figure Description
[0010] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A flowchart of an energy storage system management method provided in an embodiment of the present invention; Figure 2 A flowchart illustrating another energy storage system management method provided in this embodiment of the invention; Figure 3 A schematic diagram illustrating the calculation of photovoltaic power supply according to an embodiment of the present invention; Figure 4 A schematic diagram illustrating the calculation of discharge energy of a first energy storage system, provided as an embodiment of the present invention; Figure 5 A schematic diagram illustrating the calculation of power grid supply power according to an embodiment of the present invention; Figure 6 A schematic diagram illustrating the calculation of charging energy for an energy storage system, provided as an embodiment of the present invention; Figure 7A schematic diagram illustrating the interaction between energy storage state of charge update and power grid recording, provided as an embodiment of the present invention; Figure 8 This is a schematic diagram of the structure of an energy storage system management device provided in an embodiment of the present invention; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0012] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0013] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this invention, terms such as "first," "second," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. The acquisition, storage, use, and processing of data in the technical solutions of this application all comply with relevant laws and regulations.
[0014] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the relevant content of the solution.
[0015] Figure 1 This is a flowchart illustrating an energy storage system management method provided in an embodiment of the present invention. This embodiment is applicable to energy storage system management scenarios. The method can be executed by an energy storage system management device, which can be implemented in software and / or hardware and integrated into an electronic device.
[0016] like Figure 1 As shown, the energy storage system management method includes the following steps: S110. Based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step, calculate the photovoltaic supply power that the photovoltaic can supply to the load.
[0017] This embodiment applies to a scenario where photovoltaics, energy storage systems, and the power grid work together to supply energy to the load.
[0018] The energy supply process is divided into multiple consecutive time steps of equal length, with the step size being a preset time step, such as 5 minutes. At each time step, the output capacity of the photovoltaic inverter (i.e., the rated power of the inverter) is used as a constraint to calculate the actual power scale that the photovoltaic system can participate in energy supply within the current first time step. This power scale, calculated with this constraint, is then preferentially matched with the real-time load demand, i.e., the load demand power of the load in the first time step, to obtain the photovoltaic supply power that can be supplied to the load. This solves the problem in existing technologies where neglecting inverter constraint leads to discrepancies between photovoltaic power calculations and actual physical constraints, thereby ensuring that subsequent energy storage compensation and grid power purchase logic are based on an energy foundation that conforms to physical constraints.
[0019] S120. In response to the photovoltaic power supply being less than the load demand power, calculate the first load remaining power gap based on the load demand power and the photovoltaic power supply, and calculate the first product of the first load remaining power gap and the preset time step of the first time step. Based on the first product, the maximum available discharge energy of the energy storage system in the first time step, and the second product of the rated power of the energy storage converter of the energy storage system and the preset time step, perform a minimum operation to obtain the first energy storage system discharge energy in the first time step.
[0020] If the photovoltaic power supply is less than the load demand, it means that the photovoltaic supply is insufficient to cover the load demand. Therefore, the energy storage system needs to discharge to make up for the photovoltaic supply gap.
[0021] The first load remaining power gap is calculated by subtracting the photovoltaic supply power from the load demand power. The maximum usable discharge energy is obtained by calculating the difference between the current capacity and the minimum capacity of the energy storage. Then, the remaining load demand energy is obtained by combining the product of the rated power of the energy storage converter and the preset time step, and the product of the first load remaining power gap and the preset time step. The minimum value of the three is taken as the first energy storage system discharge energy in the first time step. This solves the problem of discharge exceeding the physical lower limit caused by the lack of verification of multiple constraints in energy storage in the existing technology.
[0022] S130. Calculate the first ratio of the energy storage system's discharge energy divided by a preset time step. Calculate the second load's remaining power gap based on the first ratio and the first load's remaining power gap. In response to the second load's remaining power gap being greater than 0, use the second load's remaining power gap as the grid supply power supplied by the grid to the load. Multiply the grid supply power by the preset time step to obtain the grid power supply energy of the grid at the first time step.
[0023] Only when neither photovoltaic power supply nor energy storage discharge can meet the load demand is the power purchase power that the grid needs to supplement, which is also the grid supply energy. The grid supply energy is equal to the second load remaining power gap that is still not met after compensation by the previous steps S110 and S120. The grid purchase logic is triggered only when the second load remaining power gap is greater than 0, which solves the problem that the grid purchase is unconstrained and does not conform to the actual operation rules in the existing technology.
[0024] The technical solution of this embodiment calculates the photovoltaic supply power that the photovoltaic system can supply to the load based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step. In response to a situation where the photovoltaic supply power is less than the load demand power, a first load surplus power gap is calculated based on the load demand power and the photovoltaic supply power. A first product of the first load surplus power gap and a preset time step length at the first time step is calculated. The first product, the maximum available discharge energy of the energy storage system at the first time step, and a second product of the rated power of the energy storage system's inverter and the preset time step length are used to perform a minimum operation to obtain the first energy storage system discharge energy at the first time step. A first ratio of the energy storage system discharge energy divided by the preset time step is calculated. A second load surplus power gap is calculated based on the first ratio and the first load surplus power gap. In response to a situation where the second load surplus power gap is greater than 0, the second load surplus power gap is used as the grid supply power supplied by the grid to the load. The grid supply power is then multiplied by the preset time step to obtain the grid power supply energy at the first time step. The technical solution of this invention addresses the problem that the management capabilities of current energy storage systems need to be improved. It can ensure that the management of energy storage systems meets the actual operating capabilities of the equipment by means of constraints such as photovoltaic inverter constraints, energy storage capacity constraints, rated power constraints of energy storage converters, and load power gap constraints.
[0025] Figure 2 This is a flowchart illustrating an energy storage system management method provided in this embodiment of the invention. This embodiment belongs to the same inventive concept as the energy storage system management methods described in the previous embodiments, and further describes the energy storage system charging management process. This method can be executed by an energy storage system management device, which can be implemented in software and / or hardware and integrated into an electronic device with application development capabilities.
[0026] like Figure 2 As shown, the energy storage system management method of this embodiment includes the following steps: S210. Based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step, calculate the photovoltaic supply power that the photovoltaic can supply to the load.
[0027] First, the predicted photovoltaic power and the rated power of the photovoltaic inverter at the current time step are obtained. The maximum output power of the photovoltaic under inverter constraints is obtained through limiting calculation. This calculation process is used to eliminate the unrealizable part of the photovoltaic power prediction result on the equipment side, so that the subsequent scheduling process is established within the actual executable power range. In an optional implementation, based on the predicted photovoltaic power at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step, the photovoltaic supply power that the photovoltaic can supply to the load is calculated. This can be done by taking the minimum value of the predicted photovoltaic power and the rated power of the photovoltaic inverter at the first time step to obtain the maximum available photovoltaic power at the first time step; and by taking the minimum value of the maximum photovoltaic discharge power and the load demand power at the first time step to obtain the photovoltaic supply power that the photovoltaic can supply to the load.
[0028] like Figure 3 As shown, the maximum available photovoltaic power at the first time step can be calculated using the following formula: ; In the formula, Indicates the first step The maximum usable photovoltaic power after inverter limiting at any given time reflects the upper limit of the photovoltaic array that can actually enter the energy dispatch system under the constraint of inverter output capacity. Indicates the first step The corresponding photovoltaic power prediction value can be obtained from a prediction model based on irradiance and historical operating data. This represents the rated power of the photovoltaic inverter. This parameter is a fixed technical specification of the equipment, used to limit the maximum power level that the inverter can continuously and stably output. This formula unifies the constraints between the predicted photovoltaic power and the physical capabilities of the equipment, avoiding power dispatching behavior exceeding the inverter's capacity during subsequent energy allocation, thus ensuring consistency between the modeling results and actual operating conditions. After determining the maximum available photovoltaic power, the system further prioritizes and allocates photovoltaic output based on real-time load power demand, maximizing the utilization of photovoltaic energy while meeting load requirements and reducing the compensation pressure on the energy storage system and the grid side. The photovoltaic supply power that can be supplied to the load is calculated as follows: ; In the formula, Indicates the first step The photovoltaic power supplied to the load by the internal photovoltaic system is the actual power scale of photovoltaics directly participating in load power supply. This indicates the maximum usable photovoltaic power after being limited by the photovoltaic inverter. Indicates the first step The corresponding real-time load power demand is calculated in this way to ensure that the photovoltaic power supply does not exceed the load demand scale, thereby avoiding virtual power supply or power backflow and maintaining the physical consistency of the system's energy flow.
[0029] In one optional implementation, the process of obtaining the photovoltaic power prediction value may involve inputting the predicted irradiance value of the first time step and the historical photovoltaic operation data associated with the first time step into the photovoltaic power prediction model to obtain the photovoltaic power prediction value of the first time step; wherein, the photovoltaic power prediction model is a neural network model trained by sample irradiance prediction values, sample historical photovoltaic operation data and sample real photovoltaic power.
[0030] The photovoltaic power prediction model is trained under supervision based on multiple sets of training samples. Each set of training samples includes the predicted value of sample irradiance, the sample's historical photovoltaic operation data, and the sample's actual photovoltaic power at the same time. By learning the correlation between irradiance conditions, historical operating conditions, and actual photovoltaic power generation, the model can predict the photovoltaic output at the target time step.
[0031] S220. In response to the photovoltaic power supply being less than the load demand power, calculate the first load remaining power gap based on the load demand power and the photovoltaic power supply, and calculate the first product of the first load remaining power gap and the preset time step of the first time step. Based on the first product, the maximum available discharge energy of the energy storage system in the first time step, and the second product of the rated power of the energy storage converter of the energy storage system and the preset time step, perform a minimum operation to obtain the first energy storage system discharge energy in the first time step.
[0032] like Figure 4 As shown, the first load surplus power gap can be calculated using the following formula: ; In the formula, Indicates time step The corresponding first load surplus power gap reflects the scale of load power demand that remains unmet after the photovoltaic power supply ends. Indicates the load demand power. This variable represents the photovoltaic power supplied to the actual photovoltaic load. It is derived from the photovoltaic power allocation result in step S210. This calculation can clarify whether the energy storage system needs to participate in power compensation, and at the same time provide a basic constraint for the subsequent calculation of the energy storage discharge scale.
[0033] The system then performs a capacity constraint check on the energy storage system's currently releaseable discharge energy. By comparing the difference between the current energy storage capacity and the minimum energy storage capacity, the maximum available discharge energy that the energy storage system can release under the condition of ensuring safe operation is determined. Specifically, in an optional implementation, the calculation process of the maximum available discharge energy of the energy storage system in the first time step can be as follows: obtain the first energy storage system capacity at the beginning of the first time step; calculate the difference between the first energy storage system capacity and the minimum energy storage capacity of the energy storage system to obtain the maximum available discharge energy of the energy storage system in the first time step.
[0034] The maximum available discharge energy of an energy storage system in the first time step can be calculated as follows: ; In the formula, Indicates the first step The maximum usable discharge energy of the corresponding energy storage system. This value reflects the scale of energy that the energy storage system can still safely release under its current capacity. This represents the capacity of the first energy storage system at the start of the first time step. This parameter is obtained from the energy storage capacity update result of the previous time step. This parameter represents the minimum energy storage capacity. It ensures that the energy storage system always maintains a minimum operating reserve, thereby avoiding the impact of deep discharge on the lifespan of the energy storage equipment. This calculation process explicitly embeds the energy storage capacity constraint into the discharge logic, ensuring that the energy storage discharge behavior remains within the safe capacity range. After completing the energy storage capacity constraint calculation, the system further integrates the rated power constraint of the energy storage converter, the time step constraint, and the remaining load demand constraint to uniformly verify the actual discharge energy that the energy storage system can perform within the current time step. This results in the first energy storage system discharge energy at the first time step, which meets both equipment capacity and load demand constraints. The calculation relationship is as follows. In the formula, Indicates time step The energy discharged by the first energy storage system in the first time step is the final energy scale of the energy storage system participating in load compensation. Indicates the maximum available discharge energy. This indicates the rated power of the energy storage converter. This parameter is used to limit the maximum power level that the energy storage system can output per unit time. This indicates a fixed preset time step, which in this embodiment is maintained as a uniform scheduling cycle of 5 minutes. This represents the remaining power gap of the first load. By uniformly minimizing the constraints of energy storage capacity, converter power, and load demand, the system can ensure that energy storage discharge behavior simultaneously meets the equipment's operating capacity and the system's energy supply demand, thereby avoiding situations where energy storage discharge exceeds equipment capacity or breaches the minimum capacity limit. After completing the energy storage discharge calculation, the system will further determine whether to trigger the grid power purchase logic based on the remaining uncompensated load power, and calculate the power purchase required from the grid side in the next step S230.
[0035] S230. Calculate the first ratio of the energy storage system's discharge energy divided by a preset time step. Calculate the second load's remaining power gap based on the first ratio and the first load's remaining power gap. In response to the second load's remaining power gap being greater than 0, use the second load's remaining power gap as the grid supply power supplied by the grid to the load. Multiply the grid supply power by the preset time step to obtain the grid power supply energy at the first time step.
[0036] like Figure 5 As shown, this process is performed after photovoltaic power supply and energy storage discharge are completed. Its task is to ensure system power balance when the preceding energy compensation is still unable to meet the real-time load power demand, so that the grid side can assume the final power supply role.
[0037] First, based on the photovoltaic power supplied in step S210 and the energy storage system discharge energy obtained in step S220, the second load remaining power gap after joint compensation by photovoltaic and energy storage in the first time step is calculated. This power gap is used to determine whether the grid side needs to participate in energy supply. The calculation relationship is as follows.
[0038] ; In the formula, Indicates time step The remaining power gap of the second load that is not met after the internal photovoltaic power supply and energy storage discharge. Indicates load power demand. Indicates the photovoltaic power supply. This indicates the discharge energy of the energy storage system. This parameter represents the preset time step and is used to convert the energy stored in the storage system into equivalent discharge power. This formula maps photovoltaic power supply and energy storage compensation to a unified power dimension, thereby accurately identifying the remaining power gap in the system. After calculating the remaining load power, the system uses an energy gap determination mechanism to trigger and verify the grid power purchase logic. The grid power supply process is initiated only when the remaining load power is greater than zero, ensuring that the grid side participates in system power supply only when necessary. The calculation relationship is as follows: ; In the formula, Indicates the first step The internal system purchases power from the grid, which supplies power to the grid. This represents the second load surplus power gap. The formula uses a non-negative screening mechanism to ensure that grid power purchases only occur when a load gap exists. When photovoltaic and energy storage have fully met load demand, the grid power purchase remains zero, thus avoiding unnecessary grid energy exchange. To further characterize the scale of grid energy participation in the current time step, the system performs energy mapping processing on the purchased power and time step to obtain the actual interactive energy of the grid participating in system power supply. The calculation relationship is as follows.
[0039] ; In the formula, Indicates the first step The energy supplied by the internal system from the power grid; this value is used for subsequent system energy statistics and operation records. Indicates the power supplied by the power grid. This indicates the preset time step. Through this calculation, a complete energy allocation closed loop can be formed, encompassing photovoltaic power supply, energy storage compensation, and grid backup power supply. This ensures that the system's power supply logic strictly follows the operating rules of photovoltaic priority, energy storage compensation, and grid backup, while also guaranteeing that grid interaction behavior remains consistent with the system's actual load demand.
[0040] S240. In response to the photovoltaic power supply being greater than the load demand power, the remaining photovoltaic power is calculated based on the photovoltaic power supply and the maximum available photovoltaic power. The charging power of the energy storage system is obtained by taking the smaller of the remaining photovoltaic power and the rated power of the energy storage converter of the energy storage system.
[0041] like Figure 3 As shown, this can be executed after the power purchased from the grid is calculated. Under the condition that the system's power supply demand is met, the surplus power generated after the photovoltaic power supply load is redistributed, and this surplus power is used as the sole energy source for charging the energy storage system, thereby ensuring that the energy storage charging behavior strictly comes from renewable energy rather than grid power purchase.
[0042] Based on the maximum available photovoltaic power and the photovoltaic supply power, the remaining photovoltaic power that can be used for energy storage charging within the first time step is calculated. This power reflects the remaining energy potential of photovoltaics after meeting load demand. The calculation method for the remaining photovoltaic power is as follows: ; In the formula, Indicates the first step The surplus photovoltaic power generated after the internal photovoltaic system supplies the load is the only source of charging power allowed for the energy storage system. This indicates the maximum usable photovoltaic power after being limited by the inverter. This represents the photovoltaic power supply. This calculation can accurately identify the remaining power of photovoltaics that can be used for energy storage in the current first time step, and ensure that energy storage charging will not occupy the load power supply resources.
[0043] like Figure 6 As shown, after identifying the remaining photovoltaic power, a rated power constraint on the energy storage converter is further introduced. The maximum charging power that the energy storage system can execute within the current time step is verified to check the equipment capacity. The minimum value between the remaining photovoltaic power and the rated power of the energy storage converter is used to filter and obtain the allowed charging power of the energy storage system. The calculation method for the energy storage system charging power can be as follows: ; In the formula, Indicates the first step The internal energy storage system is allowed to perform a certain amount of charging power, which is limited by both the remaining photovoltaic power and the rated power of the energy storage converter. This indicates the remaining photovoltaic power after the photovoltaic system supplies the load. This parameter represents the rated power of the energy storage converter. It is used to limit the maximum charging capacity of the energy storage system per unit time. This calculation ensures that the charging behavior of the energy storage system is always within the power range allowed by the equipment.
[0044] S250. Calculate the third product of the energy storage system charging power and the preset time step, and calculate the first capacity difference between the rated capacity of the energy storage system and the first capacity of the energy storage system at the beginning of the first time step.
[0045] To prevent energy storage systems from exceeding their capacity limits during charging, a remaining capacity constraint can be introduced. The difference between the current energy storage capacity and the rated energy storage capacity is taken as the maximum energy that the energy storage can continue to absorb. This value is then compared with the charging energy that can be generated within the current time step to obtain the actual charging energy performed by the energy storage system. S260. Perform a minimum operation on the difference between the third product and the first capacity to obtain the energy storage system charging energy at the first time step.
[0046] The calculation method for charging energy of an energy storage system can be: ; In the formula, Indicates the first step The actual energy required for charging the internal energy storage system. Indicates the charging power of the energy storage system. Indicates the preset time step. This indicates the rated capacity of the energy storage system; this parameter reflects the maximum amount of energy the energy storage system can store. This represents the capacity of the first energy storage system at the start of the first time step. This formula unifies the energy storage capacity constraint with the power constraint, ensuring that the energy storage system will neither exceed the device's charging power capacity nor breach the energy storage capacity limit during charging, while guaranteeing that the charging energy comes entirely from the surplus power of the photovoltaic system. After calculating the energy storage charging energy, the system will update the energy storage capacity based on the energy storage charging and discharging energy, and in subsequent steps, update the energy storage status and record the grid interaction energy at fixed time steps.
[0047] S270. Calculate the first sum of the capacity of the first energy storage system and the charging energy of the energy storage system, and subtract the discharge energy of the first energy storage system from the first sum to obtain the capacity of the second energy storage system at the beginning of the second time step.
[0048] The second time step is the next time step adjacent to the first time step.
[0049] like Figure 7 As shown, after calculating the energy storage discharge energy and energy storage charging energy, the capacity status of the energy storage system is updated on a unified time scale, and the energy interaction scale between the system and the grid is recorded simultaneously, thereby ensuring that the entire process of photovoltaic, energy storage and grid coordinated energy supply remains consistent in the time dimension.
[0050] With preset time step As a scheduling cycle, this refers to the first energy storage system capacity at the start of the first time step. and energy storage system charging energy The new energy storage capacity state is formed by superimposing and subtracting energy from the current energy storage capacity, and the calculation relationship is as follows.
[0051] ; In the formula, This indicates the next time step, also known as the second time step. The initial capacity of the second energy storage system; this value describes the actual energy storage state of the energy storage system after completing the first time step of charge and discharge operations. Indicates the capacity of the first energy storage system. This represents the energy absorbed by the energy storage system during the first time step, and this value originates from the charging process of the photovoltaic system's remaining power. This represents the first energy storage system discharge energy released within the first time step. This formula enables the dynamic evolution of energy storage capacity over continuous time steps, ensuring that the energy state of the energy storage system remains strictly consistent with the actual charging and discharging behavior.
[0052] Understandably, within the same time step, such as in the first time step, When it is 0, Not equal to 0, When it is not 0, A value of 0 indicates that the energy storage system will not charge and discharge simultaneously within the same time step.
[0053] S280. Calculate the ratio of the capacity of the second energy storage system to the rated capacity of the energy storage system and convert it into a percentage to obtain the percentage of the energy storage system's state of charge at the second time step.
[0054] After completing the energy storage capacity update, the energy storage state charge is further calculated based on the ratio between the current energy storage capacity and the rated energy storage capacity, and converted into a percentage to reflect the current available energy level of the energy storage system. The calculation relationship is as follows.
[0055] ; In the formula, This indicates the percentage of the energy storage system's state of charge at the second time step. Indicates the second time step of the update. The initial capacity of the second energy storage system, This parameter represents the rated capacity of the energy storage system, which is the maximum energy storage capacity of the system. This calculation can transform the energy storage capacity status into a standardized proportional index, thereby providing a basis for subsequent calculations of energy storage discharge constraints over time steps and ensuring that the minimum energy storage capacity constraint is always verified under a uniform proportional scale.
[0056] In one alternative implementation, the capacity of the second energy storage system, the percentage of energy storage state of charge, and the grid-supplied energy are stored in association.
[0057] To ensure complete recording of system energy flow, the system synchronously counts the grid interaction energy at the end of each time step. By mapping the grid supply power to a preset time step, the actual interaction energy between the system and the grid is obtained, and the calculation relationship is as follows.
[0058] ; In the formula, Indicates time step The scale of energy interaction between the internal system and the power grid; this value is used to record the energy purchased by the system from the power grid. Indicates time step The power supplied to the grid by the internal system is derived from the grid purchase logic calculation results. This represents a preset time step. Through this energy mapping process, a continuous time-scale grid interaction energy sequence can be formed, ensuring that the system operation record is consistent with the scheduling cycle and providing an accurate data foundation for subsequent operation assessment and energy statistics. After completing the energy storage status update and grid interaction energy record, the system enters the next time step and repeats the photovoltaic energy supply calculation, energy storage compensation calculation, and grid power purchase judgment, thereby forming a continuous time-series photovoltaic-storage coordinated operation process.
[0059] This embodiment introduces a photovoltaic inverter rated power constraint during the photovoltaic power supply calculation phase, uniformly verifying the predicted photovoltaic power value with the inverter output capacity. This yields the maximum available photovoltaic power that matches the actual operating capacity of the equipment. Based on this, it further matches real-time load power demand, realizing a photovoltaic-priority power allocation strategy. This mechanism avoids the problem of inflated power caused by traditional methods that only rely on predicted photovoltaic power for scheduling while ignoring the inverter's limiting capacity. It ensures that the photovoltaic output results are always within the equipment's allowable range, improving the physical consistency and engineering feasibility of the photovoltaic output modeling results. It also provides an accurate and reliable power benchmark for subsequent energy storage compensation and grid power purchase decisions. During the energy storage discharge calculation process, a multi-verification mechanism is constructed, including energy storage capacity constraints, energy storage converter rated power constraints, and load power gap constraints. By calculating the difference between the current energy storage capacity and the minimum energy storage capacity, the maximum discharge energy that the energy storage system can release is obtained. This is then combined with the energy storage converter output capacity and load demand scale for unified screening, ultimately determining the actual energy storage discharge energy. This multi-constraint discharge model effectively prevents energy storage systems from exceeding minimum capacity limits or converter power capabilities during operation, ensuring that energy storage discharge behavior remains within a safe operating range. This improves the stability and equipment protection capabilities of the energy storage system in energy dispatch. By establishing a hierarchical energy supply logic encompassing photovoltaic power supply, energy storage compensation, and grid backup power, the system's energy dispatch sequence remains clear and conforms to actual operating rules. Grid power purchase is only triggered when neither photovoltaic power supply nor energy storage discharge can meet load demand. A residual load power determination mechanism accurately calculates the grid power purchase, avoiding the ambiguity of grid power purchase triggering conditions in traditional methods. This mechanism effectively reduces unnecessary grid energy exchange, prioritizes the use of local renewable energy and energy storage systems, reduces the system's dependence on the external grid, and improves overall energy efficiency and operational economy. It explicitly stipulates that the energy source for energy storage charging is limited to the residual power generated after photovoltaic load supply. Multi-layered verification of the energy storage charging process is implemented through photovoltaic residual power constraints, energy storage converter rated power constraints, and energy storage residual capacity constraints, ensuring that the energy storage system's charging behavior neither exceeds the equipment's charging capacity nor breaches the energy storage capacity limit. This charging logic avoids operational strategy deviations caused by chaotic energy storage charging sources or direct use of grid power in traditional systems, enabling energy storage systems to truly play the role of renewable energy buffering and regulation, thereby improving the absorption capacity of photovoltaic energy and reducing curtailment. This scheme uses a fixed five-minute time step to dynamically update the energy storage capacity status, and at the end of each time step, calculates the current energy storage capacity based on the actual charging energy and actual discharging energy of the energy storage, and converts it into the energy storage state of charge ratio index, realizing unified modeling of energy storage state of charge and time dimension.Simultaneously, the system records the grid interaction energy corresponding to the power purchased by the grid within each time step, forming a continuous energy interaction data sequence. This mechanism can significantly improve the time consistency and recording accuracy of system operation data, providing a reliable data foundation for subsequent energy statistical analysis, operation evaluation, and scheduling optimization.
[0060] The technical solution of this embodiment calculates the photovoltaic supply power that the photovoltaic system can supply to the load based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step. In response to a situation where the photovoltaic supply power is less than the load demand power, a first load surplus power gap is calculated based on the load demand power and the photovoltaic supply power. A first product of the first load surplus power gap and a preset time step length at the first time step is calculated. The first product, the maximum available discharge energy of the energy storage system at the first time step, and a second product of the rated power of the energy storage system's inverter and the preset time step length are then used to perform a minimum operation to obtain the first energy storage system discharge energy at the first time step. A first ratio of the energy storage system discharge energy to the preset time step length is calculated. A second load surplus power gap is calculated based on the first ratio and the first load surplus power gap. In response to a situation where the second load surplus power gap is greater than 0, the second load surplus power gap is used as the grid supply power supplied by the grid to the load. The grid supply power is then compared with the preset time step length. The grid supply energy at the first time step is obtained by multiplying the photovoltaic power supply power by the grid power supply. In response to the photovoltaic power supply exceeding the load demand power, the remaining photovoltaic power is calculated based on the photovoltaic power supply and the maximum available photovoltaic power. The minimum value of the remaining photovoltaic power and the rated power of the energy storage system's inverter is used to obtain the energy storage system charging power. The third product of the energy storage system charging power and the preset time step is calculated, and the first capacity difference between the rated capacity of the energy storage system and the first capacity difference at the beginning of the first time step is calculated. The minimum value of the third product and the first capacity difference is used to obtain the energy storage system charging energy at the first time step. The first sum of the first energy storage system capacity and the energy storage system charging energy is calculated, and the first sum is subtracted from the first energy storage system discharge energy to obtain the second energy storage system capacity at the beginning of the second time step, where the second time step is the next time step adjacent to the first time step. The ratio of the second energy storage system capacity to the rated capacity of the energy storage system is calculated and converted to a percentage to obtain the energy storage system's state of charge percentage at the second time step. The technical solution of this invention addresses the problem that the management capabilities of current energy storage systems need to be improved. It can constrain the energy storage charging process from both power and capacity dimensions, accurately iterate the energy storage capacity and state of charge at each time step, and effectively avoid battery overcharging.
[0061] Figure 8This is a schematic diagram of the structure of an energy storage system management device provided in an embodiment of the present invention. This embodiment is applicable to scenarios involving energy storage system management. The device can be implemented by software and / or hardware and integrated into an electronic device.
[0062] like Figure 8 As shown, the energy storage system management device includes: a photovoltaic power supply calculation module 310, a first energy storage system discharge energy calculation module 320, and a grid power supply energy calculation module 330.
[0063] The photovoltaic power supply calculation module 310 is used to calculate the photovoltaic power supply that can be supplied to the load based on the photovoltaic power prediction value in the first time step, the rated power of the photovoltaic inverter, and the load demand power in the first time step. The first energy storage system discharge energy calculation module 320 is used to calculate the first load surplus power gap in response to the photovoltaic power supply being less than the load demand power, based on the load demand power and the photovoltaic power supply, and to calculate the first product of the first load surplus power gap and the preset time step length of the first time step, and to calculate the maximum available discharge energy of the energy storage system in the first time step. The electrical energy and the rated power of the energy storage converter of the energy storage system are multiplied by a second product of a preset time step and then the smaller product is used to obtain the first energy storage system discharge energy in the first time step. The grid power supply energy calculation module 330 is used to calculate the first ratio of the energy storage system discharge energy divided by the preset time step, calculate the second load remaining power gap based on the first ratio and the first load remaining power gap, and in response to the second load remaining power gap being greater than 0, use the second load remaining power gap as the grid supply power supplied by the grid to the load, and multiply the grid supply power by the preset time step to obtain the grid power supply energy in the first time step.
[0064] The technical solution of this invention calculates the photovoltaic supply power that the photovoltaic system can supply to the load based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step. In response to the photovoltaic supply power being less than the load demand power, a first load remaining power gap is calculated based on the load demand power and the photovoltaic supply power. The first product of the first load remaining power gap and the preset time step of the first time step is calculated. The first energy storage system discharge energy at the first time step is obtained by taking the smaller value of the first product, the maximum available discharge energy of the energy storage system at the first time step, and the second product of the rated power of the energy storage inverter of the energy storage system and the preset time step. The first ratio of the energy storage system's discharge energy divided by a preset time step is calculated. Based on this first ratio and the first load remaining power gap, a second load remaining power gap is calculated. If the second load remaining power gap is greater than 0, it is used as the grid supply power to the load. This grid supply power is then multiplied by the preset time step to obtain the grid supply energy at the first time step. This invention addresses the problem of insufficient management capabilities in current energy storage systems. It ensures that energy storage system management aligns with the actual operating capabilities of the equipment through constraints such as photovoltaic inverter constraints, energy storage capacity constraints, energy storage converter rated power constraints, and load power gap constraints.
[0065] In one alternative embodiment, the apparatus further includes: The energy storage system charging energy calculation module is used to respond to situations where the photovoltaic power supply exceeds the load demand. It calculates the remaining photovoltaic power based on the photovoltaic power supply and the maximum available photovoltaic power. It then performs a minimum operation on the remaining photovoltaic power and the rated power of the energy storage inverter in the energy storage system to obtain the energy storage system charging power. The module calculates the third product of the energy storage system charging power and a preset time step, and calculates the first capacity difference between the rated capacity of the energy storage system and the first capacity difference at the beginning of the first time step. Finally, it performs a minimum operation on the third product and the first capacity difference to obtain the energy storage system charging energy in the first time step.
[0066] The energy storage state of charge percentage calculation module is used to calculate the first sum of the capacity of the first energy storage system and the charging energy of the energy storage system, and subtract the discharge energy of the first energy storage system from the first sum to obtain the capacity of the energy storage system at the beginning of the second time step, wherein the second time step is the next time step adjacent to the first time step; calculate the ratio of the second energy storage system capacity to the rated capacity of the energy storage system and convert it into a percentage form to obtain the energy storage state of charge percentage of the energy storage system at the second time step.
[0067] The status storage module is used to associate and store the capacity of the second energy storage system, the percentage of energy storage state of charge, and the energy supplied by the grid.
[0068] In one alternative implementation, the photovoltaic power supply calculation module 310 is specifically used for: The maximum available photovoltaic power in the first time step is obtained by taking the minimum value of the photovoltaic power prediction value and the rated power of the photovoltaic inverter in the first time step; the maximum photovoltaic discharge power and the load demand power in the first time step are taken as the minimum value to obtain the photovoltaic supply power that can be supplied to the load.
[0069] In an optional implementation, the first energy storage system discharge energy calculation module 320 is further configured to: Obtain the capacity of the first energy storage system at the beginning of the first time step; calculate the difference between the capacity of the first energy storage system and the minimum energy storage capacity of the energy storage system to obtain the maximum available discharge energy of the energy storage system in the first time step.
[0070] In one alternative implementation, the photovoltaic power supply calculation module 310 is further configured to: The predicted irradiance value at the first time step, along with the historical photovoltaic operation data associated with the first time step, is input into the photovoltaic power prediction model to obtain the photovoltaic power prediction value at the first time step. The photovoltaic power prediction model is a neural network model trained using sample irradiance prediction values, sample historical photovoltaic operation data, and sample real photovoltaic power.
[0071] The energy storage system management device provided in the embodiments of the present invention can execute the energy storage system management method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0072] Figure 9 A schematic diagram of an electronic device 10, which can be used to implement embodiments of the present invention, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0073] like Figure 9 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0074] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0075] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as energy storage system management methods.
[0076] In some embodiments, the energy storage system management method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded into and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the energy storage system management method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the energy storage system management method by any other suitable means (e.g., by means of firmware).
[0077] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0078] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0079] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0080] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0081] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0082] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0083] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0084] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the energy storage system management method provided in any embodiment of this application.
[0085] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0086] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0087] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for managing an energy storage system, characterized in that, include: Based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter of the photovoltaic system, and the load demand power of the load at the first time step, the photovoltaic power supply power that the photovoltaic system can supply to the load is calculated. In response to the photovoltaic power supply being less than the load demand power, a first load surplus power gap is calculated based on the load demand power and the photovoltaic power supply, and a first product of the first load surplus power gap and a preset time step of the first time step is calculated. Based on the first product, the maximum available discharge energy of the energy storage system in the first time step, and a second product of the rated power of the energy storage converter of the energy storage system and the preset time step, the first energy storage system discharge energy in the first time step is obtained by taking the smaller value. Calculate the first ratio of the energy storage system's discharge energy divided by the preset time step, calculate the second load remaining power gap based on the first ratio and the first load remaining power gap, and in response to the second load remaining power gap being greater than 0, use the second load remaining power gap as the grid supply power supplied by the grid to the load, and multiply the grid supply power by the preset time step to obtain the grid power supply energy of the grid at the first time step.
2. The method according to claim 1, characterized in that, After calculating the photovoltaic power that the photovoltaic system can supply to the load, the method further includes: In response to the photovoltaic power supply being greater than the load demand power, the remaining photovoltaic power is calculated based on the photovoltaic power supply and the maximum available photovoltaic power. The charging power of the energy storage system is obtained by taking the smaller of the remaining photovoltaic power and the rated power of the energy storage converter of the energy storage system. Calculate the third product of the charging power of the energy storage system and the preset time step, and calculate the first capacity difference between the rated capacity of the energy storage system and the first capacity of the energy storage system at the beginning of the first time step. The energy storage system charging energy at the first time step is obtained by taking the smaller value of the third product and the first capacity difference.
3. The method according to claim 2, characterized in that, The method further includes: Calculate the first sum of the capacity of the first energy storage system and the charging energy of the energy storage system, and subtract the discharging energy of the first energy storage system from the first sum to obtain the second energy storage system capacity at the beginning of the second time step, wherein the second time step is the next time step adjacent to the first time step; Calculate the ratio of the capacity of the second energy storage system to the rated capacity of the energy storage system and convert it into a percentage to obtain the percentage of the energy storage system's state of charge at the second time step.
4. The method according to claim 3, characterized in that, The method further includes: The capacity of the second energy storage system, the percentage of the energy storage state of charge, and the grid-supplied energy are stored together.
5. The method according to claim 1, characterized in that, The calculation of the photovoltaic power supply capacity that the photovoltaic system can provide to the load, based on the photovoltaic power prediction value at the first time step, the rated power of the photovoltaic inverter, and the load demand power at the first time step, includes: The maximum usable photovoltaic power at the first time step is obtained by taking the smaller value of the photovoltaic power prediction value at the first time step and the rated power of the photovoltaic inverter of the photovoltaic. The photovoltaic power supply capacity that can be supplied to the load is obtained by taking the smaller of the maximum discharge power of the photovoltaic system and the load demand power of the load at the first time step.
6. The method according to claim 1, characterized in that, The calculation process of the maximum available discharge energy of the energy storage system at the first time step includes: Obtain the first energy storage system capacity at the start of the first time step; The difference between the capacity of the first energy storage system and the minimum energy storage capacity of the energy storage system is calculated to obtain the maximum available discharge energy of the energy storage system at the first time step.
7. The method according to claim 1, characterized in that, The process of obtaining the photovoltaic power prediction value includes: The predicted irradiance value at the first time step and the historical photovoltaic operation data associated with the first time step are input into the photovoltaic power prediction model to obtain the predicted photovoltaic power value at the first time step. The photovoltaic power prediction model is a neural network model trained using sample light intensity prediction values, sample historical photovoltaic operation data, and sample real photovoltaic power.
8. An electronic device, characterized in that, The system includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the energy storage system management method according to any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are used to cause a processor to execute the energy storage system management method according to any one of claims 1-7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the energy storage system management method as described in any one of claims 1-7.