A user-side energy storage demand response capacity calculation method, device, equipment, medium and product

By aligning and dynamically updating the target offset data of user-side energy storage, the accuracy problem of energy storage demand response capacity assessment is solved, enabling accurate calculation and timely updating of energy storage responsive capacity, and improving the utilization efficiency of energy storage resources.

CN123121694APending Publication Date: 2026-11-17STATE GRID DIGITAL TECHNOLOGY HOLDING CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611457052.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing methods for assessing user-side energy storage demand response capacity suffer from poor accuracy in capacity calculation, making it impossible to accurately determine whether energy storage has the capacity to undertake new demand response tasks.

Method used

By acquiring equipment parameters, operating data, user load data, grid connection point constraint data, and multiple issued and new demand response task data for user-side energy storage, target offset length alignment is performed, remaining occupancy factor and net occupancy power are calculated, and the adjustable capacity is dynamically updated to cope with task status changes by combining the state of charge prediction trajectory and grid connection point prediction power, thereby improving the accuracy of response capacity calculation.

Benefits of technology

It enables accurate calculation of the energy storage response capacity, avoids duplicate calculations of tasks at different time scales and cancellation of tasks in opposite directions, ensures the rational use of energy storage resources and timely updates of response capacity, and improves the accuracy of calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121694A_ABST
    Figure CN123121694A_ABST
Patent Text Reader

Abstract

The application discloses a user-side energy storage demand response capacity calculation method, device, equipment, medium and product, relates to the technical field of power demand response, and comprises the following steps: acquiring energy storage equipment parameters, operation data, load data, grid connection point constraint data, multi-scale issued and new demand response task data, combining the rated capacity and health state of the energy storage to calculate the effective capacity, and performing uniform step alignment on the task power of multiple time scales. According to the task power parameter, the remaining occupation coefficient is solved, the charging and discharging occupation power and the net occupation power of each time period are calculated, and the energy storage operation power, the state of charge trajectory and the grid connection point predicted power are deduced. Combined with multiple constraints, the initial adjustable power and the electric quantity are solved, the task state change is monitored, the remaining occupation coefficient is updated, the release capacity is calculated to dynamically correct the adjustable parameters, and the task response capacity is determined. The method can improve the calculation accuracy of the response capacity.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power demand response technology, and in particular to a method, apparatus, equipment, medium and product for calculating user-side energy storage demand response capacity. Background Technology

[0002] With the advancement of new power system construction, user-side energy storage is widely involved in demand response operations, capable of simultaneously undertaking multiple batches of demand response tasks with different scheduling time granularities. During the operation, it is necessary to accurately calculate the remaining adjustable resources of user-side energy storage to determine whether the energy storage has the capacity to undertake new demand response tasks, thus providing support for the scheduling decisions of demand response tasks.

[0003] Currently, capacity assessment for user-side energy storage to participate in demand response typically involves roughly estimating the available response capacity of energy storage based on energy storage nameplate parameters or historical operating data, which serves as the basis for accepting new demand response tasks.

[0004] However, existing methods for assessing user-side energy storage demand response capacity suffer from poor accuracy in calculating response capacity. Summary of the Invention

[0005] This application provides a method, apparatus, equipment, medium, and product for calculating user-side energy storage demand response capacity, which can improve the accuracy of response capacity calculation.

[0006] To achieve the above objectives, this application adopts the following technical solution: Firstly, this application provides a method for calculating user-side energy storage demand response capacity, including: The system acquires equipment parameters, operational data, user load data, grid connection point constraint data, multiple issued demand response task data, and new demand response task data for user-side energy storage. Each issued demand response task corresponds to one issued demand response task, and each task includes response power, unexecuted response capacity, and reserved response capacity. The time scales for multiple issued demand response tasks differ. New demand response task data includes the execution window for new demand response tasks to be evaluated. The effective capacity of user-side energy storage is determined based on the rated capacity and health status in the equipment parameters. The response power of each issued demand response task is aligned according to the target distance to obtain the response capacity of each issued demand response task. The response power of the task in the target discrete time period is determined; for each issued demand response task, the remaining occupancy factor of the issued demand response task is determined based on the unexecuted response power and reserved response power of the issued demand response task; based on the remaining occupancy factor corresponding to each issued demand response task and the response power in the target discrete time period, the discharge direction occupancy power and charging direction occupancy power of each target discrete time period are determined; based on the discharge direction occupancy power and charging direction occupancy power of each target discrete time period, the net occupancy power of each target discrete time period is determined; based on the net occupancy power and operating data, the predicted actual operating power of energy storage is determined; based on the predicted actual operating power of energy storage and the effective capacity, the predicted state of charge is determined. Trajectory; Based on the predicted actual operating power of energy storage and user load data, determine the predicted power at the grid connection point; Based on the predicted actual operating power of energy storage, the predicted trajectory of state of charge, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, determine the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated; When any issued demand response task experiences a status change event, update the remaining occupancy coefficient corresponding to the issued demand response task based on the changed reserved response capacity and / or the changed unexecuted response capacity to obtain the updated remaining occupancy coefficient; Based on the updated remaining occupancy coefficient... The difference between the coefficient and the remaining occupancy coefficient before the update is used to determine the capacity release power and capacity release quantity. Based on the capacity release power and capacity release quantity, the initial adjustable power, initial adjustable quantity, initial adjustable power and initial adjustable quantity in the discharge direction are updated to obtain the updated initial adjustable power, initial adjustable quantity in the discharge direction, updated initial adjustable power and initial adjustable quantity in the charging direction. Based on the updated initial adjustable power, initial adjustable quantity in the discharge direction, updated initial adjustable power and initial adjustable quantity in the charging direction, the responsive capacity of the new demand response task is determined.

[0007] In some possible implementations, the capacity release power and capacity release quantity are determined based on the difference between the updated and unupdated remaining occupancy factors, including: When the updated remaining occupancy coefficient is less than the original remaining occupancy coefficient, the original remaining occupancy coefficient is subtracted from the updated remaining occupancy coefficient to obtain the release coefficient difference; the release coefficient difference is multiplied by the response power of the issued demand response task in the target discrete time period to obtain the capacity release power; the release coefficient difference is multiplied by the unexecuted response power of the issued demand response task to obtain the capacity release power.

[0008] In some possible implementations, the remaining occupancy factor of the issued demand response task is determined based on the unexecuted response power and reserved response power of the issued demand response task, including: When the unexecuted response power of the issued demand response task is greater than zero, the remaining response power will be divided by the unexecuted response power to obtain the remaining occupancy coefficient of the issued demand response task; when the unexecuted response power of the issued demand response task is zero, the remaining occupancy coefficient of the issued demand response task will be determined as zero.

[0009] In some possible implementations, the predicted state of charge trajectory is determined based on the predicted actual operating power and effective capacity of the energy storage, including: Acquire the initial state of charge (SOC) from the operational data, as well as the charging efficiency, discharging efficiency, upper SOC operating limit, and lower SOC operating limit from the device parameters; for each target discrete time period, extract the charging directional power and discharging directional power for that target discrete time period from the predicted actual operating power of the energy storage; integrate the charging directional power over time within that target discrete time period to obtain the change in charging capacity for that target discrete time period; multiply this change in charging capacity by the charging efficiency to obtain the change in the battery's internal charging capacity for that target discrete time period; integrate the discharging directional power over time within that target discrete time period to obtain the change in discharging capacity for that target discrete time period; and then integrate the discharging directional power... Dividing the change in charge by the discharge efficiency yields the change in internal battery charge during the target discrete time period. Subtracting the change in internal battery charge from the change in internal battery discharge charge during the target discrete time period yields the net change in internal battery charge during the target discrete time period. Dividing the net change in internal battery charge during the target discrete time period by the effective capacity yields the change in state of charge (SOC) during the target discrete time period. Starting from the initial SOC, the SOC change is superimposed on each target discrete time period to obtain the predicted SOC for each target discrete time period. Based on the predicted SOC, upper limit of SOC operation, and lower limit of SOC operation for each target discrete time period, a predicted SOC trajectory is constructed.

[0010] In some possible implementations, based on the predicted actual operating power of the energy storage, the predicted state of charge trajectory, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated are determined, including: For each target discrete time period within the execution window, based on the predicted actual operating power of the energy storage, equipment parameters, predicted power at the grid connection point, grid connection point constraint data, predicted state of charge trajectory, and effective capacity, the adjustable power in the discharge direction and the adjustable power in the charging direction for that target discrete time period are determined. The minimum value among the adjustable power in the discharge direction for each target discrete time period within the execution window is determined as the initial adjustable power in the discharge direction. The minimum value among the adjustable power in the charging direction for each target discrete time period within the execution window is determined as the initial adjustable power in the charging direction. The initial adjustable power in the discharge direction is multiplied by the total duration of the execution window to obtain the initial adjustable capacity in the discharge direction. The initial adjustable power in the charging direction is multiplied by the total duration of the execution window to obtain the initial adjustable capacity in the charging direction.

[0011] In some possible implementations, the state change event includes at least one of the following: the issued demand response task is canceled, the response power of the issued demand response task is reduced, the execution window of the issued demand response task is shortened, the power of the unexecuted response of the issued demand response task is increased, and the power of the reserved response of the issued demand response task is reduced.

