Scheduling method and device for building cluster to participate in power grid demand response

By dynamically adjusting the participating response power of different types of buildings in the building cluster, the response deviation problem of building load in the grid demand response process is solved, and the peak shaving capability of the power grid and the quality of power supply services are improved.

CN119726736APending Publication Date: 2025-03-28SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411725634.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

There is a problem of large response deviation in the construction load during the grid demand response process, which makes it difficult to alleviate the peak shaving pressure of the grid.

Method used

By obtaining grid demand response instructions, determine the power of its participation in the response for different types of buildings in the building cluster, and dynamically adjust it at the monitoring time point to eliminate the response gap.

Benefits of technology

It effectively reduces response deviation, improves the peak shaving capability of the power grid, and provides high-quality and intelligent power supply services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119726736A_ABST
    Figure CN119726736A_ABST
Patent Text Reader

Abstract

The invention relates to a scheduling method and device for participation of a building cluster in power grid demand response. The method comprises the following steps: acquiring a power grid demand response instruction, and determining participation response power of a first type of building matched with the power grid demand response instruction for the first type of building in each building; dividing a time interval between the response starting time and the response ending time into a plurality of time periods, and determining the ending time of each time period as monitoring time; at the response starting time, calling the first type of building to participate in the power grid demand response according to the participation response power; determining a response gap of the first type of building at the monitoring time based on the target response power and the participation response power under the condition that any monitoring time is reached; and if the response gap is greater than the response gap upper limit, continuously calling the first type of building to participate in the power grid demand response within the time interval from the monitoring time to the response end time, and calling a second type of building in the plurality of buildings to participate in the power grid demand response.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a scheduling method, apparatus, computer equipment, computer-readable storage medium, and computer program product for a building cluster to participate in grid demand response. Background Art

[0002] Building electricity accounts for a high proportion of total electricity consumption, and large buildings are natural aggregates of various flexible loads such as temperature control loads, rooftop photovoltaics, charging piles, and energy storage, with considerable potential for regulation in interaction with grid supply and demand. Building power flexibility comes from three aspects: first, building power equipment, which optimizes the operation sequence of equipment to stagger peak power consumption while ensuring the basic quality of production and life; second, energy storage facilities, which invest in the construction of energy storage batteries, cold water tanks, ice storage tanks, heat storage devices, etc., to directly or indirectly achieve power storage; third, electric vehicles, which connect electric vehicle batteries and building power distribution systems through smart charging piles, and tap into redundant battery capacity on the basis of meeting vehicle use needs, so that electric vehicles in parking lots can play the role of "mobile power banks". The peak-shaving demands at different time scales vary greatly. Building flexibility mainly solves the peak-shaving problem within the day, relieves the peak-shaving pressure of the grid through the "load-follow-source" operation mode, and improves the economic efficiency of operation. At the same time, it can also provide high-quality and intelligent power supply services for the building itself.

[0003] However, building loads have the problem of small single-unit capacity and different load characteristics. Therefore, there will be a large response deviation during the grid demand response process. Summary of the invention

[0004] Based on this, it is necessary to provide a scheduling method, device, computer equipment, computer-readable storage medium and computer program product for building clusters participating in grid demand response that can reduce response deviation in response to the above technical problems.

[0005] In a first aspect, the present application provides a scheduling method for a building cluster to participate in grid demand response, wherein the building cluster includes multiple buildings. The method includes: obtaining a grid demand response instruction, and determining the participating response power of the first type of building that matches the grid demand response instruction for the first type of building in each building; the grid demand response instruction includes a response start time, a response end time, and a target response power; the time interval between the response start time and the response end time is divided into multiple time periods, and the end time of each time period is determined as the monitoring time; at the response start time, the first type of building is called to participate in the grid demand response according to the participating response power; when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power; if the response gap is greater than the upper limit of the response gap, then within the time interval from the monitoring time to the response end time, the first type of building is continued to be called to participate in the grid demand response, and the second type of building among the multiple buildings is called to participate in the grid demand response.

[0006] In one embodiment, based on the target response power and the participating response power, the response gap of the first type of building during the monitoring time is determined, including: determining the product of the first time period between the response start time and the monitoring time and the target response power as the first product; for each building in the first type of building, determining the product of the difference between the actual power consumption of the building within the first time period, the benchmark power consumption, and the participating response power of the building and the first time period as the second product; obtaining a first statistical value of the second product corresponding to each building at all monitoring times, and obtaining a second statistical value between the first statistical values ​​corresponding to each building in the first type of building; and determining the difference between the first product and the second statistical value as the response gap of the first type of building during the monitoring time.

[0007] In one embodiment, calling a second type of building among multiple buildings to participate in grid demand response includes: obtaining a second duration between a monitoring time and a response end time, and determining a response gap of the second type of building during the monitoring time and the ratio of the second type of building to the second duration as a first ratio; obtaining a trusted demand response capacity of the second type of building based on the trusted demand response capacity of each building in the second type of building; for each building in the second type of building, determining the product of the ratio of the trusted demand response capacity of the building to the trusted demand response capacity of the second type of building and the first ratio as the response power that the building needs to execute from the monitoring time to the response end time; calling each building of the second type of building among the multiple buildings to participate in grid demand response with the corresponding response power that needs to be executed.

[0008] In one embodiment, determining the participating response power of a first type of building that matches a grid demand response instruction includes: determining the grid demand response capacity of the first type of building among multiple buildings by multiplying the duration from the response start time to the response end time by the target response power; and for each building in the first type of buildings, determining the participating response power of each building in the first type of buildings that matches the demand response instruction by multiplying the ratio of the trusted demand response capacity of each building to the grid demand response capacity by the target response power.

[0009] In one embodiment, the method further includes: if the response gap is less than or equal to the response gap upper limit, returning to the step of determining the response gap of the first type of building at the monitoring time based on the target response power and the participating response power when any monitoring time is reached, until the participating time reaches the response end time.

[0010] In one embodiment, the method further includes: analyzing historical data of each building in a plurality of buildings participating in grid demand response to obtain a historical response deviation rate and a historical response time of each building; obtaining a historical response power of each building within each historical response duration; for each historical response duration of each building, determining the product of the historical response power within the historical response duration, the first value, and the monitoring time interval as a second value; the first value is the difference between 1 and the historical response deviation rate of the building; determining the statistical value of the second value corresponding to each response duration as the credible demand response capacity of the building; determining a building whose historical response time is less than the required response time, whose historical response deviation rate is less than the allowed response deviation rate, and whose credible demand response capacity is greater than the preset capacity as a second type building; determining buildings other than the second type buildings among the plurality of buildings as first type buildings.

