Method for determining virtual power plant trading mechanism based on electric energy and power regulation

By constructing a transaction clearing model and iterative optimization processing, the problem of virtual power plant regulation capacity evaluation is solved, the utilization efficiency of power regulation resources is improved, and the impact of high penetration rate of new energy on the power system is reduced.

CN118432199BActive Publication Date: 2024-09-03THREE GORGES GRP ZHEJIANG ENERGY INVESTMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410874564.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-03
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

Existing technology cannot accurately evaluate the regulation capabilities of virtual power plants, making it difficult to quantify the true contribution of demand resources in power regulation, affecting resource attraction and regulation capabilities in the virtual power plant market.

Method used

By obtaining the electric energy demand and power regulation demand of the period to be traded, a transaction clearing model is constructed, and the active power and cost function of multiple units are combined to perform iterative optimization processing to determine the trading mechanism of the virtual power plant trading system and achieve the lowest cost power supply. Energy and power regulation demand distribution.

Benefits of technology

It improves the regulation capacity assessment of virtual power plants and the utilization efficiency of market resources, reduces the impact of high penetration rates of new energy on the power system, and promotes the flexibility and efficiency of the power market.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118432199B
    Figure CN118432199B
Patent Text Reader

Abstract

The present application provides a method for determining a virtual power plant trading mechanism based on electric energy and power regulation, and specifically relates to the technical field of power systems. The method obtains the electric energy demand and power regulation demand during the trading period. The electric energy demand and the power regulation demand are input into the transaction clearing model to obtain output variables. The transaction clearing model is determined based on the active power generated by multiple units in the virtual power plant trading system. The output variables are iteratively optimized to obtain the target output variables. According to the target output variables, the trading mechanism of the virtual power plant trading system during the trading period is determined. The method requires the lowest cost, reasonably allocates the electric energy demand and the power regulation demand, increases the regulation capacity of the virtual power plant by market means, and reduces the impact of the high penetration rate of new energy on the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a method for determining a virtual power plant trading mechanism based on electric energy and power regulation. Background Art

[0002] Renewable energy will certainly be widely used in the new power system of the future, but renewable energy is intermittent and uncertain. When the penetration rate of renewable energy in the system is high, it is difficult to rely on it to balance the regulation needs of the power system. As a special power plant participating in the power market and power grid operation, the virtual power plant can tap the regulation capabilities of each member in the market, help integrate renewable energy, reduce the power balancing burden of traditional units, and promote the consumption of a large amount of renewable energy.

[0003] In the existing methods, a virtual power plant is a collection of multiple distributed energy resources (such as solar energy, wind energy, energy storage, etc.), which realizes the production, storage and regulation of electricity through an intelligent control system. In the virtual power plant market trading mechanism, participants can trade and regulate electricity through the market platform according to their own energy production capacity and demand. This mechanism can help optimize the utilization of energy resources and improve the efficiency and flexibility of the energy market. In recent years, the virtual power plant market trading mechanism has been widely studied, mainly focusing on the allocation mechanism, optimization and allocation, bidding schemes and operation strategies of virtual power grids, which has solved the market trading problems of virtual power plants to a certain extent. Through these trading mechanisms, virtual power plants can realize real-time monitoring, regulation and trading of electricity, so as to better adapt to market demand and energy supply and demand.

[0004] Although a lot of research has been carried out on the market trading mechanism of virtual power plants, there are few evaluation methods for the value of electric energy and power regulation, and it is impossible to accurately evaluate the regulation capacity of virtual power plants. Therefore, it is difficult to quantify the real contribution of demand resources in power regulation, which is not conducive to attracting abundant flexible regulation resources into the market. Summary of the invention

[0005] The present application provides a method for determining a virtual power plant trading mechanism based on electric energy and power regulation, so as to solve the problem that the existing technology cannot accurately evaluate the regulation capability of the virtual power plant, so it is difficult to quantify the real contribution of demand-side resources in power regulation.

[0006] In a first aspect, the present application provides a method for determining a virtual power plant transaction mechanism based on electric energy and power regulation, comprising:

[0007] Obtain the electric energy demand and power regulation demand during the trading period;

[0008] Inputting the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain an output variable, wherein the transaction clearing model is determined according to the active power generated by multiple units in the virtual power plant transaction system;

[0009] Iteratively optimizing the output variables to obtain target output variables;

[0010] According to the target output variable, the trading mechanism of the virtual power plant trading system in the waiting trading period is determined.

[0011] Optionally, the multiple units include: traditional generator sets, new energy generator sets, virtual power plants, and adjustable loads. Before inputting the electric energy demand and the electric power regulation demand into the transaction clearing model, the method further includes:

[0012] Respectively obtaining the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load;

[0013] According to the active power, respectively determining the cost functions of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load;

[0014] The transaction clearing model is constructed according to the multiple cost functions.

[0015] Optionally, the active power includes: electric energy active power and electric power regulation active power, and the cost functions of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load are determined respectively according to the active power, including:

[0016] Determine the electric energy cost function and the electric power demand cost function of the traditional generator set according to the electric energy active power of the traditional generator set and the electric power regulation active power of the traditional generator set;

[0017] Determine the electric energy cost function and the electric power demand cost function of the new energy generator set according to the electric energy active power of the new energy generator set and the electric power regulation active power of the new energy generator set;

[0018] Determining a power demand cost function of the virtual power plant according to the power regulation active power of the virtual power plant;

[0019] The power demand cost function of the adjustable load is determined according to the power regulation active power of the adjustable load.