[0012] Secondly, this application provides a user-side energy storage demand response capacity calculation device, comprising: The acquisition module is used to acquire equipment parameters, operating data, user load data, grid connection point constraint data, multiple issued demand response task data, and new demand response task data for user-side energy storage. Each issued demand response task data corresponds to one issued demand response task, and each issued demand response task data includes response power, unexecuted response power, and reserved response power. The time scales of multiple issued demand response tasks are different. The new demand response task data includes the execution window of new demand response tasks to be evaluated. The determination module is used to determine the effective capacity of user-side energy storage based on the rated capacity and health status in the equipment parameters; align the response power of each issued demand response task according to the target discrete time period to obtain the response power of each issued demand response task in the target discrete time period; for each issued demand response task, determine the remaining occupancy factor of the issued demand response task based on the unexecuted response power and reserved response power of the issued demand response task; determine the discharge direction occupancy power and charging direction occupancy power of each target discrete time period based on the remaining occupancy factor corresponding to each issued demand response task and the response power in the target discrete time period; and determine the discharge direction occupancy power and charging direction occupancy power of each target discrete time period based on the discharge direction occupancy power of each target discrete time period. The net power occupied in each discrete time period is determined by considering the directional power occupied and the charging directional power occupied. Based on the net power occupied and operating data, the predicted actual operating power of the energy storage is determined. Based on the predicted actual operating power of the energy storage and the effective capacity, the predicted state of charge trajectory is determined. Based on the predicted actual operating power of the energy storage and user load data, the predicted power at the grid connection point is determined. Based on the predicted actual operating power of the energy storage, the predicted state of charge trajectory, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated are determined. The update module is used to update the remaining occupancy coefficient corresponding to any issued demand response task when a status change event occurs, based on the changed reserved response capacity and / or the changed unexecuted response capacity, to obtain the updated remaining occupancy coefficient; determine the capacity release power and capacity release capacity based on the difference between the updated and unupdated remaining occupancy coefficients; and update the initial adjustable power, initial adjustable capacity, initial adjustable power, and initial adjustable capacity in the discharge direction, to obtain the updated initial adjustable power, initial adjustable capacity, initial adjustable power, and initial adjustable capacity in the charging direction. The capacity determination module is used to determine the responsive capacity of a new demand response task based on the updated initial adjustable power in the discharge direction, the updated initial adjustable capacity in the discharge direction, the updated initial adjustable power in the charging direction, and the updated initial adjustable capacity in the charging direction.

[0013] Thirdly, this application provides a computing device, including a memory and a processor; The memory stores one or more computer programs, the one or more computer programs including instructions; when the instructions are executed by the processor, the computing device performs the method as described in any one of the first aspects.

[0014] Fourthly, this application provides a computer-readable storage medium for storing a computer program for performing the method as described in any one of the first aspects.

[0015] Fifthly, this application provides a computer program product comprising one or more computer instructions, wherein when the computer instructions are executed by a computer, the computer performs the method as described in any one of the first aspects.

[0016] As can be seen from the above technical solution, this application has at least the following beneficial effects: In this application, the following methods are used: acquiring equipment parameters, operating data, user load data, grid connection point constraint data, data on multiple issued demand response tasks, and data on new demand response tasks for user-side energy storage; determining the effective capacity based on rated capacity and health status; aligning the response power of each issued demand response task according to the target discrete time period to obtain the response power of each issued demand response task in the target discrete time period; determining the remaining occupancy factor based on the unexecuted response power and reserved response power; determining the discharge direction occupancy power and charging direction occupancy power in each target discrete time period based on the remaining occupancy factor and the response power in the target discrete time period, and determining the net occupancy power; determining the predicted actual operating power of energy storage based on the net occupancy power and operating data; and determining the predicted actual operating power of energy storage based on the net occupancy power and operating data. The system determines the state-of-charge (SOC) prediction trajectory based on operating power and effective capacity. It then determines the grid connection point prediction power based on the actual SOC prediction trajectory and user load data. Based on the actual SOC prediction, SOC prediction trajectory, grid connection point prediction power, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, it determines the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated. When any issued demand response task experiences a state change event, the remaining occupancy factor is updated, and the capacity release power and capacity release capacity are determined based on the difference between the remaining occupancy factors before and after the update. This process then updates the initial adjustable power and capacity, ultimately determining the responsive capacity for the new demand response task.

[0017] This scheme aligns issued demand response tasks at different time scales to the same target discrete time period according to the target discrete distance, enabling day-ahead, hourly, and minute-level tasks to be uniformly calculated on the same time axis. This avoids the problem of the same set of energy storage resources being repeatedly included in the available capacity when tasks at different time scales are calculated separately. Simultaneously, the remaining occupancy factor is determined based on the unexecuted response electricity and reserved response electricity, and the power occupied in the discharge direction and charging direction are calculated separately to obtain the net occupied power. This avoids the situation where tasks in opposite directions cancel each other out through net power, thus masking the saturation of resources in one direction. Based on this, the scheme superimposes the net occupied power onto the operating data to obtain the predicted actual operating power of energy storage, and recursively extrapolates the predicted trajectory of state of charge and the predicted power at the grid connection point. This ensures that the determination of initial adjustable power and capacity no longer relies on a single-point judgment at the current moment, but is based on a forward-looking verification of the full-cycle power trajectory and state of charge trajectory. Furthermore, when a state change event occurs in an issued demand response task, the initial adjustable power and capacity are updated by updating the remaining occupancy factor and calculating the capacity release power and capacity release electricity, ensuring that the reserved capacity can be released in a timely manner according to the task status change. Ultimately, this solution improves the accuracy of response capacity calculation.

[0018] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description

[0019] Figure 1 An application environment diagram for a user-side energy storage demand response capacity calculation method provided in this application embodiment; Figure 2 A flowchart illustrating a user-side energy storage demand response capacity calculation method provided in this application embodiment; Figure 3 A structural diagram of a user-side energy storage demand response capacity calculation device provided in an embodiment of this application; Figure 4 This is a schematic diagram of a computing device provided in an embodiment of this application. Detailed Implementation

[0020] The terms "first," "second," and "third," etc., used in this application specification and accompanying drawings are used to distinguish different objects, not to limit a specific order.

[0021] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0022] To ensure clarity and conciseness in the description of the following embodiments, a brief introduction to the related technologies is given first: User-side energy storage refers to electrochemical energy storage facilities deployed on the user side with charging and discharging capabilities. It can participate in grid demand response and achieve load regulation through charging or discharging under dispatch instructions. Demand response capacity characterizes the power and energy regulation margin that energy storage can provide within a given time window. It is the core indicator for the dispatch side to evaluate whether energy storage can undertake new demand response tasks. The remaining occupancy factor is used to characterize the proportion of adjustable energy storage resources occupied by the issued demand response tasks. The target discrete time period refers to the calculation time period after unifying the time granularity, which is used to be compatible with demand response tasks of multiple time scales.

[0023] Current technologies for demand response capacity assessment employ a static resource accounting approach, directly substituting assigned tasks from different time scales into the calculation, lacking a unified time discretization alignment process. Furthermore, capacity assessment is only completed once during the task assignment phase, without tracking subsequent state changes of assigned tasks. When state change events such as task cancellation or shortened execution windows occur, the energy storage resources occupied by the tasks cannot be released in a timely manner. Coupled with the coupling constraints of energy storage state of charge and grid connection power, this ultimately causes the adjustable capacity assessment results to deviate from the actual available energy storage capacity.

[0024] In view of this, embodiments of this application provide a method for calculating user-side energy storage demand response capacity. To make the technical solution of this application clearer and easier to understand, the application scenarios of the technical solution of this application are described below with reference to the accompanying drawings. Figure 1 As shown, this figure is an application environment diagram provided by an embodiment of this application.

[0025] The processing equipment, acting as the execution entity, interacts with the user-side energy storage local data acquisition unit, user load data acquisition unit, grid connection point monitoring unit, and demand response task scheduling platform. The processing equipment acquires equipment parameters, operating data, load data, grid connection point constraint data, multiple issued demand response task data, and new demand response task data from each unit and the scheduling platform. It calculates the effective energy storage capacity and performs offset length alignment on the response power of issued demand response tasks across multiple time scales, solving for the remaining occupancy factor, charging / discharging occupancy power, and net occupancy power for each time period. Based on this, it obtains the predicted actual operating power of energy storage, the predicted state of charge trajectory, and the predicted grid connection point power, and then calculates the initial adjustable power and adjustable capacity for new tasks. When a status change event of an issued demand response task is detected, the processing equipment updates the remaining occupancy factor, calculates the capacity release power and capacity, updates the adjustable parameters, and finally determines the responsive capacity for new demand response tasks. The results can then be sent back to the demand response task scheduling platform for task acceptance judgment.

[0026] To make the technical solution of this application clearer and easier to understand, the following describes a method for calculating user-side energy storage demand response capacity provided by an embodiment of this application, in conjunction with the above application scenarios. Figure 2 As shown in the figure, this is a flowchart illustrating a method for calculating user-side energy storage demand response capacity according to an embodiment of this application. The method for calculating user-side energy storage demand response capacity includes: S201. Obtain equipment parameters, operating data, user load data, grid connection point constraint data, data of multiple issued demand response tasks, and data of new demand response tasks for user-side energy storage.

[0027] Equipment parameters are a set of parameters characterizing the inherent attributes of user-side energy storage. Operational data is a set of data representing the current operating status of user-side energy storage. User load data is the predicted user load at each time period. Grid connection point constraint data is data on the allowable power range at the grid connection point location of user-side energy storage. Issued demand response task data is data on demand response tasks that have been issued to user-side energy storage and require its execution. New demand response task data is data on demand response tasks that need to be evaluated as to whether user-side energy storage can undertake them. Response power is the power required by the issued demand response task to increase or decrease discharge or charge at a specific original discrete time period. Unexecuted response power is the cumulative response power of the issued demand response task, starting from the target discrete time period at the current evaluation time, that was originally planned but not yet executed. Reserved response power is the cumulative response power of the issued demand response task, starting from the target discrete time period at the current evaluation time, that still needs to be executed or reserved based on the current status of the issued demand response task. The time scale refers to the temporal granularity of demand response tasks in scheduling and execution, including day-ahead, hourly, and minute-ahead scales. The execution window is the time range within which user-side energy storage is required to respond to a new demand response task to be evaluated.