[0011] In one embodiment, the historical data includes: the power consumption curve of each building during the grid demand response period; analyzing the historical data of each building in the plurality of buildings participating in the grid demand response to obtain the historical response deviation rate and historical response time of each building, including: for each building in the plurality of buildings, analyzing the power consumption curve of the building during the grid demand response period to obtain the historical response start time and the historical response end time of the building each time participating in the grid demand response, the historical actual power consumption and the historical benchmark power consumption of the building at each historical monitoring time each time participating in the grid demand response, and the number of metering times; determining the historical response deviation rate of the building based on the historical response start time and the historical response end time, the actual power consumption and the benchmark power consumption corresponding to each historical monitoring time, and the number of metering times; determining the time taken by the building from the start time of participating in the grid demand response to the target time based on the actual power consumption and the benchmark power consumption corresponding to the building at each historical monitoring time as the historical response time of the building; wherein the target time refers to the historical monitoring time corresponding to the power difference between the actual power consumption and the benchmark power consumption of the building when it is consistent with the required response power.

[0012] In a second aspect, the present application provides a scheduling device for a building cluster to participate in grid demand response, the building cluster includes multiple buildings, and the device includes: a determination module, used to obtain a demand response instruction, and for the first type of buildings in each building, determine the participating response power of the first type of buildings that match the demand response instruction; the grid demand response instruction includes a response start time, a response end time and a target response power; a division module, used to divide the time interval between the response start time and the response end time into multiple time periods, and determine the end time of each time period as the monitoring time; a calling module, used to call the first type of building to participate in grid demand response according to the participating response power at the response start time; a processing module, used to determine the response gap of the first type of building at the monitoring time based on the target response power and the participating response power when any monitoring time is reached; a control module, used to continue to call the first type of building to participate in grid demand response within the time interval from the monitoring time to the response end time if the response gap is greater than the upper limit of the response gap, and call the second type of building among the multiple buildings to participate in grid demand response.

[0013] In a third aspect, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: obtaining a grid demand response instruction, and determining the participating response power of the first type of building matching the grid demand response instruction for the first type of building in each building; the grid demand response instruction includes a response start time, a response end time, and a target response power; the time interval between the response start time and the response end time is divided into multiple time periods, and the end time of each time period is determined as the monitoring time; at the response start time, the first type of building is called to participate in the grid demand response according to the participating response power; when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power; if the response gap is greater than the upper limit of the response gap, then in the time interval from the monitoring time to the response end time, the first type of building is continued to be called to participate in the grid demand response, and the second type of building in the multiple buildings is called to participate in the grid demand response.

[0014] In a fourth aspect, the present application also provides a computer-readable storage medium. A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: obtaining a grid demand response instruction, and determining the participating response power of the first type of building matching the grid demand response instruction for the first type of building in each building; the grid demand response instruction includes a response start time, a response end time, and a target response power; the time interval between the response start time and the response end time is divided into multiple time periods, and the end time of each time period is determined as the monitoring time; at the response start time, the first type of building is called to participate in the grid demand response according to the participating response power; when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power; if the response gap is greater than the upper limit of the response gap, then in the time interval from the monitoring time to the response end time, the first type of building is continued to be called to participate in the grid demand response, and the second type of building in the multiple buildings is called to participate in the grid demand response.

[0015] In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, which implements the following steps when executed by a processor: obtaining a grid demand response instruction, and determining the participating response power of the first type of building matching the grid demand response instruction for the first type of building in each building; the grid demand response instruction includes a response start time, a response end time and a target response power; the time interval between the response start time and the response end time is divided into multiple time periods, and the end time of each time period is determined as the monitoring time; at the response start time, the first type of building is called to participate in the grid demand response according to the participating response power; when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power; if the response gap is greater than the upper limit of the response gap, then in the time interval from the monitoring time to the response end time, the first type of building is continued to be called to participate in the grid demand response, and the second type of building among the multiple buildings is called to participate in the grid demand response.

[0016] The above-mentioned scheduling method, device, computer equipment, storage medium and computer program product for the building cluster to participate in the grid demand response obtains the grid demand response instruction, and for the first type of buildings in each building, determines the participating response power of the first type of buildings that match the grid demand response instruction, and divides the time interval between the response start time and the response end time into multiple time periods, and determines the end time of each time period as the monitoring time. Therefore, in a grid demand response, the grid demand response process of the building can be periodically monitored dynamically, thereby providing high-quality and intelligent power supply services. At the response start time, the first type of building is called to participate in the grid demand response according to the participating response power, and when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power. If the response gap is greater than the upper limit of the response gap, then during the time interval from the monitoring time to the response end time, the first type of building continues to be called to participate in the grid demand response, and the second type of building among multiple buildings is called to participate in the grid demand response. Therefore, under the condition of effectively aggregating massive building loads, the response deviation can be eliminated through the joint participation of the first type of building and the second type of building, thereby providing high-quality and intelligent power supply services. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 An application environment diagram of a scheduling method for a building cluster to participate in power grid demand response in one embodiment;

[0018] Figure 2 It is a flowchart of a method for dispatching a building cluster to participate in grid demand response in one embodiment;

[0019] Figure 3 A schematic diagram of a process for determining a response gap of a first type of building during monitoring time based on a target response power and a participating response power in one embodiment;

[0020] Figure 4 A schematic diagram of a flow chart of calling a second type of building among a plurality of buildings to respond to grid demand in one embodiment;

[0021] Figure 5 A schematic diagram of a process for determining a participating response power of a first type of building that matches a grid demand response instruction in one embodiment;

[0022] Figure 6 It is a flowchart of a scheduling method for a building cluster to participate in grid demand response in another embodiment;

[0023] Figure 7 It is a flowchart of a scheduling method for a building cluster to participate in grid demand response in another embodiment;

[0024] Figure 8 It is a flowchart of a scheduling method for a building cluster to participate in grid demand response in another embodiment;

[0025] Fig. 9 It is a structural block diagram of a dispatching device for a building cluster to participate in power grid demand response in one embodiment;

