A virtual power plant optimal scheduling method based on multi-stage robust optimization
Through the multi-stage robust optimization method and the robust dual dynamic programming algorithm, the decision-making process of the virtual power plant is optimized, the uncertainty problem of renewable energy power generation is solved, and the market competitiveness and revenue maximization ability of the virtual power plant are improved.
Patent Information
- Application Number
- CN202111326551.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-11-10
AI Technical Summary
The uncertainty of renewable energy power generation, especially in scenarios where wind power output and electricity prices are uncertain, poses challenges in optimizing the operation of virtual power plants, which affects their market competitiveness.
A virtual power plant optimal dispatching method based on multi-stage robust optimization is adopted. By constructing a multi-stage robust control model, considering electricity price uncertainty and wind power output, and using a robust dual dynamic programming algorithm, the decision-making is optimized to improve the uncertainty resistance of the virtual power plant. Sexual risk capabilities.
It improves the virtual power plant's ability to maximize revenue in an uncertain environment, enhances its ability to withstand wind power fluctuations and electricity price disturbances, and enhances market competitiveness.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual power plant optimization scheduling, and in particular to a virtual power plant optimization scheduling method based on multi-stage robust optimization. Background Art
[0002] In recent years, governments have introduced a large number of incentive policies to support the development of renewable energy in response to key issues such as fossil energy shortages and dramatic changes in the environment and climate. Renewable energy accounts for more than 20% of electricity generation in developed European countries. my country's photovoltaic and wind power installed capacity ranks first in the world. In the future, the proportion of renewable energy consumption will continue to increase and replace fossil energy, forming a power system dominated by renewable energy.
[0003] However, with the rapid development of the electricity market, the many drawbacks of renewable energy generation cannot be ignored. Among them, the core uncertainty problem seriously restricts its market competitiveness, which is mainly reflected in the multi-time scale market bidding strategy and the risk management of the difference between electricity declaration and delivery. At present, the concept of virtual power plant (VPP) has also emerged. Virtual power plant is the application of the concept of virtual public facilities (VPF), which integrates distributed power sources, energy storage units and controllable loads into an organic market entity, and presents the characteristics of traditional power plants to the outside world through coordinated scheduling. Although VPP has the flexibility and initiative advantages that traditional technical solutions do not have in resource regulation, the optimal operation of VPP needs further exploration in the scenario of wind power output and electricity price uncertainty. Summary of the invention
[0004] In view of the above problems, the present invention innovatively proposes a virtual power plant optimization scheduling method based on multi-stage robust optimization. Based on the multi-stage robust dynamic programming theory and considering large-scale electric vehicles and energy storage configuration, a multi-stage robust control model (multi-stage robust control, MSRCC) is proposed. The electricity price uncertainty and wind power output are modeled as box-type uncertainty sets. The robust dual dynamic programming algorithm is used to solve the single VPP local adjustable resources and the wide-area VPP alliance collaborative control strategy, so as to improve the VPP's ability to resist uncertainty risks.
[0005] Specifically, the virtual power plant optimization scheduling method based on multi-stage robust optimization described in the present invention specifically includes:
[0006] S1: Build a virtual power plant alliance to count the wind power abandonment and load abandonment of the integrated distributed wind power of the virtual power plant, the current power and charge and discharge capacity of the energy storage device, and the current power and charge and discharge capacity of electric vehicles;
[0007] S2: By constructing a multi-stage robust control model, based on the electricity price disturbance and the uncertain output of the wind turbine observed by the virtual power plant alliance in period t, and according to the current system state of the virtual power plant alliance, taking into account the impact of the decision on the worst-case profit of the remaining period, the optimal decision for period t is made;
[0008] S3: When the virtual power plant alliance generates excess electricity, the excess electricity is exported to the main grid; when the electricity generated by any virtual power plant in the virtual power plant alliance is insufficient, electricity is imported from the main grid or an adjacent virtual power plant.
[0009] Among them, the calculation formula of the multi-stage robust control model is:
[0010]
[0011] B t x t-1 +W t x t ≥h t (ξ t )
[0012]
[0013] ξ t = argmax{Q t (x t-1 ξ t ):ξ t ∈Ξ t};
[0014] In the formula, x t is the state variable at time t; ξ t is the uncertain parameter at time t, including the uncertain output of the wind turbine and the market electricity price disturbance, and the worst case value function To decide the current x t The worst case of future costs generated; A is the constant matrix associated with the quadratic terms of costs; is the constant matrix related to the first-order cost term; Wt, ht, Bt are the constant matrices related to the constraints; Rn is the n-dimensional Euclidean space.
[0015] The uncertain output of the wind turbine is described by a box-type uncertain set:
[0016]
[0017] Where, α is the uncertainty range of wind power; and are the actual value and predicted value of wind farm W power at time t, respectively, w is the wind farm set; It is the power vector composed of the power prediction values of different wind farms at time t.
[0018] The market electricity price disturbance is expressed as:
[0019]
[0020] λ t =c+ρλ t-1 +∈ t ;
[0021] In the formula, ∈ t is the uncertain disturbance of electricity price at time t; is the uncertainty set of electricity price uncertainty disturbance at time t; is the upper and lower limit interval of the uncertain disturbance of electricity price at time t; ρ is the exponential smoothing term; λ t is the electricity price at time t, λ t-1 is the electricity price at time t-1; c is a constant term.
[0022] Among them, the for:
[0023]
[0024] set up for The upper bound of is the worst case value function The lower world.
[0025] Specifically, the worst case value function The lower bound is calculated as:
[0026]
[0027]
[0028] Among them, S t The state x obtained by iteratively solving the problem at time t t The sample points of for About x t The convex part of the dual variable of , the corresponding concave part of the dual variable is set to 0; for About x t The concave part of the dual variable of , the corresponding convex part of the dual variable is set to 0; yes The value of the sth iteration; α t,s is the constant term of the convex part benders cut of the sth iteration, is an auxiliary variable.
[0029] Get x t The dual variable π t+1,s , and add constraints to the lower bound at time t:
[0030]
[0031] The upper bound The calculation formula is:
[0032]
[0033]
[0034]
[0035] Among them, the x t Represented as the sample point x of the previous iteration t,s Linear combinations of convex hulls; for The s-th iteration value of s is the weight of sample point s.
[0036] The state variable x at time t t It at least includes the integrated distributed wind power abandonment volume and load abandonment volume, the current power and charge and discharge volume of the energy storage device, and the current power and charge and discharge volume of the electric vehicle.
[0037] according to and The robust dual dynamic programming algorithm is designed to perform the operation calculation of the trained multi-stage robust control model, including the following steps:
[0038] 1) Initialize the state variables at time t, input the uncertain output of the wind turbine and the market electricity price disturbance, as well as the trained multi-stage robust control model;
[0039] 2) Solve for the upper bound at time t and obtain: and t ;
[0040] 3) Add constraints to the lower bound at time t and solve the lower bound at time t to obtain: and x t,s ;
[0041] 4) Successively modifying the upper and lower bounds can make Converges to
[0042] In summary, the present invention proposes a virtual power plant optimization scheduling method based on multi-stage robust optimization, and constructs a virtual power plant alliance with a virtual power plant that integrates distributed wind power, energy storage, electric vehicles and other distribution network entities as the main body. According to the profit maximization index of the virtual power plant alliance participating in the real-time spot market, a multi-stage robust control model is established. The current electricity price disturbance and the actual value of wind power output are observed through the model. Combined with the impact of the decision on the worst-case profit in the remaining period and the current system state, the optimal decision for period t is made, and finally the virtual power plant alliance achieves maximum profit in the real-time spot market. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a market structure diagram of the VPP alliance participating in the electricity market described in an embodiment.
[0044] Figure 2 Graph showing the autocorrelation function of the electricity price and the electricity price disturbance described in one embodiment.
[0045] Figure 3 It is a diagram of the iteration of the RDDP algorithm for solving MSRC described in one embodiment. DETAILED DESCRIPTION
[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] The present invention proposes a virtual power plant optimization scheduling method based on multi-stage robust optimization, which takes the virtual power plant integrating distributed wind power, energy storage, electric vehicles and other distribution network entities as the main body, and constructs a virtual power plant alliance (VPP) to resist wind power fluctuations by considering the alliance between multiple virtual power plants to maximize the expected benefits in the worst scenario. Preferably, in the virtual power plant optimization scheduling method described in the present invention, it is assumed that the VPP alliance is a passive price acceptor in the power market. During the period when each VPP generates excess power, the VPP can sell its power directly to the main grid or transmit it to the adjacent VPP through the tie line. On the contrary, if the VPP power generation is not enough to meet its local load, the VPP needs to purchase power from the main grid or the adjacent VPP. VPPs must submit their hourly quotations to the day-ahead market a few hours before the actual power delivery. The main grid operator collects the quotations of all participating entities in the market and calculates the clearing price. The main grid operator settles each VPP according to the clearing price. The power exchange within the VPP alliance is settled according to the node electricity price.
[0048] Specifically, the virtual power plant optimization scheduling method includes:
[0049] S1: Build a virtual power plant alliance to count the wind power abandonment and load abandonment of the integrated distributed wind power of the virtual power plant, the current power and charge and discharge capacity of the energy storage device, and the current power and charge and discharge capacity of electric vehicles;
[0050] S2: By constructing a multi-stage robust control model, based on the electricity price disturbance and the uncertain output of the wind turbine observed by the virtual power plant alliance in period t, and according to the current system state of the virtual power plant alliance, taking into account the impact of the decision on the worst-case profit of the remaining period, the optimal decision for period t is made;
[0051] S3: When the virtual power plant alliance generates excess electricity, the excess electricity is exported to the main grid; when the electricity generated by any virtual power plant in the virtual power plant alliance is insufficient, electricity is imported from the main grid or an adjacent virtual power plant.
[0052] Among them, the participation of the VPP Alliance in the real-time market is a multi-stage dynamic decision-making process. Since the trajectories of uncertain parameters such as wind power and electricity prices cannot be obtained at one time, but need to be observed time period by time, in the decision-making of each time period, the VPP Alliance can only make decisions based on the historical trajectory of uncertainty parameters, and should also consider the impact of the decision results on the benefits of subsequent time periods.
[0053] Preferably, the present invention models the VPP alliance decision problem as a multi-stage robust control model (MSRC). In period t, VPP observes the actual value of electricity price and wind power output, and makes the optimal decision for period t based on the current system state and the impact of the decision on the worst-case benefit of the remaining period. MSRC can be written as:
[0054]
[0055] B t x t-1 +W t x t ≥h t (ξ t )
[0056]
[0057] ξ t = argmax{Q t (x t-1 ξ t ):ξ t ∈Ξ t};
[0058] In the formula, x t is the state variable at time t; ξ t is the uncertain parameter at time t, including the uncertain output of the wind turbine and the market electricity price disturbance, and the worst case value function To decide the current x t The worst case of future costs generated; A is the constant matrix associated with the quadratic terms of costs; is the constant matrix related to the first-order cost term; Wt, ht, Bt are the constant matrices related to the constraints; Rn is the n-dimensional Euclidean space.
[0059] Among them, due to the multiple uncertainties in the process of VPP participating in the power market, the uncertainty of wind turbine output is described by a box uncertainty set:
[0060]
[0061] Where: α is the uncertainty range of wind power; and are the actual value and predicted value of wind farm W power at time t, respectively, w is the wind farm set; It is the power vector composed of the power prediction values of different wind farms at time t.
[0062] Since the uncertainty of electricity prices is highly correlated at each moment, the following formula is used to calculate the market electricity price disturbance:
[0063]
[0064] λ t =c+ρλ t-1 +∈ t ;
[0065] Among them, ∈ t is the uncertain disturbance of electricity price at time t; is the uncertainty set of electricity price uncertainty disturbance at time t; is the upper and lower limit interval of the uncertain disturbance of electricity price at time t; ρ is the exponential smoothing term; λ t is the electricity price at time t, λ t-1 is the electricity price at time t-1; c is a constant term. Since the uncertainty of electricity prices at each moment is highly correlated, the market electricity price disturbance formula can be used to convert the uncertainty of electricity prices into the uncertainty of electricity price disturbance, so that the uncertainty parameters at each stage are independent of each other.
[0066] Furthermore, in order to obtain The present invention adopts the method of successive approximation. The upper bound of is the lower bound of WCVF, satisfying In the Replace with This is the lower bound problem, and we can replace This is the upper bound problem, through Successive corrections to the upper and lower bounds can make Converges to
[0067] Since when the objective function contains the cross term between the system state at the previous moment and the system state at the current moment, the worst case value function is not a convex function but a saddle function, that is, The state variables such as energy storage SOC and electric vehicle SOC at time t are convex functions, while the electricity price at time t is a concave function, which makes the traditional Benders cut produce a large duality gap. The present invention is constructed as follows The lower bound is:
[0068]
[0069]
[0070] That is, two sets of Benders cuts are used to approximate the saddle-shaped value function, where the convex Benders cut must be greater than or equal to the concave Benders cut. t The state x obtained by iteratively solving the problem at time t t The sample points of for About x t The convex part of the dual variable of , and the concave part of the dual variable are set to 0. for About x t The concave part of the dual variable of , and the convex part of the dual variable are set to 0, is the value of its sth iteration. t,s is the constant term of the convex part benders cut of the sth iteration, is an auxiliary variable.
[0071] Furthermore, the present invention is constructed The upper bound is:
[0072]
[0073]
[0074]
[0075] The above formula shows that x t It can be expressed as the previous iteration sample point x t,s Linear combination of convex hull, σ sis the weight of sample point s.
[0076] Preferably, the state variable x at time t t It at least includes the integrated distributed wind power abandonment volume and load abandonment volume, the current power and charge and discharge volume of the energy storage device, and the current power and charge and discharge volume of the electric vehicle.
[0077] Further, according to and The robust dual dynamic programming algorithm is designed to perform the operation calculation of the trained multi-stage robust control model, as shown in the following table:
[0078]
[0079] Specifically:
[0080] Initialize the state variables at time t, input the uncertain output of the wind turbine and the market electricity price disturbance, as well as the trained multi-stage robust control model;
[0081] Solving for the upper bound at time t, we obtain: and t ;
[0082] Adding constraints to the lower bound at time t and solving for the lower bound at time t yields: and x t,s ;
[0083] Successive corrections to the upper and lower bounds can make Converges to
[0084] In order to further verify the virtual power plant optimization scheduling method based on multi-stage robust optimization described in the present invention, the effectiveness and economy of the model are verified by simulation examples. Figure 2 The figure shows the distribution of the autocorrelation function of the electricity price and the electricity price disturbance obtained by simulation. It can be seen from the figure that the multi-stage robust optimization can improve the benefits of the virtual power plant alliance in both the average sense and the worst-case scenario sense compared with the deterministic optimization model and model predictive control. The virtual power plant alliance and the installation of energy storage can reduce the impact of uncertainty on expected benefits. Under the setting of a wind power fluctuation range of 0.3, the use of the virtual power plant alliance can increase the ratio of minimum benefit to average benefit from 0.64 to 0.7 compared with the independent participation in the market. The ratio of minimum benefit to average benefit of VPP with and without energy storage is 0.7 and 0.624 respectively.
[0085] As another preferred embodiment, the virtual power plant optimization scheduling method based on multi-stage robust optimization described in the present invention constructs three virtual power plants for simulation calculation. The day-ahead power market forecast electricity price is sampled from the actual electricity price data of the PJM market in March, June, September and December 2019, and its normal distribution standard deviation is 10% of the electricity price mean.
[0086] Each virtual power plant has 10 energy storage devices and 10 electric vehicles. The energy storage unit and electric vehicle charging and discharging efficiency are both 0.9, and Soc min =0.1, Soc max =0.9, the upper and lower limits of charge and discharge power are 10MW / h and 0 respectively. The rated capacity of electric vehicles is 10MW, and the rated capacity of energy storage devices is 100MW. The load shedding penalty is set to 10,000 yuan / MWh, the wind abandonment penalty is set to 3,000 yuan / MWh, and the wind power uncertainty range α is set to 0.3.
[0087] In the MATLAB R2019b environment, the model was built through yalmip and solved by calling Gurobi 9.0.1. In this model, the SOC of energy storage and electric vehicles is planned according to the mean of wind power output and electricity price. The remaining decision variables are rolled according to the realization of wind power output and electricity price during the day operation. The time window is 1 hour and the resolution is 15 minutes. The main goal of the day rolling is to reduce the deviation of SOC from the day-ahead plan, and the secondary goal is to increase the revenue of the virtual power plant.
[0088] The proposed RDDP algorithm is used to solve the MSRC model. The iterations are as follows: Figure 3 As shown, LB represents the lower bound, UB represents the upper bound, and LB benders represents the lower bound obtained by using the traditional benders cut. Since the standard form of the objective function of the MSRC model (17) is minimization, while the original problem is maximization, the total running cost of the original problem is equal to the negative of the objective function of the model (17). After about 10 iterations, the upper and lower bounds (19) and (20) converged in 4 seconds, while the lower bound using the traditional benders cut could not converge to the true value, which shows that the traditional benders cut can only obtain a local optimal solution, while the proposed RDDP algorithm can converge to the global optimal solution.
[0089] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A virtual power plant optimization scheduling method based on multi-stage robust optimization, characterized in that: Includes steps: S1: Build a virtual power plant alliance to count the wind power abandonment and load abandonment of the integrated distributed wind power of the virtual power plant, the current power and charge and discharge capacity of the energy storage device, and the current power and charge and discharge capacity of electric vehicles; S2: By constructing a multi-stage robust control model, based on the electricity price disturbance and the uncertain output of the wind turbine observed by the virtual power plant alliance in period t, and according to the current system state of the virtual power plant alliance, taking into account the impact of the decision on the worst-case profit of the remaining period, the optimal decision for period t is made; S3: When the virtual power plant alliance has excess power generation, the excess power is exported to the main grid; when any virtual power plant in the virtual power plant alliance has insufficient power generation, power is imported from the main grid or an adjacent virtual power plant; wherein the calculation formula of the multi-stage robust control model is: x t =argmax{Q t (x t-1 ;x t ):x t ∈Ξ t }; In the formula, x t is the state variable at time t, and the state variables include: the wind abandonment amount and load abandonment amount of the integrated distributed wind power, the current power and charge and discharge amount of the energy storage device, and the current power and charge and discharge amount of the electric vehicle; ξ t is the uncertain parameter at time t, including the uncertain output of the wind turbine and the market electricity price disturbance, and the worst case value function To decide the current x t The worst case of future costs generated; A is the constant matrix associated with the quadratic terms of costs; is the constant matrix related to the first-order cost term; W t 、h t , B t is the constant matrix related to the constraints; R n is an n-dimensional Euclidean space; The uncertain output of the wind turbine is described by a box-type uncertainty set: Where, α is the uncertainty range of wind power; and are the actual value and predicted value of wind farm power W at time t, Assemble for wind farms; is the power vector composed of the power prediction values of different wind farms at time t; The market electricity price disturbance is expressed as: l t =c+ρλ t-1 +∈ t ; In the formula, ∈ t is the uncertain disturbance of electricity price at time t; is the uncertainty set of electricity price uncertainty disturbance at time t; is the upper and lower limit interval of the uncertain disturbance of electricity price at time t; ρ is the exponential smoothing term; λ t is the electricity price at time t, λ t-1 is the electricity price at time t-1; c is a constant term.
2. The virtual power plant optimization scheduling method based on multi-stage robust optimization according to claim 1 is characterized in that: Said for: set up for The upper bound of is the worst case value function Lower bound; calculated Then, the worst case of wind turbine output at time t is solved. t , and then solve to get the state variable x at time t t , and so on, gradually obtain the solutions for all time periods.
3. The virtual power plant optimization scheduling method based on multi-stage robust optimization according to claim 2 is characterized in that: The worst case value function The lower bound is calculated as: Among them, s t The state x obtained by iteratively solving the problem at time t t The sample points of for About x t The convex part of the dual variable of , the corresponding concave part of the dual variable is set to 0; for About x t The concave part of the dual variable of , the corresponding convex part of the dual variable is set to 0; yes The value of the sth iteration; α t,s is the constant term of the convex part benders cut of the sth iteration, is an auxiliary variable.
4. The virtual power plant optimization scheduling method based on multi-stage robust optimization according to claim 3 is characterized in that: Also includes: Get x t The dual variable π t+1,s , and add constraints to the lower bound at time t:
5. The virtual power plant optimization scheduling method based on multi-stage robust optimization according to claim 2 is characterized in that: The upper bound The calculation formula is: Among them, the x t Represented as the sample point x of the previous iteration t,s Linear combinations of convex hulls; for The s-th iteration value of s is the weight of sample point s.
6. The virtual power plant optimization scheduling method based on multi-stage robust optimization according to any one of claims 2 to 5, characterized in that: according to and The robust dual dynamic programming algorithm is designed to perform the operation calculation of the trained multi-stage robust control model, including the following steps: 1) Initialize the state variables at time t, input the uncertain output of the wind turbine and the market electricity price disturbance, as well as the trained multi-stage robust control model; 2) Solve for the upper bound at time t and obtain: and t ; 3) Add constraints to the lower bound of time t, solve the lower bound of time t, and get: and x t,s ; Successive corrections to the upper and lower bounds can make Converges to .