[0028] The processing equipment reads equipment parameters from the user-side energy storage local acquisition unit. These parameters include rated capacity, health status (parameters characterizing the current aging degree of the user-side energy storage battery), maximum discharge power, absolute value of maximum charging power, charging efficiency, discharge efficiency, upper limit of state of charge (SOC) operation, and lower limit of SOC operation. The processing equipment also reads operational data from the user-side energy storage local acquisition unit, including the SOC corresponding to the current target discrete time period. Furthermore, the processing equipment reads user load data from the user load acquisition unit, recording the predicted active power of the user load for each target discrete time period. Finally, the processing equipment reads grid connection point constraint data from the grid connection point monitoring unit, including the minimum and maximum allowable power at the grid connection point.

[0029] The processing equipment reads multiple issued demand response task data from the demand response task scheduling platform. Each issued demand response task data corresponds to one issued demand response task, and each issued demand response task data includes response power, unexecuted response power, and reserved response power. Furthermore, the multiple issued demand response tasks have different time scales, each corresponding to a different original discrete time period. For example, a day-ahead scale corresponds to the original discrete time period of the day-ahead plan, an hourly scale corresponds to the original discrete time period of the hour, and a minute-ahead scale corresponds to the original discrete time period of the minute.

[0030] The processing device also reads new demand response task data from the demand response task scheduling platform. The new demand response task data carries an execution window, which stores all the target discrete time periods covered by the new demand response tasks to be evaluated.

[0031] After the processing equipment completes reading all data, it performs field validation. The equipment verifies that each issued demand response task must include the response power, unexecuted response power, and reserved response power; it also verifies that new demand response task data must have an execution window. If any field is missing, the equipment re-initiates a read request from the corresponding data source. If all fields are complete, the equipment stores the equipment parameters, operating data, user load data, grid connection constraint data, data from multiple issued demand response tasks, and data from new demand response tasks in its internal temporary storage area.

[0032] S202. Determine the effective capacity of user-side energy storage based on the rated capacity and health status in the equipment parameters; align the response power of each issued demand response task according to the target discrete time period to obtain the response power of each issued demand response task in the target discrete time period.

[0033] Effective capacity is the actual usable electricity of user-side energy storage after considering its health status. Target distance length is the unified distance length used by processing equipment to align the response power of each issued demand response task. Target discrete time period is the discrete time period divided by the processing equipment according to the target distance length.

[0034] The processing equipment multiplies the health status by the rated capacity to obtain the effective capacity of the user-side energy storage. For example, the first... The rated capacity of the user-side energy storage is denoted as , will the The health status of user-side energy storage is recorded as follows: , will the The effective capacity of the user-side energy storage is denoted as The processing equipment is in accordance with... Calculate the effective capacity.

[0035] The processing equipment determines the target distance. It selects the smallest time granularity from multiple issued demand response tasks and determines the distance corresponding to that smallest time granularity as the target distance. When multiple issued demand response tasks include day-ahead, hourly, and minute-ahead time scales, the minute-ahead time scale has the smallest granularity, and the processing equipment determines the distance corresponding to the minute-ahead time scale as the target distance.

[0036] The processing equipment divides the time interval covered by this capacity calculation into target discrete time periods according to the target discrete step length. The set of target discrete time periods is as follows: , The target discrete time period number. It is a positive integer. This represents the total number of target discrete time intervals. The length of each target discrete time interval is... , The unit is hours. It equals the distance between the target and the walking distance.

[0037] The processing device aligns the response power of each issued demand response task in its original discrete time period according to the target discrete time period. For each issued demand response task, the processing device determines the time correspondence between the original discrete time period and the target discrete time period. For the first... The first user-side energy storage For each issued demand response task, the processing device will process the issued demand response task within the original discrete time period. The response power on is denoted as The processing equipment will Mapped to the target discrete time period.

[0038] If the original discrete time period length of the issued demand response task is greater than the target discrete time period length, the processing device fills the response power within the original discrete time period into each target discrete time period covered by the original discrete time period. For example, the target discrete time period length is 15 minutes; an issued demand response task is an hourly task, and one original discrete time period of this task is 60 minutes long, covering four consecutive target discrete time periods: target discrete time period 1, target discrete time period 2, target discrete time period 3, and target discrete time period 4; the response power within the original discrete time period is 200kW. The processing device identifies the time boundary of the original discrete time period and determines that the original discrete time period completely covers target discrete time periods 1, 2, 3, and 4. The processing device fills the response power of the original discrete time period (200kW) into each of the covered target discrete time periods. After alignment, the response power of target discrete time period 1 = 200kW; the response power of target discrete time period 2 = 200kW; the response power of target discrete time period 3 = 200kW; and the response power of target discrete time period 4 = 200kW.

[0039] If the original discrete time period length of the issued demand response task is equal to the target discrete time period length, the processing device directly determines the response power within the original discrete time period as the response power of the corresponding target discrete time period. For example, if the target discrete time period is 15 minutes; a issued demand response task is a minute-level task, and one of its original discrete time periods is 15 minutes long, with the original discrete time period completely coinciding with the time boundary of target discrete time period 5; and the response power within this original discrete time period is -120kW, then the processing device identifies the time boundary of this original discrete time period and determines that it completely coincides with target discrete time period 5. The processing device directly determines the response power of the original discrete time period, -120kW, as the response power of the corresponding target discrete time period. After alignment, the response power of target discrete time period 5 = -120kW.

[0040] If the original discrete time period of the issued demand response task is shorter than the target discrete time period, the processing device converts the response power within the original discrete time period to the target discrete time period according to the time overlap ratio between the original discrete time period and the target discrete time period. For example, the target discrete time period is 15 minutes; the original discrete time period of an issued demand response task is 5 minutes long, and the entire original discrete time period falls within the target discrete time period 6, with a time overlap of 5 minutes; the response power within the original discrete time period is 180kW. The processing device identifies the time boundary of the original discrete time period and determines that the entire original discrete time period is within the target discrete time period 6. The processing device calculates the time overlap ratio as the original discrete time period length divided by the target discrete time period length, i.e., 5 minutes ÷ 15 minutes. The processing device multiplies the response power of the original discrete time period (180kW) by the time overlap ratio to obtain the response power of the target discrete time period 6. After alignment, the response power of the target discrete time period 6 = 60kW.

[0041] After aligning all issued demand response tasks, the processing device obtains the response power of each issued demand response task in the target discrete time period. The processing device records the aligned response power as... . Indicates the first User-side energy storage Indicates the first One requirement response task has been issued. Indicates the first Each target discrete time period. A value greater than 0 indicates that the issued demand response task requires the user-side energy storage to increase discharge or decrease charging. A value less than 0 indicates that the issued demand response task requires the user-side energy storage to increase charging or decrease discharging.

[0042] The processing device stores the calculated effective capacity, as well as the response power of each issued demand response task in the target discrete time period after alignment, into the internal storage of the processing device.

[0043] S203. For each issued demand response task, determine the remaining occupancy coefficient of the issued demand response task based on the unexecuted response power and reserved response power of the issued demand response task.

[0044] One possible approach is to divide the unexecuted response power of the issued demand response task by the unexecuted response power to obtain the remaining occupancy coefficient of the issued demand response task when the unexecuted response power of the issued demand response task is greater than zero; when the unexecuted response power of the issued demand response task is zero, the remaining occupancy coefficient of the issued demand response task is determined to be zero.

[0045] The remaining occupancy factor represents the proportion of the cumulative response electricity that still needs to be executed or retained under the current target discrete time period, relative to the cumulative response electricity that has not yet been executed in the original plan.

[0046] The processing device iterates through each issued request response task and performs the following judgment and calculation for each individual issued request response task: The processing device determines whether the unexecuted response power of the issued request response task is greater than zero. If the unexecuted response power of the issued request response task is greater than zero, the processing device divides the reserved response power of the issued request response task by the unexecuted response power of the issued request response task to calculate the remaining occupancy coefficient of the issued request response task. The [number of tasks is missing in the original text]. The first user-side energy storage Each issued demand response task is within the target discrete time period. The unexecuted response power is recorded as The response power is retained as The remaining occupancy factor is denoted as The processing equipment is in accordance with Calculate the remaining occupancy factor, which takes values ​​greater than or equal to 0 and less than or equal to 1.

[0047] When the unexecuted response energy of a issued demand response task is zero, it means that there is no further energy required to execute the task, and the processing device directly sets the remaining occupancy factor of the task to zero. For example, if the unexecuted response energy of a issued demand response task is 600 kWh and the reserved response energy is 300 kWh, the unexecuted response energy is greater than zero. The processing device divides 300 kWh by 600 kWh, calculating that the remaining occupancy factor of the task is 0.5. This value means that the task only needs to retain the capacity corresponding to half of the unexecuted response energy. If the unexecuted response energy of a issued demand response task is 0 kWh, the processing device directly sets the remaining occupancy factor to 0, meaning that the task no longer occupies any energy storage capacity.

[0048] After the processing device has traversed all issued demand response tasks, it obtains the remaining occupancy coefficient for each issued demand response task. The processing device then stores the remaining occupancy coefficient for each issued demand response task in its internal storage.

[0049] S204. Based on the remaining occupancy coefficients corresponding to each issued demand response task and the response power in the target discrete time period, determine the discharge direction occupancy power and charging direction occupancy power in each target discrete time period; based on the discharge direction occupancy power and charging direction occupancy power in each target discrete time period, determine the net occupancy power in each target discrete time period.

[0050] The power occupied in the discharge direction is the sum of the discharge regulation capacity locked by all issued demand response tasks within a single target discrete time period. The power occupied in the charging direction is the sum of the charging regulation capacity locked by all issued demand response tasks within a single target discrete time period. The net power occupied is the net active power occupied after integrating all issued demand response tasks within a single target discrete time period.