[0026] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0028] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations; and the acquisition, storage, processing, transmission, etc. of data must comply with relevant laws and regulations.

[0029] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0030] The scheduling method for building clusters to participate in grid demand response provided in the embodiments of the present application can be applied to Figure 1 In the application environment shown, the scheduling system 102 communicates with the server 104 via a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers.

[0031] Specifically, the server 104 obtains a grid demand response instruction from the dispatching system 102, and determines the participating response power of the first type of building matching the grid demand response instruction for the first type of building in each building, the grid demand response instruction including a response start time, a response end time and a target response power; the time interval between the response start time and the response end time is divided into multiple time periods, and the end time of each time period is determined as the monitoring time, and then at the response start time, the first type of building is called to participate in the grid demand response according to the participating response power, and when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power, if the response gap is greater than the upper limit of the response gap, then within the time interval from the monitoring time to the response end time, the first type of building is continued to be called to participate in the grid demand response, and the second type of building among the multiple buildings is called to participate in the grid demand response.

[0032] The scheduling system 102 may be configured, displayed or integrated on a terminal, which may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0033] In one embodiment, Figure 2 As shown, a scheduling method for building clusters to participate in grid demand response is provided, and the method is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:

[0034] S202, obtaining a grid demand response instruction, and determining, for each building of the first type in each building, a participating response power of the first type of building that matches the grid demand response instruction; the grid demand response instruction includes a response start time, a response end time and a target response power.

[0035] The grid demand response instruction refers to an instruction generated by triggering grid demand, and the grid demand represents the total demand for power resources. In some embodiments, a dispatching system may be installed on the terminal, and a grid demand response instruction for grid demand may be generated based on the dispatching system triggering.

[0036] The response start time refers to the start time of the building's participation in grid demand response, that is, the time when the building receives the grid demand response instruction. The response end time refers to the time when the building stops responding to grid demand. The target response power refers to the power consumption required to meet the grid demand.

[0037] Among them, the first type of building is a building selected from multiple buildings. The method of determining the first type of building is not limited. For example, in some embodiments, Q buildings can be randomly selected from multiple buildings as the first type of buildings; in other embodiments, the average of the historical response time of each building can be counted, and the D buildings with the highest average ranking can be used as the first type of buildings. Q and D can be the same or different.

[0038] The participating response power refers to the power that can be provided by the first type of building in the process of participating in the grid demand response. In some cases, when the first type of building includes multiple buildings, each building has a corresponding participating response power. There is no limitation on the method of determining the participating response power of the first type of building that matches the grid demand response instruction based on the response start time, the response end time and the target response power. The following is an example of several of these methods.

[0039] In some embodiments, based on the mapping relationship between time periods and preset response powers, the preset response power that matches the time period from the response start time to the response end time is determined as the first response power; the average of the target response power and the first response power is determined as the participating response power of the first type of building that matches the grid demand response instruction.

[0040] In some embodiments, based on the mapping relationship between the power coefficient and the preset time range, the power coefficient that matches the time period from the response start time to the response end time is determined; the product of the power coefficient and the target response power is determined as the participating response power of the first type of building that matches the grid demand response instruction.

[0041] S204: Divide the time interval between the response start time and the response end time into a plurality of time periods, and determine the end time of each time period as the monitoring time.

[0042] The duration of each time period can be the same or different. The monitoring time refers to the time configured for the building to participate in the grid demand response, which is used to monitor the response of the building in the process of participating in the grid demand response. Therefore, by determining the end time of each time period as the monitoring time, in a grid demand response, the building's participation in the grid demand response can be periodically monitored dynamically, thereby providing high-quality and intelligent power supply services.

[0043] S206: At the response start time, call the first type of building to respond to the grid demand according to the participating response power.

[0044] Among them, the method of calling the first type of building to respond to the grid demand is not limited. For example, the first type of building can be installed with an intelligent power demand response system, and the power equipment in the building, such as air conditioning system, lighting system, elevator, etc., can be monitored and controlled in real time through the intelligent power demand response system. Therefore, when the intelligent power demand response system of the first type of building receives the grid demand response instruction, the intelligent power demand response system adjusts the power consumption of the first type of building to the participating response power. For example, the air conditioning temperature setting can be lowered, the lighting brightness can be reduced, and the elevator operation can be optimized.

[0045] S208: When any monitoring time is reached, determine the response gap of the first type of building at the monitoring time based on the target response power and the participating response power.

[0046] The response gap refers to the deviation between the power resources required to be responded to by the first type of building and the power resources actually responded. For each monitoring time, when the current time reaches any monitoring time, the response gap of the first type of building at the monitoring time can be determined. There is no limit to the way to determine the response gap, and the following is an example of possible implementation methods.

[0047] In one embodiment, when any monitoring time is reached, the total actual power resources provided by the first type of buildings before the monitoring time are counted; and the gap between the total power resources corresponding to the grid demand and the actual power resources is determined as the response gap.

[0048] S210, if the response gap is greater than the response gap upper limit, then within the time interval from the monitoring time to the response end time, continue to call the first type of building to participate in the grid demand response, and call the second type of building among the multiple buildings to participate in the grid demand response.

[0049] Among them, if the response gap is greater than the upper limit of the response gap, it means that the power resources that can be provided by the first type of building are limited. Therefore, by calling the second type of building among the multiple buildings to participate in the grid demand response process, the grid demand can be met when the response end time is reached. In some embodiments, the first part of the second type of buildings can be called to participate in the grid demand response to achieve the grid demand based on the power resources of the first part of the dispatched buildings. The first part of the buildings includes multiple buildings that respond quickly to grid demand.

[0050] In some embodiments, during the time interval from the monitoring time to the last monitoring time, the second type of building is called to respond to the grid demand according to a fixed power; when the last monitoring time is reached, if the response gap determined at the last monitoring time is greater than the fixed power, during the time interval from the last monitoring time to the response end time, the second type of building is called to participate in the grid demand response according to the power consistent with the response gap; if the response gap determined at the last monitoring time is less than or equal to the fixed power, during the time interval from the last monitoring time to the response end time, the second type of building is called to continue to participate in the grid demand response according to the fixed power.

[0051] In one embodiment, for the monitoring time after calling a first type of building and calling a second type of building among multiple buildings to participate in the grid demand response, the response gap of the called building during the monitoring time is obtained. Further:

[0052] When the response gap is less than or equal to the upper limit of the response gap, continue to maintain the previous control instructions, that is, continue to call the first type of buildings and the first part of the second type of buildings to participate in the grid demand response; when the next monitoring time arrives, return to the step of obtaining the response gap of the called building at the monitoring time until the participation time reaches the response end time.

[0053] When the response gap is greater than the upper limit of the response gap, the control instructions are updated, that is, the first part of the buildings of the first type and the second type continue to be called to participate in the grid demand response, and the second part of the buildings of the second type are called to participate in the grid demand response; when the next monitoring time is reached, return to the step of obtaining the response gap of the called building at the monitoring time until the participation time reaches the response end time.

[0054] Among them, the second type of building may include multiple parts of buildings, such as a first part of buildings, a second part of buildings, etc., and each part of the building may include multiple buildings that can quickly respond to grid needs.

[0055] based on Figure 2The content shown is, by obtaining the grid demand response instruction, and for the first type of buildings in each building, determining the participating response power of the first type of buildings that match the grid demand response instruction, and dividing the time interval between the response start time and the response end time into multiple time periods, and determining the end time of each time period as the monitoring time, so that in a grid demand response, the grid demand response process of the building can be periodically monitored dynamically, thereby providing high-quality and intelligent power supply services. At the response start time, the first type of building is called to participate in the grid demand response according to the participating response power, and when any monitoring time is reached, the response gap of the first type of building at the monitoring time is determined based on the target response power and the participating response power. If the response gap is greater than the upper limit of the response gap, then during the time interval from the monitoring time to the response end time, the first type of building continues to be called to participate in the grid demand response, and the second type of building among multiple buildings is called to participate in the grid demand response. Thus, under the condition of effectively aggregating massive building loads, the response deviation can be eliminated through the joint participation of the first type of building and the second type of building, and the leave due to inadequate grid regulation due to large response deviation can be avoided, thereby providing high-quality and intelligent power supply services.

[0056] based on Figure 2 It can be seen that when the response gap is greater than the upper limit of the response gap, another type of building can be called to participate in the grid demand response. In one embodiment, if the response gap is less than or equal to the upper limit of the response gap, the first type of building will continue to be called to participate in the grid demand response, and return to the step of determining the response gap of the first type of building at the monitoring time based on the target response power and the participating response power when any monitoring time is reached, until the participating time reaches the response end time. Among them, the reference time refers to the time when the building participates in the grid demand response process. Therefore, when the response gap is less than or equal to the upper limit of the response gap, it means that the power resources that can be provided by the first type of building can meet the grid demand, and the first type of building will continue to be called to participate in the grid demand response process, which can improve the efficiency of the grid demand response.

[0057] In one embodiment, Figure 3 As shown, a method for determining the response gap of the first type of building during the monitoring time (ie, S208) based on the target response power and the participating response power is provided, which may include the following steps:

[0058] S302: Determine the product of a first duration between the response start time and the monitoring time and the target response power as a first product.

[0059] for example, represents the target response power, Indicates the response start time, represents the monitoring time, then the first product = .

[0060] S304: For each building of the first type of buildings, determine the product of the difference between the actual power consumption of the building within the first time period, the reference power consumption, and the participating response power of the building and the first time period as a second product.

[0061] for example, represents the actual power consumption of building i in the first type of buildings during the first time period, The base power consumption of building i in the first period, represents the participating response power of building i, represents the first duration, then the second product = .

[0062] S306, obtaining a first statistical value of the second product corresponding to each building at all monitoring times, and obtaining a second statistical value between the first statistical values ​​corresponding to each building in the first type of buildings.

[0063] S308: Determine the difference between the first product and the second statistical value as the response gap of the first type of building during the monitoring period.

[0064] for example, represents the response gap, N represents the number of buildings in the second type of buildings, then .

[0065] based on Figure 3 The method shown, by considering the actual power consumption and the benchmark power consumption of each building in the second type of buildings, can more accurately evaluate the response capability of the building when determining the response gap, thereby improving the stability of the building in participating in the grid demand response process.

[0066] In one embodiment, Figure 4 As shown, an implementation method for calling a second type of building among multiple buildings to respond to a grid demand (ie, S210) is provided, which may include the following steps:

[0067] S402, obtaining a second duration between the monitoring time and the response end time, and determining a ratio of a response gap of the second type of building during the monitoring time to the second duration as a first ratio.

[0068] for example, Indicates the response gap, Indicates the response end time. Represents the monitoring time, then the first ratio = .

[0069] S404: Obtain the credible demand response capacity of the second type of building based on the credible demand response capacity of each building in the second type of building.

[0070] The trusted demand response capacity of the second type of building is the maximum capacity of power resources that the second type of building can theoretically provide during the grid demand response process, and is used to characterize the overall trusted demand response capacity of the second type of building. The trusted demand response capacity of a building refers to the maximum capacity of power resources when the building responds to grid dispatching needs without affecting the normal use of the building's power resources. The trusted demand response capacity of each building can be the same or different.

[0071] In some embodiments, the maximum response capacity of each building in the second type of buildings is counted, and the minimum value among the multiple maximum response capacities is set as the trusted demand response capacity of each building; or, the product of the maximum value among the multiple maximum response capacities and a preset capacity coefficient is determined as the trusted demand response capacity of each building.

[0072] In some embodiments, considering that there is a certain deviation in building aggregation, the response capacity of a single building needs to be adjusted, and a capacity coefficient can be set. Specifically, for each building in the second type of building, the product between the credible demand response capacity of the building and the capacity coefficient is obtained; the corresponding products of each building in the second type of building are counted to obtain the credible demand response capacity of the second type of building.

[0073] for example, Indicates the second type of building, Including multiple buildings j, represents the credible demand response capacity of building j in the second type of buildings, represents the capacity factor, then the credible demand response capacity of the second type of building = .

[0074] S406: For each building in the second type of buildings, the product of the ratio of the building's trusted demand response capacity to the trusted demand response capacity of the second type of buildings and the first ratio is determined as the response power that the building needs to execute from the monitoring time to the response end time.

[0075] for example, represents the response power that building j in the second type of building needs to execute from the monitoring time to the response end time, then .

[0076] S408, calling each building of the second type among the multiple buildings to participate in the grid demand response with the corresponding response power that needs to be executed.