[0020] Optionally, constructing the transaction clearing model according to the multiple cost functions includes:

[0021] The cost function of the traditional generator set, the cost function of the new energy generator set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load are added together to obtain a cost model;

[0022] Determine a power regulation cost function according to the power demand cost function of the traditional power generation set, the power demand cost function of the new energy power generation set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load;

[0023] The transaction clearing model is determined according to the cost model, the electric energy balance function and the electric power regulation cost function.

[0024] Optionally, the inputting the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain output variables includes:

[0025] Determining whether the electric energy demand meets the electric power regulation demand;

[0026] If the electric energy demand meets the electric power regulation demand, determining a target output variable according to the cost model;

[0027] If the electric energy demand does not meet the power regulation demand, the electric energy demand and the power regulation demand are input into the transaction clearing model to obtain an output variable.

[0028] Optionally, the output variables include: generator set output power, generator set power regulation requirements, virtual power plant power regulation requirements and adjustable load, and the iterative optimization process of the output variables to obtain the target output variables includes:

[0029] Determining a bilinear multiplication term according to the output variable, wherein the bilinear multiplication term is located in the power regulation cost function of the transaction clearing model for solving the output variable;

[0030] The bilinear multiplication term is replaced to obtain a first auxiliary variable;

[0031] Performing iterative optimization processing on the first auxiliary variable to obtain a second auxiliary variable;

[0032] Determining whether the first auxiliary variable and the second auxiliary variable meet a preset condition;

[0033] If the first auxiliary variable and the second auxiliary variable meet a preset condition, the second auxiliary variable is replaced to obtain a target output variable.

[0034] Optionally, the iterative optimization processing of the first auxiliary variable to obtain the second auxiliary variable includes:

[0035] Obtain the n-th adjustable variable and the n-th first auxiliary variable;

[0036] The second auxiliary variable for the n+1th time is determined according to the electric energy transaction price, the nth adjustable variable and the nth first auxiliary variable.

[0037] In a second aspect, the present application provides a device for determining a virtual power plant transaction mechanism based on electric energy and power regulation, comprising:

[0038] An acquisition module, used to acquire the electric energy demand and electric power regulation demand during the trading period;

[0039] An input module, used for inputting the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain an output variable, wherein the transaction clearing model is determined according to the active power generated by multiple units in the virtual power plant transaction system;

[0040] A processing module, used for iteratively optimizing the output variables to obtain target output variables;

[0041] A determination module is used to determine the trading mechanism of the virtual power plant trading system in the waiting trading period according to the target output variable.

[0042] Optionally, the device further comprises: a construction module;

[0043] The acquisition module is further used to respectively acquire the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load;

[0044] The determination module is further used to determine the cost functions of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load respectively according to the active power;

[0045] The construction module is used to construct the transaction clearing model according to the multiple cost functions.

[0046] Optionally, the determination module is further used to determine the electric energy cost function and the electric power demand cost function of the traditional generator set according to the electric energy active power of the traditional generator set and the electric power regulation active power of the traditional generator set;

[0047] The determination module is further used to determine the electric energy cost function and the electric power demand cost function of the new energy generator set according to the electric energy active power of the new energy generator set and the electric power regulation active power of the new energy generator set;

[0048] The determination module is further configured to determine the power demand cost function of the virtual power plant according to the power adjustment active power of the virtual power plant;

[0049] The determination module is further used to determine the power demand cost function of the adjustable load according to the power adjustment active power of the adjustable load.

[0050] Optionally, the processing module is further used to add the cost function of the traditional generator set, the cost function of the new energy generator set, the power demand cost function of the virtual power plant, and the power demand cost function of the adjustable load to obtain a cost model;

[0051] The determination module is further used to determine the power regulation cost function according to the power demand cost function of the traditional generator set, the power demand cost function of the new energy generator set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load;

[0052] The determination module is further used to determine the transaction clearing model according to the cost model, the electric energy balance function and the electric power regulation cost function.

[0053] Optionally, the device further includes: a judgment module;

[0054] The judging module is further used to judge whether the electric energy demand meets the electric power regulation demand;

[0055] The determination module is further configured to determine a target output variable according to the cost model if the electric energy demand satisfies the electric power regulation demand;

[0056] The input module is also used to input the electric energy demand and the electric power regulation demand into the transaction clearing model to obtain an output variable if the electric energy demand does not meet the electric power regulation demand.

[0057] Optionally, the determination module is further used to determine a bilinear multiplication term according to the output variable, wherein the bilinear multiplication term is located in the power regulation cost function of the transaction clearing model for solving the output variable;

[0058] The processing module is further used to perform replacement processing on the bilinear multiplication term to obtain a first auxiliary variable;

[0059] The processing module is further used to perform iterative optimization processing on the first auxiliary variable to obtain a second auxiliary variable;

[0060] The judging module is further configured to judge whether the first auxiliary variable and the second auxiliary variable meet a preset condition;

[0061] The processing module is further configured to perform a replacement process on the second auxiliary variable to obtain a target output variable if the first auxiliary variable and the second auxiliary variable meet a preset condition.

[0062] Optionally, the acquisition module is further used to acquire the n-th adjustable variable and the n-th first auxiliary variable;

[0063] The determination module is further used to determine the (n+1)th second auxiliary variable according to the electric energy trading price, the nth adjustable variable and the nth first auxiliary variable.

[0064] In a third aspect, the present application provides a device for determining a virtual power plant transaction mechanism based on electric energy and power regulation, the device comprising:

[0065] Memory;

[0066] processor;

[0067] Wherein, the memory stores computer-executable instructions;

[0068] The processor executes the computer-executable instructions stored in the memory to implement the method for determining the virtual power plant trading mechanism based on electric energy and power regulation as described in the first aspect and various possible implementation methods of the first aspect.

[0069] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement a method for determining a virtual power plant trading mechanism based on electric energy and power regulation as described in the first aspect and various possible implementation methods of the first aspect.

[0070] The method for determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the present application is achieved by obtaining the electric energy demand and power regulation demand during the trading period. The electric energy demand and power regulation demand are input into the trading clearing model to obtain the output variable, and the trading clearing model is determined based on the active power generated by multiple units in the virtual power plant trading system. The output variables are iteratively optimized to obtain the target output variables. Based on the target output variables, the trading mechanism of the virtual power plant trading system during the trading period is determined. This method requires the lowest cost, reasonably allocates the electric energy demand and power regulation demand, uses market means to increase the regulation capacity of the virtual power plant, and reduces the impact of the high penetration rate of new energy on the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0071] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0072] Figure 1 Schematic diagram of the process of determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the embodiment of the present application Figure 1 ;

[0073] Figure 2 Schematic diagram of the process of determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the embodiment of the present application Figure 2 ;

[0074] Figure 3 Schematic diagram of the process of determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the embodiment of the present application Figure 3 ;

[0075] Figure 4 A schematic diagram of the structure of a device for determining a virtual power plant trading mechanism based on electric energy and power regulation provided in this application;

[0076] Figure 5 A schematic diagram of the structure of the device for determining the virtual power plant trading mechanism based on electric energy and power regulation provided in this application.

[0077] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0078] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims, rather than all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0079] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, products or devices.

[0080] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0081] Energy position refers to the electric energy actually converted and generated within a certain time period T, which corresponds to the commodity attributes of electricity; energy transfer refers to the dynamic real-time balance attributes of electricity within any time period.

[0082] Generally, both power generation equipment and power loads have power attributes and power regulation attributes. The power attribute refers to the amount of electric energy generated or consumed per unit time without considering the regulation and fluctuation of the power generation equipment or power load, so its power P can be expressed as:

[0083]

[0084] in, is the power operator, p is the actual power of the power generation equipment or power load, is the value of the electric energy of the power generation equipment or power load in all time periods within the time period T, the set Each period of It can be expressed by the actual average value of electrical energy during this period:

[0085]

[0086] in, is the actual power of the power generation equipment or power load in the T period, T is total time period. The difference between the actual power P represents the change in power that needs to be adjusted during the time period T. :

[0087]

[0088] when When , indicating that the power regulation needs to increase the amount of electric energy; when When , indicating that the power regulation needs to reduce the amount of electricity at this time, which can be understood as a simple transfer of electricity in time. The vector p is the value of the energy transfer of the power generation equipment or the power load in all time periods within the time period T. When the virtual power plant is adjusted, it needs to meet the increase and decrease in a day. They are numerically equal and can be expressed as:

[0089]

[0090] Where: I represents a T×1-dimensional vector whose elements are all 1.

[0091] There are four typical resources in the power system, mainly including: traditional generators, new energy generators, adjustable loads and virtual power plants. Among them, traditional generators, adjustable loads and virtual power plants are adjustable resources, while new energy generators are non-adjustable resources. The output power is volatile and random, that is, while generating electric energy, it will generate corresponding power regulation needs. At this time, other equipment is needed to generate opposite power regulation needs to balance the fluctuations generated.

[0092] The power regulation demand generated by the new energy generator set can be expressed as: .

[0093] It should be noted that traditional generators, adjustable loads, and virtual power plants may be limited by their own adjustment capabilities. Once they exceed their adjustable boundaries, they will be transformed from adjustable resources to non-adjustable resources. At this time, corresponding power adjustment requirements will also be generated. Therefore, it is necessary to introduce the power adjustment requirement variable n for adjustable resources. Then the power adjustment demand N of the entire system can be expressed as: .

[0094] Among them, N represents the total amount of power regulation that needs to be provided to meet the balance of the power system by traditional generators, adjustable loads, virtual power plants and other adjustable resources.

[0095] When conducting market transactions, the power regulation demand is a continuous physical quantity related to time. For any participant, every increase or decrease in the power regulation demand by one unit leads to a change in the power regulation demand of the entire power system, that is, the marginal utility of power regulation. Considering that power regulation is a vector, when a unit change occurs, it is not just a traditional differential change, but needs to be expanded to the functional space combined with the support derivative for calculation.

[0096] First, the power regulation vector p needs to be standardized. By using its 2-norm as its reference value, it can be expressed as:

[0097]

[0098] For the normalized vector , its marginal utility can be expressed as:

[0099]

[0100] Among them, the vector U (P) represents the marginal utility of power regulation of power generation equipment or power load, represents the coefficient of variation, represents the standardized vector, and N represents the total amount of power regulation required for the entire system.

[0101] Marginal utility is the change in the system and the coefficient of incremental change The ratio of , in this case, the 2-norm expansion can be simplified:

[0102]

[0103] U(P) can be simplified as:

[0104]

[0105] in, Represents the shape of the power regulation curve required for the entire system.