[0051] The processing equipment iterates through all issued demand response tasks for each target discrete time period. For the first... The first user-side energy storage Each issued demand response task is within the target discrete time period. When the aligned response power When it is greater than 0, this power belongs to the discharge component; when When the power is less than 0, it belongs to the charging component. For each issued demand response task, the processing device multiplies the response power by the remaining occupancy factor to obtain the actual occupied power of the issued demand response task after state correction.

[0052] The processing equipment accumulates the discharge components of all issued demand response tasks to obtain the discharge direction power occupied by the target during discrete time periods. The processing device takes the absolute value of the charging components of all issued demand response tasks and then sums them to obtain the charging direction power occupied in the discrete time period of the target. The calculation formula is:

[0053]

[0054] In the formula, This is the positive part truncation operator, which means taking the part within the parentheses that is greater than 0; The positive part truncation operator represents the extraction of... The portion greater than 0; Representative take The portion greater than 0; This represents the collection of all issued demand response tasks; Indicates the first User-side energy storage; This represents the discrete time period of the target.

[0055] The processing equipment calculates the net power occupied during the current target discrete time period based on the power occupied in the discharge direction and the power occupied in the charging direction. The processing equipment follows... Calculate net power consumption. For the first User-side energy storage targets discrete time periods The net occupied power. For example, a user-side energy storage facility has two issued demand response tasks within the same target discrete time period: the first issued demand response task has a response power of 200kW and a remaining occupancy factor of 0.5; the second issued demand response task has a response power of -120kW and a remaining occupancy factor of 1. The first issued demand response task is a discharge component, which, after factor correction, equals 200kW × 0.5 = 100kW; the second issued demand response task is a charging component, which, after factor correction, equals 120kW × 1 = 120kW. The power occupied in the discharge direction during this target discrete time period is 100kW; the power occupied in the charging direction during this target discrete time period is 120kW; the net occupied power during this target discrete time period = 100kW - 120kW = -20kW.

[0056] The processing device iterates through all target discrete time periods, sequentially calculating the power occupied in the discharge direction, the power occupied in the charging direction, and the net power occupied for each target discrete time period. The processing device then stores the power occupied in the discharge direction, the power occupied in the charging direction, and the net power occupied for each target discrete time period into its internal storage.

[0057] S205. Based on the net occupied power and operating data, determine the predicted actual operating power of the energy storage; based on the predicted actual operating power and effective capacity of the energy storage, determine the predicted state of charge trajectory; based on the predicted actual operating power of the energy storage and user load data, determine the predicted power at the grid connection point.

[0058] The predicted actual operating power of energy storage is the estimated charging and discharging active power of user-side energy storage in each target discrete time period. A value greater than 0 represents discharging, and a value less than 0 represents charging. The predicted state of charge trajectory is a time-series curve composed of the predicted state of charge corresponding to each target discrete time period, characterizing the change of the energy storage state of charge with respect to the target discrete time periods within the time interval covered by this capacity calculation. The predicted power at the grid connection point is the estimated active power at the grid connection point after superimposing the predicted actual operating power of energy storage on the user-side load in each target discrete time period.

[0059] The process of determining the predicted state of charge (SOC) trajectory can be as follows: Obtain the initial SOC from the operational data, as well as the charging efficiency, discharging efficiency, upper SOC operating limit, and lower SOC operating limit from the equipment parameters; for each target discrete time period, extract the charging directional power and discharging directional power from the predicted actual operating power of the energy storage for that target discrete time period; integrate the charging directional power over time to obtain the change in charging capacity for that target discrete time period; multiply this change in charging capacity by the charging efficiency to obtain the change in internal charging capacity of the battery for that target discrete time period; integrate the discharging directional power over time to obtain the change in discharging capacity for that target discrete time period. The change in discharge capacity is divided by the discharge efficiency to obtain the change in internal discharge capacity of the battery during the target discrete time period. The change in internal charging capacity of the battery during the target discrete time period is subtracted from the change in internal discharge capacity to obtain the net change in internal capacity of the battery during the target discrete time period. The net change in internal capacity of the battery during the target discrete time period is divided by the effective capacity to obtain the change in state of charge (SOC) during the target discrete time period. Starting from the initial SOC, the SOC change is superimposed on each target discrete time period to obtain the predicted SOC for each target discrete time period. Based on the predicted SOC, the upper limit of SOC operation, and the lower limit of SOC operation for each target discrete time period, a predicted SOC trajectory is constructed.

[0060] The charging direction power is the power component corresponding to the charging behavior in the predicted actual operating power of the energy storage, and its value is greater than or equal to 0. The discharging direction power is the power component corresponding to the discharging behavior in the predicted actual operating power of the energy storage, and its value is greater than or equal to 0. The change in charging capacity is the amount of energy obtained by integrating the external charging power of the energy storage over time within a single target discrete time period. The change in internal charging capacity is the increase in the amount of energy stored in the energy storage battery after accounting for charging efficiency. The change in discharging capacity is the amount of energy obtained by integrating the external discharging power of the energy storage over time within a single target discrete time period. The change in internal discharging capacity is the decrease in the amount of energy consumed by the energy storage battery after accounting for discharging efficiency. The net change in internal battery capacity is the net change in the amount of energy stored in the energy storage battery within a single target discrete time period. The change in state of charge is the numerical change in the state of charge of the energy storage within a single target discrete time period.

[0061] The processing equipment reads baseline operating power and initial state of charge from the operating data; it reads maximum discharge power, absolute value of maximum charging power (a positive value representing the maximum allowable charging power of user-side energy storage), charging efficiency, discharge efficiency, upper limit of state of charge operation, and lower limit of state of charge operation from the equipment parameters; it reads the predicted active power of user load from the user load data; and it reads the minimum allowable power and maximum allowable power at the grid connection point from the grid connection point constraint data. When reverse power transmission to the grid is not permitted, the processing equipment sets the minimum allowable power at the grid connection point to zero.

[0062] The processing equipment will be the first User-side energy storage in the first The baseline operating power for each target discrete time period is denoted as The processing equipment calculates the first... User-side energy storage in the first The base predicted power for each target discrete time period The base forecast power equals the sum of the baseline operating power and the net utilized power, calculated using the following formula:

[0063] The processing equipment will be the first The maximum discharge power of the user-side energy storage is denoted as: , will the The absolute value of the maximum charging power of the user-side energy storage is denoted as: The processing equipment limits the amplitude of the baseline predicted power to obtain the predicted actual operating power of the energy storage. The processing equipment will then... User-side energy storage in the first The predicted actual operating power of energy storage for each discrete time period is denoted as . .

[0064] When the base predicted power Greater than the maximum discharge power At that time, the processing equipment will store energy to predict the actual operating power. The value is assigned to the maximum discharge power. When the base predicted power Less than the absolute value of the negative maximum charging power At that time, the processing equipment will store energy to predict the actual operating power. The absolute value of the maximum charging power assigned a negative value In other cases, the processing equipment will use the base predicted power. Directly assign the value to the predicted actual operating power of energy storage. The processing equipment is agreed upon. A value greater than 0 indicates that the user-side energy storage is discharging. A value less than 0 indicates user-side energy storage charging.

[0065] The processing equipment will be the first The initial state of charge of the user-side energy storage is denoted as: , will the The charging efficiency of the user-side energy storage is denoted as The processing equipment will... The discharge efficiency of the user-side energy storage is denoted as The processing equipment will... The upper limit of the state of charge operation of the user-side energy storage is denoted as: The processing equipment will... The lower limit of the state of charge operation of the user-side energy storage is denoted as: The processing equipment will... The effective capacity of the user-side energy storage is denoted as The processing equipment will... The length of each discrete time interval of the target is denoted as . , The unit is hours.

[0066] The processing equipment processes each target discrete time period sequentially. For the current target discrete time period, the processing equipment reads the corresponding predicted actual operating power of the energy storage. The processing equipment extracts the discharge and charging power for the target discrete time period from the predicted actual operating power of the energy storage system. User-side energy storage in the first The discharge directional power of each target discrete time period is denoted as The processing equipment will... User-side energy storage in the first The charging direction power of each discrete time period is denoted as .

[0067] If energy storage predicts actual operating power Greater than 0, discharge direction power The value is equal to the predicted actual operating power of energy storage. Charging direction power The value is equal to 0; if the energy storage predicts the actual operating power... Less than 0, power in the charging direction The value is equal to the predicted actual operating power of energy storage. The absolute value of the discharge direction power The value is equal to 0; if the energy storage predicts the actual operating power... Equal to 0, charging direction power Discharge direction power The value of is 0.

[0068] The processing device integrates the directional power of the target over time during discrete time periods to obtain the change in the amount of charge during those discrete time periods. User-side energy storage in the first The change in charging capacity over a discrete time period is denoted as The calculation formula is as follows:

[0069] In the formula, This represents the change in charging capacity, expressed in kWh. Indicates the power in the charging direction; This represents the duration of the discrete time period of the target.

[0070] The processing device multiplies the change in charging capacity by the charging efficiency to obtain the change in internal charging capacity of the battery during the target discrete time period. User-side energy storage in the first The change in the internal charge of the battery during each discrete time period is denoted as . The calculation formula is as follows:

[0071] In the formula, This represents charging efficiency.

[0072] The processing equipment integrates the discharge directional power of the target over time during discrete time periods to obtain the change in discharge charge of the target over those discrete time periods. The processing equipment will then... User-side energy storage in the first The change in discharge charge over a discrete time period is denoted as . The calculation formula is as follows:

[0073] In the formula, Represents the change in discharge charge; Represents the power in the discharge direction; This represents the duration of a discrete time period of the target, in hours.

[0074] The processing device divides the change in discharge capacity by the discharge efficiency to obtain the change in internal discharge capacity of the battery during the target discrete time period. User-side energy storage in the first The change in the internal discharge capacity of the battery during each discrete time period is denoted as The calculation formula is as follows:

[0075] In the formula, This represents the discharge efficiency.