[0077] based on Figure 4The content shown can obtain the response power that the second type of building among multiple buildings needs to execute from the monitoring time to the response end time, so that when responding to the grid demand based on the corresponding response power that needs to be executed, the response gap of the first type of building participating in the grid demand response process can be eliminated, and the peak-to-valley difference of the grid can be further reduced, which is helpful to enhance the safe and stable power supply of the power system.

[0078] In one embodiment, Figure 5 As shown, an implementation method for determining the participating response power of a first type of building matching a grid demand response instruction is provided, which may include the following steps:

[0079] S502: Determine the product of the duration between the response start time and the response end time and the target response power as the grid demand response capacity of the first type of building among the multiple buildings.

[0080] The grid demand response capacity of the first type of building refers to the maximum capacity of power resources that the first type of building needs to dispatch when responding to grid demand during the time period from the response start time to the response end time. Indicates the response start time, Indicates the response end time. represents the target response power, represents the grid demand response capacity of the first type of building, then .

[0081] S504, for each building in the first type of buildings, the ratio of the trusted demand response capacity of each building to the grid demand response capacity and the product of the target response power are determined as the participating response power of each building in the first type of buildings that matches the grid demand response instruction.

[0082] Among them, the trusted demand response capacity of each building can be the same or different. The specific implementation method can refer to the above content adaptation description and will not be repeated here.

[0083] for example, represents the participating response power of building i in the first type of buildings, represents the credible demand response capacity of building i, then .

[0084] based on Figure 5 The content shown can obtain the participating response power of each building in the first type of buildings. Therefore, when each building in the first type of buildings is called to participate in the grid demand response according to the corresponding participating response power, the ability of the power system to provide safe and stable power supply can be enhanced.

[0085] In one embodiment, Figure 6 As shown, a scheduling method for building clusters to participate in grid demand response is provided, and the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate, and the following steps are included:

[0086] S602, analyzing historical data of each building in the plurality of buildings participating in grid demand response to obtain a historical response deviation rate and a historical response time of each building.

[0087] The historical response deviation rate of a building refers to the degree of deviation between the actual response behavior of the building and the expected response target when the building participated in the grid demand response in the past. The historical response time of a building refers to the time from receiving the grid demand response instruction to starting to execute the response when the building participated in the grid demand response in the past.

[0088] In some embodiments, for each of the multiple buildings, the historical data of the building is input into the first analysis model to obtain the historical response deviation rate and historical response time of each building. The first analysis model can be trained based on the historical response deviation rate and historical response time of the multiple buildings.

[0089] S604, obtaining the historical response power of each building within each historical response duration.

[0090] The historical response duration refers to the time from the start of the response to the end of the response when the building participated in the grid demand response in the past. The historical response power refers to the power of the building when it participated in the grid demand response within the historical response duration.

[0091] S606, for each historical response duration of each building, determine the product of the historical response power within the historical response duration, the first value and the monitoring time interval as the second value; the first value is the difference between 1 and the historical response deviation rate of the building.

[0092] for example, represents the historical response duration of building s among multiple buildings, represents the historical response power of building s, represents the historical response deviation rate of building s, Indicates the monitoring time interval, then the second value = . Among them, building s can refer to building i in the first type of buildings, or building j in the second type of buildings.

[0093] When the time interval between the historical response start time and the historical response end time is divided into multiple time periods according to the same time interval, the monitoring time interval refers to the interval between adjacent historical monitoring times.

[0094] S608: Determine the statistical value of the second value corresponding to each response duration as the credible demand response capacity of the building.

[0095] for example, represents the credible demand response capacity of building s, then .

[0096] S610, determine a building whose historical response time is less than the required response time, whose historical response deviation rate is less than the allowed response deviation rate, and whose credible demand response capacity is greater than the preset capacity as a second type of building.

[0097] S612: Determine the buildings among the multiple buildings except the second type of buildings as the first type of buildings.

[0098] Among them, based on S610 and S612, it can be known that the first type of building is actually a normal response building, and the second type of building is actually a fast response building, that is, the second type of building refers to a building that can quickly adjust its electricity consumption behavior to respond to the needs of the power grid.

[0099] based on Figure 6 The method shown can divide multiple buildings into first type buildings and second type buildings. When the response gap is greater than the upper limit of the response gap, another type of building can be called to jointly participate in the grid demand, which can reduce the response deviation and further reduce the peak-to-valley difference of the grid.

[0100] In one embodiment, the historical data includes: the power consumption curve of each building during the grid demand response period, and the historical data of each building participating in the grid demand response in multiple buildings is analyzed to obtain the historical response deviation rate and historical response time of each building. Figure 7 As shown, the following steps are included:

[0101] S702, for each of the multiple buildings, analyze the power consumption curve of the building during the grid demand response period to obtain the historical response start time and historical response end time of the building each time it participates in the grid demand response, the historical actual power consumption and historical benchmark power consumption corresponding to each historical monitoring time of the building each time it participates in the grid demand response, and the number of metering times.

[0102] The grid demand response period includes the valley filling period when the grid generates too much power and has less load, and the peak shaving period when the grid generates less power and has more load. For each building, each time it participates in the grid demand response, by recording various data during the building's participation in the grid demand response process, the power consumption curve of the building during the grid demand response period can be summarized. The data accuracy in the power consumption curve can be consistent with the grid metering accuracy, or there can be other settings.

[0103] In some embodiments, one electricity usage curve of a building may be analyzed, or multiple electricity usage curves of a building may be analyzed, or other settings may be provided.

[0104] S704, determining the historical response deviation rate of the building based on the historical response end time and the historical response end time, the actual power consumption and the reference power consumption corresponding to each historical monitoring time, and the number of metering times.

[0105] The metering time refers to the interval time between each point of the power consumption curve of the building. There is no limit to the method of determining the historical response deviation rate of the building, and several of the methods are described below with examples.

[0106] In one embodiment, the historical response end time and historical response end time, the actual power consumption and reference power consumption corresponding to each historical monitoring time, and the number of metering times can be input into the second analysis model to obtain the historical response deviation rate of the building.

[0107] In one embodiment, the historical response end time and the historical response end time, the actual power consumption and the reference power consumption corresponding to each historical monitoring time, the number of metering times, and the historical response deviation rate of the building s The relationship between them satisfies: .