[0106] Renewable energy will certainly be widely used in the new power system of the future, but renewable energy is intermittent and uncertain. When the penetration rate of renewable energy in the system is high, it is difficult to rely on it to balance the regulation needs of the power system. As a special power plant participating in the power market and power grid operation, the virtual power plant can tap the regulation capabilities of each member in the market, help integrate renewable energy, reduce the power balancing burden of traditional units, and promote the consumption of a large amount of renewable energy.

[0107] In the existing methods, a virtual power plant is a collection of multiple distributed energy resources (such as solar energy, wind energy, energy storage, etc.), which realizes the production, storage and regulation of electricity through an intelligent control system. In the virtual power plant market trading mechanism, participants can trade and regulate electricity through the market platform according to their own energy production capacity and demand. This mechanism can help optimize the utilization of energy resources and improve the efficiency and flexibility of the energy market. In recent years, the virtual power plant market trading mechanism has been widely studied, mainly focusing on the allocation mechanism, optimization and allocation, bidding schemes and operation strategies of virtual power grids, which has solved the market trading problems of virtual power plants to a certain extent. Through these trading mechanisms, virtual power plants can realize real-time monitoring, regulation and trading of electricity, so as to better adapt to market demand and energy supply and demand.

[0108] Although a lot of research has been carried out on the market trading mechanism of virtual power plants, there are few evaluation methods for the value of electric energy and power regulation, and it is impossible to accurately evaluate the regulation capacity of virtual power plants. Therefore, it is difficult to quantify the real contribution of demand resources in power regulation, which is not conducive to attracting abundant flexible regulation resources into the market.

[0109] In response to the above problems, the present application proposes a method for determining a virtual power plant trading mechanism based on electric energy and power regulation. The method establishes electric energy and power regulation models for traditional power generators, new energy power generators, virtual power plants, and adjustable loads, and proposes a virtual market trading mechanism that can reflect the electric energy and power regulation value of the regulating equipment, facilitate the pricing and trading of the regulation value of the virtual power plant, and realize systematic modeling and related benefit calculation of the virtual power plant's regulation resources, provision of services, and generation of value.

[0110] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0111] Figure 1 Schematic diagram of the process of determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the embodiment of the present application Figure 1 The execution subject of this embodiment is applied to the virtual power plant trading system. Figure 1 As shown, the method includes:

[0112] S101: Obtaining the electric energy demand and electric power regulation demand during the trading period.

[0113] It can be understood that the virtual power plant trading system can adjust electricity according to user needs, select the trading plan with the lowest cost, realize system modeling and related benefit calculation of virtual power plant's resource regulation, service provision and value generation, and propose a virtual market trading mechanism on this basis.

[0114] S102: Input the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain output variables. The transaction clearing model is determined based on the active power generated by multiple units in the virtual power plant transaction system.

[0115] It can be understood that the user demand is input into the transaction clearing model designed in advance to obtain the electric energy and power regulation values ​​of each regulating equipment unit. The specific process is detailed below and will not be repeated here.

[0116] S103: performing iterative optimization processing on the output variable to obtain a target output variable.

[0117] It can be understood that in order to minimize the total operating cost of the output variable, which is the electric energy and power regulation of different units in the allocation mechanism of the virtual power plant, a penalty function is used to iteratively calculate the output variable to find the target output variable with the lowest cost. The specific process is described below and will not be repeated here.

[0118] S104: Determine the trading mechanism of the virtual power plant trading system in the waiting trading period according to the target output variable.

[0119] It can be understood that the target output variables include: generator set output power, generator set power regulation demand, virtual power plant power regulation demand and adjustable load. Pricing and trading are carried out according to the target output variables. The regulation capacity of the virtual power plant can be increased through market means, reducing the impact of the high penetration rate of new energy on the power system.

[0120] The method for determining the virtual power plant trading mechanism based on electric energy and power regulation provided in this embodiment obtains the electric energy demand and power regulation demand in the trading period. The electric energy demand and power regulation demand are input into the trading clearing model to obtain the output variable. The trading clearing model is determined based on the active power generated by multiple units in the virtual power plant trading system. The output variables are iteratively optimized to obtain the target output variables. According to the target output variables, the trading mechanism of the virtual power plant trading system in the trading period is determined. This method requires the lowest cost, reasonably allocates the electric energy demand and power regulation demand, increases the regulation capacity of the virtual power plant by market means, and reduces the impact of the high penetration rate of new energy on the power system.

[0121] Figure 2Schematic diagram of the process of determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the embodiment of the present application Figure 2 This embodiment is in Figure 1 Based on the examples, a detailed description of constructing a transaction clearing model is provided. Figure 2 As shown, the method includes:

[0122] S201: respectively obtaining the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load.

[0123] It can be understood that the four typical resources in the power system mainly include: traditional generators, new energy generators, adjustable loads and virtual power plants. The nodes connected to the traditional generators in the entire system are represented by set g, the nodes connected to the virtual power plants are represented by set v, the nodes connected to the new energy generators are represented by set r, and the adjustable load units are represented by set i.

[0124] Among them, the node is a collection of data, corresponding to the busbar of the operating power grid, that is, the busbar of the power system. All busbar nodes in a certain area are represented by a collection. Each node has only the inflow and outflow of electric energy, which is the electric energy generated by the unit and the power regulation demand, which is displayed as the electric energy and power regulation demand generated by the busbar connected to the generator set. The electric energy and power regulation demand are specific values, which can be obtained based on the actual operation data of the power grid.

[0125] S202: Determine an electric energy cost function and an electric power demand cost function of the traditional generator set according to the electric energy active power of the traditional generator set and the electric power regulation active power of the traditional generator set.

