Virtual power plant electric energy sharing implementation method based on consistency algorithm

Through the virtual power plant power sharing method based on consistency algorithm, the problems of privacy needs and price mechanism of transaction subjects in virtual power plants are solved, and efficient optimization of power resource allocation and regional power supply and demand balance are achieved.

CN119026866APending Publication Date: 2024-11-26STATE GRID SHANGHAI MUNICIPAL ELECTRIC POWER CO +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411198886.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing technology has failed to effectively solve the privacy needs and price mechanism problems among different transaction entities in virtual power plants, resulting in a limited number of participants and the lack of centralized optimization cannot meet the transaction needs.

Method used

A virtual power plant power sharing method based on consistency algorithm is adopted, and by constructing a power sharing price model, iterative calculations and subject privacy protection are carried out, dynamic adjustment and precise matching of distributed optimization solutions are achieved, and an optimized configuration solution for power resources is generated.

Benefits of technology

It has achieved efficient and accurate optimal allocation of power resources, achieved price consistency in transactions of various entities, and met the regional power supply and demand balance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119026866A_ABST
    Figure CN119026866A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual power plant electric energy sharing implementation method based on a consistency algorithm, and the method comprises the steps: constructing an electric energy sharing price model based on a consistency principle, obtaining a distributed optimal solution through iterative calculation, and carrying out the dynamic adjustment of the distributed optimal solution through employing a main body privacy protection mode, and after information interaction based on a consistency algorithm is adopted among the sharing main bodies, further accurate matching and energy transaction are carried out on a dynamic adjustment result, and finally a power resource optimal configuration scheme is generated. According to the invention, energy sharing and the virtual power plant are combined, and the concept of a shared virtual power plant is provided: on the basis of meeting local basic load requirements, the virtual power plant aggregates locally dispersed idle flexible resources and manages the resources, and direct transaction with other subjects is carried out through application of an information communication technology, so that regional power supply and demand balance is promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a technology in the field of virtual power plants, and specifically to a method for realizing electric energy sharing of virtual power plants based on a consistency algorithm. Background Art

[0002] As an important means of processing distributed flexible resources to participate in the operation of the power system, virtual power plants can achieve the aggregation management, local consumption and flexible operation of new energy. However, existing technologies only focus on strategies at the power dispatch level, but do not involve the transaction interaction between different entities and do not fully consider the price mechanism to protect the privacy needs of different transaction entities. Summary of the invention

[0003] In view of the deficiency of the existing technology that the number of participants is limited and the transaction entities hope to obtain privacy protection in the process of maximizing their respective interests, centralized optimization cannot fully meet the transaction needs. This invention proposes a method for realizing electric energy sharing of virtual power plants based on a consistency algorithm, combines energy sharing with virtual power plants, and proposes the concept of shared virtual power plants: on the basis of meeting local basic load needs, virtual power plants aggregate and manage locally dispersed idle flexibility resources, and promote regional power supply and demand balance by directly trading with other entities through the use of information and communication technology.

[0004] The present invention is achieved through the following technical solutions:

[0005] The present invention relates to a method for realizing electric energy sharing of a virtual power plant based on a consistency algorithm. By constructing an electric energy sharing price model based on the consistency principle, a distributed optimization solution is obtained through iterative calculation, and then the distributed optimization solution is dynamically adjusted in a subject privacy protection manner. After information interaction based on a consistency algorithm is adopted between sharing subjects, the results of the dynamic adjustment are further accurately matched and energy traded, and finally an optimal configuration plan for electric power resources is generated. Technical Effects

[0006] The present invention is based on the theory of consistency algorithm, and aims to solve the optimal configuration solution in a distributed environment through an iterative optimization process by constructing an energy sharing pricing model that follows the consistency principle. The distributed optimization results obtained are dynamically and adaptively adjusted using the subject privacy protection mechanism to achieve price consistency for transactions among all subjects. Compared with the prior art, the present invention can achieve efficient and accurate optimal configuration of power resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 It is a flow chart of the present invention;