[0108] Where K represents the total number of times building s participated in grid demand response. and They respectively represent the historical response start time and historical response end time when the building participates in the grid demand response for the kth time; and They represent the actual power consumption and the benchmark power consumption of the building when it needs to participate in grid demand response for the kth time respectively; Represents the number of metering times when building s participates in grid demand response for the kth time.

[0109] S706, based on the actual power consumption and benchmark power consumption of the building at each historical monitoring time, the time taken by the building from the start time of participating in the grid demand response to the target time is determined as the historical response time of the building. The target time refers to the historical monitoring time corresponding to when the power difference between the actual power consumption and the benchmark power consumption of the building is consistent with the required response power.

[0110] It should be understood that since the actual power consumption and benchmark power consumption of the building are counted based on the historical monitoring time, the historical response time of the building can also be understood as the time taken for the building to receive the grid demand response instruction and the power difference between the actual power consumption and the benchmark power consumption of the building to reach the required response power for the first time.

[0111] based on Figure 7 The content shown can determine the historical response deviation rate and historical response time of a building based on the historical data of each building in the multiple buildings participating in the grid demand response. Therefore, by evaluating the response capability and accuracy of the building in the demand response process, the multiple buildings can be more accurately divided into first type buildings and second type buildings. Furthermore, when the response gap is greater than the upper limit of the response gap, by calling the first type buildings and the second type buildings to jointly participate in the grid demand response, the response efficiency can be improved and the response deviation can be reduced.

[0112] Combined with the above content, it can be seen that since the power load of a single building is small and the regulation capacity cannot meet the grid access requirements, it is possible to participate in grid demand response by aggregating buildings to form a building cluster. Therefore, when the grid needs to shave peaks and fill valleys, after each building in the building cluster receives the grid demand response instruction, it can increase or reduce the building's power consumption through air conditioning, charging piles, photovoltaics, energy storage and other equipment to achieve grid demand response. Among them, building cluster resources can refer to a building cluster with a certain response capability formed by the aggregation of multiple buildings.

[0113] Specifically, in one embodiment, Figure 8 As shown, a scheduling method for building clusters to participate in grid demand response is provided, and the method is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:

[0114] S802, for each of the multiple buildings, analyze the power consumption curve of the building during the grid demand response period to obtain the historical response start time and historical response end time of the building each time it participates in the grid demand response, the historical actual power consumption and historical benchmark power consumption corresponding to each historical monitoring time of the building each time it participates in the grid demand response, and the number of metering times.

[0115] S804, determining the historical response deviation rate of the building based on the historical response start time and the historical response end time, the actual power consumption and the reference power consumption corresponding to each historical monitoring time, and the number of metering times.

[0116] Among them, the historical response end time and historical response end time, the actual power consumption and benchmark power consumption corresponding to each historical monitoring time, the number of metering times, and the historical response deviation rate of building s The relationship between them satisfies: .

[0117] Where K represents the total number of times building s participated in grid demand response. and They respectively represent the historical response start time and historical response end time when the building participates in the grid demand response for the kth time; and They represent the actual power consumption and the benchmark power consumption of the building when it needs to participate in grid demand response for the kth time respectively; Represents the number of metering times when building s participates in grid demand response for the kth time.

[0118] S806, based on the actual power consumption and the reference power consumption of the building at each historical monitoring time, the time taken by the building from the start time of participating in the grid demand response to the target time is determined as the historical response time of the building.

[0119] S808, obtaining the credible demand response capacity of each building.

[0120] Specifically, the historical response power of each building within each historical response duration is obtained, and for each historical response duration of each building, the product of the historical response power within the historical response duration, the first value and the monitoring time interval is determined as the second value; the first value is the difference between 1 and the historical response deviation rate of the building; the statistical value of the second value corresponding to each response duration is determined as the credible demand response capacity of the building.

[0121] Among them, the credible demand response capacity of building s satisfy: .in, represents the historical response duration of building s among multiple buildings, represents the historical response power of building s, represents the historical response deviation rate of building s, Indicates the monitoring time interval.

[0122] S810, determine a building whose historical response time is less than the required response time, whose historical response deviation rate is less than the allowed response deviation rate, and whose trusted demand response capacity is greater than the preset capacity as a second type of building, and determine buildings other than the second type of buildings among multiple buildings as first type of buildings.

[0123] S812, obtaining a grid demand response instruction, the grid demand response instruction includes a response start time, a response end time and a target response power, and the duration from the response start time to the response end time multiplied by the target response power is determined as the grid demand response capacity of the first type of building among the multiple buildings.

[0124] S814, for each building in the first type of buildings, the ratio of the trusted demand response capacity of each building to the grid demand response capacity and the product of the target response power are determined as the participating response power of each building in the first type of buildings that matches the grid demand response instruction.

[0125] Among them, the participating response power of building i in the first type of buildings is satisfy: , represents the credible demand response capacity of building i, , Indicates the response start time, Indicates the response end time. Represents the target response power.

[0126] S816: Divide the time interval between the response start time and the response end time into multiple time periods, and determine the end time of each time period as the monitoring time.

[0127] S818, at the response start time, calling the first type of building to participate in the grid demand response according to the participating response power.

[0128] S820: When any monitoring time is reached, determine a response gap of the first type of building at the monitoring time based on the target response power and the participating response power.

[0129] Specifically, the first time period between the response start time and the monitoring time and the product of the target response power are determined as the first product, and for each building in the first type of building, the difference between the actual power consumption of the building within the first time period, the benchmark power consumption, and the participating response power of the building, and the product of the first time period are determined as the second product; the first statistical value of the second product corresponding to each building at all monitoring times is obtained, and the second statistical value between the first statistical values ​​corresponding to each building in the first type of building is obtained, and the difference between the first product and the second statistical value is determined as the response gap of the first type of building during the monitoring time.

[0130] Among them, the response gap of the first type of building during the monitoring time satisfy: . Where N represents the number of buildings in the second type of buildings, represents the target response power, Indicates the response start time, Indicates the monitoring time. represents the actual power consumption of building i in the first type of buildings during the first time period, The base power consumption of building i in the first period, represents the participating response power of building i, Indicates the first duration.

[0131] S822, if the response gap is greater than the upper limit of the response gap, then in the time interval from the monitoring time to the response end time, continue to call the first type of building to participate in the grid demand response, and obtain the second time between the monitoring time and the response end time, and determine the ratio of the response gap of the second type of building at the monitoring time to the second time as the first ratio.

