Day-ahead joint optimization method and device for shared energy storage and virtual power plant in spot market
By establishing a day-ahead trading model and an optimized operation model involving multiple entities, and using master-slave game and cooperative game to optimize the price of electricity purchase and sale, the problem of distributed photovoltaic consumption and high transaction costs has been solved, and the integration of distributed photovoltaic, virtual power plants and The joint optimization of shared energy storage promotes the consumption of distributed photovoltaics and a win-win situation for market entities.
Patent Information
- Application Number
- CN202410679918.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-10-18
AI Technical Summary
Existing technologies cannot effectively promote the consumption of distributed photovoltaics, and the transaction costs are high, making it impossible to achieve unified joint optimization of distributed photovoltaics, virtual power plants and shared energy storage.
Establish a multi-participation day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliances, and the power grid, build an optimized operation model that maximizes comprehensive benefits, and optimize the price and price of electricity purchase and sale through master-slave games and cooperative games. Electric energy trading achieves a win-win situation for multiple market entities.
Promote the consumption of distributed photovoltaics under win-win conditions for multiple market entities, reduce transaction costs, ensure the benefits of shared energy storage operators and virtual power plant operators, and improve the benefits of the photovoltaic producers and sellers alliance.
Smart Images

Figure CN118801437A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power system planning and operation, and in particular to a method and device for day-ahead joint optimization of shared energy storage and virtual power plants in a spot market. Background Art
[0002] Distributed photovoltaic power generation is close to power users, has a short construction period, and is flexible in terms of grid connection. It is an important part of my country's efforts to accelerate the development of renewable energy and implement renewable energy substitution, and is also a key means of promoting the green and low-carbon transformation of my country's transportation. In recent years, the connection of distributed photovoltaic power generation has caused line flow reversal, cross-section card holes, and deterioration of power quality, which has brought challenges to the safe and reliable operation of sensitive loads in industries such as industry and transportation.
[0003] In order to solve the problem of distributed photovoltaic consumption, domestic and foreign scholars have conducted many related studies in the early stage. These studies mainly include: optimization operation methods such as voltage over-limit management in distributed photovoltaic grid connection, optimization operation methods of photovoltaic producers and sellers (PV prosumers, PVPs) composed of distributed photovoltaics and users, and optimization operation methods of PVPs and distributed energy storage. With the continuous improvement of the penetration rate of distributed photovoltaics, many scholars have proposed multi-energy microgrids containing distributed photovoltaics, using multiple PVPs in the same distribution area or different distribution areas to form a PVP alliance, and further improve the economic benefits of distribution network operation in high-penetration photovoltaic scenarios through peer-to-peer (P2P) transactions between alliance members, as well as joint optimization of multiple types of energy such as electricity, gas, and heat. The above research provides important support for the operation planning of distributed photovoltaic access to the distribution network, and promotes the demonstration application and optimized operation of microgrids containing distributed photovoltaics and source-grid-load-storage interactive distribution networks.
[0004] In the power system dominated by new energy, how to use market means such as the spot market to further promote the consumption of distributed photovoltaics, balance the benefits among multiple market players, and achieve the economic consumption of distributed photovoltaics has become a hot topic of current concern. Shared energy storage (SES) and virtual power plants (VPP), as the main flexible regulation resources of distribution networks, provide a technical platform for the consumption of high-proportion distributed photovoltaics.
[0005] In fact, VPP and SES can achieve a win-win situation for multiple market players by jointly optimizing operation and utilizing the existing electricity market mechanism, while further improving the absorption rate of distributed photovoltaics with uncertain output. Existing studies have provided research ideas for the joint optimization operation of VPP and SES, but the purchase and sale prices between VPP and SES are fixed, which does not conform to the current situation of SES participating in the spot market as an independent market player, and ignores the P2P transactions between PVP alliance members within VPP, which increases the transaction costs between VPP and SES or the power grid, and cannot achieve the unified joint optimization of distributed photovoltaics, VPP and SES. Summary of the invention
[0006] The purpose of the present invention is to overcome the defects and problems existing in the prior art that distributed photovoltaic consumption cannot be realized and the transaction costs are high, and to provide a method and device for joint optimization of shared energy storage and virtual power plants in the spot market to promote distributed photovoltaic consumption under the condition of win-win for multiple subjects.
[0007] To achieve the above objectives, the technical solution of the present invention is: a method for joint optimization of shared energy storage and virtual power plants in the spot market, comprising:
[0008] Establish a multi-agent day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliances and the power grid;
[0009] Establish an optimized operation model for shared energy storage operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the superior power grid, the income from purchasing and selling electricity with virtual power plant operators, and the cost of energy storage operation and maintenance; establish an optimized operation model for virtual power plant operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with shared energy storage operators, the income from purchasing and selling electricity and heat with the photovoltaic producer and seller alliance, gas consumption costs, total operating costs of the cogeneration system, penalty costs for wind and solar abandonment, and carbon trading costs; establish an optimized operation model for the photovoltaic producer and seller alliance with the goal of minimizing the total cost including the cost of purchasing electricity and heat, the income from electricity trading between members, and the cost of participating in demand response;
[0010] Construct and solve the day-ahead joint optimization model of shared energy storage operators and virtual power plant operators based on multi-agent hybrid game.
[0011] The objective function of the shared energy storage operator optimization operation model is:
[0012] max F SES =I eso1 +I eso2 -C ope ;
[0013]
[0014]
[0015]
[0016] In the formula, F SES To share the comprehensive benefits of energy storage operators; eso1 ,I eso2 and C ope They are the revenue of shared energy storage operators from purchasing and selling electricity from the grid, the revenue from purchasing and selling electricity from virtual power plant operators, and the energy storage operation and maintenance costs; and are the grid electricity price and on-grid electricity price at time t respectively; and are the prices at which the virtual power plant operator purchases and sells electricity from the shared energy storage operator at time t; and are the electricity sales and purchases of the shared energy storage operator from the upper power grid at time t; and are the electricity purchased and sold by the virtual power plant operator from the shared energy storage operator at time t, respectively; and are the charging power and discharging power of the shared energy storage operator at time t respectively; ess is the operation and maintenance cost coefficient of the shared energy storage operator.
[0017] The constraints of the shared energy storage operator optimization operation model are:
[0018] The operating constraints of shared energy storage operators are:
[0019]
[0020]
[0021] In the formula, E is the remaining capacity of the shared energy storage operator at time t; ses (1) is the capacity status of the shared energy storage corresponding to the first moment of the day; E ses (24) is the capacity state of the contribution energy storage corresponding to the 24th moment of the day; η cha and η dis They are the charging and discharging efficiency of shared energy storage operators; is the rated capacity of the shared energy storage operator;
[0022] The output power constraint of the shared energy storage operator is:
[0023]
[0024] In the formula, and are the maximum charging power and maximum discharging power allowed by the shared energy storage operator at time t respectively; is a 0-1 variable for the charging status;
[0025] The purchase and sale price constraints of shared energy storage operators and virtual power plant operators are:
[0026]
[0027]
[0028] In the formula, and They are the upper and lower limits of the price at which virtual power plant operators purchase electricity from shared energy storage operators; and They are the upper and lower limits of the electricity sales price from the virtual power plant operator to the shared energy storage operator; and They are the average purchase price and the average sale price of electricity from virtual power plant operators to shared energy storage operators respectively;
[0029] The power balance constraint of the shared energy storage operator is:
[0030]
[0031] The interactive power between the shared energy storage operator and the grid is constrained by the tie line limit as follows:
[0032]
[0033] In the formula, and They are the upper limits of electricity sales and purchases that shared energy storage operators can make from the upper-level power grid.
[0034] The objective function of the virtual power plant operator optimization operation model is:
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043] In the formula, F VPP Comprehensive benefits for virtual power plant operators; vpp1 The revenue from electricity purchase and sale between virtual power plant operators and shared energy storage operators; vpp2 The revenue from the purchase and sale of electricity and heat by the virtual power plant operator and the photovoltaic producer and seller alliance; vpp3 The revenue from electricity purchase and sale between the virtual power plant operator and the power grid; C gas , C CHP , C cur and They are the gas consumption cost of the virtual power plant operator, the total operating cost of the combined heat and power system, the penalty cost for wind and solar power abandonment, and the carbon trading cost; and are the prices at which the virtual power plant operator purchases and sells electricity from the shared energy storage operator at time t; and are the electricity purchase price and heat purchase price of the PV producers and sellers alliance from the virtual power plant operator at time t respectively; The purchase and sale of electricity between virtual power plant operators and the PV producers and sellers alliance; The purchase and sale of heat between virtual power plant operators and the PV producers and sellers alliance; are the electricity and heat purchased by the members of the PV Producers and Marketers Alliance from the virtual power plant operator at time t; N is the total number of members of the PV Producers and Marketers Alliance participating in the day-ahead power market; and are the grid electricity price and on-grid electricity price at time t respectively; They are the electricity purchase and sales between the virtual power plant operator and the power grid at time t; and are the electricity purchased and sold by the virtual power plant operator from the shared energy storage operator at time t, respectively; are the hourly gas consumption rates of the gas turbine and gas boiler of the virtual power plant operator at time t; δ gas is the unit gas purchase cost; They are the operation and maintenance cost coefficients of the cogeneration system, power-to-gas system, and carbon capture system; are the discharge powers of the cogeneration system, the power-to-gas system and the carbon capture system at time t respectively; Penalty cost coefficient for wind and solar power abandonment; is the wind and solar power curtailment of the virtual power plant operator at time t.
[0044] The carbon trading costs for:
[0045]
[0046] In the formula, E is the free carbon emission quota of the virtual power plant operator; λ is the carbon trading cost coefficient; l is the length of the carbon emission interval; α is the price increase;
[0047] The carbon emission quota E of the virtual power plant operator is:
[0048] E=E CHP +E GB -E P2G ;
[0049]
[0050]
[0051] In the formula, E CHP 、E GB They are the free carbon emission quotas for the combined heat and power system and the gas boiler; P2G Free carbon emission quota for power-to-gas system; h is the amount of free carbon emissions per unit of heat; are the heat and electricity output power of the cogeneration system at time t respectively; is the conversion coefficient of the heat output of the cogeneration equipment; is the heating power of the gas boiler at time t; P2G It is the free carbon emission amount per unit of electricity.
[0052] The constraints of the virtual power plant operator optimization operation model include:
[0053] Price constraints:
[0054]
[0055]
[0056] In the formula, and are the upper and lower limits of the electricity purchase price that the PV producers and sellers alliance pays to the virtual power plant operator at time t; and are the upper and lower limits of the heat purchase price that the PV producers and sellers alliance pays to the virtual power plant operator at time t; and They are the average electricity and heat purchase prices from the PV Prosperity Alliance to the virtual power plant operators;
[0057] The combined heat and power system constraints are:
[0058]
[0059]
[0060] In the formula, and are the power generation and heating power of the gas turbine at time t respectively; η MT is the power generation efficiency of the gas turbine at time t; H LHV is the lower calorific value of natural gas at time t; is the gas consumption of the gas turbine at time t; η MT,h is the heating coefficient of the gas turbine at time t; and are the upper limit of power generation and heating of the gas turbine at time t respectively;
[0061] The gas boiler constraints are:
[0062]
[0063] In the formula, is the heating power of the gas boiler at time t; η GB The power generation efficiency of the gas boiler; The upper limit of the heating power of the gas boiler at time t;
[0064] The electric and thermal power balance constraint for the virtual power plant operator is:
[0065]
[0066]
[0067] In the formula, The power generation capacity of new energy; and are the on-grid operating power and off-grid operating power between the virtual power plant operator and the grid at time t, respectively; The purchase and sale of electricity between virtual power plant operators and the PV producers and sellers alliance; The purchase and sale of heat between virtual power plant operators and the PV producers and sellers alliance; It is the abandoned wind and solar power; Forecasted power generation of new energy sources;
[0068]
[0069] In the formula, They are the maximum online operating power and the maximum offline operating power between the virtual power plant operator and the power grid at time t, respectively.
[0070] The objective function of the photovoltaic producer-seller alliance optimization operation model is:
[0071]
[0072]
[0073]
[0074] In the formula, The comprehensive benefits of the members of the Photovoltaic Producers and Marketers Alliance; and They are the electricity purchase and heat cost of member i of the PV prosumer alliance, the benefit brought to member i by P2P electricity trading among members within the PV prosumer alliance, and the cost of load participation in demand response within member i; and are the electricity purchase price and heat purchase price of the PV producers and sellers alliance from the virtual power plant operator at time t respectively; and are the electricity and heat purchased by PV Producers and Marketers Alliance member i from the virtual power plant operator at time t; and are the electricity load reduction cost coefficient and heat load reduction cost coefficient of photovoltaic producer and marketer alliance member i at time t, respectively; and are the reduction in electric load and heat load of member i of the PV Producers and Marketers Alliance at time t, respectively; is the electricity transaction price between photovoltaic producer and seller alliance member i and photovoltaic producer and seller alliance member j at time t; is the amount of electricity traded between photovoltaic prosumer alliance member i and photovoltaic prosumer alliance member j at time t; N is the total number of photovoltaic prosumer alliance members.
[0075] The constraints of the photovoltaic producer and seller alliance optimization operation model are:
[0076]
[0077]
[0078]
[0079]
[0080] In the formula, is the maximum value of the electricity load that can be reduced by member i of the PV Producers and Marketers Alliance at time t; is the maximum value of heat load that can be reduced by member i of the PV prosumer alliance at time t; is the maximum interactive power allowed between members of the photovoltaic producer and seller alliance at time t; P i buy,max and are the upper limit of electricity purchase and heat purchase of member i of the PV Producers and Marketers Alliance from the virtual power plant operator at time t, respectively; is the photovoltaic output of member i of the photovoltaic producer and seller alliance at time t; is the heat load of PV prosumer alliance member i after demand response at time t; is the heat load of PV producer and seller alliance member i after demand response at time t.
[0081] The method of constructing and solving the day-ahead joint optimization model of the shared energy storage operator and the virtual power plant operator based on the multi-agent hybrid game includes:
[0082] A day-ahead joint optimization model of shared energy storage operators and virtual power plant operators based on multi-agent hybrid games is constructed. The model is divided into three stages: Stage 1, the master-slave game between shared energy storage operators and virtual power plant operators. According to the power purchase and sale demand provided by the virtual power plant operator, the shared energy storage operator sets the power purchase and sale price and sends the power purchase and sale price to Stage 2; Stage 2, the master-slave game between the virtual power plant operator and the photovoltaic producer and seller alliance. According to the power purchase and sale price and the power purchase and sale heat load demand provided by the photovoltaic producer and seller alliance, the virtual power plant operator sets the power purchase and sale heat price for the photovoltaic producer and seller alliance and sends the power purchase and sale heat price to Stage 3; Stage 3, the cooperative game between members of the photovoltaic producer and seller alliance. According to the power purchase and sale heat price, the power transaction volume and transaction price between members of the photovoltaic producer and seller alliance are calculated, and the power purchase and sale volume of the virtual power plant operator is sent to Stage 1;
[0083] First, the KKT condition is used to solve the active game between the virtual power plant operator and the photovoltaic prosumer alliance. Then, the master-slave game between the shared energy storage operator and the virtual power plant operator is solved through the dichotomy method. Finally, the cooperative game between the members of the photovoltaic prosumer alliance is solved based on ADMM.
[0084] A device for joint optimization of shared energy storage and virtual power plants in a spot market, the device is applied to the above method, and the device comprises:
[0085] The day-ahead trading model building module is used to establish a multi-agent day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliances and the power grid;
[0086] The multi-agent optimization operation model construction module is used to establish an optimization operation model for shared energy storage operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the superior power grid, the income from purchasing and selling electricity with the virtual power plant operator, and the energy storage operation and maintenance costs; establish an optimization operation model for virtual power plant operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the shared energy storage operator, the income from purchasing and selling electricity and heat with the photovoltaic producer and seller alliance, gas consumption costs, total operating costs of the cogeneration system, penalty costs for wind and solar abandonment, and carbon trading costs; establish an optimization operation model for the photovoltaic producer and seller alliance with the goal of minimizing the total cost including the cost of purchasing electricity and heat, the income from electricity trading between members, and the cost of participating in demand response;
[0087] The day-ahead joint optimization model construction and solution module is used to construct and solve the day-ahead joint optimization model of shared energy storage operators and virtual power plant operators in multi-agent hybrid games.
[0088] Compared with the prior art, the present invention has the following beneficial effects:
[0089] In a method and device for joint optimization of shared energy storage and virtual power plants in a spot market, the method establishes a multi-subject optimization operation model with the maximum comprehensive benefits of shared energy storage operators and virtual power plant operators and the minimum total cost of the photovoltaic producer and marketer alliance. In order to ensure the win-win interests of multiple subjects of shared energy storage operators, virtual power plant operators and photovoltaic producer and marketer alliances in the spot market, a master-slave game is adopted between shared energy storage operators and virtual power plant operators, a master-slave game is adopted between virtual power plant operators and photovoltaic producer and marketer alliances, and a cooperative game is adopted between photovoltaic producers and marketers. The present invention can promote distributed photovoltaic consumption under the condition of win-win for multiple market subjects, and ensure the benefits of shared energy storage operators and virtual power plant operators. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] Figure 1 It is a flow chart of a method for joint optimization of shared energy storage and virtual power plants in a spot market according to the present invention.
[0091] Figure 2 It is a schematic diagram of the day-ahead transaction model in which multiple entities participate in the present invention.
[0092] Figure 3 It is a structural block diagram of a device for joint optimization of shared energy storage and virtual power plants in a spot market according to the present invention.
[0093] Figure 4 It is a structural block diagram of a day-ahead joint optimization device for shared energy storage and virtual power plants in a spot market according to the present invention. DETAILED DESCRIPTION
[0094] The present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0095] See also Figure 1 , a method for joint optimization of shared energy storage and virtual power plants in the spot market, comprising:
[0096] S1. Establish a multi-agent day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliance and the power grid.
[0097] See also Figure 2 The overall framework of the day-ahead trading model involving multiple market players established by the present invention consists of four parts: the power grid, shared energy storage operators, virtual power plant operators, and the photovoltaic producer-seller alliance. The photovoltaic producer-seller alliance is composed of multiple photovoltaic producers and sellers. Photovoltaic producers and sellers mainly refer to electricity users near distributed photovoltaic power stations. They can give priority to using photovoltaic power generation to meet their own needs, and can also sell distributed photovoltaic power generation to obtain revenue; the user load within the photovoltaic producer-seller is composed of electric and thermal flexible loads and rigid loads. Photovoltaic producers and sellers have different characteristics and present a certain surplus or shortage of electricity to the outside world; members of the photovoltaic producer-seller alliance can realize power exchange through contact lines and P2P mechanisms.
[0098] The virtual power plant operator itself consists of a large-scale centralized new energy power generation system, gas turbines (GT), gas boilers (GB), etc. The virtual power plant operator optimizes energy prices, transaction power and system unit output according to its own goals and resource characteristics. The natural gas required for gas turbines and gas boilers is purchased by VPP from natural gas companies. The virtual power plant and the photovoltaic producer and seller alliance can achieve power exchange through the interconnection line, give full play to the complementarity of their respective production capacity structure characteristics, cooperate with each other to promote the consumption of renewable energy and reduce dependence on power distribution networks. At the same time, the virtual power plant operator can also conduct power purchase and sale transactions with shared energy storage operators and other entities in the power grid. Because the virtual power plant operator needs to rely on the distribution network transmission rights to conduct transactions, and is limited by the actual system section, there is a maximum power constraint between the virtual power plant operator and the upper-level power grid. In some trading periods, the virtual power plant operator needs to purchase and sell power with the shared energy storage operator to avoid large fluctuations in transaction prices or the emergence of wind and solar power abandonment. Specifically, when the output of the virtual power plant operator's own units cannot meet the load demand, it can purchase electricity from the superior power grid and shared energy storage operators. When the virtual power plant operator's own units have a surplus output, it can also sell electricity to the power grid and shared energy storage operators. However, when the output of the virtual power plant operator's own units and the purchase of electricity from the power grid cannot meet the power supply demand, it is necessary to purchase electricity from the shared energy storage operator. Shared energy storage operators provide services to virtual power plant operators and power grids. Shared energy storage operators can conduct power purchase and sales transactions with virtual power plant operators and other entities in the power grid.
[0099] S2. Establish an optimal operation model for shared energy storage operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the superior power grid, the income from purchasing and selling electricity with virtual power plant operators, and the energy storage operation and maintenance costs; establish an optimal operation model for virtual power plant operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with shared energy storage operators, the income from purchasing and selling electricity and heat with the photovoltaic producer and seller alliance, gas consumption costs, total operating costs of the cogeneration system, penalty costs for wind and solar power abandonment, and carbon trading costs; establish an optimal operation model for the photovoltaic producer and seller alliance with the goal of minimizing the total cost, including the cost of purchasing electricity and heat, the income from electricity trading between members, and the cost of participating in demand response.
[0100] The objective function of the shared energy storage operator optimization operation model is:
[0101] max F SES= I eso1 +I eso2 -C ope ;
[0102]
[0103]
[0104]
[0105] In the formula, F SES To share the comprehensive benefits of energy storage operators; eso1 ,I eso2 and C ope They are the revenue of shared energy storage operators from purchasing and selling electricity from the grid, the revenue from purchasing and selling electricity from virtual power plant operators, and the energy storage operation and maintenance costs; and are the grid electricity price and on-grid electricity price at time t respectively; and are the prices at which the virtual power plant operator purchases and sells electricity from the shared energy storage operator at time t; and are the electricity sales and purchases of the shared energy storage operator from the upper power grid at time t; and are the electricity purchased and sold by the virtual power plant operator from the shared energy storage operator at time t, respectively; and are the charging power and discharging power of the shared energy storage operator at time t respectively; ess is the operation and maintenance cost coefficient of the shared energy storage operator.
[0106] The constraints of the shared energy storage operator optimization operation model are:
[0107] The operating constraints of shared energy storage operators are:
[0108]
[0109]
[0110] In the formula, E is the remaining capacity of the shared energy storage operator at time t; ses (1) is the capacity state of the shared energy storage corresponding to the first moment (initial moment) of the day; E ses (24) is the capacity state of the shared energy storage corresponding to the 24th moment (end moment) of the day; η cha and η dis They are the charging and discharging efficiency of shared energy storage operators; is the rated capacity of the shared energy storage operator;
[0111] The output power constraint of the shared energy storage operator is:
[0112]
[0113] Where P t char,max and are the maximum charging power and maximum discharging power allowed by the shared energy storage operator at time t respectively; is a 0-1 variable for the charging status;
[0114] The purchase and sale price constraints of shared energy storage operators and virtual power plant operators are:
[0115]
[0116]
[0117] In the formula, and They are the upper and lower limits of the price at which virtual power plant operators purchase electricity from shared energy storage operators; and They are the upper and lower limits of the electricity sales price from the virtual power plant operator to the shared energy storage operator; and They are the average purchase price and the average sale price of electricity from virtual power plant operators to shared energy storage operators respectively;
[0118] The power balance constraint of the shared energy storage operator is:
[0119]
[0120] The interactive power between the shared energy storage operator and the grid is constrained by the tie line limit as follows:
[0121]
[0122] In the formula, and They are the upper limits of electricity sales and purchases that shared energy storage operators can make from the upper-level power grid.
[0123] The objective function of the virtual power plant operator optimization operation model is:
[0124]
[0125]
[0126]
[0127]
[0128]
[0129]
[0130]
[0131]
[0132] In the formula, F VPP Comprehensive benefits for virtual power plant operators; vpp1 The revenue from electricity purchase and sale between virtual power plant operators and shared energy storage operators; vpp2 The revenue from the purchase and sale of electricity and heat by the virtual power plant operator and the photovoltaic producer and seller alliance; vpp3 The revenue from electricity purchase and sale between the virtual power plant operator and the power grid; C gas , C CHP , C cur and They are the gas consumption cost of the virtual power plant operator, the total operating cost of the combined heat and power (CHP) system, the penalty cost for wind and solar power abandonment, and the carbon trading cost; and are the prices at which the virtual power plant operator purchases and sells electricity from the shared energy storage operator at time t; and are the electricity purchase price and heat purchase price of the PV producers and sellers alliance from the virtual power plant operator at time t respectively; The purchase and sale of electricity between virtual power plant operators and the PV producers and sellers alliance; The purchase and sale of heat between virtual power plant operators and the PV producers and sellers alliance; are the amount of electricity and heat purchased by PV prosumer alliance member t from the virtual power plant operator at time t; N is the total number of PV prosumer alliance members participating in the day-ahead power market; and are the grid electricity price and on-grid electricity price at time t respectively; They are the electricity purchase and sales between the virtual power plant operator and the power grid at time t; and are the electricity purchased and sold by the virtual power plant operator from the shared energy storage operator at time t, respectively; are the hourly gas consumption rates of the gas turbine and gas boiler of the virtual power plant operator at time t; δ gas is the unit gas purchase cost; They are the operation and maintenance cost coefficients of the combined heat and power system, the power to gas system (Power to Gas, P2G), and the carbon capture and storage system (carbon capture and storage, CCS); are the discharge powers of the cogeneration system, the power-to-gas system and the carbon capture system at time t respectively; Penalty cost coefficient for wind and solar power abandonment; is the wind and solar power curtailment of the virtual power plant operator at time t.
[0133] The carbon trading costs for:
[0134]
[0135] In the formula, E is the free carbon emission quota of the virtual power plant operator; α is the carbon trading cost coefficient; l is the length of the carbon emission interval; α is the price increase;
[0136] The carbon emission quota E of the virtual power plant operator is:
[0137] E=E CHP +E GB -E P2G ;
[0138]
[0139]
[0140] In the formula, E CHP 、E GB They are the free carbon emission quotas for the combined heat and power system and the gas boiler; P2G Free carbon emission quota for power-to-gas system; h is the amount of free carbon emissions per unit of heat; are the heat and electricity output power of the cogeneration system at time t respectively; is the conversion coefficient of the heat output of the cogeneration equipment; is the heating power of the gas boiler at time t; β P2G It is the free carbon emission amount per unit of electricity.
[0141] The constraints of the virtual power plant operator's optimization operation model include:
[0142] Price constraints:
[0143]
[0144]
[0145] In the formula, and are the upper and lower limits of the electricity purchase price that the PV producers and sellers alliance pays to the virtual power plant operator at time t; and are the upper and lower limits of the heat purchase price that the PV producers and sellers alliance pays to the virtual power plant operator at time t; and They are the average electricity and heat purchase prices from the PV Prosperity Alliance to the virtual power plant operators;
[0146] The combined heat and power system constraints are:
[0147]
[0148]
[0149] In the formula, and are the power generation and heating power of the gas turbine at time t respectively; η MT is the power generation efficiency of the gas turbine at time t; H LHV is the lower calorific value of natural gas at time t; is the gas consumption of the gas turbine at time t; η MT,h is the heating coefficient of the gas turbine at time t; and are the upper limit of power generation and heating of the gas turbine at time t respectively;
[0150] The gas boiler constraints are:
[0151]
[0152] In the formula, is the heating power of the gas boiler at time t; η GB The power generation efficiency of the gas boiler; The upper limit of the heating power of the gas boiler at time t;
[0153] The electric and thermal power balance constraint for the virtual power plant operator is:
[0154]
[0155]
[0156] Where P t new The power generation capacity of new energy; and are the on-grid operating power and off-grid operating power between the virtual power plant operator and the power grid at time t, respectively; P t B The purchase and sale of electricity between virtual power plant operators and the PV producers and sellers alliance; P is the purchase and sale of heat between the virtual power plant operator and the photovoltaic producer and seller alliance; t cur P is the abandoned wind and solar power; t new,fore Forecasted power generation of new energy sources;
[0157] According to the current mainstream equivalent method, the forecast error of renewable energy output on the day before the forecast follows the normal distribution and the variance is When , the balance constraint is converted into the power balance constraint under wind and solar uncertainty in the form of opportunity constraint:
[0158]
[0159] In the formula, η is the confidence probability level.
[0160]
[0161] In the formula, ξ -1 (η) is the inverse function of the standard normal distribution.
[0162]
[0163] In the formula, They are the maximum online operating power and the maximum offline operating power between the virtual power plant operator and the power grid at time t, respectively.
[0164] The objective function of the photovoltaic producer and seller alliance optimization operation model is:
[0165]
[0166]
[0167]
[0168] In the formula, F i PVP The comprehensive benefits of the members of the Photovoltaic Producers and Marketers Alliance; and They are the electricity purchase and heat cost of member i of the PV prosumer alliance, the benefit brought to member i by P2P electricity trading among members within the PV prosumer alliance, and the cost of load participation in demand response within member i; and are the electricity purchase price and heat purchase price of the PV producers and sellers alliance from the virtual power plant operator at time t respectively; and are the electricity and heat purchased by PV Producers and Marketers Alliance member i from the virtual power plant operator at time t; and are the electricity load reduction cost coefficient and heat load reduction cost coefficient of photovoltaic producer and marketer alliance member i at time t, respectively; and are the reduction in electric load and heat load of member i of the PV Producers and Marketers Alliance at time t, respectively; is the electricity transaction price between photovoltaic producer and seller alliance member i and photovoltaic producer and seller alliance member j at time t; is the amount of electricity traded between photovoltaic prosumer alliance member i and photovoltaic prosumer alliance member j at time t; N is the total number of photovoltaic prosumer alliance members; and They are respectively the lower and upper limits allowed for electricity trading prices.
[0169] The constraints of the photovoltaic producer and seller alliance optimization operation model are:
[0170]
[0171]
[0172]
[0173]
[0174]
[0175] In the formula, is the maximum value of the electricity load that can be reduced by member i of the PV Producers and Marketers Alliance at time t; is the maximum value of heat load that can be reduced by member i of the PV prosumer alliance at time t; P t P2P,max is the maximum interactive power allowed between members of the photovoltaic producer and seller alliance at time t; P i buy,max and are the upper limit of electricity purchase and heat purchase of member i of the PV Producers and Marketers Alliance from the virtual power plant operator at time t, respectively; is the photovoltaic output of member i of the photovoltaic producer and seller alliance at time t; is the electricity load of member i of the PV prosumer alliance after demand response at time t; To predict the electrical load; is the heat load of PV producer and seller alliance member i after demand response at time t; To predict heat load.
[0176] S3. Construct and solve the day-ahead joint optimization model of shared energy storage operators and virtual power plant operators based on multi-agent hybrid game.
[0177] A day-ahead joint optimization model of shared energy storage operators and virtual power plant operators based on multi-agent hybrid game is constructed. The model is divided into three stages: Stage 1 is a master-slave game between shared energy storage operators and virtual power plant operators. The electricity purchase and sales prices set by shared energy storage operators will be adjusted according to the electricity purchase and sales demand provided by the virtual power plant to maximize their own benefits, and the set electricity purchase and sales prices will be sent to Stage 2; Stage 2 is a master-slave game model between virtual power plant operators and photovoltaic producers and sellers alliance. According to the electricity purchase and sales prices calculated in Stage 1 and the electricity purchase and sales heat load demand provided by the photovoltaic producers and sellers alliance, the virtual power plant operator will set a suitable electricity purchase and sales heat price for the photovoltaic producers and sellers alliance, and send the set electricity purchase and sales heat price to Stage 3; Stage 3 is a cooperative game model between members of the photovoltaic producers and sellers alliance. According to the electricity purchase and sales heat price calculated in Stage 2, the appropriate electricity transaction volume and transaction price between members of the photovoltaic producers and sellers alliance are calculated to ensure that each photovoltaic producer and seller can profit through cooperation on the basis of maximizing the cooperation benefits, and the electricity purchase and sales volume of the virtual power plant operator will be sent back to Stage 1.
[0178] The specific calculation steps of the three-layer hybrid game are as follows:
[0179] Step 1: The virtual power plant operator acts as a leader and plays a master-slave game with the follower PV producer-seller alliance. Both the virtual power plant operator and the PV producer-seller aim to maximize their own benefits. The master-slave game model is solved using KKT conditions, that is, the lower layer is converted into the constraints of the upper layer through KKT conditions. The second and third layers are merged into one layer, and the three-layer optimization model is converted into a two-layer optimization model.
[0180] Step 2: The shared energy storage operator is the leader, and the virtual power plant operator obtained by merging the middle and lower layers is the follower to play a master-slave game, in which the shared energy storage operator and the virtual power plant operator both aim to maximize their own benefits. In the end, the purchased electricity volume of the shared energy storage operator, the purchase and sale price of the virtual power plant operator, the purchased electricity heat of the photovoltaic producer and seller alliance, and the interactive electricity volume between the PVP alliance members are obtained.
[0181] Step 3: Using Nash negotiation theory, the cooperative game problem of the photovoltaic producer and marketer alliance is decomposed into two sub-problems: alliance benefit maximization (P1) and cooperative benefit distribution (P2). Then, according to the specific electricity trading volume among the photovoltaic producer and marketer alliance, the cooperative benefit distribution (P2) is reasonably realized based on Nash negotiation theory. Finally, the electricity trading price among the members of the photovoltaic producer and marketer alliance is calculated.
[0182] In order to achieve reasonable interaction among the members of the photovoltaic producer and marketer alliance, the photovoltaic producer and marketer alliance aims to minimize the cost of electricity and heat used by the aggregate, that is, to maximize its own benefits, but it also needs to ensure that its own benefits are not lower than the benefits when participating in P2P transactions. Therefore, the Nash negotiation theory is introduced as a cooperative game model within the photovoltaic producer and marketer alliance, as shown in the following formula:
[0183]
[0184] In the formula, F i The benefit obtained by member i in the photovoltaic producer and seller alliance when participating in P2P transactions; F i 0 It is the benefit obtained by member i in the PV producer and seller alliance when he does not participate in P2P transactions, that is, the negotiation breakdown point.
[0185] The above Nash negotiation model is further transformed into the sub-problem of maximizing the overall benefits of the photovoltaic producer and seller alliance and the sub-problem of maximizing the benefits of electricity trading among members in order to solve the model.
[0186] The formula for the overall benefit maximization sub-problem P1 of the photovoltaic producer and seller alliance is:
[0187]
[0188] In the formula, F PVP It is the total benefit of cooperation among members of the Photovoltaic Producers and Marketers Alliance.
[0189] The sub-problem P2 of maximizing the revenue of electricity trading among members of the photovoltaic producer and seller alliance is:
[0190]
[0191] In the formula, the variables with superscript * represent the optimal solution obtained in subproblem P1; F PVP*Represents the benefit of member i of the PV producers and sellers alliance obtained in sub-problem P1.
[0192] The master-slave game can be transformed into a single-layer optimization problem through the stationary point method, and the KKT system for the cost minimization problem of the lower-level photovoltaic producer-seller alliance is established, and it is used as a constraint condition for the middle-level VPP profit maximization problem, thereby transforming the three-layer optimization problem into a two-layer optimization problem and linearizing all bilinear terms into linear terms.
[0193] In summary, the master-slave game problem between the middle and lower-level photovoltaic producers and sellers and the virtual power plant operators can be transformed into the following mixed integer linear programming:
[0194]
[0195] The binary distributed optimization algorithm solves the master-slave game (P1). Specifically, the two-layer model after conversion is a master-slave game optimization model, with the shared energy storage operator as the leader and the virtual power plant operator as the follower. The binary algorithm is used to solve the master-slave game model of the shared energy storage operator and the virtual power plant operator to avoid abnormal fluctuations in the transaction price between the two. First, the optimal solution interval of the shared energy storage operator's electricity sales price is initialized, and then the interval is divided into two parts. According to the iterative results, the final solution is determined to be located in the interval. Repeat the above process and continue to divide the interval into two sub-intervals until the convergence condition is reached.
[0196] Let x h,t is the electricity price at time t in the hth iteration, and its upper and lower bounds are x h,max 、x h,min , and its iterative convergence conditions are as follows:
[0197]
[0198] In the formula, are respectively the electricity purchase and sale prices between the shared energy storage operator and the virtual power plant operator at time t in the h-th iteration.
[0199] The specific solution steps are as follows:
[0200] Let x h,t =(x h,max +x h,min ) / 2, h=h+1;
[0201] Judge x h,t With x h-2,t The size relationship of
[0202] When x h,t =x h-2,t When , add constraints to the upper-level shared energy storage optimization model:
[0203] xh+1,t =(x h,t +x h-1,t ) / 2;
[0204] When x h,t ≠x h-2,t When adding constraints to the underlying virtual power plant optimization model:
[0205] x h-1,t ≤x h+1,t ≤x h,t ;
[0206] If the convergence condition is met, the iteration is terminated, otherwise the above operation is repeated until the convergence condition is met.
[0207] Based on ADMM, the cooperative game of the members of the photovoltaic producer and seller alliance (P2) is solved as follows:
[0208] The master-slave game optimization model includes the coupling variables of the electricity transaction prices between members of the photovoltaic producer and seller alliance. By introducing shared variables to decouple them, the purchase and sale electricity prices between photovoltaic producers and sellers are guaranteed:
[0209]
[0210] In the formula, The shared variable representing the energy interaction price between PV prosumer alliance member i and PV prosumer alliance member j at time t.
[0211] The distributed optimization model of member i of the photovoltaic producer-seller alliance is decomposed as follows:
[0212]
[0213] In the formula, It represents the dual variable of the price interaction of electricity transaction between PV prosumer alliance member i and PV prosumer alliance member j; ρ represents the penalty factor.
[0214] The formula and convergence conditions for ADMM variable update in sub-problem 2 are as follows:
[0215] The update formula of the optimization variable in stage 2 is:
[0216]
[0217]
[0218] Where h is the number of iterations; is the dual variable of the hth iteration.
[0219] The calculated h+1th photovoltaic producer-seller electricity transaction price can be used to update the h+1th shared variable:
[0220]
[0221] According to the k+1th shared variables, update the k+1th dual variables:
[0222]
[0223] The convergence condition for the final model iteration is:
[0224]
[0225] Where ε is the convergence coefficient.
[0226] The objective function of each layer is solved by optimizing the algorithm, and the purchase and sale prices of shared energy storage operators and virtual power plant operators, the purchase and sale prices between virtual power plant operators and photovoltaic prosumers alliances, the purchase and sale heat of photovoltaic prosumers alliances, and the amount of electricity traded between photovoltaic prosumers are obtained through the binary search method. The purchase and sale prices and the amount of electricity traded between photovoltaic prosumers are input into the photovoltaic prosumers alliance at the lower level. The lower level solves the electricity trading price between photovoltaic prosumers alliances through ADMM.
[0227] The present invention is based on the mixed game theory of SES (shared energy storage)-VPP (virtual power plant) master-slave game, VPP (virtual power plant)-PV prosumer (PV prosumer, PVP) alliance master-slave game and cooperative game between members in the PVP alliance, and establishes a multi-agent optimization operation model for maximizing the benefits of SES operators, VPP operators and PVP alliances. The three-layer model is converted into a linear two-layer model using the Karush-Kuhn-Tucker (KKT) condition and linearization method, and chance constraints are used to cope with the impact of the uncertainty of VPP new energy output. Then, the constructed model is solved using the dichotomy algorithm combined with the alternating direction multiplier method (ADMM). The method proposed in the present invention can promote distributed photovoltaic consumption under the condition of win-win for multiple market entities, and ensure the benefits of shared energy storage operators and virtual power plant operators.
[0228] In this embodiment, the SES operator related parameters are: ess =0.01, η cha =0.95, η dis =0.95, VPP operator-related parameters are: η MT =0.3, H LVH =9.7, ηMT,h =0.8. PVP alliance related parameters are: P buy,max =2000, H buy,max =2000,
[0229] In order to prove the effectiveness of the method of the present invention, the following four day-ahead market optimization operation schemes are set up for comparative analysis. Scheme 1 and Scheme 3 are the schemes proposed by the present invention, but they have different considerations for the uncertainty of new energy output. The operation results under different schemes are shown in Table 1, and the final benefit comparison of each member of the PVP alliance is shown in Table 2.
[0230] Solution 1: The method proposed in the present invention adopts a master-slave game between SES operators and VPP operators, a master-slave game between VPP operators and PVP alliances, and a cooperative game between PVP alliance members, taking into account the uncertainty of VPP operators' new energy output.
[0231] Option 2: A master-slave game is adopted between SES operators and VPP operators, and a master-slave game is adopted between VPP operators and PVP alliances. The cooperative game between PVP alliance members is not considered, and the uncertainty of VPP operators' new energy output is taken into account.
[0232] Solution 3: The method proposed in the present invention adopts a master-slave game between SES operators and VPP operators, and a master-slave game between VPP operators and PVP alliances. The cooperative game between PVP alliance members is considered, and the uncertainty of VPP operators' new energy output is not considered.
[0233] Solution 4: A master-slave game is adopted between SES operators and VPP operators, and a master-slave game is adopted between VPP operators and PVP alliances. The cooperative game between PVP alliance members and the uncertainty of VPP operators' new energy output are not considered.
[0234] Table 1 Operation results under different day-ahead market optimization operation schemes
[0235] Scenario VPP benefit / yuan ESO benefit / yuan Total benefit of PVP alliance / yuan Overall total benefit / yuan 1 11742.41 4455.12 -31988.27 -15790.74 2 11786.83 4433.56 -32579.01 -16358.62 3 14269.68 4303.86 -31990.55 -13417.01 4 14332.06 4248.11 -32597.61 -14017.44
[0236] Table 2 Analysis of benefits before and after PVP alliance cooperation
[0237] Scenario Profit before cooperation / yuan Profit after cooperation / yuan Final income / yuan Increased revenue / yuan 1 -10784.63 -13523.95 -10587.83 196.78 2 -10861.10 -10205.78 -10664.19 196.91 3 -10933.28 -8726.16 -10736.25 197.03
[0238] By comparing scenario 1 and scenario 2 in Table 1, it can be found that because scenario 1 takes into account the cooperative game between PVP alliances, the total benefit of PVP alliance in scenario 1 is increased by 590.74 yuan compared with scenario 2, the benefit of SES operators is reduced by 21.56 yuan, and the benefit of VPP operators is increased by 44.42 yuan. This is because PVP members can fully utilize their own production capacity structure characteristics through P2P power transactions to achieve multi-energy complementarity, reducing the dependence of PVP alliance on external energy input. Since VPP operators reduce the amount of power delivered to PVP alliances, there may be a surplus of power that can be sold back to the power grid or SES operators, thereby slightly increasing the income and slightly reducing the income of SES operators. Under ideal conditions, without considering the uncertainty of new energy output, the method proposed in the present invention increases the total income of multiple subjects by about 4.28% compared with when P2P transactions within the PVP alliance are not taken into account. If the uncertainty of new energy output is considered, the total income of multiple subjects in the method proposed in the present invention increases by about 3.47%. From Table 2, we can find that the final benefits of each PVP alliance member increased by 196.78 yuan, 196.91 yuan and 197.03 yuan respectively. This is because the introduction of Nash negotiation theory has improved the benefits of each PVP alliance member while ensuring the reduction of the total cost of the PVP alliance, ensuring the interests of the cooperation participants and achieving fair distribution of cooperation benefits.
[0239] Table 3 Virtual power plant operator electricity balance
[0240]
[0241]
[0242] Table 4 Heat balance of virtual power plant operators
[0243]
[0244]
[0245] The optimization results of the VPP operator are shown in Tables 3 and 4. From Table 3, it can be seen that in the time periods of 01:00-8:00 and 15:00-24:00, in order to meet the demand for electricity load, the VPP operator chooses to purchase most of the electricity from the grid and SES operators with lower prices instead of generating all of the electricity by itself, thereby reducing its own power generation costs; at 10:00-14:00, the VPP operator did not purchase electricity from the grid or SES operator. On the one hand, it is because the lower-level photovoltaic output is large at this time, offsetting most or all of the electricity load. On the other hand, the output of the VPP operator's units can meet the lower-level electricity supply, thereby saving electricity. Save power supply costs and increase their own profits. Secondly, since the output of VPP operators' units and new energy output is greater than the lower-level energy demand, the VPP operators sell most of the surplus electricity to the power grid and a small amount of electricity to SES operators to obtain profits. As can be seen from Table 4, most of the heat load is met by gas turbines, and very little heat load demand is met by gas boilers. This is because gas turbines will also generate heat while meeting the electricity demand of the lower-level PVP alliance. Therefore, for the economy of VPP operators, gas turbines have always been the main part of energy supply, resulting in gas turbines providing a large part of the heat.
[0246] Table 5 PV Producer and Seller 1 Electricity Balance
[0247]
[0248] Table 6 Thermal balance of photovoltaic producer and seller 1
[0249]
[0250]
[0251] Table 7 Electricity sales prices between virtual power plant operators and PV producers and sellers alliance
[0252]
[0253] Table 8 Transaction volume of electricity between photovoltaic producers and sellers
[0254]
[0255]
[0256] The optimization results of the PVP alliance are shown in Tables 5, 6 and 7. From Tables 5, 6 and 7, it can be found that at 02:00-11:00 and 15:00-24:00, most of the electric loads meet their own power needs by purchasing electricity from VPP operators, because the photovoltaic output is very low at this time and cannot bear their power demand; at 12:00-14:00, almost most of the power demand of PVP1 is met by photovoltaic output or by purchasing electricity from other members of the PVP alliance, because at this time, purchasing electricity from other members is cheaper and more economical than purchasing electricity from VPP operators. When the demand for electricity purchase in the lower layer is small, the VPP operator sets the electricity price to its minimum purchase price in order to attract lower-level users to purchase electricity. When the demand for electricity purchase in the PVP alliance is large, the purchase price is set higher, almost the same as the purchase price of electricity from the power grid, so as to obtain higher profits. The power exchange between PVP1 and other PVP members is shown in Table 8. PVP1 purchases electricity from VPP operators during the periods of 03:00-4:00, 06:00-7:00 and 18:00-22:00 to exchange power between PVPs. This improves the benefits of the PVP alliance but causes its own benefits to be damaged. Its damaged benefits will be compensated through the distribution of cooperative benefits (P2) to ensure that PVP1 will not suffer losses due to cooperation. Since PVP1's heat load can only be met by purchasing from VPP operators to meet its heat demand, PVP1 can only reduce the heat purchase cost by reducing the heat load when the heat price is high.
[0257] See also Figure 3 The present invention also provides a device for joint optimization of shared energy storage and virtual power plants in the spot market, which is applied to the above-mentioned method for joint optimization of shared energy storage and virtual power plants in the spot market, and the device includes:
[0258] The day-ahead trading model building module is used to establish a multi-agent day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliances and the power grid;
[0259] The multi-agent optimization operation model construction module is used to establish an optimization operation model for shared energy storage operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the superior power grid, the income from purchasing and selling electricity with the virtual power plant operator, and the energy storage operation and maintenance costs; establish an optimization operation model for virtual power plant operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the shared energy storage operator, the income from purchasing and selling electricity and heat with the photovoltaic producer and seller alliance, gas consumption costs, total operating costs of the cogeneration system, penalty costs for wind and solar abandonment, and carbon trading costs; establish an optimization operation model for the photovoltaic producer and seller alliance with the goal of minimizing the total cost including the cost of purchasing electricity and heat, the income from electricity trading between members, and the cost of participating in demand response;
[0260] The day-ahead joint optimization model construction and solution module is used to construct and solve the day-ahead joint optimization model of shared energy storage operators and virtual power plant operators in multi-agent hybrid games.
[0261] See also Figure 4 The present invention also provides a device for joint optimization of shared energy storage and virtual power plants in the spot market, including a memory and a processor; the memory is used to store computer program code and transmit the computer program code to the processor; the processor is used to execute the above-mentioned method for joint optimization of shared energy storage and virtual power plants in the spot market according to the instructions in the computer program code.
[0262] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements the above-mentioned method for joint optimization of shared energy storage and virtual power plants in a spot market.
[0263] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EKROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0264] Computer program code for performing the operation of the present invention can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages, in particular, Python suitable for neural network computing and platform frameworks based on TensorFlow, PyTorch, etc. can be used. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer or to an external computer (for example, using an Internet service provider to connect via the Internet) through any type of network, including a local area network (LAN) or a wide area network (WAN).
[0265] The above-mentioned devices and non-temporary computer-readable storage media can be found in the specific description of a method for joint optimization of shared energy storage and virtual power plants in a spot market and their beneficial effects, which will not be repeated here.
[0266] Although the embodiments of the present invention have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for joint optimization of shared energy storage and virtual power plants in the spot market, characterized in that: include: Establish a multi-agent day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliances and the power grid; Establish an optimized operation model for shared energy storage operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the superior power grid, the income from purchasing and selling electricity with virtual power plant operators, and the cost of energy storage operation and maintenance; establish an optimized operation model for virtual power plant operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with shared energy storage operators, the income from purchasing and selling electricity and heat with the photovoltaic producer and seller alliance, gas consumption costs, total operating costs of the cogeneration system, penalty costs for wind and solar abandonment, and carbon trading costs; establish an optimized operation model for the photovoltaic producer and seller alliance with the goal of minimizing the total cost including the cost of purchasing electricity and heat, the income from electricity trading between members, and the cost of participating in demand response; Construct and solve the day-ahead joint optimization model of shared energy storage operators and virtual power plant operators based on multi-agent hybrid game.
2. The method for joint optimization of shared energy storage and virtual power plants in the spot market according to claim 1, characterized in that: The objective function of the shared energy storage operator optimization operation model is: max F SES =I eso1 +I eso2 -C ope ; In the formula, F SES To share the comprehensive benefits of energy storage operators; eso1 ,I eso2 and C ope They are the revenue of shared energy storage operators from purchasing and selling electricity from the grid, the revenue from purchasing and selling electricity from virtual power plant operators, and the energy storage operation and maintenance costs; and are the grid electricity price and on-grid electricity price at time t respectively; and are the prices at which the virtual power plant operator purchases and sells electricity from the shared energy storage operator at time t; and are the electricity sales and purchases of the shared energy storage operator from the upper power grid at time t; and are the electricity purchased and sold by the virtual power plant operator from the shared energy storage operator at time t, respectively; and are the charging power and discharging power of the shared energy storage operator at time t respectively; ess is the operation and maintenance cost coefficient of the shared energy storage operator.
3. The method for joint optimization of shared energy storage and virtual power plants in the spot market according to claim 2, characterized in that: The constraints of the shared energy storage operator optimization operation model are: The operating constraints of shared energy storage operators are: AND ses (1)=And ses (24); In the formula, E is the remaining capacity of the shared energy storage operator at time t; ses (1) is the capacity status of the contributing energy storage operator corresponding to the first moment of the day; E ses (24) is the capacity status of the shared energy storage operator corresponding to the 24th moment of the day; η cha and η dis They are the charging and discharging efficiency of shared energy storage operators; is the rated capacity of the shared energy storage operator; The output power constraint of the shared energy storage operator is: Where P t char,max and are the maximum charging power and maximum discharging power allowed by the shared energy storage operator at time t respectively; is a 0-1 variable for the charging status; The purchase and sale price constraints of shared energy storage operators and virtual power plant operators are: In the formula, and They are the upper and lower limits of the price at which virtual power plant operators purchase electricity from shared energy storage operators; and They are the upper and lower limits of the electricity sales price from the virtual power plant operator to the shared energy storage operator; and They are the average purchase price and the average sale price of electricity from virtual power plant operators to shared energy storage operators respectively; The power balance constraint of the shared energy storage operator is: The interactive power between the shared energy storage operator and the grid is constrained by the tie line limit as follows: In the formula, and They are the upper limits of electricity sales and purchases that shared energy storage operators can make from the upper-level power grid.
4. The method for joint optimization of shared energy storage and virtual power plants in the spot market according to claim 1, characterized in that: The objective function of the virtual power plant operator optimization operation model is: In the formula, F VPP Comprehensive benefits for virtual power plant operators; vpp1 The revenue from electricity purchase and sale between virtual power plant operators and shared energy storage operators; vpp2 The revenue from the purchase and sale of electricity and heat by the virtual power plant operator and the photovoltaic producer and seller alliance; vpp3 The revenue from electricity purchase and sale between the virtual power plant operator and the power grid; C gas , C CHP , C cur and They are the gas consumption cost of the virtual power plant operator, the total operating cost of the combined heat and power system, the penalty cost for wind and solar power abandonment, and the carbon trading cost; and are the prices at which the virtual power plant operator purchases and sells electricity from the shared energy storage operator at time t; and are the electricity purchase price and heat purchase price of the PV producers and sellers alliance from the virtual power plant operator at time t respectively; The purchase and sale of electricity between virtual power plant operators and the PV producers and sellers alliance; The purchase and sale of heat between virtual power plant operators and the PV producers and sellers alliance; are the amount of electricity and heat purchased by PV prosumer alliance member i from the virtual power plant operator at time t; N is the total number of PV prosumer alliance members participating in the day-ahead power market; and are the grid electricity price and on-grid electricity price at time t respectively; They are the electricity purchase and sales between the virtual power plant operator and the power grid at time t; and are the electricity purchased and sold by the virtual power plant operator from the shared energy storage operator at time t; V t GT 、V t GB are the hourly gas consumption rates of the gas turbine and gas boiler of the virtual power plant operator at time t; δ gas is the unit gas purchase cost; are the operation and maintenance cost coefficients of the cogeneration system, power-to-gas system, and carbon capture system respectively; P t CHP , P t P2G , P t CCS are the discharge powers of the cogeneration system, the power-to-gas system and the carbon capture system at time t respectively; P is the penalty cost coefficient for wind and solar power abandonment; t cur is the wind and solar power curtailment of the virtual power plant operator at time t.
5. A method for joint optimization of shared energy storage and virtual power plants in a spot market according to claim 4, characterized in that: The carbon trading costs for: In the formula, E is the free carbon emission quota of the virtual power plant operator; λ is the carbon trading cost coefficient; l is the length of the carbon emission interval; α is the price increase; The carbon emission quota E of the virtual power plant operator is: E=E CHP +E GB -AND P2G ; In the formula, E CHP 、E GB They are the free carbon emission quotas for the combined heat and power system and the gas boiler; P2G Free carbon emission quota for power-to-gas system; h is the amount of free carbon emissions per unit of heat; are the heat and electricity output power of the cogeneration system at time t respectively; is the conversion coefficient of the heat output of the cogeneration equipment; is the heating power of the gas boiler at time t; β P2G It is the free carbon emission amount per unit of electricity.
6. A method for joint optimization of shared energy storage and virtual power plants in a spot market according to claim 4, characterized in that: The constraints of the virtual power plant operator optimization operation model include: Price constraints: In the formula, and are the upper and lower limits of the electricity purchase price that the PV producers and sellers alliance pays to the virtual power plant operator at time t; and are the upper and lower limits of the heat purchase price that the PV producers and sellers alliance pays to the virtual power plant operator at time t; and They are the average electricity and heat purchase prices from the PV Prosperity Alliance to the virtual power plant operators; The combined heat and power system constraints are: In the formula, and are the power generation and heating power of the gas turbine at time t respectively; η MT is the power generation efficiency of the gas turbine at time t; H LHV V is the lower calorific value of natural gas at time t; t MT is the gas consumption of the gas turbine at time t; η MT,h is the heating coefficient of the gas turbine at time t; and are the upper limit of power generation and heating of the gas turbine at time t respectively; The gas boiler constraints are: In the formula, is the heating power of the gas boiler at time t; η GB The power generation efficiency of the gas boiler; The upper limit of the heating power of the gas boiler at time t; The electric and thermal power balance constraint for the virtual power plant operator is: Where P t new The power generation capacity of new energy; and are the on-grid operating power and off-grid operating power between the virtual power plant operator and the grid at time t, respectively; P t B The purchase and sale of electricity between virtual power plant operators and the PV producers and sellers alliance; The purchase and sale of heat between virtual power plant operators and the PV producers and sellers alliance; P is the abandoned wind and solar power; t new,fore Forecasted power generation of new energy sources; In the formula, They are the maximum online operating power and the maximum offline operating power between the virtual power plant operator and the power grid at time t, respectively.
7. The method for joint optimization of shared energy storage and virtual power plants in the spot market according to claim 1, characterized in that: The objective function of the photovoltaic producer-seller alliance optimization operation model is: In the formula, F i PVP The comprehensive benefits of the members of the Photovoltaic Producers and Marketers Alliance; and They are the electricity purchase and heat cost of member i of the PV prosumer alliance, the benefit brought to member i by P2P electricity trading among members within the PV prosumer alliance, and the cost of load participation in demand response within member i; and are the electricity purchase price and heat purchase price of the PV producers and sellers alliance from the virtual power plant operator at time t respectively; and are the electricity and heat purchased by PV Producers and Marketers Alliance member i from the virtual power plant operator at time t; and are the electricity load reduction cost coefficient and heat load reduction cost coefficient of photovoltaic producer and marketer alliance member i at time t, respectively; and are the reduction in electric load and heat load of member i of the PV Producers and Marketers Alliance at time t, respectively; P is the electricity transaction price between PV prosumer alliance member i and PV prosumer alliance member j at time t; t i-j,P2P is the amount of electricity traded between PV prosumer alliance member i and PV prosumer alliance member j at time t; N is the total number of PV prosumer alliance members participating in the day-ahead power market.
8. A method for joint optimization of shared energy storage and virtual power plants in a spot market according to claim 7, characterized in that: The constraints of the photovoltaic producer and seller alliance optimization operation model are: Where P i cut,max is the maximum value of the electricity load that can be reduced by member i of the PV Producers and Marketers Alliance at time t; is the maximum value of heat load that can be reduced by member i of the PV prosumer alliance at time t; P t P2P,max is the maximum interactive power allowed between members of the photovoltaic producer and seller alliance at time t; P i buy,max and are the upper limit of electricity purchase and heat purchase of member i of the PV Producers and Marketers Alliance from the virtual power plant operator at time t, respectively; is the photovoltaic output of member i of the photovoltaic producer and seller alliance at time t; is the electricity load of member i of the PV prosumer alliance after demand response at time t; is the heat load of PV producer and seller alliance member i after demand response at time t.
9. The method for joint optimization of shared energy storage and virtual power plants in the spot market according to claim 1, characterized in that: The method of constructing and solving the day-ahead joint optimization model of the shared energy storage operator and the virtual power plant operator based on the multi-agent hybrid game includes: A day-ahead joint optimization model of shared energy storage operators and virtual power plant operators based on multi-agent hybrid games is constructed. The model is divided into three stages: Stage 1, the master-slave game between shared energy storage operators and virtual power plant operators. According to the power purchase and sale demand provided by the virtual power plant operator, the shared energy storage operator sets the power purchase and sale price and sends the power purchase and sale price to Stage 2; Stage 2, the master-slave game between the virtual power plant operator and the photovoltaic producer and seller alliance. According to the power purchase and sale price and the power purchase and sale heat load demand provided by the photovoltaic producer and seller alliance, the virtual power plant operator sets the power purchase and sale heat price for the photovoltaic producer and seller alliance and sends the power purchase and sale heat price to Stage 3; Stage 3, the cooperative game between members of the photovoltaic producer and seller alliance. According to the power purchase and sale heat price, the power transaction volume and transaction price between members of the photovoltaic producer and seller alliance are calculated, and the power purchase and sale volume of the virtual power plant operator is sent to Stage 1; First, the KKT condition is used to solve the active game between the virtual power plant operator and the photovoltaic prosumer alliance. Then, the master-slave game between the shared energy storage operator and the virtual power plant operator is solved through the dichotomy method. Finally, the cooperative game between the members of the photovoltaic prosumer alliance is solved based on ADMM.
10. A device for joint optimization of shared energy storage and virtual power plants in the spot market, characterized in that: The device is applied to the method described in any one of claims 1 to 9, and the device comprises: The day-ahead trading model building module is used to establish a multi-agent day-ahead trading model between shared energy storage operators, virtual power plant operators, photovoltaic producers and sellers alliances and the power grid; The multi-agent optimization operation model construction module is used to establish an optimization operation model for shared energy storage operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the superior power grid, the income from purchasing and selling electricity with the virtual power plant operator, and the energy storage operation and maintenance costs; establish an optimization operation model for virtual power plant operators with the goal of maximizing the comprehensive benefits including the income from purchasing and selling electricity with the shared energy storage operator, the income from purchasing and selling electricity and heat with the photovoltaic producer and seller alliance, gas consumption costs, total operating costs of the cogeneration system, penalty costs for wind and solar abandonment, and carbon trading costs; establish an optimization operation model for the photovoltaic producer and seller alliance with the goal of minimizing the total cost including the cost of purchasing electricity and heat, the income from electricity trading between members, and the cost of participating in demand response; The day-ahead joint optimization model construction and solution module is used to construct and solve the day-ahead joint optimization model of shared energy storage operators and virtual power plant operators in multi-agent hybrid games.
Citation Information
Cited By
Power tight balance scene multi-virtual power plant low-carbon game optimization scheduling method and device
CN119539455A
Multi-virtual power plant hybrid game optimization method and system considering wind and light uncertainty
CN120237732A
Virtual power plant optimization scheduling method and device based on mixed game
CN120300793A
Collaborative optimization method, system and equipment based on virtual power plant operator and producer, and medium
CN121235227A
Virtual power plant operator and producer-consumer collaborative optimization method, system, device and medium
CN121235227B