[0008] Figure 2 It is a schematic diagram of an application scenario of an embodiment;

[0009] Figure 3 It is a schematic diagram of the specific steps of step 5;

[0010] Figure 4 It is a schematic diagram of the shared subject of the embodiment;

[0011] Figure 5 The output level prediction of the new energy station in the embodiment;

[0012] Figure 6 is the original charging curve of the electric vehicle group within the virtual power plant in the embodiment;

[0013] Figure 7 To implement the shared electricity consumption and electricity price;

[0014] Figure 8 The shared power of each new energy station at each time in the embodiment;

[0015] Fig. 9 The electricity price and electricity consumption converge in the 10th period. DETAILED DESCRIPTION

[0016] like Figure 1 As shown, a method for realizing power sharing of a virtual power plant based on a consistency algorithm involved in this embodiment includes:

[0017] Step 1) Construct Figure 2 The energy sharing structure dominated by virtual power plants shown in the figure includes: a shared virtual power plant (SVPP), multiple new energy sites and a power trading center, among which: the SVPP and new energy sites, as price acceptors, report to the power trading center in the day-ahead market the power purchase and sales plans for each time period of the next day; the new energy sites use wind power or photovoltaic power as the main power source, and report the power sales amount based on the forecast of their own power generation. At the same time, they balance the deviation between their reported power and actual power by purchasing shared power services, thereby transferring the risk caused by the uncertainty of new energy output; the SVPP aggregates locally idle distributed resources and sells flexible power to new energy sites in the form of balancing services.

[0018] The distributed resources include distributed gas turbines, energy storage, electric vehicles and other resource types.

[0019] In this embodiment, referring to the electricity market rules issued by Shandong Province in 2024, the deviation settlement price rules are set as follows: the positive deviation electricity with the actual power generation will be sold at a lower price, and the negative deviation electricity will be purchased at a higher price. Assume that the electricity price at time t in the market before the day is The penalty electricity price corresponding to the positive and negative deviation electricity is and They are: in: It is the deviation between the electricity sales volume reported by the new energy station i at time t and the actual power generation. When it is a positive value, it means that the reported amount is higher than the actual power generation; ω + ,ω - They are the penalty factors for positive and negative deviations, which can reflect the degree of market penalty for electricity deviation and meet

[0020] Step 2) The shared virtual power plant (SVPP) and new energy stations establish their own optimization models.

[0021] The optimization model of the new energy station is as follows: the optimization target of the new energy station i at time t is its own profit The maximization of Where: The electricity sales revenue of new energy station i at time t Deviation penalty fee that new energy station i needs to bear at time t Shared electricity cost of new energy station i at time t The electricity sales volume reported by the new energy station i at time t based on its own output forecast; They are the penalty electricity prices corresponding to the positive and negative deviation electricity of the new energy station i at time t; They are the shared electricity used by new energy station i at time t and the shared electricity price at the corresponding time.

[0022] The constraints satisfied by the optimization model of the new energy station include: 1) Power balance constraints at the node where the new energy station is located: The corresponding shadow price is the electricity price of the new energy station i in the shared power service at time t. 2) Constraints on the shared electricity price of new energy stations: When purchasing the shared power service is more economical than accepting the deviation penalty, the new energy station i will choose to participate in the shared power, so there is This formula is used for judgment during the shared electricity price formation stage.

[0023] The optimization model of the virtual power plant is as follows: Where: SVPP’s revenue from selling electricity to the market at time t SVPP shared electricity revenue at time t SVPP operating cost at time t is the amount of electricity sold by SVPP to the market at time t; The electricity price and electricity quantity of the power sharing service provided by SVPP at time t, and the gas turbine operating cost at time t are Energy storage operating costs at time t Electric vehicle operating costs at time t P t gis the gas turbine output value at time t, and its cost is expressed using a quadratic function, where a, b, and c are the cost coefficients of the corresponding items; P t dis , P t ch are the discharge and charge amounts of energy storage at time t respectively; is the energy storage cost coefficient; the compensation cost of electric vehicles is calculated according to the reduced electricity consumption due to stopping charging or discharging, that is, SVPP only compensates for the reduced charging amount P of electric vehicles at time t. t EV,down Subsidy is provided, and the subsidy coefficient is