[0132] S824, based on the trusted demand response capacity of each building in the second type of buildings, obtain the trusted demand response capacity of the second type of buildings, and for each building in the second type of buildings, determine the product of the ratio of the trusted demand response capacity of the building to the trusted demand response capacity of the second type of buildings and the first ratio as the response power that the building needs to execute from the monitoring time to the response end time.

[0133] In S822-S824, the response power required to be executed by the buildings in the second type of buildings from the monitoring time to the response end time is satisfy: .in, Indicates the response gap, Indicates the response end time. Indicates the monitoring time. represents the capacity factor, represents the credible demand response capacity of building j in the second type of buildings.

[0134] S826, calling each building of the second type among the multiple buildings to participate in the grid demand response with the corresponding response power that needs to be executed.

[0135] Among them, the specific content of S802-S826 can be adapted to the description of the above content and will not be repeated here.

[0136] based on Figure 8As shown in the figure, first, the historical data of each building participating in the grid demand response is obtained, the historical response deviation rate and historical response time of each building are calculated, and then the response power and response duration of each building are obtained, and the credible demand response capacity of a single building and a building cluster is calculated. After that, the demand response instruction is obtained, and each building is divided into the first type of building (normal response building) and the second type of building (i.e., fast response building) according to the historical response deviation rate and historical response time of the building, and the demand response instruction is decomposed into the first type of building. Finally, the response quality of the first type of building is dynamically monitored during the demand response process, and the response gap is calculated. When the response gap is greater than the upper limit of the response gap, the response gap is decomposed into the second type of building. Therefore, by considering the uncertainty of building resources when participating in grid regulation, and considering the deviation of different building loads when responding to grid demand, the regulation process of different buildings is arranged according to their own response characteristics, so that the response deviation can be eliminated in the response process, and the peak-to-valley difference of the grid can be further reduced, which is helpful to enhance the safe and stable power supply capacity of the power system.

[0137] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0138] Based on the same inventive concept, the embodiment of the present application also provides a dispatching device for building clusters participating in grid demand response for implementing the dispatching method for building clusters participating in grid demand response involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of the embodiments of the dispatching device for one or more building clusters participating in grid demand response provided below can be referred to the limitations of the dispatching method for building clusters participating in grid demand response above, and will not be repeated here.

[0139] In one embodiment, Fig. 9As shown, a scheduling device for a building cluster to participate in power grid demand response is provided, including: a determination module 902, a division module 904, a calling module 906, a processing module 908 and a control module 910, wherein: the determination module 902 is used to obtain a demand response instruction, and for a first type of building in each building, determine the participating response power of the first type of building that matches the demand response instruction; the power grid demand response instruction includes a response start time, a response end time and a target response power; the division module 904 is used to divide the time interval between the response start time and the response end time into multiple time periods, and divide each of the first type of buildings into a plurality of time periods. The end time of the time period is determined as the monitoring time; a calling module 906 is used to call the first type of building to participate in the grid demand response according to the participating response power at the response start time; a processing module 908 is used to determine the response gap of the first type of building at the monitoring time based on the target response power and the participating response power when any monitoring time is reached; a control module 910 is used to continue calling the first type of building to participate in the grid demand response within the time interval from the monitoring time to the response end time if the response gap is greater than the response gap upper limit. The second type of building among multiple buildings is called to participate in the grid demand response.

[0140] In one embodiment, the processing module is also used to: determine the first product as the product of the first time period between the response start time and the monitoring time and the target response power; for each building in the first type of building, determine the second product as the product of the actual power consumption of the building within the first time period, the reference power consumption, and the participating response power of the building; obtain a first statistical value of the second product corresponding to each building at all monitoring times, and obtain a second statistical value between the first statistical values ​​corresponding to each building in the first type of building; and determine the difference between the first product and the second statistical value as the response gap of the first type of building during the monitoring time.

[0141] In one embodiment, the control module is also used to: obtain a second duration between the monitoring time and the response end time, and determine the response gap of the second type of building at the monitoring time and the ratio of the second time as a first ratio; obtain the trusted demand response capacity of the second type of building based on the trusted demand response capacity of each building in the second type of building; for each building in the second type of building, determine the product of the ratio of the trusted demand response capacity of the building to the trusted demand response capacity of the second type of building and the first ratio as the response power that the building needs to execute from the monitoring time to the response end time; call each building of the second type of building in multiple buildings to participate in the grid demand response with the corresponding response power that needs to be executed.

[0142] In one embodiment, the determination module is further used to: determine the duration between the response start time and the response end time, multiplied by the target response power, as the grid demand response capacity of a first type of building among multiple buildings; and for each building in the first type of buildings, determine the ratio of the trusted demand response capacity of each building to the grid demand response capacity, multiplied by the target response power, as the participating response power of each building in the first type of buildings that matches the demand response instruction.

[0143] In one embodiment, the control module is also used to: if the response gap is less than or equal to the response gap upper limit, return to the step of determining the response gap of the first type of building at the monitoring time based on the target response power and the participating response power when any monitoring time is reached, until the participating time reaches the response end time.

[0144] In one embodiment, the determination module is also used to: analyze historical data of each building in a plurality of buildings participating in grid demand response to obtain a historical response deviation rate and a historical response time of each building; obtain a historical response power of each building within each historical response duration; for each historical response duration of each building, determine the product of the historical response power within the historical response duration, the first value, and the monitoring time interval as a second value; the first value is the difference between 1 and the historical response deviation rate of the building; determine the statistical value of the second value corresponding to each response duration as the credible demand response capacity of the building; determine a building whose historical response time is less than the required response time, whose historical response deviation rate is less than the allowed response deviation rate, and whose credible demand response capacity is greater than the preset capacity as a second type of building; determine buildings other than the second type of buildings among the plurality of buildings as first type of buildings.

[0145] In one embodiment, the historical data includes: the power consumption curve of each building during the grid demand response period; the determination module is also used to: analyze the power consumption curve of each building in the grid demand response period for each building in the multiple buildings, and obtain the historical response start time and historical response end time of the building each time it participates in the grid demand response, the historical actual power consumption and historical benchmark power consumption of the building at each historical monitoring time each time it participates in the grid demand response, and the number of metering times; determine the historical response deviation rate of the building based on the historical response start time and the historical response end time, the actual power consumption and benchmark power consumption corresponding to each historical monitoring time, and the number of metering times; based on the actual power consumption and benchmark power consumption corresponding to the building at each historical monitoring time, determine the time used by the building from the start time of participating in the grid demand response to the target time as the historical response time of the building; wherein the target time refers to the historical monitoring time corresponding to the power difference between the actual power consumption and the benchmark power consumption of the building when it is consistent with the required response power.

