Virtual power plant configuration method and system considering demand response, equipment and medium
By building a multi-source demand response model for virtual power plants, obtaining cost data for virtual power plants to participate in the power market, gas turbine, energy storage and demand response, the problem that existing technology cannot fully reflect the multi-source participation of virtual power plants users is achieved, and the problem of the existing technology being unable to fully reflect the multi-source participation of virtual power plants users is achieved. Accurate and close to reality analysis of virtual power plant operation behavior.
Patent Information
- Application Number
- CN202411236516.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-06
AI Technical Summary
The existing technology cannot fully reflect the multi-source participation of virtual power plant users in demand response, resulting in insufficient modeling methods to accurately reflect the demand response behavior of users in complex market environments.
By obtaining preset raw data, including cost data for virtual power plants participating in the power market, gas turbine, energy storage and demand response, a goal function that minimizes the total cost, and inputs an optimization algorithm to obtain the optimal solution, considering the multi-source demand response situation .
A more comprehensive and accurate virtual power plant configuration model is realized, and the optimization results can be obtained based on different objective functions and constraints, and the impact of operational behavior on cost structure is studied in depth, which is close to the actual operation environment, which solves the reflection of multi-source participation. Inadequate problem.
Smart Images

Figure CN119093357A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of virtual power plant configuration, and in particular to a method, system, device and medium for configuring a virtual power plant taking demand response into consideration. Background Art
[0002] A virtual power plant is a power coordination and management system based on information and communication technology and software systems. It can realize the aggregation and coordinated optimization of distributed energy resources and participate in the power market and power grid operation as a special power plant. It aggregates and manages distributed energy sources such as distributed power sources, energy storage, controllable loads, electric vehicles, and charging piles to alleviate the imbalance between supply and demand in the distribution network. Virtual power plants can not only obtain power services as buyers, but also provide services to power grids, energy suppliers, etc. as sellers by aggregating power demand resources with a wide distribution range, a large number of individuals, and relatively small single capacity, and obtain greater market benefits by rationally allocating resources. The participation of virtual power plants in power grid demand response has become an important means of peak shaving and valley filling for new power systems.
[0003] In existing demand response research, the focus is usually limited to a specific form of demand response, such as only focusing on incentive-based demand response or only focusing on price-based demand response. However, in the actual market environment, users' demand response behaviors are often more complex and multi-source. This simplified modeling method that only focuses on a single form of demand response may not be able to fully and accurately reflect the multi-source participation and actual behavior patterns of virtual power plant users in demand response.
[0004] Therefore, there is an urgent need for a virtual power plant configuration method, system, equipment and medium that takes demand response into consideration to solve the problem that the existing modeling method cannot fully reflect the multi-source participation of virtual power plant users in demand response. Summary of the invention
[0005] In response to the above-mentioned deficiencies in the prior art, the present application provides a virtual power plant configuration method, system, device and medium that take demand response into consideration, so as to solve the problem that the existing modeling method cannot fully reflect the multi-source participation of virtual power plant users in demand response.
[0006] In a first aspect, the present application provides a method for configuring a virtual power plant taking demand response into consideration, the method comprising: obtaining preset original data; wherein the preset original data is real-time data for calculating the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; obtaining an objective function for minimizing the total cost of the virtual power plant; wherein the parameters in the objective function include at least: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; obtaining constraints; wherein the constraints include: the constraint range of preset key data in the preset original data; inputting the constraints and the objective function into a preset optimization algorithm to obtain the optimal solution for the preset key data.
[0007] Furthermore, the objective function of minimizing the total cost of the virtual power plant is obtained, which specifically includes:
[0008] Wherein, t represents the tth time period in the preset total time period; T represents that the preset total time period is divided into T parts; It represents the cost of the virtual power plant participating in the electricity market in the tth time period:
[0009] in, and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; and They respectively represent the purchase price and sales price of electricity in the tth time period of the electricity market.
[0010] It represents the gas turbine cost in the tth time period:
[0011] in, represents the startup cost of the gas turbine; is a 0-1 variable, indicating the working state of the gas turbine in the tth time period. It is defined as 1 if it is in working state, otherwise it is 0; represents the fixed linear cost of gas turbine operation; represents the power generation of the gas turbine in the tth time period; represents the start-up and shutdown costs of the gas turbine; It is a 0-1 variable, indicating the start and stop status of the gas turbine in the tth time period. It is defined as 1 if it is in the start state, otherwise it is 0.
[0012] Indicates the energy storage cost in the tth time period:
[0013] in, represents the energy storage dispatch cost; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0014] Demand response cost in time period t is represented by: , , ; in, represents the load transfer compensation fee paid by the virtual power plant to the user in the tth time period; represents the compensation price for load transfer in the tth time period; represents the load after transfer in the tth time period; represents the fixed load in the tth time period; represents the interrupted load compensation fee paid by the virtual power plant to the user in the tth time period; Indicates the interruption load level number; express Level interruption load compensation price; Represents the tth time period Level interruption load.
[0015] Furthermore, the constraints are obtained, specifically including: obtaining the power market transaction constraints:
[0016]
[0017]
[0018] in, is a 0-1 variable, indicating Whether the virtual power plant purchases electricity during the period, if it does, it is defined as 1, otherwise it is 0; is a 0-1 variable, indicating whether the virtual power plant sells electricity in the tth time period. If so, it is defined as 1, otherwise 0; It indicates the maximum amount of electricity allowed in the electricity market; and They respectively represent the amount of electricity purchased and sold by the virtual power plant in the tth time period.
[0019] Get the gas turbine constraints:
[0020]
[0021]
[0022]
[0023] in, and They represent the upper and lower limits of the gas turbine output respectively; It represents the up and down ramp rate of the gas turbine; It is a 0-1 variable, indicating the gas turbine The working status of the time period is defined as 1 if it is in working status, otherwise it is 0; represents the power generation of the gas turbine in the tth time period; It is a 0-1 variable, indicating the gas turbine The start and stop status of the time period. If it is in the start state, it is defined as 1, otherwise it is 0.
[0024] Get energy storage constraints:
[0025]
[0026]
[0027] in, and Respectively represent the upper limits of the charging and discharging power of the energy storage battery; Indicates the amount of energy stored in the energy storage battery in the tth time period; Indicates the upper limit of the energy storage battery capacity; and Respectively represent the charging and discharging efficiency of the energy storage battery; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0028] Get demand response constraints:
[0029]
[0030]
[0031]
[0032] in, Indicates the maximum transfer load ratio; express Maximum interruption load ratio of level; Indicates the maximum continuous interruption load ratio.
[0033] Get the internal power constraints of the virtual power plant:
[0034] in, and Represent the power generation of wind turbines and photovoltaic units respectively; represents the load after transfer in the tth time period; Indicates the energy storage in the tth time period The charging power of electric vehicles, v∈[1,V], where V represents the total number of electric vehicles; Indicates the energy storage in the tth time period The discharge power of an electric vehicle.
[0035] Furthermore, the method also includes: obtaining preset original data through a preset data acquisition interface; obtaining an objective function that minimizes the total cost of the virtual power plant through a preset function acquisition interface; and obtaining constraint conditions through a preset condition acquisition interface.
[0036] In the second aspect, the present application provides a virtual power plant configuration system that takes demand response into consideration, and the system includes: an acquisition module for acquiring preset original data; wherein the preset original data is real-time data for calculating the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; obtaining an objective function that minimizes the total cost of the virtual power plant; wherein the parameters in the objective function include at least: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; obtaining constraints; wherein the constraints include: the constraint range of preset key data in the preset original data; an acquisition module for inputting the constraints and the objective function into a preset optimization algorithm to obtain the optimal solution for the preset key data.
[0037] Further, the acquisition module includes an objective function; The specific objective function is:
[0038] Wherein, t represents the tth time period in the preset total time period; T represents that the preset total time period is divided into T parts.
[0039] It represents the cost of the virtual power plant participating in the electricity market in the tth time period:
[0040] in, and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; and They respectively represent the purchase price and sales price of electricity in the tth time period of the electricity market.
[0041] It represents the gas turbine cost in the tth time period:
[0042] in, represents the startup cost of the gas turbine; is a 0-1 variable, indicating the working state of the gas turbine in the tth time period. It is defined as 1 if it is in working state, otherwise it is 0; represents the fixed linear cost of gas turbine operation; represents the power generation of the gas turbine in the tth time period; represents the start-up and shutdown costs of the gas turbine; It is a 0-1 variable, indicating the start and stop status of the gas turbine in the tth time period. It is defined as 1 if it is in the start state, otherwise it is 0.
[0043] Indicates the energy storage cost in the tth time period:
[0044] in, represents the energy storage dispatch cost; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0045] Demand response cost in time period t is represented by: , , ; in, represents the load transfer compensation fee paid by the virtual power plant to the user in the tth time period; represents the compensation price for load transfer in the tth time period; represents the load after transfer in the tth time period; represents the fixed load in the tth time period; represents the interrupted load compensation fee paid by the virtual power plant to the user in the tth time period; Indicates the interruption load level number; express Level interruption load compensation price; Represents the tth time period Level interruption load.
[0046] Further, the acquisition module includes constraints; The specific constraints are: Obtain power market transaction constraints:
[0047]
[0048]
[0049] in, is a 0-1 variable, indicating Whether the virtual power plant purchases electricity during the period, if it does, it is defined as 1, otherwise it is 0; is a 0-1 variable, indicating whether the virtual power plant sells electricity in the tth time period. If so, it is defined as 1, otherwise 0; It indicates the maximum amount of electricity allowed in the electricity market; and They respectively represent the amount of electricity purchased and sold by the virtual power plant in the tth time period.
[0050] Get the gas turbine constraints:
[0051]
[0052]
[0053]
[0054] in, and They represent the upper and lower limits of the gas turbine output respectively; It represents the up and down ramp rate of the gas turbine; It is a 0-1 variable, indicating the gas turbine The working status of the time period is defined as 1 if it is in working status, otherwise it is 0; represents the power generation of the gas turbine in the tth time period; It is a 0-1 variable, indicating the gas turbine The start and stop status of the time period. If it is in the start state, it is defined as 1, otherwise it is 0.
[0055] Get energy storage constraints:
[0056]
[0057]
[0058] in, and Respectively represent the upper limits of the charging and discharging power of the energy storage battery; Indicates the amount of energy stored in the energy storage battery in the tth time period; Indicates the upper limit of the energy storage battery capacity; and Respectively represent the charging and discharging efficiency of the energy storage battery; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0059] Get demand response constraints:
[0060]
[0061]
[0062]
[0063] in, Indicates the maximum transfer load ratio; express Maximum interruption load ratio of level; Indicates the maximum continuous interruption load ratio.
[0064] Get the internal power constraints of the virtual power plant:
[0065] in, and Represent the power generation of wind turbines and photovoltaic units respectively; represents the load after transfer in the tth time period; Indicates the energy storage in the tth time period The charging power of electric vehicles, v∈[1,V], where V represents the total number of electric vehicles; Indicates the energy storage in the tth time period The discharge power of an electric vehicle.
[0066] Furthermore, the acquisition module includes a preset data acquisition interface component, a preset function acquisition interface component, and a preset condition acquisition interface component; the preset data acquisition interface component is used to acquire preset original data through the preset data acquisition interface; the preset function acquisition interface component is used to acquire the objective function of minimizing the total cost of the virtual power plant through the preset function acquisition interface; the preset condition acquisition interface component is used to acquire constraints through the preset condition acquisition interface.
[0067] In a third aspect, the present application provides a virtual power plant configuration device that takes demand response into consideration, the device comprising: a processor; and a memory on which executable code is stored, and when the executable code is executed, the processor executes a virtual power plant configuration method that takes demand response into consideration, such as any one of the above items.
[0068] In a fourth aspect, the present application provides a non-volatile computer storage medium having computer instructions stored thereon, which when executed implement a virtual power plant configuration method taking into account demand response as described above.
[0069] Those skilled in the art can understand that the present application has at least the following beneficial effects: This application obtains preset raw data, obtains the objective function that minimizes the total cost of the virtual power plant, and obtains constraints; inputs the constraints and objective function into the preset optimization algorithm to obtain the optimal solution for the preset key data. That is, this application takes into account the incentive-based and price-based demand responses that users may participate in at the same time (the preset raw data is the real-time data used to calculate the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost), making the model more comprehensive and realistic. In addition, this application enables the virtual power plant to obtain the optimal result according to the different objective functions and constraints. This helps to conduct in-depth research on how the operating behavior of the virtual power plant affects its cost structure, and makes this model closer to the actual operating environment than the traditional virtual power plant bidding model, ensuring high accuracy, realizing the participation of multi-source data, and solving the problem that the existing modeling method cannot fully reflect the multi-source participation of virtual power plant users in demand response. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Some embodiments of the present disclosure are described below with reference to the accompanying drawings, in which: Figure 1 This is a flow chart of a virtual power plant configuration method that takes demand response into consideration, provided in an embodiment of the present application.
[0071] Figure 2 This is a schematic diagram of the internal structure of a virtual power plant configuration system that takes demand response into consideration, as provided in an embodiment of the present application.
[0072] Figure 3 This is a schematic diagram of the internal structure of a virtual power plant configuration device that takes demand response into consideration, as provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] It should be understood by those skilled in the art that the embodiments described below are only preferred embodiments of the present disclosure, and do not mean that the present disclosure can only be implemented through the preferred embodiments. The preferred embodiments are only used to explain the technical principles of the present disclosure, and are not used to limit the protection scope of the present disclosure. Based on the preferred embodiments provided by the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should still fall within the protection scope of the present disclosure.
[0074] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0075] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0076] The embodiment of the present application provides a virtual power plant configuration method considering demand response, such as Figure 1 As shown, the method provided in the embodiment of the present application mainly includes the following steps: Step 110: Obtain preset original data.
[0077] It should be noted that the preset original data is real-time data used to calculate the cost of virtual power plants participating in the electricity market, gas turbine costs, energy storage costs, and demand response costs.
[0078] Step 120: Obtain an objective function that minimizes the total cost of the virtual power plant.
[0079] It should be noted that the parameters in the objective function include at least: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost.
[0080] As an example, the objective function involved in this step may be specifically:
[0081] Wherein, t represents the tth time period in the preset total time period; T represents that the preset total time period is divided into T parts.
[0082] It represents the cost of the virtual power plant participating in the electricity market in the tth time period:
[0083] in, and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; and They respectively represent the purchase price and sales price of electricity in the tth time period of the electricity market.
[0084] It represents the gas turbine cost in the tth time period:
[0085] in, represents the startup cost of the gas turbine; is a 0-1 variable, indicating the working state of the gas turbine in the tth time period. It is defined as 1 if it is in working state, otherwise it is 0; represents the fixed linear cost of gas turbine operation; represents the power generation of the gas turbine in the tth time period; represents the start-up and shutdown costs of the gas turbine; It is a 0-1 variable, indicating the start and stop status of the gas turbine in the tth time period. It is defined as 1 if it is in the start state, otherwise it is 0.
[0086] Indicates the energy storage cost in the tth time period:
[0087] in, represents the energy storage dispatch cost; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0088] Demand response cost in time period t is represented by: , , ; in, represents the load transfer compensation fee paid by the virtual power plant to the user in the tth time period; represents the compensation price for load transfer in the tth time period; represents the load after transfer in the tth time period; represents the fixed load in the tth time period; represents the interrupted load compensation fee paid by the virtual power plant to the user in the tth time period; Indicates the interruption load level number; express Level interruption load compensation price; Represents the tth time period Level interruption load.
[0089] Step 130: Obtain constraint conditions.
[0090] The constraint conditions include: a constraint range of preset key data in preset original data.
[0091] The constraints involved in this step can be specifically: Obtain power market transaction constraints:
[0092]
[0093]
[0094] in, is a 0-1 variable, indicating Whether the virtual power plant purchases electricity during the period, if it does, it is defined as 1, otherwise it is 0; is a 0-1 variable, indicating whether the virtual power plant sells electricity in the tth time period. If so, it is defined as 1, otherwise 0; It indicates the maximum amount of electricity allowed in the electricity market; and They respectively represent the amount of electricity purchased and sold by the virtual power plant in the tth time period.
[0095] Get the gas turbine constraints:
[0096]
[0097]
[0098]
[0099] in, and They represent the upper and lower limits of the gas turbine output respectively; It represents the up and down ramp rate of the gas turbine; A 0-1 variable representing a gas turbine The working status of the time period is defined as 1 if it is in working status, otherwise it is 0; represents the power generation of the gas turbine in the tth time period; A 0-1 variable representing a gas turbine The start and stop status of the time period. If it is in the start state, it is defined as 1, otherwise it is 0.
[0100] Get energy storage constraints:
[0101]
[0102]
[0103] in, and Respectively represent the upper limits of the charging and discharging power of the energy storage battery; Indicates the amount of energy stored in the energy storage battery in the tth time period; Indicates the upper limit of the energy storage battery capacity; and Respectively represent the charging and discharging efficiency of the energy storage battery; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0104] Get demand response constraints:
[0105]
[0106]
[0107]
[0108] in, Indicates the maximum transfer load ratio; express Maximum interruption load ratio of level; Indicates the maximum continuous interruption load ratio.
[0109] Get the internal power constraints of the virtual power plant:
[0110] in, and Represent the power generation of wind turbines and photovoltaic units respectively; represents the load after transfer in the tth time period; Indicates the energy storage in the tth time period The charging power of electric vehicles, v∈[1,V], where V represents the total number of electric vehicles; Indicates the energy storage in the tth time period The discharge power of an electric vehicle.
[0111] Step 140: Input the constraints and objective function into a preset optimization algorithm to obtain an optimal solution for preset key data.
[0112] It should be noted that the preset optimization algorithm may be a linear programming, mixed integer programming or other algorithms.
[0113] In addition, the method also includes: obtaining preset original data through a preset data acquisition interface; obtaining an objective function that minimizes the total cost of the virtual power plant through a preset function acquisition interface; and obtaining constraint conditions through a preset condition acquisition interface.
[0114] besides, Figure 2 A virtual power plant configuration system considering demand response is provided in an embodiment of the present application. Figure 2 As shown, the system provided in the embodiment of the present application mainly includes: The acquisition module 210 is used to acquire preset raw data; wherein the preset raw data is real-time data used to calculate the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; acquire an objective function that minimizes the total cost of the virtual power plant; wherein the parameters in the objective function at least include: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; acquire constraint conditions; wherein the constraint conditions include: the constraint range of the preset key data in the preset raw data; The acquisition module 210 includes a target function; The specific objective function is:
[0115] Wherein, t represents the tth time period in the preset total time period; T represents that the preset total time period is divided into T parts.
[0116] It represents the cost of the virtual power plant participating in the electricity market in the tth time period:
[0117] in, and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; and They respectively represent the purchase price and sales price of electricity in the tth time period of the electricity market.
[0118] It represents the gas turbine cost in the tth time period:
[0119] in, represents the startup cost of the gas turbine; is a 0-1 variable, indicating the working state of the gas turbine in the tth time period. It is defined as 1 if it is in working state, otherwise it is 0; represents the fixed linear cost of gas turbine operation; represents the power generation of the gas turbine in the tth time period; represents the start-up and shutdown costs of the gas turbine; It is a 0-1 variable, indicating the start and stop status of the gas turbine in the tth time period. It is defined as 1 if it is in the start state, otherwise it is 0.
[0120] Indicates the energy storage cost in the tth time period:
[0121] in, represents the energy storage dispatch cost; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0122] Demand response cost in time period t is: , , ; in, represents the load transfer compensation fee paid by the virtual power plant to the user in the tth time period; represents the compensation price for load transfer in the tth time period; represents the load after transfer in the tth time period; represents the fixed load in the tth time period; represents the interrupted load compensation fee paid by the virtual power plant to the user in the tth time period; Indicates the interruption load level number; express Level interruption load compensation price; Represents the tth time period Level interruption load.
[0123] The acquisition module 210 includes constraints; The specific constraints are: Obtain power market transaction constraints:
[0124]
[0125]
[0126] in, is a 0-1 variable, indicating Whether the virtual power plant purchases electricity during the period, if it does, it is defined as 1, otherwise it is 0; is a 0-1 variable, indicating whether the virtual power plant sells electricity in the tth time period. If so, it is defined as 1, otherwise 0; It indicates the maximum amount of electricity allowed in the electricity market; and They respectively represent the amount of electricity purchased and sold by the virtual power plant in the tth time period.
[0127] Get the gas turbine constraints:
[0128]
[0129]
[0130]
[0131] in, and They represent the upper and lower limits of the gas turbine output respectively; It represents the up and down ramp rate of the gas turbine; A 0-1 variable representing a gas turbine The working status of the time period is defined as 1 if it is in working status, otherwise it is 0; represents the power generation of the gas turbine in the tth time period; A 0-1 variable representing a gas turbine The start and stop status of the time period. If it is in the start state, it is defined as 1, otherwise it is 0.
[0132] Get energy storage constraints:
[0133]
[0134]
[0135] in, and Respectively represent the upper limits of the charging and discharging power of the energy storage battery; Indicates the amount of energy stored in the energy storage battery in the tth time period; Indicates the upper limit of the energy storage battery capacity; and Respectively represent the charging and discharging efficiency of the energy storage battery; represents the charging power of the energy storage in the tth time period; Represents the discharge power of the energy storage in the tth time period.
[0136] Get demand response constraints:
[0137]
[0138]
[0139]
[0140] in, Indicates the maximum transfer load ratio; express Maximum interruption load ratio of level; Indicates the maximum continuous interruption load ratio.
[0141] Get the internal power constraints of the virtual power plant:
[0142] in, and Represent the power generation of wind turbines and photovoltaic units respectively; represents the load after transfer in the tth time period; Indicates the energy storage in the tth time period The charging power of electric vehicles, v∈[1,V], where V represents the total number of electric vehicles; Indicates the energy storage in the tth time period The discharge power of an electric vehicle.
[0143] The acquisition module 210 includes a preset data acquisition interface component, a preset function acquisition interface component, and a preset condition acquisition interface component; the preset data acquisition interface component is used to acquire preset original data through the preset data acquisition interface; the preset function acquisition interface component is used to acquire the objective function that minimizes the total cost of the virtual power plant through the preset function acquisition interface; the preset condition acquisition interface component is used to acquire constraints through the preset condition acquisition interface.
[0144] The acquisition module 220 is used to input the constraint conditions and the objective function into a preset optimization algorithm to obtain the optimal solution for the preset key data.
[0145] The above is a method embodiment of the present application. Based on the same inventive concept, the present application embodiment also provides a virtual power plant configuration device that takes demand response into consideration. Figure 3 As shown, the device includes: a processor; and a memory on which executable code is stored. When the executable code is executed, the processor executes a virtual power plant configuration method that considers demand response as in the above-mentioned embodiment.
[0146] Specifically, the server side obtains preset original data; wherein the preset original data is real-time data for calculating the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; obtains an objective function that minimizes the total cost of the virtual power plant; wherein the parameters in the objective function include at least: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; obtains constraints; wherein the constraints include: the constraint range of preset key data in the preset original data; inputs the constraints and the objective function into a preset optimization algorithm to obtain the optimal solution for the preset key data.
[0147] In addition, an embodiment of the present application further provides a non-volatile computer storage medium having executable instructions stored thereon, and when the executable instructions are executed, a virtual power plant configuration method considering demand response as described above is implemented.
[0148] So far, the technical solutions of the present disclosure have been described in combination with the above multiple embodiments, but it is easy for those skilled in the art to understand that the protection scope of the present disclosure is not limited to these specific embodiments. Without departing from the technical principles of the present disclosure, those skilled in the art can split and combine the technical solutions in the above-mentioned various embodiments, and can also make equivalent changes or replacements to the relevant technical features. Any changes, equivalent replacements, improvements, etc. made within the technical concept and / or technical principle of the present disclosure will fall within the protection scope of the present disclosure.
Claims
1. A virtual power plant configuration method considering demand response, characterized in that: The method comprises: Obtaining preset raw data; wherein the preset raw data is real-time data used to calculate the cost of a virtual power plant participating in the electricity market, gas turbine cost, energy storage cost, and demand response cost; Obtaining an objective function that minimizes the total cost of the virtual power plant; wherein the parameters in the objective function include at least: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; Obtaining constraint conditions; wherein the constraint conditions include: a constraint range of preset key data in preset original data; Input the constraints and objective function into the preset optimization algorithm to obtain the optimal solution for the preset key data.
2. The method for configuring a virtual power plant considering demand response according to claim 1, characterized in that: Obtain the objective function that minimizes the total cost of the virtual power plant, including: Wherein, t represents the tth time period in the preset total time period; T represents that the preset total time period is divided into T parts; It represents the cost of the virtual power plant participating in the electricity market in the tth time period: in, and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; and They represent the purchase price and sales price of electricity in the electricity market in the tth time period respectively; It represents the gas turbine cost in the tth time period: in, represents the startup cost of the gas turbine; is a 0-1 variable, indicating the working state of the gas turbine in the tth time period. It is defined as 1 if it is in working state, otherwise it is 0; represents the fixed linear cost of gas turbine operation; represents the power generation of the gas turbine in the tth time period; represents the start-up and shutdown costs of the gas turbine; is a 0-1 variable, indicating the start and stop status of the gas turbine in the tth time period. It is defined as 1 if it is in the start state, otherwise it is 0; Indicates the energy storage cost in the tth time period: in, represents the energy storage dispatch cost; represents the charging power of the energy storage in the tth time period; Indicates the discharge power of the energy storage in the tth time period; Demand response cost in time period t is represented by: , , ; in, represents the load transfer compensation fee paid by the virtual power plant to the user in the tth time period; represents the compensation price for load transfer in the tth time period; represents the load after transfer in the tth time period; represents the fixed load in the tth time period; represents the interrupted load compensation fee paid by the virtual power plant to the user in the tth time period; Indicates the interruption load level number; express Level interruption load compensation price; Represents the tth time period Level interruption load.
3. The method for configuring a virtual power plant considering demand response according to claim 1, characterized in that: Get constraints, including: Obtain power market transaction constraints: in, is a 0-1 variable, indicating Whether the virtual power plant purchases electricity during the period, if it does, it is defined as 1, otherwise it is 0; is a 0-1 variable, indicating whether the virtual power plant sells electricity in the tth time period. If so, it is defined as 1, otherwise 0; It indicates the maximum amount of electricity allowed in the electricity market; and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; Get the gas turbine constraints: in, and They represent the upper and lower limits of the gas turbine output respectively; It represents the up and down ramp rate of the gas turbine; It is a 0-1 variable, indicating the gas turbine The working status of the time period is defined as 1 if it is in working status, otherwise it is 0; represents the power generation of the gas turbine in the tth time period; It is a 0-1 variable, indicating the gas turbine The start and stop status of the time period, if it is in the start state, it is defined as 1, otherwise it is 0; Get energy storage constraints: in, and Respectively represent the upper limits of the charging and discharging power of the energy storage battery; Indicates the amount of energy stored in the energy storage battery in the tth time period; Indicates the upper limit of the energy storage battery capacity; and Respectively represent the charging and discharging efficiency of the energy storage battery; represents the charging power of the energy storage in the tth time period; Indicates the discharge power of the energy storage in the tth time period; Get demand response constraints: in, Indicates the maximum transfer load ratio; express Maximum interruption load ratio of level; Indicates the maximum continuous interruption load ratio; Get the internal power constraints of the virtual power plant: in, and Represent the power generation of wind turbines and photovoltaic units respectively; represents the load after transfer in the tth time period; Indicates the energy storage in the tth time period The charging power of electric vehicles, v∈[1,V], where V represents the total number of electric vehicles; Indicates the energy storage in the tth time period The discharge power of an electric vehicle.
4. The method for configuring a virtual power plant considering demand response according to claim 1, characterized in that: The method further comprises: Obtain preset raw data through the preset data acquisition interface; Obtain the objective function that minimizes the total cost of the virtual power plant through the preset function acquisition interface; Obtain constraints through the preset condition acquisition interface.
5. A virtual power plant configuration system considering demand response, characterized in that: The system comprises: An acquisition module is used to acquire preset raw data; wherein the preset raw data is real-time data used to calculate the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; acquire an objective function that minimizes the total cost of the virtual power plant; wherein the parameters in the objective function include at least: the cost of the virtual power plant participating in the electricity market, the gas turbine cost, the energy storage cost, and the demand response cost; acquire constraint conditions; wherein the constraint conditions include: the constraint range of the preset key data in the preset raw data; The acquisition module is used to input the constraints and objective functions into the preset optimization algorithm to obtain the optimal solution for the preset key data.
6. The virtual power plant configuration system considering demand response according to claim 5, characterized in that: The acquisition module includes the objective function; The specific objective function is: Wherein, t represents the tth time period in the preset total time period; T represents that the preset total time period is divided into T parts; It represents the cost of the virtual power plant participating in the electricity market in the tth time period: in, and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; and They represent the purchase price and sales price of electricity in the electricity market in the tth time period respectively; It represents the gas turbine cost in the tth time period: in, represents the startup cost of the gas turbine; is a 0-1 variable, indicating the working state of the gas turbine in the tth time period. It is defined as 1 if it is in working state, otherwise it is 0; represents the fixed linear cost of gas turbine operation; represents the power generation of the gas turbine in the tth time period; represents the start-up and shutdown costs of the gas turbine; is a 0-1 variable, indicating the start and stop status of the gas turbine in the tth time period. It is defined as 1 if it is in the start state, otherwise it is 0; Indicates the energy storage cost in the tth time period: in, represents the energy storage dispatch cost; represents the charging power of the energy storage in the tth time period; Indicates the discharge power of the energy storage in the tth time period; Demand response cost in time period t is represented by: , , ; in, represents the load transfer compensation fee paid by the virtual power plant to the user in the tth time period; represents the compensation price for load transfer in the tth time period; represents the load after transfer in the tth time period; represents the fixed load in the tth time period; represents the interrupted load compensation fee paid by the virtual power plant to the user in the tth time period; Indicates the interruption load level number; express Level interruption load compensation price; Represents the tth time period Level interruption load.
7. The virtual power plant configuration system considering demand response according to claim 5, characterized in that: The acquisition module includes constraints; The specific constraints are: Obtain power market transaction constraints: in, is a 0-1 variable, indicating Whether the virtual power plant purchases electricity during the period, if it does, it is defined as 1, otherwise it is 0; is a 0-1 variable, indicating whether the virtual power plant sells electricity in the tth time period. If so, it is defined as 1, otherwise 0; It indicates the maximum amount of electricity allowed in the electricity market; and They represent the power purchase and power sales of the virtual power plant in the tth time period respectively; Get the gas turbine constraints: in, and They represent the upper and lower limits of the gas turbine output respectively; It represents the up and down ramp rate of the gas turbine; It is a 0-1 variable, indicating the gas turbine The working status of the time period is defined as 1 if it is in working status, otherwise it is 0; represents the power generation of the gas turbine in the tth time period; It is a 0-1 variable, indicating the gas turbine The start and stop status of the time period, if it is in the start state, it is defined as 1, otherwise it is 0; Get energy storage constraints: in, and Respectively represent the upper limits of the charging and discharging power of the energy storage battery; Indicates the amount of energy stored in the energy storage battery in the tth time period; Indicates the upper limit of the energy storage battery capacity; and Respectively represent the charging and discharging efficiency of the energy storage battery; represents the charging power of the energy storage in the tth time period; Indicates the discharge power of the energy storage in the tth time period; Get demand response constraints: in, Indicates the maximum transfer load ratio; express Maximum interruption load ratio of level; Indicates the maximum continuous interruption load ratio; Get the internal power constraints of the virtual power plant: in, and Represent the power generation of wind turbines and photovoltaic units respectively; represents the load after transfer in the tth time period; Indicates the energy storage in the tth time period The charging power of electric vehicles, v∈[1,V], where V represents the total number of electric vehicles; Indicates the energy storage in the tth time period The discharge power of an electric vehicle.
8. The virtual power plant configuration system considering demand response according to claim 5, characterized in that: The acquisition module includes a preset data acquisition interface component, a preset function acquisition interface component, and a preset condition acquisition interface component; A preset data acquisition interface component is used to obtain preset raw data through a preset data acquisition interface; A preset function acquisition interface component is used to obtain the objective function that minimizes the total cost of the virtual power plant through the preset function acquisition interface; The preset condition acquisition interface component is used to obtain constraint conditions through the preset condition acquisition interface.
9. A virtual power plant configuration device considering demand response, characterized in that: The device comprises: processor; and a memory having executable code stored thereon, which, when executed, enables the processor to execute a method for configuring a virtual power plant taking demand response into consideration as described in any one of claims 1-4.
10. A non-volatile computer storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, they implement a method for configuring a virtual power plant taking demand response into consideration as described in any one of claims 1-4.