[0076] The processing device subtracts the change in internal battery discharge capacity from the change in internal battery charge capacity over the target discrete time period to obtain the net change in internal battery charge capacity over the target discrete time period. User-side energy storage in the first The change in net charge within the battery over a discrete time period is denoted as . The calculation formula is as follows:

[0077] The processing device divides the change in net charge within the battery over the target discrete time period by the effective capacity to obtain the change in state of charge over the target discrete time period. User-side energy storage in the first The change in the state of charge of each target discrete time period is denoted as The calculation formula is as follows:

[0078] In the formula, Representing the User-side energy storage targets discrete time periods The change in the state of charge; This represents the change in net charge within the battery. Representing the Effective capacity of user-side energy storage.

[0079] The processing device is in an initial state of charge. As the starting value for iterative calculations, the processing device adds the predicted state of charge (SOC) of the previous target discrete time period to the change in SOC of the current target discrete time period to obtain the preliminary predicted SOC of the current target discrete time period. The processing device then... User-side energy storage in the first The preliminary predicted state of charge for each discrete time period is denoted as . The calculation formula is as follows:

[0080] In the formula, For the first User-side energy storage Predicted state of charge for each target discrete time period.

[0081] The processing equipment will compare the preliminary predicted state of charge (SOC) with the upper and lower limits of the SOC operating range. If the preliminary predicted SOC exceeds the upper limit of the SOC operating range... At that time, the processing device will predict the state of charge of the target for discrete time periods. Assign the value to the upper limit of operation in the state of charge. When the initial predicted state of charge is less than the lower limit of the state of charge operating limit. At that time, the processing device will predict the state of charge of the target for discrete time periods. Assigned to the lower limit of operation under charged state In other cases, the processing equipment will make a preliminary prediction of the state of charge. Directly used as the predicted state of charge for the discrete time period of the target .

[0082] After the processing equipment completes the calculations for all target discrete time periods, it aggregates the predicted states of charge (SOCs) corresponding to each target discrete time period according to the chronological order of the target discrete time periods, thus obtaining the predicted SOC trajectory. The processing equipment will then... The predicted state of charge trajectory of the user-side energy storage is denoted as: .

[0083] The processing equipment calculates the predicted grid connection power for each target discrete time period. The processing equipment will then... User-side energy storage in the first The active power of the user's predicted load during each discrete time period is denoted as . The processing equipment will... User-side energy storage in the first The predicted power of the grid connection point for each discrete time period is denoted as . The calculation formula is as follows:

[0084] In the formula, Representing the User-side energy storage in the first Predicted power of grid connection points for each target discrete time period; Representing the User-side energy storage targets discrete time periods The corresponding user-predicted load active power; Representing the User-side energy storage targets discrete time periods The actual operating power of the energy storage is predicted.

[0085] The processing equipment will be the first The minimum allowable power of the user-side energy storage grid connection point is denoted as: The processing equipment will... The maximum allowable power of the user-side energy storage grid connection point is denoted as: The processing equipment determines whether the predicted power at the grid connection point meets the requirements. .

[0086] The processing equipment traverses all target discrete time periods, completing the calculation of the predicted actual operating power, predicted state of charge, and predicted grid connection power for all target discrete time periods. The processing equipment stores the predicted actual operating power, predicted state of charge trajectory, and predicted grid connection power into its internal storage.

[0087] S206. Based on the predicted actual operating power of energy storage, the predicted trajectory of state of charge, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, determine the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated.

[0088] One possible approach involves, for each target discrete time period within an execution window, determining the adjustable power in the discharge direction and the adjustable power in the charging direction for that target discrete time period based on the predicted actual operating power of the energy storage, equipment parameters, predicted power at the grid connection point, grid connection point constraint data, predicted state of charge trajectory, and effective capacity. The minimum value among the adjustable power in the discharge direction for each target discrete time period within the execution window is determined as the initial adjustable power in the discharge direction. The minimum value among the adjustable power in the charging direction for each target discrete time period within the execution window is determined as the initial adjustable power in the charging direction. The initial adjustable power in the discharge direction is multiplied by the total duration of the execution window to obtain the initial adjustable charge in the discharge direction. The initial adjustable power in the charging direction is multiplied by the total duration of the execution window to obtain the initial adjustable charge in the charging direction.

[0089] The adjustable power in the discharge direction is the power that can be increased for discharging within a single target discrete time period within the execution window. The adjustable power in the charging direction is the power that can be increased for charging within a single target discrete time period within the execution window. The initial adjustable power in the discharge direction is the maximum power that the new demand response task to be evaluated can increase for discharging at a constant power within the execution window. The initial adjustable power in the charging direction is the maximum power that the new demand response task to be evaluated can increase for charging at a constant power within the execution window. The total duration of the execution window is the product of the total number of target discrete time periods contained within the execution window and the length of each target discrete time period. The initial adjustable capacity in the discharge direction is the maximum capacity that the new demand response task to be evaluated can increase for discharging within the execution window. The initial adjustable capacity in the charging direction is the maximum capacity that the new demand response task to be evaluated can increase for charging within the execution window.

[0090] The processing equipment reads the maximum discharge power, the absolute value of the maximum charging power, the charging efficiency, and the discharge efficiency from the equipment parameters; it reads the minimum allowable power and the maximum allowable power at the grid connection point from the grid connection point constraint data; and it reads the execution window from the new demand response task data.

[0091] The processing equipment will record the new demand response tasks to be evaluated as tasks. The processing equipment will handle the task. The execution window is denoted as .in, The initial target discrete time period for the execution window. The total number of target discrete time intervals contained within the execution window. The processing device will handle the task. The total duration of the execution window is denoted as , . The length of the target discrete time period, in hours. The unit is hours.

[0092] For each target discrete time period within the execution window, the processing device determines the adjustable power in the discharge direction and the adjustable power in the charging direction for that target discrete time period.

[0093] Regarding the discharge direction, the processing equipment calculates the remaining discharge power on the equipment side. The calculation formula is as follows:

[0094] In the formula, For the first The maximum discharge power of the user-side energy storage; For the first User-side energy storage in the first The actual operating power of energy storage predicted for each discrete time period.

[0095] The processing equipment calculates the remaining discharge power at the grid connection point. The calculation formula is as follows:

[0096] In the formula, For the first User-side energy storage in the first Predicted power of grid connection points for each target discrete time period; For the first The minimum allowable power of the grid connection point for user-side energy storage.

[0097] The processing equipment determines the smaller of the residual discharge power on the equipment side and the residual discharge power on the grid connection point side as the residual discharge power for a single time period. The calculation formula is as follows:

[0098] The processing device determines the minimum value among the remaining discharge power of each discrete time period within the execution window as the maximum discharge power under power constraints. The calculation formula is as follows:

[0099] The processing device targets the cumulative target discrete time period within the execution window. Calculate the first The maximum constant discharge power corresponding to each cumulative target discrete time period The calculation formula is as follows:

[0100] In the formula, For the first The discharge efficiency of user-side energy storage; For the first The effective capacity of user-side energy storage; For the first User-side energy storage in the first Predicted state of charge for each target discrete time period; For the first The lower limit of the state of charge operation of user-side energy storage.

[0101] The processing equipment determines the minimum value among the maximum constant discharge power corresponding to each cumulative target discrete time period as the maximum discharge power under energy constraints. The calculation formula is as follows:

[0102] The processing equipment determines the smaller of the maximum discharge power under power constraints and the maximum discharge power under energy constraints as the initial adjustable power for the discharge direction. The calculation formula is as follows:

[0103] The processing device multiplies the initial adjustable power in the discharge direction by the total duration of the execution window to obtain the initial adjustable charge in the discharge direction. The calculation formula is as follows:

[0104] Regarding the charging direction, the processing device calculates the remaining charging power on the device side. The calculation formula is as follows:

[0105] In the formula, For the first The absolute value of the maximum charging power of the user-side energy storage; The positive part truncation operator indicates that when Take this value when it is greater than zero, when Take zero when less than or equal to zero.

[0106] The processing equipment calculates the remaining charging power at the grid connection point. The calculation formula is as follows:

[0107] In the formula, For the first The maximum allowable power of the grid connection point for the user-side energy storage; For the first User-side energy storage in the first Predicted power of grid connection points for each target discrete time period.

[0108] The processing equipment determines the smaller of the remaining charging power on the equipment side and the remaining charging power on the grid connection point side as the remaining charging power for a single time period. The calculation formula is as follows:

[0109] The processing device determines the minimum value among the remaining charging power in each discrete time period of the target within the execution window as the maximum charging power under the power constraint. The calculation formula is as follows:

[0110] The processing device targets the cumulative target discrete time period within the execution window. Calculate the first The maximum constant charging power corresponding to each cumulative target discrete time period The calculation formula is as follows:

[0111] In the formula, For the first Charging efficiency of user-side energy storage; For the first The upper limit of the state-of-charge operation of user-side energy storage; For the first User-side energy storage in the first Predicted state of charge for each target discrete time period.

[0112] The processing device determines the minimum value among the maximum constant charging power corresponding to each cumulative target discrete time period as the maximum charging power under energy constraints. The calculation formula is as follows:

[0113] The processing device determines the smaller of the maximum charging power under power constraints and the maximum charging power under energy constraints as the initial adjustable power for the charging direction. The calculation formula is as follows:

[0114] The processing device multiplies the initial adjustable power in the charging direction by the total duration of the execution window to obtain the initial adjustable power in the charging direction. The calculation formula is as follows:

[0115] The processing device stores the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction into its internal storage.

[0116] S207. When any issued demand response task experiences a status change event, update the remaining occupancy coefficient corresponding to the issued demand response task based on the changed reserved response power and / or the changed unexecuted response power to obtain the updated remaining occupancy coefficient; determine the capacity release power and capacity release power based on the difference between the updated remaining occupancy coefficient and the remaining occupancy coefficient before the update.