[0024] The constraints of the optimization model of the virtual power plant include: 1) gas turbine constraints: the output constraint is The climbing ability constraint is in: are the upper and lower limits of gas turbine output respectively; is its maximum climbing capacity. 2) Energy storage performance constraint: The charge and discharge power constraint is The charge constraint is Q min ≤Q t ≤Q max ; The relationship between charge and charge and discharge power is in: and They are the maximum charging and discharging power of energy storage; Q t Q is the energy storage charge at time t; max , Q min are the upper and lower limits of charge respectively; η ES 3) Electric vehicle constraints: To simplify the model, this embodiment takes the electric vehicle cluster formed by the aggregation of multiple electric vehicles as the scheduling object. It is required that the power of the electric vehicle cluster at any time is not less than the acceptable minimum value, and the increase / decrease of power per unit time is carried out at the rated charge and discharge power, specifically: P t EV,down =P EVO , P t EV,up =P EVO ,in: is the initial power of the electric vehicle; P t EV,up is the increase in the amount of electric vehicle charging at time t; is the minimum acceptable electric vehicle power value; P EVOis the rated charging and discharging power of the electric vehicle. 4) SVPP shared electricity price constraint: In order to encourage SVPP to participate in power sharing and ensure the feasibility of the mechanism, the shared electricity price obtained by SVPP should be higher than the electricity price sold to the grid, that is, This formula is also used for judgment during the shared electricity price formation stage.

[0025] Step 3) Each shared virtual power plant (SVPP) and new energy station forms a sharing alliance and constructs an optimization model.

[0026] The optimization model of the shared alliance is as follows: Including: Total electricity sales revenue at time t Shared alliance deviation penalty cost at time t N0 is the total number of new energy stations participating in power sharing; P t d The total deviation power of the alliance at time t after the power sharing service is launched; are the penalty electricity prices corresponding to the total positive and negative deviation electricity volume of the alliance at time t respectively.

[0027] The constraints of the optimization model of the sharing alliance include: internal constraints of each participant, and total power balance constraints:

[0028] Step 4) Officially start power sharing. Each entity sets the initial shared electricity price and power according to its own optimization goals and communicates separately.

[0029] Step 5) Each participant obtains the price iteration form according to the consensus algorithm and updates the shared electricity price respectively until the price converges, which includes:

[0030] 5.1) Each shared virtual power plant (SVPP) or new energy station is regarded as a node, and there are n nodes forming a network node set N*, with each participant as a node and the communication network as an edge. The communication topology of each node is an n×n-order Laplace matrix L; in each node state variable, that is, the shared electricity price λ share During the iterative update process, the L matrix remains unchanged; when the connected graph corresponding to L contains a directed spanning tree, the state variables tend to be consistent; the parent node in L With child nodes They are:

[0031] 5.2) Re-express the optimization model obtained in step 3 as The model described is the optimization model at time t, so the subscript t of each variable is omitted here: Among them: the sum of the number of new energy stations and SVPPs participating in sharing electric energy is N, the set they form is Φ, and the amount of electricity shared by participant j is The set of constraints that need to be satisfied is Φ j , the shared electricity price is R j is the profit obtained by electricity sharing participant j.

[0032] Since the objective function does not contain the function of shared power, is equivalent to a constant term. Therefore, it has an arbitrary optimization direction and is taken as max here.

[0033] 5.3) The power balance condition of the shared power participant j is: self-generated power Share power with The sum is the total demand It is expressed as: The Lagrangian function Λ corresponding to the optimization model obtained in step 3 is expressed as follows:

[0034] 5.4) Deriving the Lagrangian function obtained in step 5.3 yields the optimality condition: That is to say, when all participants reach an agreement on the electricity price, the total net benefit under the shared electricity mechanism is maximized.

[0035] 5.5) Iterative form of electricity sharing price: Among them: the state variables of each participant in the kth iteration are represented with a superscript k, and ζ is the step size; is the gradient, In, w ij 、v ij They are the consistency coefficient and the feedback term coefficient, respectively. Their values ​​have a great influence on the convergence properties of the distributed consistency algorithm and are set to in: They are parent node and child node collections respectively and The number of nodes in .

[0036] 5.6) Set the shared price convergence criteria Where: ξ is the accuracy required to achieve value recognition.

[0037] After specific experiments, the following is set up in the improved IEEE 33-node system: Figure 3The shared power network shown in the figure includes: new energy sites including 2 wind farms and 7 photovoltaic power stations, all of which can communicate and transmit power bidirectionally with SVPP. The current market electricity prices and output forecasts of each new energy site are shown in Table 1. Figure 4 shown.

[0038] Table 1

[0039] Set the deviation penalty factor ω + and ω - The original load curve of the electric vehicle cluster is obtained by setting and simulating the charging behavior of the electric vehicle and setting the example parameters to 1.2 and 0.8 respectively. Figure 5 As shown in Table 2, the compensation fee that SVPP gives to electric vehicles is 0.15 USD / kW, and the performance parameter settings of other equipment inside SVPP are shown in Table 2.

[0040] Table 2 Gas turbine parameter settings of the embodiment

[0041] Table 3 Energy storage parameter settings of the embodiment

[0042] Set the price consistency step size ζ to 10 -4 , the convergence accuracy ξ is 10 -5 .

[0043] Based on the above power sharing method, after calculations for 24 hours a day, the average time for electricity price iteration is 0.035 seconds. Figure 6 As shown in the figure, the shared electricity price and total electricity consumption in each time period show that the shared electricity price fluctuates stably, maintaining around US$55 / MWh, and is positively correlated with the total deviation electricity consumption. When the predicted electricity consumption of the new energy station is high, such as time periods 1-3, 6-8, and 22-24, the SVPP needs to provide positive regulation electricity by increasing the output of the gas turbine, discharging energy storage, or adjusting the load of electric vehicles. Conversely, when the predicted electricity consumption is low, such as time periods 4-5 and 19-21, the SVPP reduces the shared electricity output and obtains excess electricity from the new energy station to provide negative regulation capability. Overall, the SVPP flexibly adjusts the output to maintain system balance based on the predicted deviation of the new energy electricity consumption. Figure 7 As shown, the electricity is shared by various new energy stations.

[0044] Taking the power sharing at 10 am as an example, the convergence curves of the shared electricity price and shared power update process of each participant are as follows: Fig. 9 As shown in (a) and (b). Figure 8As shown in the figure, the electricity prices shared by all participants tend to be consistent after iteration, the SVPP electricity price stabilizes first, and then the electricity prices of the new energy stations gradually converge and the shared electricity volume also stabilizes. It can be seen that in the present invention, although SVPP is not a centralized trading platform, it still plays a guiding role in the electricity model that communicates and trades with each new energy station separately.

[0045] The above-mentioned specific implementation can be partially adjusted in different ways by those skilled in the art without departing from the principle and purpose of the present invention. The protection scope of the present invention shall be based on the claims and shall not be limited by the above-mentioned specific implementation. Each implementation scheme within its scope shall be subject to the constraints of the present invention.

Claims

1. A method for realizing power sharing of a virtual power plant based on a consistency algorithm, characterized in that: By constructing an electricity sharing price model based on the consistency principle, after the distributed optimization solution is obtained through iterative calculation, the distributed optimization solution is dynamically adjusted using the subject privacy protection method. After information interaction based on the consistency algorithm between the sharing subjects, the results of the dynamic adjustment are further accurately matched and energy traded, and finally an optimal configuration plan for power resources is generated.

2. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 1 is characterized in that: include: Step 1) constructing an energy sharing structure dominated by virtual power plants, including: a shared virtual power plant, multiple new energy stations and a power trading center; Step 2) The shared virtual power plant and the new energy station establish their own optimization models; Step 3) Each shared virtual power plant and new energy station forms a sharing alliance and constructs an optimization model; Step 4) The power sharing is officially launched. Each entity sets the initial shared power price and power according to its own optimization goal and communicates with each other; Step 5) Each participant obtains the price iteration form according to the consensus algorithm and updates the shared electricity price respectively until the price converges, which includes: 5.1) Each shared virtual power plant or new energy station is regarded as a node, and there are n nodes forming a network node set N*. Each participant is a node and the communication network is an edge. The communication topology of each node is an n×n-order Laplace matrix L. In each node state variable, i.e., the shared electricity price λ share During the iterative update process, the L matrix remains unchanged; when the connected graph corresponding to L contains a directed spanning tree, the state variables tend to be consistent; the parent node in L With child nodes They are: 5.2) Re-express the optimization model obtained in step 3 as The model described is the optimization model at time t, so the subscript t of each variable is omitted here: Among them: the sum of the number of new energy stations and SVPPs participating in sharing electric energy is N, the set they form is Φ, and the amount of electricity shared by participant j is The set of constraints that need to be satisfied is Φ j , the shared electricity price is R j The income obtained by the power sharing participant j; 5.3) The power balance condition of the shared power participant j is: self-generated power Share power with The sum is the total demand It is expressed as: Then the Lagrangian function corresponding to the optimization model obtained in step 3 is 5.4) Deriving the Lagrangian function obtained in step 5.3 yields the optimality condition: That is, when all participants reach an agreement on the electricity price, the total net benefit under the shared electricity mechanism reaches the maximum; 5.5) Iterative form of electricity sharing price: Among them: the state variables of each participant in the kth iteration are represented with a superscript k, and ζ is the step size; is the gradient, In, w ij 、v ij They are the consistency coefficient and the feedback term coefficient, respectively. Their values ​​have a great influence on the convergence properties of the distributed consistency algorithm and are set to in: They are parent node and child node collections respectively and The number of nodes in ; 5.6) Set the shared price convergence criteria Where: ξ is the accuracy required to achieve value recognition.

3. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 is characterized in that: In the power sharing structure, SVPP and new energy stations, as price acceptors, report to the power trading center the power purchase and sale plans for each time period of the next day in the day-ahead market. New energy stations use wind power or photovoltaic power as their main power sources. While reporting the power sales amount based on the forecast of their own power generation, they balance the deviation between their reported power and actual power by purchasing shared power services, thereby transferring the risk caused by the uncertainty of new energy output; SVPP aggregates local idle distributed resources and sells flexible power to new energy stations in the form of balancing services; The distributed resources include distributed gas turbines, energy storage, electric vehicles and other resource types.

4. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 3 is characterized in that: The settlement price rule for the deviation is: the positive deviation electricity with the actual power generation will be sold at a lower price, and the negative deviation electricity will be purchased at a higher price. Suppose the electricity price at time t in the market the day before is The penalty electricity price corresponding to the positive and negative deviation electricity is and They are: in: It is the deviation between the electricity sales volume reported by the new energy station i at time t and the actual power generation. When it is a positive value, it means that the reported amount is higher than the actual power generation; ω + ,ω - They are the penalty factors for positive and negative deviations, which can reflect the degree of market penalty for electricity deviation and meet 5. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 is characterized in that: The optimization model of the new energy station is as follows: the optimization target of the new energy station i at time t is its own profit The maximization of Where: The electricity sales revenue of new energy station i at time t Deviation penalty fee that new energy station i needs to bear at time t Shared electricity cost of new energy station i at time t The electricity sales volume reported by the new energy station i at time t based on its own output forecast; They are the penalty electricity prices corresponding to the positive and negative deviation electricity of the new energy station i at time t; They are the shared electricity used by new energy station i at time t and the shared electricity price at the corresponding time.

6. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 or 5, characterized in that: The constraints satisfied by the optimization model of the new energy station include: 1) Power balance constraints at the node where the new energy station is located: The corresponding shadow price is the electricity price of the new energy station i in the shared power service at time t, 2) The shared electricity price constraint of the new energy station: When purchasing the power sharing service is more economical than accepting the deviation penalty, the new energy station i will choose to participate in the power sharing, so there is This formula is used for judgment during the shared electricity price formation stage.

7. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 is characterized in that: The optimization model of the virtual power plant is as follows: Where: SVPP’s revenue from selling electricity to the market at time t SVPP shared electricity revenue at time t SVPP operating cost at time t is the amount of electricity sold by SVPP to the market at time t; The electricity price and electricity quantity of the power sharing service provided by SVPP at time t, and the gas turbine operating cost at time t are Energy storage operating costs at time t Electric vehicle operating costs at time t is the gas turbine output value at time t, and its cost is expressed using a quadratic function, where a, b, and c are the cost coefficients of the corresponding items; are the discharge and charge amounts of energy storage at time t respectively; is the energy storage cost coefficient; the compensation cost of electric vehicles is calculated according to the reduced electricity consumption due to stopping charging or discharging, that is, SVPP only compensates for the reduced charging amount of electric vehicles at time t. Subsidy is provided, and the subsidy coefficient is 8. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 or 7, characterized in that: The constraints of the optimization model of the virtual power plant include: 1) gas turbine constraints: the output constraint is The climbing ability constraint is in: are the upper and lower limits of gas turbine output respectively; is its maximum climbing capability, 2) Energy storage performance constraint: The charge and discharge power constraint is The charge constraint is Q min ≤Q t ≤Q max ; The relationship between charge and charge and discharge power is in: and They are the maximum charging and discharging power of energy storage; Q t Q is the energy storage charge at time t; max , Q min are the upper and lower limits of charge respectively; η ES 3) Electric vehicle constraints: To simplify the model, this embodiment takes the electric vehicle cluster formed by the aggregation of multiple electric vehicles as the scheduling object, requiring that the power of the electric vehicle cluster at any time is not less than the acceptable minimum value, and the increase / decrease of power per unit time is carried out at the rated charge and discharge power, specifically: in: is the initial power of the electric vehicle; is the increase in the amount of electric vehicle charging at time t; is the minimum acceptable electric vehicle power value; P EVO is the rated charging and discharging power of the electric vehicle. 4) SVPP shared electricity price constraint: In order to encourage SVPP to participate in power sharing and ensure the feasibility of the mechanism, the shared electricity price obtained by SVPP should be higher than the electricity price sold to the grid, that is, This formula is also used for judgment during the shared electricity price formation stage.

9. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 is characterized in that: The optimization model of the shared alliance is as follows: Including: Total electricity sales revenue at time t Shared alliance deviation penalty cost at time t N0 is the total number of new energy stations participating in power sharing; The total deviation power of the alliance at time t after the power sharing service is launched; are the penalty electricity prices corresponding to the total positive and negative deviation electricity volume of the alliance at time t respectively.

10. The method for realizing power sharing of a virtual power plant based on a consistency algorithm according to claim 2 or 9, characterized in that: The constraints of the optimization model of the sharing alliance include: internal constraints of each participant, and total power balance constraints:

Citation Information

Cited By

  • Multi-energy alliance collaborative optimization operation method considering power generation right sharing

    CN120013165A

  • Method and device for constructing virtual power plant pricing model of electric vehicle

    CN120125305A