[0146] Each module in the above-mentioned dispatching device for participating in grid demand response of building clusters can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0147] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.10 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as historical data of each building participating in the grid demand response. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a scheduling method for a building cluster to participate in the grid demand response is implemented.

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

[0149] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

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

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

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

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

[0154] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A dispatching method for building clusters to participate in power grid demand response, characterized in that: The building cluster includes a plurality of buildings, and the method includes: Obtaining a grid demand response instruction, and determining, for each of the first type of buildings in the buildings, a participating response power of the first type of buildings that matches the grid demand response instruction; the grid demand response instruction includes a response start time, a response end time, and a target response power; Divide the time interval between the response start time and the response end time into a plurality of time periods, and determine the end time of each time period as the monitoring time; At the response start time, calling the first type of building to participate in grid demand response according to the participating response power; When any of the monitoring times is reached, determining a response gap of the first type of building at the monitoring time based on the target response power and the participating response power; If the response gap is greater than the response gap upper limit, then within the time interval from the monitoring time to the response end time, continue to call the first type of building to participate in the grid demand response, and call the second type of building among the multiple buildings to participate in the grid demand response.

2. The method according to claim 1, characterized in that The determining, based on the target response power and the participating response power, a response gap of the first type of building at the monitoring time includes: Determine the product of a first duration between the response start time and the monitoring time and the target response power as a first product; For each building of the first type of buildings, determine the product of the difference between the actual power consumption of the building, the reference power consumption, and the participating response power of the building within the first time period and the first time period as a second product; Obtain a first statistical value of the second product corresponding to each of the buildings at all monitoring times, and obtain a second statistical value between the first statistical values ​​corresponding to each of the buildings in the first type of buildings; The difference between the first product and the second statistical value is determined as the response gap of the first type of building during the monitoring time.

3. The method according to claim 1, characterized in that The calling of a second type of building among the plurality of buildings to participate in grid demand response comprises: Obtaining a second duration between the monitoring time and the response end time, and determining a ratio of the response gap of the second type of building during the monitoring time to the second duration as a first ratio; Based on the credible demand response capacity of each building in the second type of buildings, obtaining the credible demand response capacity of the second type of buildings; For each building in the second type of buildings, determine the product of the ratio of the trusted demand response capacity of the building to the trusted demand response capacity of the second type of buildings and the first ratio as the response power that the building needs to execute from the monitoring time to the response end time; Each of the second-type buildings in the plurality of buildings is called to participate in grid demand response with a corresponding response power that needs to be executed.

4. The method according to claim 1, characterized in that: The determining the participating response power of the first type of building matching the grid demand response instruction includes: Determine the product of the duration between the response start time and the response end time and the target response power as the grid demand response capacity of the first type of building among the multiple buildings; For each building of the first type of buildings, the ratio of the credible demand response capacity of each building to the grid demand response capacity and the product of the target response power are determined as the participating response power of each building of the first type of buildings that matches the demand response instruction.

5. The method according to claim 1, characterized in that The method further comprises: If the response gap is less than or equal to the response gap upper limit, return to the step of determining the response gap of the first type of building at the monitoring time based on the target response power and the participating response power when any of the monitoring times is reached, until the participating time reaches the response end time.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Analyze the historical data of each building in the plurality of buildings participating in the grid demand response to obtain the historical response deviation rate and historical response time of each building; Obtaining the historical response power of each of the buildings within each historical response duration; For each of the historical response durations of the buildings, the product of the historical response power within the historical response duration, the first value and the monitoring time interval is determined as a second value; the first value is the difference between 1 and the historical response deviation rate of the building; Determining a statistical value of the second value corresponding to each of the response durations as a credible demand response capacity of the building; Buildings whose historical response time is less than the required response time, whose historical response deviation rate is less than the allowed response deviation rate, and whose credible demand response capacity is greater than the preset capacity are determined as second type buildings; Buildings among the multiple buildings except the second-type buildings are determined as first-type buildings.

7. The method according to claim 6, characterized in that The historical data includes: the power consumption curve of each of the buildings during the power grid demand response period; The analyzing the historical data of each building in the plurality of buildings participating in the grid demand response to obtain the historical response deviation rate and historical response time of each building includes: For each of the multiple buildings, analyze the power consumption curve of the building during the grid demand response period to obtain the historical response start time and the historical response end time of the building each time it participates in the grid demand response, the historical actual power consumption and the historical benchmark power consumption of the building at each historical monitoring time each time it participates in the grid demand response, and the number of metering times; Determine the historical response deviation rate of the building based on the historical response start time and the historical response end time, the actual power consumption and the reference power consumption corresponding to each of the historical monitoring times, and the number of the metering times; Based on the actual power consumption and the reference power consumption of the building at each historical monitoring time, the time taken by the building from the start time of participating in the grid demand response to the target time is determined as the historical response time of the building; The target time refers to the historical monitoring time corresponding to when the power difference between the actual power consumption of the building and the reference power consumption is consistent with the required response power.

8. A dispatching device for a building cluster to participate in power grid demand response, characterized in that: The building cluster includes a plurality of buildings, and the device includes: A determination module, configured to obtain a grid demand response instruction, and for each of the first type of buildings in the buildings, determine the participating response power of the first type of buildings that matches the grid demand response instruction; the grid demand response instruction includes a response start time, a response end time, and a target response power; A division module, used to divide the time interval between the response start time and the response end time into a plurality of time periods, and determine the end time of each time period as the monitoring time; A calling module, configured to call, at the response start time, the first type of building to participate in the grid demand response according to the participating response power; A processing module, configured to determine, when any of the monitoring times is reached, a response gap of the first type of building at the monitoring time based on the target response power and the participating response power; A control module is used to continue calling the first type of building to participate in grid demand response and call the second type of building among the multiple buildings to participate in grid demand response within the time interval from the monitoring time to the response end time if the response gap is greater than the response gap upper limit.

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

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