[0117] A status change event is an event that causes a change in the execution status of a issued request response task. Status change events include at least one of the following: a issued request response task is canceled; the response power of a issued request response task is reduced; the execution window of a issued request response task is shortened; the power of unexecuted responses of a issued request response task increases; and the power of reserved responses of a issued request response task decreases.

[0118] Capacity release power is the power released from the occupied power after a state change event occurs in a issued demand response task. Capacity release electricity is the electricity released from the electricity that has not yet been executed after a state change event occurs in a issued demand response task.

[0119] The process of determining the capacity release power and capacity release amount can be as follows: when the updated remaining occupancy coefficient is less than the original remaining occupancy coefficient, subtract the updated remaining occupancy coefficient from the original remaining occupancy coefficient to obtain the release coefficient difference; multiply the release coefficient difference by the response power of the issued demand response task in the target discrete time period to obtain the capacity release power; multiply the release coefficient difference by the unexecuted response amount of the issued demand response task to obtain the capacity release amount.

[0120] The processing device continuously monitors multiple issued demand response tasks to determine if a status change event has occurred. When a status change event is detected for any issued demand response task, the processing device reads the remaining occupancy coefficient of that task before the update from its internal storage. The processing device also obtains the reserved response power and / or the unexecuted response power after the change.

[0121] The processing device recalculates the remaining occupancy factor of the issued demand response task after the update, referring to the calculation logic of S203. The processing device determines whether the power consumption of the unexecuted response after the change is greater than zero; when the power consumption of the unexecuted response after the change is greater than zero, the processing device divides the power consumption of the reserved response after the change by the power consumption of the unexecuted response after the change to obtain the updated remaining occupancy factor; when the power consumption of the unexecuted response after the change is equal to zero, the processing device determines the updated remaining occupancy factor as zero.

[0122] The processing equipment compares the updated remaining occupancy factor with the original remaining occupancy factor. When the updated remaining occupancy factor is less than the original remaining occupancy factor, the processing equipment calculates the difference in release factor according to the following formula:

[0123] In the formula, For the first The first user-side energy storage Each issued demand response task is within the target discrete time period. Remaining occupancy coefficient before update; For the first The first user-side energy storage Each issued demand response task is within the target discrete time period. Updated remaining occupancy coefficient; The difference in release coefficients for the r-th issued demand response task of the i-th user-side energy storage at the target discrete time period t.

[0124] The power release capacity of the processing equipment is calculated, and the calculation process is as follows:

[0125] In the formula, The capacity release power for the r-th issued demand response task of the i-th user-side energy storage in the target discrete time period t; The response power of the r-th issued demand response task for the i-th user-side energy storage at the target discrete time period t.

[0126] The power release capacity of the processing equipment is calculated, and the calculation process is as follows:

[0127] In the formula, The capacity of the r-th issued demand response task for the i-th user-side energy storage is released during the target discrete time period t; The unexecuted response electricity during the target discrete time period t after the r-th issued demand response task for the i-th user-side energy storage is changed.

[0128] When the updated remaining occupancy factor is greater than or equal to the original remaining occupancy factor, there is no capacity release. The processing device will set the capacity release power to 0 and the capacity release electricity to 0.

[0129] The processing device overwrites the updated remaining occupancy coefficient in its internal storage, replacing the original remaining occupancy coefficient of the issued demand response task; the processing device stores the calculated capacity release power and capacity release electricity in its internal storage.

[0130] S208. Based on the capacity release power and capacity release quantity, update the initial adjustable power in the discharge direction, the initial adjustable quantity in the discharge direction, the initial adjustable power in the charging direction, and the initial adjustable quantity in the charging direction to obtain the updated initial adjustable power in the discharge direction, the updated initial adjustable quantity in the discharge direction, the updated initial adjustable power in the charging direction, and the updated initial adjustable quantity in the charging direction.

[0131] The updated initial adjustable power for the discharge direction is the power obtained after updating the initial adjustable power for the discharge direction with the capacity release power. The updated initial adjustable capacity for the discharge direction is the capacity obtained after updating the initial adjustable capacity for the discharge direction with the capacity release power. The updated initial adjustable power for the charging direction is the power obtained after updating the initial adjustable power for the charging direction with the capacity release power. The updated initial adjustable capacity for the charging direction is the capacity obtained after updating the initial adjustable capacity for the charging direction with the capacity release power.

[0132] One possible approach is to add the capacity release power to the initial adjustable power in the discharge direction when the capacity release power is in the discharge direction to obtain the updated initial adjustable power in the discharge direction, and add the capacity release charge to the initial adjustable charge in the discharge direction to obtain the updated initial adjustable charge in the discharge direction.

[0133] When the capacity release power is in the charging direction, the capacity release power is added to the initial adjustable power in the charging direction to obtain the updated initial adjustable power in the charging direction, and the capacity release power is added to the initial adjustable power in the charging direction to obtain the updated initial adjustable power in the charging direction.

[0134] The processing equipment determines the direction corresponding to the capacity release power. The updated discharge direction and initial adjustable capacity are denoted as... The updated charging direction's initial adjustable power is denoted as... The updated charging direction initially allows for adjustable battery capacity, denoted as: The processing equipment records the initial adjustable power of the discharge direction as... The initial adjustable charge for the discharge direction is denoted as... The initial adjustable power for charging direction is denoted as... The initial adjustable charge direction is denoted as: The capacity release power is denoted as The capacity release power is recorded as .

[0135] When the capacity release power is in the discharge direction, the processing equipment calculates the updated initial adjustable power for the discharge direction. The calculation formula is as follows:

[0136] In the formula, Representing the The initial adjustable power of the discharge direction after the user-side energy storage is updated; This represents the initial adjustable power in the discharge direction. The capacity release power for the r-th issued demand response task of the i-th user-side energy storage in the target discrete time period t.

[0137] The processing equipment calculates the initial adjustable charge for the updated discharge direction. The calculation formula is as follows:

[0138] In the formula, Representing the The initial adjustable capacity of the discharge direction after the user-side energy storage is updated; This represents the initial adjustable charge in the direction of discharge. The capacity of the r-th issued demand response task for the i-th user-side energy storage is released during the target discrete time period t.

[0139] When the capacity release power is in the charging direction, the processing device calculates the updated initial adjustable power for the charging direction. The calculation formula is as follows:

[0140] In the formula, Representing the The initial adjustable power of the charging direction after the user-side energy storage update; This indicates the initial adjustable power in the charging direction. The capacity release power for the r-th issued demand response task of the i-th user-side energy storage in the target discrete time period t.

[0141] The processing device calculates the updated initial adjustable capacity for the charging direction. The calculation formula is as follows:

[0142] In the formula, Representing the The initial adjustable capacity of the charging direction after the update of the user-side energy storage; Indicates the initial adjustable capacity in the charging direction; The capacity of the r-th issued demand response task for the i-th user-side energy storage is released during the target discrete time period t.

[0143] The processing device stores the updated initial adjustable power in the discharge direction, the updated initial adjustable capacity in the discharge direction, the updated initial adjustable power in the charging direction, and the updated initial adjustable capacity in the charging direction into its internal storage, replacing the corresponding adjustable power and adjustable capacity data before the update.

[0144] S209. Determine the responsive capacity of the new demand response task based on the updated initial adjustable power of the discharge direction, the updated initial adjustable capacity of the discharge direction, the updated initial adjustable power of the charging direction, and the updated initial adjustable capacity of the charging direction.

[0145] Response capacity is the power and amount of electricity that user-side energy storage can handle for new demand response tasks to be evaluated.

[0146] The processing equipment will be the first User-side energy storage needs to be evaluated for new demand response tasks The discharge direction can be denoted as the response power. The discharge direction can be denoted as the responsive charge. The charging direction can be responsive to power as . The charging direction can be responsive to the amount of electricity charged. The processing equipment records the updated discharge direction and initial adjustable power as... The updated discharge direction and initial adjustable charge are denoted as: The updated charging direction's initial adjustable power is denoted as... The updated charging direction initially allows for adjustable battery capacity, denoted as: .

[0147] The processing equipment assigns the updated initial adjustable power of the discharge direction to the responsive power of the discharge direction, according to the formula. Determining the discharge direction allows for response power. Represents the responsive power in the direction of discharge; This represents the initial adjustable power of the updated discharge direction.

[0148] The processing device assigns the updated initial adjustable discharge direction charge to the discharge direction responsive charge, according to the formula. Determining the discharge direction allows for response to the electrical charge. In the formula, The direction of discharge can be indicated by the amount of electrical charge. This represents the initial adjustable charge in the updated discharge direction.

[0149] The processing device assigns the updated initial adjustable power for the charging direction to the responsive power for the charging direction, according to the formula. Determining the charging direction allows for a response power. Where, The power response indicates the charging direction. This represents the initial adjustable power for the updated charging direction.

[0150] The processing device assigns the updated initial adjustable capacity for the charging direction to the responsive capacity for the charging direction, according to the formula. Determining the charging direction allows for a response to the amount of electricity. In the formula, The charging direction indicates the amount of electricity. This represents the initial adjustable capacity after the updated charging direction.

[0151] The processing device obtains the responsive capacity of the new demand response task, which includes the responsive power in the discharge direction, the responsive quantity in the discharge direction, the responsive power in the charging direction, and the responsive quantity in the charging direction. The processing device stores the responsive capacity of the new demand response task in its internal storage for use in making an acceptance decision for the new demand response task to be evaluated.

