Method and device for allocating contribution of virtual power plant to demand response
By calculating the sum of load values of the virtual power plant internal resources, the Shapley value cooperative game method is used to allocate contribution degrees, which solves the problem of contribution degrees of the virtual power plant internal resources in the demand response market, and achieves efficient and fair Distribution effect.
Patent Information
- Application Number
- CN202411580671.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-07
AI Technical Summary
There are scientific, efficient and fairness issues in the allocation of contributions of internal resources in the demand response market of virtual power plants, and existing methods are difficult to adjust and effectively motivate in real time.
By calculating the sum of the internal resource load values when the virtual power plant control is not used and when the virtual power plant control is used, the contribution value and dependency are calculated, and the contribution degree allocation is allocated using the Sharpley value cooperative game method to ensure the fairness and incentive of the allocation. .
It realizes the scientific, efficient and convenient contribution allocation of internal resources of virtual power plants, improves the contribution to the relief of the power supply and demand gap in the power grid, and has good operability and incentive effect.
Smart Images

Figure CN119093505B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of contribution allocation, and in particular to a method and device for allocating contribution of a virtual power plant to demand response. Background Art
[0002] With the transformation of the global energy structure, the proportion of renewable energy in the power system has gradually increased. Renewable energy such as wind power and photovoltaics is intermittent and volatile, which brings new challenges to the stable operation of the power system. There are differences in the temporal and spatial distribution of power resources such as photovoltaics and wind power, which often appear at different times from the peak period of electricity consumption. This temporal and spatial complexity of the supply side is intertwined with the changing structure of the demand side, making the balance between power supply and demand more prominent. In addition, the growing distributed energy resources (such as distributed photovoltaics, energy storage, electric vehicles, etc.) have significantly changed the structure and operation of the power system.
[0003] A virtual power plant is not a physical power plant. It is a power coordination and management system that realizes the aggregation and coordinated optimization of distributed energy resources such as distributed power sources, energy storage systems, controllable loads, and electric vehicles through advanced information and communication technologies and software systems. As a flexible form of power resource organization, it can effectively integrate and manage distributed energy resources, improve the stability and regulation capacity of the power system, and reduce the operating cost of the power system by optimizing the configuration and utilization of energy resources. And as a new type of power market entity, it can participate in transactions and competition in the power market, including peak shaving, frequency regulation, standby, demand response and other scenarios. Among them, participating in demand response is a more common way. Through demand response, power users can reduce electricity consumption when the power system operation demand is high and increase electricity consumption when the demand is low, so as to achieve the purpose of peak shaving and valley filling. Virtual power plants realize the rapid aggregation, coordination and optimization of demand-side resources, organize resources for demand responses such as peak shaving and valley filling, so as to quickly respond to changes in power market demand and solve the gap between power supply and demand.
[0004] Since there are many internal resource objects in virtual power plants, the allocation of internal contribution is involved. Currently, there are mainly the following internal contribution allocation methods: (1) Allocation method based on technical indicators. The contribution is allocated according to the actual technical performance of each participant in the operation of the virtual power plant. The technical performance indicators can be selected based on technical parameters such as the amount of electricity provided, the number and depth of peak load regulation, and the response speed. However, the selection of different technical indicators often has a greater impact on the results. (2) Agreement allocation. The virtual power plant operator can sign an agreement with each participant to clarify their respective rights and interests and allocation ratios. However, this method requires full consultation and agreement in advance and cannot be adjusted in real time based on contributions. (3) Market-based allocation mechanism. The market competition mechanism is introduced to determine the contribution of each object through power market transactions. However, when the virtual power plant as a whole participates as a subject, it will still cause problems in the allocation of internal resource object contributions. (4) Performance evaluation allocation. A performance evaluation system is established to evaluate the performance, response speed, service quality, etc. of each participant. The contribution of each object is determined based on the evaluation results. However, this method relies heavily on the selection of evaluation indicators and evaluation methods. Summary of the invention
[0005] The purpose of this application is to provide a method and device for allocating the contribution of a virtual power plant to the demand response market, which can more scientifically, efficiently and conveniently solve the problem of allocating the contribution of various types of internal resources of a virtual power plant to the demand response market.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] In a first aspect, the present application provides a method for allocating a contribution of a virtual power plant to demand response, including:
[0008] Get the time period when virtual power plant control is not adopted T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N ( t );
[0009] Get the time period when using virtual power plant control T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t );
[0010] Based on the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N ( t ) and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adoptedL ' v_N ( t ) is calculated in the time period T The contribution of using virtual power plants to control and participate in the demand response market to alleviate the gap between power supply and demand in the power grid is ;
[0011] Calculate the difference in contribution of different virtual power plant internal resource combinations before and after participating in demand response BD ( x );
[0012] Calculate the weighting factors of each internal resource of the virtual power plant ;
[0013] Based on the contribution difference BD ( x ) and the weighting factor Calculate the dependence of each virtual power plant's internal resources on the overall virtual power plant control strategy r i ;
[0014] Based on the contribution value and Dependency r i Calculate the contribution distribution value of each virtual power plant's internal resources after adopting the virtual power plant control strategy B i .
[0015] Optionally, when virtual power plant control is not adopted, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s Actual output of energy storage, i Output of Class 1 distributed power generation P n_i1 ( t ), No. i Values for Class 2 loads L l_i2 (t), i Output of 3 types of energy storage P s_i3 (t), where i 1=1,2,..., N n ; i 2=1,2,..., N l ; i 3=1,2,..., N s ;t =1,2,..., T ;
[0016] When virtual power plant control is adopted, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s Actual output of energy storage, i Output of Class 1 distributed power generation P’ n_i1 ( t ), No. i Values for Class 2 loads L’ l_i2 (t), i Output of 3 types of energy storage P’ s_i3 (t), where i 1=1,2,..., N n ; i 2=1,2,..., N l ; i 3=1,2,..., N s ; t =1,2,..., T .
[0017] Optionally, the sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted L v_N ( t ) is as follows:
[0018] .
[0019] Optionally, the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t ) is as follows:
[0020] .
[0021] Optionally, the contribution value The expression is as follows:
[0022] ;
[0023] in, PR 1 indicates the contribution of participating in the demand response market without the use of virtual power plant control. , PR 2 represents the contribution of participating in the demand response market under the virtual power plant control strategy, ; α is 0 or 1, when α =1 means participating in the peak shaving and load regulation of demand response. α =0 means participating in the valley filling and peak load regulation of demand response. Δt Indicates the time interval, L ref_N ( t ) represents the collection of all internal resources of the virtual power plant N The baseline load, Y p Indicates the unit electricity contribution to alleviating the gap between electricity supply and demand when participating in peak load shaving. Y v Indicates the unit electricity contribution in alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation; L v_N ( t ) represents the sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted. L ' v_N ( t ) represents the sum of the internal resource load values of the virtual power plant when virtual power plant control is adopted.
[0024] Optionally, the calculation of the contribution difference between different virtual power plant internal resource combinations before and after participating in demand response is performed. BD ( x ) Specifically, the following formula is used:
[0025] ;
[0026] in, x represents the internal resource set involved in the virtual power plant control, α is 0 or 1, when α =1 means participating in the peak shaving and load regulation of demand response. α =0 means participating in the valley filling and peak load regulation of demand response. L ref_x ( t ) represents the internal resource set of the virtual power plant x The baseline load, L’ v_x ( t ) represents an internal resource collection x The sum of load values when using virtual power plant control; Y p Indicates the unit electricity contribution to alleviating the gap between electricity supply and demand when participating in peak load shaving. Y vIt indicates the contribution of unit electricity in alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation.
[0027] Optionally, the weighted factors of the internal resources of the virtual power plant are calculated The specific formula is as follows:
[0028] ;
[0029] in, NUM Represents the number of all internal resources of the virtual power plant, NUM = N n + N l + N s , z express NUM A virtual power plant internal resource category number; For collection z The number of elements in ! represents the factorial.
[0030] Optionally, based on the contribution difference BD ( x ) and the weighting factor Calculate the dependence of each virtual power plant's internal resources on the overall virtual power plant control strategy r i The specific formula is as follows:
[0031] ,
[0032] in, BD ( x ) is the internal resource set of the virtual power plant BD All including internal resources i The contribution of the collection BD ( x ); represents the weighting factor, BD ( x \ i ) is the internal resource set of the virtual power plant BD Remove internal resources from i The contribution that can be obtained later; x i Represents the internal resource set participating in the virtual power plant control x Contains internal resources i All subsets of NUM Represents the number of all internal resources of the virtual power plant, NUM = N n + N l +N s .
[0033] Optionally, based on the contribution value and Dependency r i Calculate the contribution distribution value of each virtual power plant's internal resources after adopting the virtual power plant control strategy B i The specific formula is as follows:
[0034] ;
[0035] in, NUM Represents the number of all internal resources of the virtual power plant, NUM = N n + N l + N s ; Indicates the contribution value.
[0036] In a second aspect, based on the above method in the present application, the present application further provides a device for allocating contribution of a virtual power plant to demand response, including:
[0037] The module for calculating the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted is used to obtain the time period when the virtual power plant control is not adopted. T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N ( t );
[0038] The module for calculating the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted is used to obtain the time period when the virtual power plant control is adopted. T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t );
[0039] A contribution value calculation module is used to calculate the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted. L v_N ( t ) and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t ) is calculated in the time period TThe contribution of using virtual power plants to control and participate in the demand response market to alleviate the gap between power supply and demand in the power grid is ;
[0040] Contribution difference calculation module, used to calculate the contribution difference of different virtual power plant internal resource combinations before and after participating in demand response BD ( x );
[0041] Weighted factor calculation module, used to calculate the weighted factors of each internal resource of the virtual power plant ;
[0042] A dependency calculation module is used to calculate the contribution difference based on the contribution difference. BD ( x ) and the weighting factor Calculate the dependence of each virtual power plant's internal resources on the overall virtual power plant control strategy r i ;
[0043] A contribution distribution value calculation module is used to calculate the contribution value based on the contribution value. and Dependency r i Calculate the contribution distribution value of each virtual power plant's internal resources after adopting the virtual power plant control strategy B i .
[0044] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0045] The present application provides a method and device for allocating the contribution of a virtual power plant to demand response. Based on the Shapley value cooperative game method, the method takes into account the dependence of different virtual power plant internal resources on the overall virtual power plant control strategy when participating in demand response, and realizes the contribution allocation of various types of resources within the virtual power plant while taking into account economy and fairness. The allocation method of this method can achieve incentive compatibility, and the method is convenient and efficient. The present application proposes a method for allocating the contribution of internal resources of a virtual power plant to the demand response market, and adopts a virtual power plant control method to aggregate various types of resources. On the one hand, the different output characteristics of different types of distributed power sources, loads and energy storage are used to achieve temporal and spatial complementarity. On the other hand, the virtual power plant communication technology and control strategy can realize the flexible call of different types of internal resources, thereby improving the competitiveness of participating in the demand response market. The method can better improve the contribution of demand response to alleviating the gap between power supply and demand in the power grid, and has good operability. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 This is a flow chart of a method for allocating contribution of a virtual power plant to demand response in one embodiment of the present application.
[0048] Figure 2 A schematic diagram of the functional modules of a device for allocating contribution of a virtual power plant to demand response provided in another embodiment of the present application.
[0049] Figure 3 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0050] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0052] Figure 1 This is a flow chart of a method for allocating contribution of a virtual power plant to demand response in an embodiment of the present application, see Figure 1 , the method comprising:
[0053] Step 101: Obtain the time period when virtual power plant control is not adopted T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N ( t ).
[0054] Among them, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s Actual output of energy storage, i Output of Class 1 distributed power generationP n_i1 ( t ), No. i Values for Class 2 loads L l_i2 (t), i Output of 3 types of energy storage P s_i3 (t), where i 1=1,2,..., N n ; i 2=1,2,..., N l ; i 3=1,2,..., N s ; t =1,2,..., T .
[0055] The sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted L v_N ( t ) is as follows:
[0056] .
[0057] Step 102: Obtaining the time period when the virtual power plant control is adopted T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t ).
[0058] Among them, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s Actual output of energy storage, i Output of Class 1 distributed power generation P’ n_i1 ( t ), No. i Values for Class 2 loads L’ l_i2 (t), i Output of 3 types of energy storage P’ s_i3 (t), where i 1=1,2,..., N n ; i 2=1,2,...,N l ; i 3=1,2,..., N s ; t =1,2,..., T .
[0059] The sum of the internal resource load values of the virtual power plant when using virtual power plant control L ' v_N ( t ) is as follows:
[0060] .
[0061] Step 103: Based on the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N ( t ) and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t ) is calculated in the time period T The contribution of using virtual power plants to control and participate in the demand response market to alleviate the gap between power supply and demand in the power grid is .
[0062] The specific formula is as follows:
[0063] ;
[0064] in, PR 1 indicates the contribution of participating in the demand response market without the use of virtual power plant control. , PR 2 represents the contribution of participating in the demand response market under the virtual power plant control strategy, ; α is 0 or 1, when α =1 means participating in the peak shaving and load regulation of demand response. α =0 means participating in the valley filling and peak load regulation of demand response. Δt Indicates the time interval, L ref_N ( t ) represents the collection of all internal resources of the virtual power plant N The baseline load, Y p Indicates the unit electricity contribution to alleviating the gap between electricity supply and demand when participating in peak load shaving. Y vIt indicates the unit electricity contribution in alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation; L v_N ( t ) represents the sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted. L ' v_N ( t ) represents the sum of the internal resource load values of the virtual power plant when virtual power plant control is adopted.
[0065] Step 104: Calculate the difference in contribution before and after different virtual power plant internal resource combinations participate in demand response BD ( x ).
[0066] The specific formula is as follows:
[0067] ;
[0068] in, x represents the internal resource set involved in the virtual power plant control, α is 0 or 1, when α =1 means participating in the peak shaving and load regulation of demand response. α =0 means participating in the valley filling and peak load regulation of demand response. L ref_x ( t ) represents the internal resource set of the virtual power plant x The baseline load, L’ v_x ( t ) represents an internal resource collection x The sum of load values when using virtual power plant control; Y p Indicates the unit electricity contribution to alleviating the gap between electricity supply and demand when participating in peak load shaving. Y v It indicates the contribution of unit electricity in alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation.
[0069] Step 105: Calculate the weighting factors of each internal resource of the virtual power plant .
[0070] The specific formula is as follows:
[0071] .
[0072] in, NUM Represents the number of all internal resources of the virtual power plant, NUM = N n + N l + Ns , z express NUM A virtual power plant internal resource category number; For collection z The number of elements in ! represents the factorial.
[0073] Step 106: Based on the contribution difference BD ( x ) and the weighting factor Calculate the dependence of each virtual power plant's internal resources on the overall virtual power plant control strategy r i .
[0074] The specific formula is as follows:
[0075] ;
[0076] in, BD ( x ) is the internal resource set of the virtual power plant BD All including internal resources i The contribution of the collection BD ( x ); BD ( x \ i ) is the internal resource set of the virtual power plant BD Remove internal resources from i The contribution that can be obtained later; x i Represents the internal resource set participating in the virtual power plant control x Contains internal resources i All subsets of NUM Represents the number of all internal resources of the virtual power plant, NUM = N n + N l + N s .
[0077] Step 107: Based on the contribution value and Dependency r i Calculate the contribution distribution value of each virtual power plant's internal resources after adopting the virtual power plant control strategy B i .
[0078] The specific formula is as follows:
[0079] ;
[0080] in,NUM Represents the number of all internal resources of the virtual power plant, NUM = N n + N l + N s ; Indicates the contribution value.
[0081] Specifically, the larger the contribution allocation value is, the greater the contribution to alleviating the electricity supply and demand gap, and the more benefits will be allocated later. The benefits can be distributed according to the contribution allocation value.
[0082] In summary, the present application proposes a method for allocating the contribution of virtual power plants to the demand response market. Based on the Shapley value cooperative game method, the method considers the dependence of different virtual power plant internal resources on the overall virtual power plant control strategy when participating in demand response, and realizes the contribution allocation of various types of resources within the virtual power plant while taking into account economy and fairness. The allocation method of this method can achieve incentive compatibility, and the method is convenient and efficient. The present application also proposes a method for allocating the contribution of virtual power plant internal resources to the demand response market, and adopts a virtual power plant control method to aggregate various types of resources. On the one hand, the different output characteristics of different types of distributed power sources, loads and energy storage are used to achieve temporal and spatial complementarity. On the other hand, the virtual power plant communication technology and control strategy can realize the flexible call of different types of internal resources, and improve the competitiveness of participating in the demand response market. This method can better improve the contribution of demand response to alleviating the gap between power supply and demand in the power grid, and has good operability.
[0083] Based on the same inventive concept, the embodiment of the present application also provides a virtual power plant participation in demand response contribution allocation device for implementing the above-mentioned virtual power plant participation in demand response contribution allocation method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more virtual power plant participation in demand response contribution allocation device embodiments provided below can refer to the above limitations on the virtual power plant participation in demand response contribution allocation method, which will not be repeated here.
[0084] In an exemplary embodiment, Figure 2 As shown, a virtual power plant participation demand response contribution allocation device is provided, comprising:
[0085] The module 201 for calculating the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted is used to obtain the time period when the virtual power plant control is not adopted. T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adoptedL v_N ( t );
[0086] The module 202 for calculating the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted is used to obtain the time period when the virtual power plant control is adopted. T The internal resources of the virtual power plant within the virtual power plant are calculated, and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t );
[0087] The contribution value calculation module 203 is used to calculate the value of the internal resource load of the virtual power plant when the virtual power plant control is not adopted. L v_N ( t ) and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L ' v_N ( t ) is calculated in the time period T The contribution of using virtual power plants to control and participate in the demand response market to alleviate the gap between power supply and demand in the power grid is ;
[0088] Contribution difference calculation module 204, used to calculate the contribution difference of different virtual power plant internal resource combinations before and after participating in demand response BD ( x );
[0089] The weighted factor calculation module 205 is used to calculate the weighted factors of each internal resource of the virtual power plant. ;
[0090] The dependency calculation module 206 is used to calculate the contribution difference based on the contribution difference. BD ( x ) and the weighting factor Calculate the dependence of each virtual power plant's internal resources on the overall virtual power plant control strategy r i ;
[0091] Contribution distribution value calculation module 207 is used to calculate the contribution value based on the contribution value. and Dependency r i Calculate the contribution distribution value of each virtual power plant's internal resources after adopting the virtual power plant control strategy B i .
[0092] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 3 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. Among them, 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. Among them, 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 the virtual power plant's contribution allocation data for participating in 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 method for allocating the contribution of a virtual power plant to participating in demand response is implemented.
[0093] Those skilled in the art will understand that Figure 3 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.
[0094] In an exemplary 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-mentioned method embodiments when executing the computer program.
[0095] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0096] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0097] 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.
[0098] 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. By way of illustration and not limitation, RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).
[0099] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. 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 is not limited thereto.
[0100] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0101] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for allocating contribution of virtual power plants to demand response based on Shapley value, characterized in that: The method for allocating the contribution of a virtual power plant to demand response based on Shapley value includes: Obtain the internal resources of the virtual power plant within the time period T when the virtual power plant control is not adopted, and calculate the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N (t); When virtual power plant control is not adopted, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s The actual output of the energy storage of type i1, the output of the distributed power source P n_i1 (t), the value of the i2-type load L l_i2 (t), the output P of the i3 type energy storage s_i3 (t), where i1=1,2,...,N n ; i2=1,2,...,N l ; i3=1,2,...,N s ; t=1,2,...,T; Obtain the internal resources of the virtual power plant within the time period T when the virtual power plant control is adopted, and calculate the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L' v_N (t); When virtual power plant control is adopted, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s The actual output of the energy storage type, the output of the i1th type of distributed power source P' n_i1 (t), the value of the load of type i2 is L' l_i2 (t), the output of the i3 type of energy storage P' s_i3 (t), where i1=1,2,...,N n ; i2=1,2,...,N l ; i3=1,2,...,N s ; t=1,2,...,T; Based on the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted, L v_N (t) and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L' v_N (t) Calculate the contribution value ΔPR of the virtual power plant control participation in the demand response market to alleviating the power supply and demand gap in the power grid within the time period T; the expression of the contribution value ΔPR is as follows: ΔPR = PR2 - PR1; Among them, PR1 represents the contribution value of participating in the demand response market without the use of virtual power plant control. PR2 represents the contribution value of participating in the demand response market under the virtual power plant control strategy. α is 0 or 1. When α=1, it means participating in the peak shaving of demand response. When α=0, it means participating in the valley filling of demand response. Δt means the time interval. L ref_N (t) represents the baseline load of all internal resources N of the virtual power plant, Y p Indicates the unit power contribution to alleviating the gap between power supply and demand when participating in peak load shaving, Y v Indicates the unit electricity contribution to alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation; L v_N (t) represents the sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted, L' v_N (t) represents the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted; The contribution difference BD(x) of different virtual power plant internal resource combinations before and after participating in demand response is calculated using the following formula: Where x represents the internal resource set controlled by the participating virtual power plant, α is 0 or 1. When α=1, it means participating in the peak shaving and peak regulation of demand response, and when α=0, it means participating in the valley filling and peak regulation of demand response. L ref_x (t) represents the baseline load of the internal resource set x of the virtual power plant, L' v_x (t) represents the sum of the load values of the internal resource set x when the virtual power plant is used for control; Y p Indicates the unit power contribution to alleviating the gap between power supply and demand when participating in peak load shaving, Y v Indicates the unit electricity contribution in alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation; The weighting factor w(|z|) of each internal resource of the virtual power plant is calculated using the following formula: Where NUM represents the number of all internal resources of the virtual power plant, NUM = N n +N l +N s , z represents the internal resource category number of NUM virtual power plants; |z| is the number of elements in the set z, ! represents the factorial; Based on the contribution difference BD(x) and the weighting factor w(z), the dependence of each virtual power plant's internal resources on the overall virtual power plant control strategy is calculated. i , using the following formula: Wherein, BD(x) is the sum of the contribution BD(x) of all sets including internal resource i in the virtual power plant internal resource set BD; w(z) represents the weighting factor, BD(x\i) is the contribution that can be obtained after removing internal resource i from the virtual power plant internal resource set BD; x i represents all sub-sets of internal resource i contained in the internal resource set x of the participating virtual power plant control, NUM represents the number of all internal resources of the virtual power plant, NUM = N n +N l +N s ; Based on the contribution value ΔPR and the dependence r i Calculate the contribution distribution value B of each virtual power plant's internal resources after adopting the virtual power plant control strategy i , using the following formula: Where NUM represents the number of all internal resources of the virtual power plant, NUM = N n +N l +N s ; ΔPR represents the contribution value.
2. The method for allocating the contribution of virtual power plants to demand response based on Shapley value according to claim 1, characterized in that: The sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted L v_N The expression of (t) is as follows:
3. The method for allocating contribution of virtual power plants to demand response based on Shapley value according to claim 1, characterized in that: The sum of the internal resource load values of the virtual power plant when using virtual power plant control L' v_N The expression of (t) is as follows:
4. A device for allocating contribution of virtual power plants to demand response based on Shapley value, characterized in that: The virtual power plant demand response contribution allocation device based on Shapley value includes: The module for calculating the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted is used to obtain the internal resources of the virtual power plant within the time period T when the virtual power plant control is not adopted, and calculate the sum of the internal resource load values of the virtual power plant when the virtual power plant control is not adopted L v_N (t); When virtual power plant control is not adopted, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s The actual output of the energy storage of type i1, the output of the distributed power source P n_i1 (t), the value of the i2-type load L l_i2 (t), the output P of the i3 type energy storage s_i3 (t), where i1=1,2,...,N n ; i2=1,2,...,N l ; i3=1,2,...,N s ; t=1,2,...,T; The module for calculating the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted is used to obtain the internal resources of the virtual power plant within the time period T when the virtual power plant control is adopted, and calculate the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L' v_N (t); When virtual power plant control is adopted, the internal resources of the virtual power plant include: N n Actual output of distributed power sources, N l Class load and N s The actual output of the energy storage type, the output of the i1th type of distributed power source P' n_i1 (t), the value of the load of type i2 is L' l_i2 (t), the output of the i3 type of energy storage P' s_i3 (t), where i1=1,2,...,N n ; i2=1,2,...,N l ; i3=1,2,...,N s ; t=1,2,...,T; The contribution value calculation module is used to calculate the value of the internal resource load of the virtual power plant when the virtual power plant control is not adopted. v_N (t) and the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted L' v_N (t) Calculate the contribution value ΔPR of the virtual power plant control participation in the demand response market to alleviating the power supply and demand gap in the power grid within the time period T; the expression of the contribution value ΔPR is as follows: ΔPR = PR2 - PR1; Among them, PR1 represents the contribution value of participating in the demand response market without the use of virtual power plant control. PR2 represents the contribution value of participating in the demand response market under the virtual power plant control strategy. α is 0 or 1. When α=1, it means participating in the peak shaving of demand response. When α=0, it means participating in the valley filling of demand response. Δt means the time interval. L ref_N (t) represents the baseline load of all internal resources N of the virtual power plant, Y p Indicates the unit power contribution to alleviating the gap between power supply and demand when participating in peak load shaving, Y v Indicates the unit electricity contribution to alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation; L v_N (t) represents the sum of the internal resource load values of the virtual power plant when virtual power plant control is not adopted, L' v_N (t) represents the sum of the internal resource load values of the virtual power plant when the virtual power plant control is adopted; The contribution difference calculation module is used to calculate the contribution difference BD(x) before and after different virtual power plant internal resource combinations participate in demand response, specifically using the following formula: Where x represents the internal resource set controlled by the participating virtual power plant, α is 0 or 1. When α=1, it means participating in the peak shaving and peak regulation of demand response, and when α=0, it means participating in the valley filling and peak regulation of demand response. L ref_x (t) represents the baseline load of the internal resource set x of the virtual power plant, L' v_x (t) represents the sum of the load values of the internal resource set x when the virtual power plant is used for control; Y p Indicates the unit power contribution to alleviating the gap between power supply and demand when participating in peak load shaving, Y v Indicates the unit electricity contribution in alleviating the gap between electricity supply and demand when participating in valley filling and peak regulation; The weighted factor calculation module is used to calculate the weighted factor w(|z|) of each internal resource of the virtual power plant, and specifically adopts the following formula: Where NUM represents the number of all internal resources of the virtual power plant, NUM = N n +N l +N s , z represents the internal resource category number of NUM virtual power plants; |z| is the number of elements in the set z, ! represents the factorial; A dependency calculation module is used to calculate the dependency r of each virtual power plant's internal resources on the overall virtual power plant control strategy based on the contribution difference BD(x) and the weighting factor w(|z|). i , using the following formula: Wherein, BD(x) is the sum of the contributions BD(x) of all sets including internal resource i in the virtual power plant internal resource set BD; w(|z|) represents the weighting factor, BD(x\i) is the contribution that can be obtained after removing internal resource i from the virtual power plant internal resource set BD; x i represents all sub-sets of internal resource i contained in the internal resource set x of the participating virtual power plant control, NUM represents the number of all internal resources of the virtual power plant, NUM = N n +N l +N s ; The contribution distribution value calculation module is used to calculate the contribution value ΔPR and the dependency r i Calculate the contribution distribution value B of each virtual power plant's internal resources after adopting the virtual power plant control strategy i , using the following formula: Where NUM represents the number of all internal resources of the virtual power plant, NUM = N n +N l +N s ; ΔPR represents the contribution value.
Citation Information
Patent Citations
Internal benefit allocation method for virtual power plant in participation in medium-and-long-term power transaction
CN112598538A
User side virtual power plant operation method based on light-EMS, electronic equipment and medium
CN117273557A