[0126] It is understandable that the active power generated by any traditional generator set i is , It can be expressed by two vectors: electrical energy and power regulation:

[0127]

[0128] in, Indicates the unit i The amount of electrical energy generated, Indicates the unit i The electricity demand generated.

[0129] When the market is clearing, traditional generators can provide both electricity and power regulation, so their cost is The function can be expressed as:

[0130]

[0131] in, Indicates the unit i The cost function of the generated electrical energy, Indicates the unit i The resulting electricity demand cost function. Represent the cost coefficients of the quadratic term, the linear term and the constant term, respectively. I represents the T-dimensional unit matrix, and 1 represents a column vector whose T-dimensional elements are all 1.

[0132] S203: Determine the electric energy cost function and the electric power demand cost function of the new energy generator set according to the electric energy active power of the new energy generator set and the electric power regulation active power of the new energy generator set.

[0133] It can be understood that the active power generated by any new energy generator set i in the system is , It can be expressed by two vectors: electric energy and power regulation. Without considering the abandonment of wind and solar power, the new energy generator sets mainly provide electric energy, so , the cost function of new energy generator sets It can be expressed as:

[0134]

[0135] in, They represent the cost coefficients of the quadratic term, linear term and constant term respectively, I represents the unit matrix of T dimension, and 1 represents a column vector whose T dimension elements are all 1.

[0136] S204: Determine the power demand cost function of the virtual power plant according to the power regulation active power of the virtual power plant.

[0137] It can be understood that the active power generated by any virtual power plant unit i is , It can be represented by two vectors: electric energy and power regulation. However, considering that the virtual power plant is mainly involved in the task of power regulation, the situation where the virtual power plant provides electric energy is not considered at this time. The power demand cost function of the virtual power plant is It can be expressed as:

[0138]

[0139] in, is the cost coefficient. It should be noted that and Although the form is the same, its cost coefficient and Usually satisfied Because of the relationship between the two, virtual power plants take precedence over traditional power generating units in assuming the task of power regulation within the system.

[0140] S205: Determine the power demand cost function of the adjustable load according to the power adjustment active power of the adjustable load.

[0141] It can be understood that the active power generated by any adjustable load unit i in the virtual power plant is , the adjustable load does not generate electrical energy and is only used to respond to grid dispatch instructions, so it only has the ability to regulate power. The power demand cost function of the adjustable load in the virtual power plant It can be expressed as:

[0142]

[0143] in, It is the load regulation cost coefficient.

[0144] S206: The cost function of the traditional power generation set, the cost function of the new energy power generation set, the power demand cost function of the virtual power plant, and the power demand cost function of the adjustable load are added together to obtain a cost model.

[0145] It can be understood that the cost model mainly includes the electric energy cost function and the power regulation cost function, among which the electric energy cost is mainly generated by traditional generators, because the electric energy cost is the cost required to generate electricity, and the traditional generator is a thermal power unit, the cost of purchasing coal, new energy photovoltaic and wind power generation usually do not require cost, and the virtual power plant cannot generate electricity, but is only a platform for regulating the demand side and the supply side, so the electric energy is only generated by traditional generators. The power regulation part is jointly borne by traditional generators, virtual power plants and adjustable loads. Therefore, the cost model is expressed as:

[0146]

[0147] S207: Determine a power regulation cost function according to the power demand cost function of the traditional power generating set, the power demand cost function of the new energy power generating set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load.

[0148] It is understandable that in the process of model construction, the balance of the power regulation process needs to be considered as a constraint condition for solving the objective function. However, when calculating the marginal utility of power regulation, it is difficult to solve if the marginal equation of power regulation is directly introduced into the model. Therefore, some assumptions need to be made here. Assume that there is no unbalanced power regulation demand in the system, and the transaction is carried out according to the final power regulation price when clearing. At this time, the power demand N of the system can be expressed as:

[0149]

[0150] Where N represents the power regulation gap of the system. When the power in the system is sufficient to meet its power regulation needs, N is a zero vector, that is, N=0. The power regulation cost C(N) caused by the power regulation gap can be expressed as:

[0151]

[0152] in, is the clearing price of the trading market.

[0153] S208: Determine the transaction clearing model according to the cost model, the electric energy balance function and the electric power regulation cost function.

[0154] It is understandable that the balance of the power regulation process is a constraint condition for solving the target result. However, when calculating the marginal utility of power regulation, it is difficult to solve if the marginal equation of power regulation is directly substituted into the model. Therefore, the power balance equation is not considered as a constraint condition here. When the power regulation is unbalanced, a power gap will be generated, that is, the power regulation gap. The power regulation cost C(N) generated by the power regulation gap should also be considered in the target model, forming a two-layer optimization model with the cost model.

[0155] The two-layer optimization model is also called the transaction clearing model. The transaction clearing model is expressed as:

[0156]

[0157] Understandably, from a global perspective, the total cost can be achieved by optimizing the power and power regulation requirements between different units. The power gap adjustment cost C(N) is the smallest, but at the same time, it is necessary to consider and To get the maximum penalty, thus reflecting the whole system's demand for power regulation, in layman's terms, it is to regulate and To make the penalty as large as possible and make N as small as possible.

[0158] When the power regulation demand of the system cannot be met, and the quotations of traditional generators and virtual power plants are too high and exceed their upper limit prices, the vector N is no longer a 0 vector. At this time, it is necessary to consider adding new generators, abandoning new energy or removing loads to obtain additional power regulation capabilities. The inner constraints are and , the outer constraint is the balance between electric energy and power regulation demand, where the balance of power regulation demand is achieved by increasing the penalty term of power gap regulation. The balance of electric energy can be expressed as:

[0159]

[0160] The elements in the energy vector of any adjustable resource are equal, so the energy constraint can be expressed by an equation. In addition, the operating constraints of traditional generators, new energy generators, virtual power plants, and adjustable loads must also be considered, namely .

[0161] The method for determining the virtual power plant transaction mechanism based on electric energy and power regulation provided in this embodiment determines the electric energy cost function and power demand cost function of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load according to the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load. The electric energy cost function of the traditional generator set, the power demand cost function of the traditional generator set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load are added to obtain a cost model. According to the power demand cost functions of multiple units, the power regulation cost function is determined. According to the cost model and the power regulation cost function, the transaction clearing model is determined. This method constructs a model that can minimize the power cost by determining the adjustable electric energy of multiple units of the virtual power plant, so that the lowest cost electric energy allocation plan can be directly selected according to needs in the subsequent use process.

[0162] Figure 3 Schematic diagram of the process of determining the virtual power plant trading mechanism based on electric energy and power regulation provided in the embodiment of the present application Figure 3 This embodiment is in Figure 1 Based on the embodiments, a detailed description of the method for determining a virtual power plant trading mechanism based on electric energy and power regulation is provided. Figure 3 As shown, the method includes:

[0163] S301: Obtaining the electric energy demand and electric power regulation demand during the trading period.

[0164] Among them, step S301 is similar to step S101 and will not be repeated here.

[0165] S302: Determine whether the electric energy demand meets the power regulation demand, if so, execute step S303, if not, execute step S304.

[0166] S303: Determine the target output variable according to the cost model.

[0167] It can be understood that if the power regulation demand meets the demand for electric energy, there will be no additional power regulation gap. At this time, the power regulation demand is 0. It is only necessary to allocate the electric energy according to the cost model and output the target output variable.

[0168] S304: Inputting the electric energy demand and the electric power regulation demand into the transaction clearing model to obtain output variables.

[0169] Understandably, when the power regulation needs of the system cannot be met, the quotations of traditional generators, virtual power plants, etc. are too high and exceed their upper limit. When the price is equal to zero, the vector N is no longer a zero vector. At this time, it is necessary to consider adding new generators, abandoning new energy or removing loads to obtain additional power regulation capabilities. Therefore, the transaction clearing model is used to distribute electric energy. According to the transaction clearing model, external constraints (power regulation balance) and internal constraints (transaction price and vector constraints), the output variables are obtained: generator output power, generator power regulation demand, virtual power plant power regulation demand and adjustable load.

[0170] S305: Determine a bilinear multiplication term according to the output variable, wherein the bilinear multiplication term is located in the power regulation cost function of the transaction clearing model for solving the output variable.

[0171] It is understandable that in order to make the output variable the optimal value, it is necessary to constrain the penalty term of the power regulation gap in the model function. According to the result value of the output variable, the bilinear multiplication term in the penalty function corresponding to the output variable is determined. .

[0172] S306: Perform replacement processing on the bilinear multiplication term to obtain a first auxiliary variable.

[0173] It is understandable that in order to deal with the bilinear multiplication term in the penalty function ,and is a scalar that can be Replace with auxiliary variables To solve.

[0174] S307: Determine a second auxiliary variable according to the first auxiliary variable and the adjustable load.

[0175] Optionally, obtaining the n-th adjustable variable and the n-th first auxiliary variable;

[0176] The second auxiliary variable for the n+1th time is determined according to the electric energy transaction price, the nth adjustable variable and the nth first auxiliary variable.

[0177] Understandable, auxiliary variables The determination formula for multiple inner layer iterations is:

[0178]

[0179] in, is the first auxiliary variable, It is the second auxiliary variable. n is the number of time steps determined according to the output result accuracy required by the user. The traversal calculation is performed according to the set time step, and the results after the traversal calculation are sorted to obtain the minimum transaction price.

[0180] S308: Determine whether the first auxiliary variable and the second auxiliary variable meet a preset condition, if so, execute step S309, if not, execute step S305.

[0181] It can be understood that the auxiliary variable corresponding to the minimum transaction price must meet the preset conditions. All the determined auxiliary variables are screened and judged by the preset conditions, and the judgment subjects of the preset conditions must be two adjacent auxiliary variables. The judgment formula of the preset conditions is:

[0182]

[0183] S309: Perform replacement processing on the second auxiliary variable to obtain a target output variable.

[0184] It can be understood that if the auxiliary variable meets the preset conditions, the second auxiliary variable at this time is used Restore the bilinear variables, and at the same time, the quotation of the virtual power plant must be within the set price range. According to the transaction price in the second auxiliary variable and the adjustable load variable corresponding to the second auxiliary variable, output the final generator set output power , Power regulation requirements of generator sets , Virtual power plant power regulation requirements And adjustable load As a trading solution.

[0185] Among them, the formula for recovering bilinear variables is:

[0186]

[0187] The method for determining the virtual power plant trading mechanism based on electric energy and power regulation provided in this embodiment is by obtaining the electric energy demand and power regulation demand in the trading period. Determine whether the electric energy demand meets the power regulation demand. If so, determine the target output variable according to the cost model. If not, input the electric energy demand and the power regulation demand into the transaction clearing model to obtain the output variable. According to the output variable, determine the bilinear multiplication term. Replace the bilinear multiplication term to obtain the first auxiliary variable. Determine the second auxiliary variable according to the first auxiliary variable and the adjustable load. Determine whether the first auxiliary variable and the second auxiliary variable meet the preset conditions. If so, replace the second auxiliary variable to obtain the target output variable. This method optimizes and iterates the output regulation variables, and can find the lowest cost trading mechanism, which is convenient for pricing and trading the regulation value of the virtual power plant.