[0152] Based on the above, the method for calculating user-side energy storage demand response capacity involves acquiring equipment parameters, operational data, user load data, grid connection point constraint data, data from multiple issued demand response tasks, and data from new demand response tasks. The effective capacity is determined based on rated capacity and health status. The response power of each issued demand response task is aligned according to the target discrete time period to obtain the response power of each task in the target discrete time period. The remaining occupancy factor is determined based on the unexecuted response power and reserved response power. Based on the remaining occupancy factor and the response power in the target discrete time period, the discharge direction occupancy power and charging direction occupancy power in each target discrete time period are determined, and the net occupancy power is determined. The predicted actual operating power of the energy storage is determined based on the net occupancy power and operational data. The state-of-charge (SOC) prediction trajectory is determined based on the actual operating power and effective capacity of the energy storage system. The grid connection point prediction power is determined based on the actual operating power of the energy storage system and user load data. Based on the actual operating power of the energy storage system, the SOC prediction trajectory, the grid connection point prediction power, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated are determined. When any issued demand response task experiences a state change event, the remaining occupancy factor is updated, and the capacity release power and capacity release capacity are determined based on the difference between the remaining occupancy factor before and after the update. Then, the initial adjustable power and capacity are updated, and finally, the responsive capacity of the new demand response task is determined.

[0153] This scheme aligns issued demand response tasks at different time scales to the same target discrete time period according to the target discrete distance, enabling day-ahead, hourly, and minute-level tasks to be uniformly calculated on the same time axis. This avoids the problem of the same set of energy storage resources being repeatedly included in the available capacity when tasks at different time scales are calculated separately. Simultaneously, the remaining occupancy factor is determined based on the unexecuted response electricity and reserved response electricity, and the power occupied in the discharge direction and charging direction are calculated separately to obtain the net occupied power. This avoids the situation where tasks in opposite directions cancel each other out through net power, thus masking the saturation of resources in one direction. Based on this, the scheme superimposes the net occupied power onto the operating data to obtain the predicted actual operating power of energy storage, and recursively extrapolates the predicted trajectory of state of charge and the predicted power at the grid connection point. This ensures that the determination of initial adjustable power and capacity no longer relies on a single-point judgment at the current moment, but is based on a forward-looking verification of the full-cycle power trajectory and state of charge trajectory. Furthermore, when a state change event occurs in an issued demand response task, the initial adjustable power and capacity are updated by updating the remaining occupancy factor and calculating the capacity release power and capacity release electricity, ensuring that the reserved capacity can be released in a timely manner according to the task status change. Ultimately, this solution improves the accuracy of response capacity calculation.

[0154] The above text combined Figures 1 to 2 The method for calculating user-side energy storage demand response capacity provided in the embodiments of this application has been described in detail. The apparatus and equipment provided in the embodiments of this application will be described below with reference to the accompanying drawings.

[0155] This application also provides a user-side energy storage demand response capacity calculation device, such as... Figure 3 As shown in the figure, this is a structural diagram of a user-side energy storage demand response capacity calculation device provided in an embodiment of this application. The device includes: The acquisition module 301 is used to acquire equipment parameters, operating data, user load data, grid connection point constraint data, multiple issued demand response task data, and new demand response task data for user-side energy storage. Each issued demand response task data corresponds to one issued demand response task, and each issued demand response task data includes response power, unexecuted response power, and reserved response power. The time scales of multiple issued demand response tasks are different. The new demand response task data includes the execution window of new demand response tasks to be evaluated. The determination module 302 is used to determine the effective capacity of user-side energy storage based on the rated capacity and health status in the equipment parameters; align the response power of each issued demand response task according to the target discrete time period to obtain the response power of each issued demand response task in the target discrete time period; for each issued demand response task, determine the remaining occupancy factor of the issued demand response task based on the unexecuted response power and reserved response power of the issued demand response task; determine the discharge direction occupancy power and charging direction occupancy power of each target discrete time period based on the remaining occupancy factor corresponding to each issued demand response task and the response power in the target discrete time period; and determine the discharge direction occupancy power and charging direction occupancy power of each target discrete time period based on the remaining occupancy factor and the response power in the target discrete time period. The net power occupied in each discrete time period is determined by calculating the power occupied in the discharge direction and the power occupied in the charging direction. Based on the net power occupied and operating data, the predicted actual operating power of the energy storage is determined. Based on the predicted actual operating power of the energy storage and the effective capacity, the predicted trajectory of the state of charge is determined. Based on the predicted actual operating power of the energy storage and user load data, the predicted power at the grid connection point is determined. Based on the predicted actual operating power of the energy storage, the predicted trajectory of the state of charge, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated are determined. The update module 303 is used to update the remaining occupancy coefficient corresponding to any issued demand response task according to the changed reserved response power and / or the changed unexecuted response power when any issued demand response task has a status change event, so as to obtain the updated remaining occupancy coefficient; determine the capacity release power and capacity release power according to the difference between the updated remaining occupancy coefficient and the previous remaining occupancy coefficient; and update the initial adjustable power, initial adjustable power and initial adjustable power of the discharge direction, the initial adjustable power and initial adjustable power of the charging direction according to the capacity release power and the capacity release power, so as to obtain the updated initial adjustable power, updated initial adjustable power and initial adjustable power of the discharge direction, the updated initial adjustable power and initial adjustable power of the charging direction. The capacity determination module 304 is used to determine the responsive capacity of the new demand response task based on the updated initial adjustable power of the discharge direction, the updated initial adjustable capacity of the discharge direction, the updated initial adjustable power of the charging direction, and the updated initial adjustable capacity of the charging direction.

[0156] In some possible implementations, update module 303 is specifically used for: When the updated remaining occupancy coefficient is less than the original remaining occupancy coefficient, the original remaining occupancy coefficient is subtracted from the updated remaining occupancy coefficient to obtain the release coefficient difference; the release coefficient difference is multiplied by the response power of the issued demand response task in the target discrete time period to obtain the capacity release power; the release coefficient difference is multiplied by the unexecuted response power of the issued demand response task to obtain the capacity release power.

[0157] In some possible implementations, module 302 is specifically used for: When the unexecuted response power of the issued demand response task is greater than zero, the remaining response power will be divided by the unexecuted response power to obtain the remaining occupancy coefficient of the issued demand response task; when the unexecuted response power of the issued demand response task is zero, the remaining occupancy coefficient of the issued demand response task will be determined as zero.

[0158] In some possible implementations, module 302 is specifically used for: Acquire the initial state of charge (SOC) from the operational data, as well as the charging efficiency, discharging efficiency, upper SOC operating limit, and lower SOC operating limit from the device parameters; for each target discrete time period, extract the charging directional power and discharging directional power for that target discrete time period from the predicted actual operating power of the energy storage; integrate the charging directional power over time within that target discrete time period to obtain the change in charging capacity for that target discrete time period; multiply this change in charging capacity by the charging efficiency to obtain the change in the battery's internal charging capacity for that target discrete time period; integrate the discharging directional power over time within that target discrete time period to obtain the change in discharging capacity for that target discrete time period; and then integrate the discharging directional power... Dividing the change in charge by the discharge efficiency yields the change in internal battery charge during the target discrete time period. Subtracting the change in internal battery charge from the change in internal battery discharge charge during the target discrete time period yields the net change in internal battery charge during the target discrete time period. Dividing the net change in internal battery charge during the target discrete time period by the effective capacity yields the change in state of charge (SOC) during the target discrete time period. Starting from the initial SOC, the SOC change is superimposed on each target discrete time period to obtain the predicted SOC for each target discrete time period. Based on the predicted SOC, upper limit of SOC operation, and lower limit of SOC operation for each target discrete time period, a predicted SOC trajectory is constructed.

[0159] In some possible implementations, module 302 is specifically used for: For each target discrete time period within the execution window, based on the predicted actual operating power of the energy storage, equipment parameters, predicted power at the grid connection point, grid connection point constraint data, predicted state of charge trajectory, and effective capacity, the adjustable power in the discharge direction and the adjustable power in the charging direction for that target discrete time period are determined. The minimum value among the adjustable power in the discharge direction for each target discrete time period within the execution window is determined as the initial adjustable power in the discharge direction. The minimum value among the adjustable power in the charging direction for each target discrete time period within the execution window is determined as the initial adjustable power in the charging direction. The initial adjustable power in the discharge direction is multiplied by the total duration of the execution window to obtain the initial adjustable capacity in the discharge direction. The initial adjustable power in the charging direction is multiplied by the total duration of the execution window to obtain the initial adjustable capacity in the charging direction.

[0160] In some possible implementations, the state change event includes at least one of the following: the issued demand response task is canceled, the response power of the issued demand response task is reduced, the execution window of the issued demand response task is shortened, the power of the unexecuted response of the issued demand response task is increased, and the power of the reserved response of the issued demand response task is reduced.

[0161] The user-side energy storage demand response capacity calculation device according to the embodiments of this application can correspond to the execution of the method described in the embodiments of this application, and the other operations and / or functions of each module / unit of the user-side energy storage demand response capacity calculation device are respectively for implementing Figure 2 For the sake of brevity, the corresponding processes of each method in the illustrated embodiments will not be described in detail here.

[0162] This application also provides a computing device. For example... Figure 4 As shown, this figure is a schematic diagram of a computing device provided in an embodiment of this application. The computing device 400 includes a bus 401, a processor 402, a communication interface 403, and a memory 404. The processor 402, memory 404, and communication interface 403 communicate with each other via the bus 401. The bus 401 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 4 The bus is represented by a single thick line, but this does not imply that there is only one bus or one type of bus. Processor 402 can be any one or more processors such as a central processing unit (CPU), graphics processing unit (GPU), microprocessor (MP), or digital signal processor (DSP). Communication interface 403 is used for external communication. Memory 404 can include volatile memory, such as random access memory (RAM). Memory 404 can also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD). Memory 404 stores executable code, which processor 402 executes to perform the aforementioned user-side energy storage demand response capacity calculation method.

[0163] Specifically, in achieving Figure 3 In the case of the illustrated embodiment, and Figure 3When the modules or units of the user-side energy storage demand response capacity calculation device described in the embodiment are implemented by software, the execution... Figure 3 The software or program code required for the functions of each module / unit can be partially or entirely stored in memory 404. Processor 402 executes the program code corresponding to each unit stored in memory 404 and executes the aforementioned user-side energy storage demand response capacity calculation method.