[0188] Figure 4 This is a schematic diagram of the structure of the device for determining the virtual power plant trading mechanism based on electric energy and power regulation provided in this application. Figure 4 As shown, the virtual power plant transaction mechanism determination device 400 based on electric energy and power regulation provided by the present application includes:

[0189] The acquisition module 401 is used to acquire the electric energy demand and the electric power regulation demand during the transaction period;

[0190] An input module 402, used to input the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain an output variable, wherein the transaction clearing model is determined according to the active power generated by multiple units in the virtual power plant transaction system;

[0191] The processing module 403 is used to perform iterative optimization processing on the output variable to obtain a target output variable;

[0192] The determination module 404 is used to determine the trading mechanism of the virtual power plant trading system in the waiting trading period according to the target output variable.

[0193] Optionally, the device further includes: a construction module 405;

[0194] The acquisition module 401 is further used to respectively acquire the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load;

[0195] The determination module 404 is further used to determine the cost functions of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load respectively according to the active power;

[0196] The construction module 405 is used to construct the transaction clearing model according to the multiple cost functions.

[0197] Optionally, the determination module 404 is further configured to determine the electric energy cost function and the electric power demand cost function of the traditional generator set according to the electric energy active power of the traditional generator set and the electric power regulation active power of the traditional generator set;

[0198] The determination module 404 is further used to determine the electric energy cost function and the electric power demand cost function of the new energy generator set according to the electric energy active power of the new energy generator set and the electric power regulation active power of the new energy generator set;

[0199] The determination module 404 is further configured to determine the power demand cost function of the virtual power plant according to the power adjustment active power of the virtual power plant;

[0200] The determination module 404 is further configured to determine the power demand cost function of the adjustable load according to the power adjustment active power of the adjustable load.

[0201] Optionally, the processing module 403 is further used to add the cost function of the traditional generator set, the cost function of the new energy generator set, the power demand cost function of the virtual power plant, and the power demand cost function of the adjustable load to obtain a cost model;

[0202] The determination module 404 is further configured to determine a power regulation cost function according to the power demand cost function of the traditional generator set, the power demand cost function of the new energy generator set, the power demand cost function of the virtual power plant, and the power demand cost function of the adjustable load;

[0203] The determination module 404 is further configured to determine the transaction clearing model according to the cost model, the electric energy balance function and the electric power regulation cost function.

[0204] Optionally, the device further includes: a judgment module 406;

[0205] The judging module 406 is further configured to judge whether the electric energy demand meets the electric power regulation demand;

[0206] The determination module 404 is further configured to determine a target output variable according to the cost model if the electric energy demand meets the electric power regulation demand;

[0207] The input module 402 is further used to input the electric energy demand and the electric power regulation demand into the transaction clearing model to obtain an output variable if the electric energy demand does not meet the electric power regulation demand.

[0208] Optionally, the determination module 404 is further configured to determine a bilinear multiplication term according to the output variable, wherein the bilinear multiplication term is located in the power regulation cost function of the transaction clearing model for solving the output variable;

[0209] The processing module 403 is further used to perform a replacement process on the bilinear multiplication term to obtain a first auxiliary variable;

[0210] The processing module 403 is further used to perform iterative optimization processing on the first auxiliary variable to obtain a second auxiliary variable;

[0211] The judging module 406 is further configured to judge whether the first auxiliary variable and the second auxiliary variable satisfy a preset condition;

[0212] The processing module 403 is further configured to perform a replacement process on the second auxiliary variable to obtain a target output variable if the first auxiliary variable and the second auxiliary variable meet a preset condition.

[0213] Optionally, the acquisition module 401 is further used to acquire the n-th adjustable variable and the n-th first auxiliary variable;

[0214] The determination module 404 is further configured to determine the (n+1)th second auxiliary variable according to the electric energy transaction price, the nth adjustable variable and the nth first auxiliary variable.

[0215] Figure 5 This is a schematic diagram of the structure of the device for determining the virtual power plant trading mechanism based on electric energy and power regulation provided in this application. Figure 5 As shown, the present application provides a device for determining a virtual power plant trading mechanism based on electric energy and power regulation. The device 500 for determining a virtual power plant trading mechanism based on electric energy and power regulation includes: a receiver 501, a transmitter 502, a processor 503 and a memory 504.

[0216] Receiver 501, used for receiving instructions and data;

[0217] A transmitter 502, used for sending instructions and data;

[0218] Memory 504, used to store computer-executable instructions;

[0219] The processor 503 is used to execute the computer-executable instructions stored in the memory 504 to implement the various steps performed by the method for determining a virtual power plant trading mechanism based on electric energy and power regulation in the above-mentioned embodiment. For details, please refer to the relevant description in the above-mentioned embodiment of the method for determining a virtual power plant trading mechanism based on electric energy and power regulation.

[0220] Optionally, the memory 504 may be independent or integrated with the processor 503 .

[0221] When the memory 504 is independently provided, the electronic device further includes a bus for connecting the memory 504 and the processor 503 .

[0222] The present application also provides a computer-readable storage medium, which stores computer execution instructions. When a processor executes the computer execution instructions, it implements the method for determining a virtual power plant trading mechanism based on electric energy and power regulation as executed by the device for determining a virtual power plant trading mechanism based on electric energy and power regulation as mentioned above.

[0223] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0224] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0225] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for determining a virtual power plant trading mechanism based on electric energy and power regulation, characterized in that: The method comprises: Obtain the electric energy demand and power regulation demand during the trading period; The electric energy demand and the power regulation demand are input into a transaction clearing model to obtain an output variable, wherein the transaction clearing model is determined according to the active power generated by multiple units in a virtual power plant transaction system, wherein the multiple units include: traditional generator sets, new energy generator sets, virtual power plants, and adjustable loads, and the active power includes: electric energy active power and power regulation active power; Determining a bilinear multiplication term according to the output variable, wherein the bilinear multiplication term is located in the power regulation cost function of the transaction clearing model for solving the output variable; The bilinear multiplication term is replaced to obtain a first auxiliary variable; Obtain the n-th adjustable variable and the n-th first auxiliary variable; Determining the second auxiliary variable for the n+1th time according to the electric energy transaction price, the nth adjustable variable and the nth first auxiliary variable; Determining whether the first auxiliary variable and the second auxiliary variable meet a preset condition; If the first auxiliary variable and the second auxiliary variable meet the preset conditions, the second auxiliary variable is replaced to obtain a target output variable; Determining a trading mechanism of the virtual power plant trading system during the waiting trading period according to the target output variable; Before inputting the electric energy demand and the electric power regulation demand into the transaction clearing model, the method further includes: Respectively obtaining the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load; Determine the electric energy cost function and the electric power demand cost function of the traditional generator set according to the electric energy active power of the traditional generator set and the electric power regulation active power of the traditional generator set; Determine the electric energy cost function and the electric power demand cost function of the new energy generator set according to the electric energy active power of the new energy generator set and the electric power regulation active power of the new energy generator set; Determining a power demand cost function of the virtual power plant according to the power regulation active power of the virtual power plant; Determining a power demand cost function of the adjustable load according to the power adjustment active power of the adjustable load; The transaction clearing model is constructed according to multiple cost functions.

2. The method according to claim 1, characterized in that According to a plurality of cost functions, the transaction clearing model is constructed, including: The cost function of the traditional generator set, the cost function of the new energy generator set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load are added together to obtain a cost model; Determine a power regulation cost function according to the power demand cost function of the traditional power generation set, the power demand cost function of the new energy power generation set, the power demand cost function of the virtual power plant and the power demand cost function of the adjustable load; The transaction clearing model is determined according to the cost model, the electric energy balance function and the electric power regulation cost function.

3. The method according to claim 1, characterized in that: The step of inputting the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain output variables includes: Determining whether the electric energy demand meets the electric power regulation demand; If the electric energy demand meets the electric power regulation demand, determining a target output variable according to a cost model; If the electric energy demand does not meet the power regulation demand, the electric energy demand and the power regulation demand are input into the transaction clearing model to obtain an output variable.

4. A device for determining a virtual power plant trading mechanism based on electric energy and power regulation, characterized in that: The device comprises: An acquisition module, used to acquire the electric energy demand and electric power regulation demand during the trading period; An input module, used for inputting the electric energy demand and the electric power regulation demand into a transaction clearing model to obtain an output variable, wherein the transaction clearing model is determined according to the active power generated by multiple units in a virtual power plant transaction system, wherein the multiple units include: traditional generator sets, new energy generator sets, virtual power plants, and adjustable loads, and the active power includes: electric energy active power and electric power regulation active power; A determination module, configured to determine a bilinear multiplication term according to the output variable, wherein the bilinear multiplication term is located in a power regulation cost function of the transaction clearing model for solving the output variable; A processing module, used for performing a replacement process on the bilinear multiplication term to obtain a first auxiliary variable; The acquisition module is also used to acquire the n-th adjustable variable and the n-th first auxiliary variable; The determination module is further used to determine the second auxiliary variable for the n+1th time according to the electric energy transaction price, the adjustable variable for the nth time and the first auxiliary variable for the nth time; A judging module, used for judging whether the first auxiliary variable and the second auxiliary variable meet a preset condition; The processing module is further configured to perform a replacement process on the second auxiliary variable to obtain a target output variable if the first auxiliary variable and the second auxiliary variable meet a preset condition; The determination module is further used to determine the transaction mechanism of the virtual power plant transaction system in the waiting transaction period according to the target output variable; The acquisition module is further used to respectively acquire the active power of the traditional generator set, the new energy generator set, the virtual power plant and the adjustable load; The determination module is further used to determine the electric energy cost function and the electric power demand cost function of the traditional generator set according to the electric energy active power of the traditional generator set and the electric power regulation active power of the traditional generator set; The determination module is further used to determine the electric energy cost function and the electric power demand cost function of the new energy generator set according to the electric energy active power of the new energy generator set and the electric power regulation active power of the new energy generator set; The determination module is further used to determine the power demand cost function of the virtual power plant according to the power adjustment active power of the virtual power plant; The determination module is further used to determine the power demand cost function of the adjustable load according to the power adjustment active power of the adjustable load; A construction module is used to construct the transaction clearing model according to multiple cost functions.

5. A device for determining a virtual power plant trading mechanism based on electric energy and power regulation, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method for determining a virtual power plant trading mechanism based on electric energy and power regulation as described in any one of claims 1-3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement a method for determining a virtual power plant trading mechanism based on electric energy and power regulation as described in any one of claims 1-3.