[0164] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the aforementioned user-side energy storage demand response capacity calculation method.

[0165] This application also provides a computer program product comprising one or more computer instructions. When the computer instructions are loaded and executed on a computing device, all or part of the processes or functions described in this application are generated.

[0166] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, or data center to another website, computer, or data center via wired (e.g., coaxial cable, fiber optic) or wireless (e.g., infrared, microwave, etc.) means.

[0167] When the computer program product is executed by a computer, the computer executes any of the aforementioned methods for calculating user-side energy storage demand response capacity. The computer program product can be a software installation package; when any of the aforementioned methods for calculating user-side energy storage demand response capacity is required, the computer program product can be downloaded and executed on the computer.

[0168] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.

[0169] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application.

Claims

1. A method for calculating user-side energy storage demand response capacity, characterized in that, The method includes: Acquire equipment parameters, operating data, user load data, grid connection point constraint data, multiple issued demand response task data, and new demand response task data for user-side energy storage. Each issued demand response task data corresponds to one issued demand response task, and each issued demand response task data includes response power, unexecuted response power, and reserved response power. The time scales of multiple issued demand response tasks are different. The new demand response task data includes the execution window of new demand response tasks to be evaluated. The effective capacity of user-side energy storage is determined based on the rated capacity and health status in the equipment parameters. Align the response power of each issued demand response task according to the target discrete time period to obtain the response power of each issued demand response task in the target discrete time period. For each issued demand response task, the remaining occupancy coefficient of the issued demand response task is determined based on the unexecuted response power and reserved response power of the issued demand response task. Based on the remaining occupancy coefficients corresponding to each issued demand response task and the response power in the target discrete time period, determine the discharge direction occupancy power and the charging direction occupancy power in each target discrete time period; based on the discharge direction occupancy power and the charging direction occupancy power in each target discrete time period, determine the net occupancy power in each target discrete time period. Based on net power utilization and operating data, determine the predicted actual operating power of energy storage; based on the predicted actual operating power of energy storage and effective capacity, determine the predicted state of charge trajectory; based on the predicted actual operating power of energy storage and user load data, determine the predicted power at the grid connection point. Based on the predicted actual operating power of energy storage, the predicted trajectory of state of charge, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction of the new demand response task to be evaluated are determined. When any issued demand response task experiences a status change event, the remaining occupancy coefficient corresponding to the issued demand response task is updated based on the changed reserved response power and / or the changed unexecuted response power to obtain the updated remaining occupancy coefficient; based on the difference between the updated remaining occupancy coefficient and the previous remaining occupancy coefficient, the capacity release power and capacity release power are determined. Based on the capacity release power and capacity release quantity, the initial adjustable power, initial adjustable quantity, initial adjustable power and initial adjustable quantity in the discharge direction are updated to obtain the updated initial adjustable power, updated initial adjustable quantity in the discharge direction, updated initial adjustable power and updated initial adjustable quantity in the charging direction. The responsive capacity of the new demand response task is determined based on the updated initial adjustable power in the discharge direction, the updated initial adjustable capacity in the discharge direction, the updated initial adjustable power in the charging direction, and the updated initial adjustable capacity in the charging direction.

2. The method according to claim 1, characterized in that, The step of determining the capacity release power and capacity release quantity based on the difference between the updated and unupdated remaining occupancy factors includes: When the remaining occupancy coefficient after the update is less than the remaining occupancy coefficient before the update, subtract the remaining occupancy coefficient after the update from the remaining occupancy coefficient before the update to obtain the difference in release coefficient; Multiply the difference in release coefficients by the response power of the issued demand response task in the target discrete time period to obtain the capacity release power; Multiply the difference in release coefficients by the unexecuted response power of the issued demand response task to obtain the capacity release power.

3. The method according to claim 1, characterized in that, The step of determining the remaining occupancy factor of the issued demand response task based on the unexecuted response power and reserved response power of the issued demand response task includes: When the unexecuted response power of the issued demand response task is greater than zero, the remaining response power will be divided by the unexecuted response power to obtain the remaining occupancy coefficient of the issued demand response task. When the unexecuted response power of the issued demand response task is zero, the remaining occupancy coefficient of the issued demand response task is determined to be zero.

4. The method according to claim 1, characterized in that, The process of determining the predicted state of charge trajectory based on the predicted actual operating power and effective capacity of energy storage includes: Obtain the initial state of charge from the operating data, as well as the charging efficiency, discharging efficiency, upper limit of state of charge operation, and lower limit of state of charge operation from the device parameters; For each target discrete time period, the charging direction power and discharging direction power of that target discrete time period are extracted from the predicted actual operating power of the energy storage. By integrating the directional power of the target over time, the change in the amount of charge generated during the target discrete time period is obtained; by multiplying the change in the amount of charge generated by the charging efficiency, the change in the amount of charge generated inside the battery during the target discrete time period is obtained. The discharge directional power of the target in a discrete time period is integrated over time to obtain the change in discharge charge of the target in the discrete time period; the change in discharge charge is divided by the discharge efficiency to obtain the change in discharge charge inside the battery in the discrete time period of the target. Subtract the change in the amount of charge inside the battery from the change in the amount of discharge inside the battery during the target discrete time period to obtain the net change in the amount of charge inside the battery during the target discrete time period. Divide the change in net charge within the battery during the target discrete time period by the effective capacity to obtain the change in state of charge during the target discrete time period. Starting from the initial state of charge, the change in state of charge is superimposed on each discrete time period of the target to obtain the predicted state of charge for each discrete time period of the target. Based on the predicted state of charge, the upper limit of the state of charge operation, and the lower limit of the state of charge operation for each target discrete time period, a predicted trajectory of the state of charge is constructed.

5. The method according to claim 1, characterized in that, The process of determining the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated, based on the predicted actual operating power of the energy storage, the predicted trajectory of the state of charge, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, includes: For each target discrete time period within the execution window, the adjustable power in the discharge direction and the adjustable power in the charging direction for that target discrete time period are determined based on the predicted actual operating power of the energy storage, equipment parameters, predicted power at the grid connection point, grid connection point constraint data, predicted state of charge trajectory, and effective capacity. The minimum value among the adjustable discharge power in each discrete time period of the target within the execution window is determined as the initial adjustable discharge power; the minimum value among the adjustable charging power in each discrete time period of the target within the execution window is determined as the initial adjustable charging power. Multiply the initial adjustable power in the discharge direction by the total duration of the execution window to obtain the initial adjustable power in the discharge direction; multiply the initial adjustable power in the charging direction by the total duration of the execution window to obtain the initial adjustable power in the charging direction.

6. The method according to claim 1, characterized in that, The status change event includes at least one of the following: the issued demand response task is canceled, the response power of the issued demand response task is reduced, the execution window of the issued demand response task is shortened, the power consumption of the unexecuted response of the issued demand response task increases, and the power consumption of the reserved response of the issued demand response task decreases.

7. A user-side energy storage demand response capacity calculation device, characterized in that, The device includes: The acquisition module is used to acquire equipment parameters, operating data, user load data, grid connection point constraint data, multiple issued demand response task data, and new demand response task data for user-side energy storage. Each issued demand response task data corresponds to one issued demand response task, and each issued demand response task data includes response power, unexecuted response power, and reserved response power. The time scales of multiple issued demand response tasks are different. The new demand response task data includes the execution window of new demand response tasks to be evaluated. The determination module is used to determine the effective capacity of user-side energy storage based on the rated capacity and health status in the equipment parameters; align the response power of each issued demand response task according to the target discrete time period to obtain the response power of each issued demand response task in the target discrete time period; for each issued demand response task, determine the remaining occupancy factor of the issued demand response task based on the unexecuted response power and reserved response power of the issued demand response task; determine the discharge direction occupancy power and charging direction occupancy power of each target discrete time period based on the remaining occupancy factor corresponding to each issued demand response task and the response power in the target discrete time period; and determine the discharge direction occupancy power and charging direction occupancy power of each target discrete time period based on the discharge direction occupancy power of each target discrete time period. The net power occupied in each discrete time period is determined by considering the directional power occupied and the charging directional power occupied. Based on the net power occupied and operating data, the predicted actual operating power of the energy storage is determined. Based on the predicted actual operating power of the energy storage and the effective capacity, the predicted state of charge trajectory is determined. Based on the predicted actual operating power of the energy storage and user load data, the predicted power at the grid connection point is determined. Based on the predicted actual operating power of the energy storage, the predicted state of charge trajectory, the predicted power at the grid connection point, equipment parameters, grid connection point constraint data, and the execution window of the new demand response task, the initial adjustable power in the discharge direction, the initial adjustable power in the charging direction, the initial adjustable capacity in the discharge direction, and the initial adjustable capacity in the charging direction for the new demand response task to be evaluated are determined. The update module is used to update the remaining occupancy coefficient corresponding to any issued demand response task when a status change event occurs, based on the changed reserved response capacity and / or the changed unexecuted response capacity, to obtain the updated remaining occupancy coefficient; determine the capacity release power and capacity release capacity based on the difference between the updated and unupdated remaining occupancy coefficients; and update the initial adjustable power, initial adjustable capacity, initial adjustable power, and initial adjustable capacity in the discharge direction, to obtain the updated initial adjustable power, initial adjustable capacity, initial adjustable power, and initial adjustable capacity in the charging direction. The capacity determination module is used to determine the responsive capacity of a new demand response task based on the updated initial adjustable power in the discharge direction, the updated initial adjustable capacity in the discharge direction, the updated initial adjustable power in the charging direction, and the updated initial adjustable capacity in the charging direction.

8. A computing device, characterized in that, Including memory and processor; The memory stores one or more computer programs, the one or more computer programs including instructions; when the instructions are executed by the processor, the computing device performs the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for performing the method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes one or more computer instructions that, when executed by a computer, perform the method as described in any one of claims 1 to 6.