Zero-carbon power plant transaction method considering demand response and wind-solar load uncertainty

By generating a two-layer master-slave game model, the zero-carbon power plant trading strategy is optimized, the problem of poor zero-carbon power plant trading strategy is solved, the comprehensive consideration of demand response and wind and solar load uncertainty is achieved, and the power revenue and usage of the power plant are improved. Functional safety.

CN118780882APending Publication Date: 2024-10-15BEIJING JINGKAI COMPREHENSIVE SMART ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311541815.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2024-10-15

Smart Images

  • Figure CN118780882A_ABST
    Figure CN118780882A_ABST
Patent Text Reader

Abstract

The invention provides a zero-carbon power plant transaction method considering demand response and wind-light load uncertainty, and the method comprises the steps: obtaining basic data related to zero-carbon power plant transaction, the basic data comprising a demand response price, a charging and discharging price, a market price, wind-light output data, electric vehicle travel data, equipment rated power and conversion efficiency, and obtaining a demand response price; according to the basic data, multiple basic models are generated, a double-layer master-slave game model is generated according to the multiple basic models, the double-layer master-slave game model comprises an upper-layer optimization model and a lower-layer optimization model, the upper-layer optimization model indicates the strategy space of the zero-carbon power plant, and the lower-layer optimization model indicates the strategy space of the adjustable load aggregator; and respectively optimizing the lower layer optimization model and the upper layer optimization model to obtain an equilibrium solution of the double-layer master-slave game model, thereby comprehensively considering the demand response and the wind-light load uncertainty in the process of determining the transaction strategy, and realizing benefit maximization on load aggregation based on the master-slave game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of electricity market, and in particular to a zero-carbon power plant trading method that takes into account demand response and wind and solar load uncertainty. Background Art

[0002] Distributed resources such as high-proportion distributed renewable energy, energy storage and flexible loads are constantly emerging. Rural areas are accelerating the transformation of clean and low-carbon energy, accelerating the electrification level of electric heating and air-conditioning loads, promoting the electrification of public transportation, and promoting household new energy electric vehicles. Comprehensive smart zero-carbon power plants aggregate multi-dimensional and heterogeneous rural distributed resources in time and space, coordinate the diversified complementarity of various operating entities, and deeply tap the flexible potential of massive distributed resources to achieve interaction with the power grid.

[0003] Among the related technologies, the trading strategy of zero-carbon power plants is poor, which affects the electricity revenue. Summary of the invention

[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.

[0005] To this end, the purpose of the present disclosure is to propose a zero-carbon power plant trading method, device, computer equipment and storage medium that takes into account demand response and wind and solar load uncertainty, which can comprehensively consider demand response and wind and solar load uncertainty in the process of determining trading strategies, and maximize the benefits of load aggregation based on master-slave game.

[0006] To achieve the above-mentioned purpose, the zero-carbon power plant trading method considering demand response and wind and solar load uncertainty proposed in the first aspect of the present disclosure includes:

[0007] Obtain basic data related to zero-carbon power plant transactions, where the basic data includes: demand response prices, charging and discharging prices, market prices, wind and solar power output data, electric vehicle travel data, equipment rated power, and conversion efficiency;

[0008] Generate multiple basic models based on the basic data, wherein the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space;

[0009] Generate a two-layer master-slave game model according to the multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator;

[0010] The lower layer optimization model and the upper layer optimization model are optimized respectively to obtain an equilibrium solution of the double-layer master-slave game model.

[0011] To achieve the above-mentioned purpose, the zero-carbon power plant trading device considering demand response and wind and solar load uncertainty proposed in the second aspect of the present disclosure includes:

[0012] An acquisition module is used to acquire basic data related to zero-carbon power plant transactions, wherein the basic data includes: demand response price, charging and discharging price, market price, wind and solar power output data, electric vehicle travel data, equipment rated power and conversion efficiency;

[0013] A first generating module is used to generate a plurality of basic models according to the basic data, wherein the plurality of basic models include: a spot market price curve, a wind and solar power output curve, an electric vehicle dispatching space, an air conditioning / electric heating dispatching space, and an energy storage dispatching space;

[0014] A second generation module is used to generate a two-layer master-slave game model according to the multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator;

[0015] The optimization module is used to optimize the lower optimization model and the upper optimization model respectively to obtain an equilibrium solution of the two-layer master-slave game model.

[0016] The computer device proposed in the third aspect embodiment of the present disclosure includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the zero-carbon power plant trading method considering demand response and wind and solar load uncertainty as proposed in the first aspect embodiment of the present disclosure.

[0017] The fourth aspect embodiment of the present disclosure proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it implements the zero-carbon power plant trading method that considers demand response and wind and solar load uncertainty as proposed in the first aspect embodiment of the present disclosure.

[0018] The fifth aspect embodiment of the present disclosure proposes a computer program product. When the instructions in the computer program product are executed by a processor, the zero-carbon power plant trading method that considers demand response and wind and solar load uncertainty as proposed in the first aspect embodiment of the present disclosure is executed.

[0019] The present disclosure provides a zero-carbon power plant trading method, device, computer equipment and storage medium that considers demand response and wind and solar load uncertainty. By acquiring basic data related to zero-carbon power plant trading, wherein the basic data includes: demand response price, charging and discharging price, market price, wind and solar output data, electric vehicle travel data, equipment rated power and conversion efficiency, multiple basic models are generated according to the basic data, wherein the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space, and a double-layer master-slave game model is generated according to the multiple basic models, wherein the double-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator, and the lower optimization model and the upper optimization model are optimized respectively to obtain the equilibrium solution of the double-layer master-slave game model, thereby being able to comprehensively consider demand response and wind and solar load uncertainty in the process of determining the trading strategy, and to achieve maximum benefit in load aggregation based on the master-slave game.

[0020] Additional aspects and advantages of the present disclosure will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0022] Figure 1 It is a flowchart of a zero-carbon power plant trading method considering demand response and wind and solar load uncertainty proposed in an embodiment of the present disclosure;

[0023] Figure 2 It is a schematic diagram of the basic structure of the zero-carbon participation market proposed in this disclosure;

[0024] Figure 3 It is a schematic diagram of a process for a zero-carbon power plant to participate in electric energy and demand response according to the present disclosure;

[0025] Figure 4 It is a structural diagram of a zero-carbon power plant participating in market-based trading decision-making according to the present disclosure;

[0026] Figure 5 is a flow chart of a zero-carbon power plant trading method considering demand response and wind and solar load uncertainty proposed in another embodiment of the present disclosure;

[0027] Figure 6 It is a structural schematic diagram of a zero-carbon power plant trading device that takes into account demand response and wind and solar load uncertainty, proposed in an embodiment of the present disclosure;

[0028] Figure 7 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0029] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present disclosure, and are not to be construed as limitations of the present disclosure. On the contrary, the embodiments of the present disclosure include all changes, modifications, and equivalents that fall within the spirit and connotation of the appended claims.

[0030] Figure 1 It is a flow chart of a zero-carbon power plant trading method that takes into account demand response and wind and solar load uncertainty, proposed in an embodiment of the present disclosure.

[0031] Among them, it should be noted that the executor of the zero-carbon power plant trading method considering demand response and wind and solar load uncertainty in this embodiment is a zero-carbon power plant trading device considering demand response and wind and solar load uncertainty. The device can be implemented by software and / or hardware. The device can be configured in a computer device. The computer device may include but is not limited to a terminal, a server, etc. For example, the terminal may be a mobile phone, a PDA, etc.

[0032] like Figure 1 As shown in the figure, the zero-carbon power plant trading method that considers demand response and wind and solar load uncertainty includes:

[0033] S101: Obtain basic data related to zero-carbon power plant transactions, where the basic data include: demand response price, charging and discharging price, market price, wind and solar output data, electric vehicle travel data, equipment rated power and conversion efficiency.

[0034] Among them, a zero-carbon power plant refers to a power plant that does not emit greenhouse gases such as carbon dioxide (CO2) during the power generation process. Such power plants usually use clean energy such as renewable energy or nuclear energy to generate electricity to reduce carbon emissions to the atmosphere. Common zero-carbon power plants include wind power plants, solar power plants, hydropower plants, and nuclear power plants.

[0035] Among them, the demand response price and the charging and discharging price can be the electricity price input in the embodiment of the present disclosure.

[0036] Among them, market prices, wind and solar power output data, and electric vehicle travel data can be historical information.

[0037] Among them, the rated power and conversion efficiency of the equipment are equipment parameter information.

[0038] In the disclosed embodiment, when basic data related to zero-carbon power plant transactions are obtained, reliable data support can be provided for the subsequent process of determining zero-carbon power plant transaction strategies.

[0039] S102: Generate multiple basic models based on basic data, where the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space.

[0040] Among them, the basic model can refer to models with different characteristic dimensions established for the uncertainty of electricity market prices and power generation and consumption of zero-carbon power plants.

[0041] In the disclosed embodiment, when multiple basic models are generated based on basic data, reliable reference information can be provided for the subsequent generation of a two-layer master-slave game model.

[0042] S103: Generate a two-layer master-slave game model based on multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator.

[0043] The two-layer master-slave game model is a common model in game theory, which is used to describe a two-level game process. In this model, there are two groups of participants, each at a different level or position, and there is a certain influence and constraint relationship between them.

[0044] The strategy space of the upper optimization model and the lower optimization model refers to the set of strategies that they can select.

[0045] Among them, adjustable load aggregator refers to an enterprise or organization that centrally manages and controls multiple dispatchable load devices, treats them as a whole to provide flexibility, and participates in market transactions and energy management.

[0046] In the two-layer master-slave game model proposed in the embodiment of the present disclosure, the upper-layer optimization model may refer to a sub-model that takes the objective function of the zero-carbon power plant as the optimization target, while the lower-layer optimization model refers to a sub-model that takes the objective function of the adjustable load aggregator as the optimization target.

[0047] In the embodiment of the present disclosure, when a two-layer master-slave game model is generated based on multiple basic models, a reliable decision-making tool can be provided for obtaining an equilibrium solution that satisfies both the zero-carbon power plant side and the adjustable load aggregator side.

[0048] S104: Optimizing the lower optimization model and the upper optimization model respectively to obtain an equilibrium solution of the double-layer master-slave game model.

[0049] Among them, the balanced solution can refer to a solution that simultaneously satisfies the corresponding optimization requirements of the lower-level optimization model and the upper-level optimization model.

[0050] That is, in the embodiment of the present disclosure, after generating a two-layer master-slave game model according to multiple basic models, the lower optimization model and the upper optimization model can be optimized respectively to obtain an equilibrium solution of the two-layer master-slave game model.

[0051] In this embodiment, basic data related to zero-carbon power plant transactions are obtained, wherein the basic data include: demand response price, charging and discharging price, market price, wind and solar output data, electric vehicle travel data, equipment rated power and conversion efficiency. According to the basic data, multiple basic models are generated, wherein the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space. According to the multiple basic models, a two-layer master-slave game model is generated, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model. The upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator. The lower optimization model and the upper optimization model are optimized respectively to obtain the equilibrium solution of the two-layer master-slave game model. As a result, the demand response and wind and solar load uncertainty can be comprehensively considered in the process of determining the trading strategy, and the benefits of load aggregation can be maximized based on the master-slave game.

[0052] For example, in the embodiment of the present disclosure, before determining the zero-carbon power plant trading method that takes into account demand response and wind and solar load uncertainty, it is possible to first determine the zero-carbon power plant that takes into account generation-use uncertainty to participate in market decision-making:

[0053] 1. Determine the basic structure of a zero-carbon power plant

[0054] By using distributed wind power, photovoltaic power, energy storage and various adjustable loads, we can build a rural smart zero-carbon power plant with AC / DC hybrid system to participate in the basic market framework, such as Figure 2 As shown, Figure 2 This is a schematic diagram of the basic structure of the zero-carbon market participation proposed in this disclosure. In the process of rural energy revolution reform, the proportion of green and intelligent terminal devices such as electric vehicles, electric bicycles, electric heating, and smart air conditioners has increased significantly. When rural adjustable loads participate in market-based transactions, due to the small single capacity, limited adjustable capacity, and great difficulty in scheduling. Therefore, the adjustable load agent model is adopted to uniformly regulate the adjustable loads within the jurisdiction. As an intermediary between zero-carbon power plants and adjustable loads, adjustable load agents formulate detailed rules for load regulation electricity price subsidies, guide user load shifting through electricity price dividends, and report the load guidance range to zero-carbon power plants and issue regulation instructions to adjustable loads.

[0055] 2. Zero-carbon power plants participate in the electricity and demand response process

[0056] like Figure 3 As shown, Figure 3 It is a schematic diagram of the process of a zero-carbon power plant participating in electric energy and demand response according to the present disclosure.

[0057] 2.1 Pre-stage

[0058] First, the power grid company initiates a day-ahead invitation to market players, publishes the response time period, response load, response linkage price, etc.; the power trading institution publishes market information and organizes day-ahead spot transactions;

[0059] Secondly, the zero-carbon power plant and other market players will provide feedback to the power grid company on whether to respond and make a market declaration; and the power trading agency will make a market declaration. The core of this link is the trading decision of the zero-carbon power plant's participation in the electricity market and demand response;

[0060] Then, the power trading agency conducts market clearing according to the market participants’ declarations and publishes the transaction results after safety verification;

[0061] Finally, the zero-carbon power plant specifies the day-ahead response and spot trading results based on the trading results, and formulates a planning curve for next-day energy storage and adjustable load.

[0062] 2.2 Intraday stage

[0063] First, the power grid company initiates an intraday invitation request and publishes the response time period, response load, and response price;

[0064] Secondly, the zero-carbon power plant will participate in the intraday invitation based on the feedback;

[0065] Then, calculate the fluctuation of renewable energy output and load, and optimize the planning curve;

[0066] Finally, the power grid company and power trading agency settle accounts based on the execution status and issue a settlement statement.

[0067] 3. Determine the decision on zero-carbon power plants to participate in market-based transactions

[0068] like Figure 4 As shown, Figure 4 It is a structural diagram of the zero-carbon power plant participating in market-based trading decision-making proposed in this disclosure.

[0069] In the day-ahead market, zero-carbon power plants participate in the electricity spot market by "reporting quantity but not price". After obtaining grid demand and boundary information of the electricity spot market, zero-carbon power plants build a master-slave two-layer game model with zero-carbon power plants as leaders and adjustable load aggregators as followers. Through internal unit coordination and decision-making, the power purchase and sale and invitation response power for each period of the next day are formulated.

[0070] The intraday market builds an intraday master-slave game model and adjusts the internal operation plan through intraday invitations and intraday load adjustments, changes in new energy output, intraday spot clearing price adjustments, and demand response adjustments and prices.

[0071] Optionally, in some embodiments, the spot market price curve is generated based on the following method: sampling the spot market price prediction error using Latin hypercube sampling, and expanding the error distribution range based on stratified sampling technology to generate multiple market electricity price scenarios, wherein the multiple market electricity price scenarios include day-ahead market electricity price scenarios and real-time market electricity price scenarios; clustering the multiple market electricity price scenarios based on the k-means clustering algorithm to obtain the spot market price curve.

[0072] For example, in the embodiment of the present disclosure, when generating the spot market price curve, it can be based on the following steps:

[0073] (1) Scenario set modeling

[0074] Considering the large fluctuations in spot market electricity prices, when formulating bidding strategies, zero-carbon power plants need to characterize the uncertainty scenarios of market electricity prices on the day before. This paper describes the uncertainty of market electricity prices through multiple scenarios. The forecast errors of the day-ahead and intraday markets follow a normal distribution and can be expressed as:

[0075]

[0076]

[0077] In formula (1)-(2), is the actual value, predicted value, and predicted deviation of the market price at time t; σ is the standard deviation of the normal distribution; is the actual value, predicted value, and predicted deviation of the real-time market price at time t.

[0078] Latin hypercube sampling is used to sample the spot market price forecast errors. Through stratified sampling technology, the error distribution range is flexibly expanded to generate a large number of day-ahead and real-time market electricity price scenarios.

[0079] (2) Spot market price curve optimization model

[0080] The kmeans algorithm is used to cluster the scene set to obtain the spot market price optimization curve. Take the spot market price t days before a certain period as an example:

[0081] Step 1: Input the day-ahead spot price scenario set and randomly select scenario K as the center in period t;

[0082] Step 2: Calculate the distance from each scene to scene K in time period t;

[0083] Step 3: The closest scene is the new center;

[0084] Step 4: Repeat steps 2 and 3 until the new center does not change;

[0085] Step 5: Loop through all time periods to obtain the day-ahead spot price curve.

[0086] Optionally, in some embodiments, the wind-solar output curve is generated based on the following method: obtaining historical wind-solar output curves of multiple same time nodes as wind-solar output scenarios; clustering multiple wind-solar output scenarios based on a k-means clustering algorithm to obtain the wind-solar output curve.

[0087] For example, in the embodiment of the present disclosure, the wind and solar power output curve can be obtained based on the following steps:

[0088] For renewable energy output, the level of power generation from wind and solar resources significantly affects the market-based trading strategy of zero-carbon power plants. In addition, it is difficult to accurately predict the output curve of wind and solar power on the day before, but its output curve can be obtained through historical data. The curves of M recent similar days and N years before the same historical date are obtained as the scenario set.

[0089] Ω(P W )={P W,SIP1 ,P W,SIP2 ,P W,SIPi …P W,SIPM ,P W,year-1 ,P W,year-j …P W,year-n} (3)

[0090] Ω(P P )={P P,SIP1 ,P P,SIP2 ,P P,SIPi …P P,SIPM ,P P,year-1 ,P P,year-j …P P,year-n} (4)

[0091] In formulas (3)-(4), Ω(P W )、Ω(P P ) is the wind power and photovoltaic output scene set of the next day; P W,SIPi , P P,SIPi is the wind farm and photovoltaic output on the recent i-th similar day; P W,year-j , P P,year-j is the wind farm and photovoltaic output on the jth similar day in the historical year;

[0092] Similarly, the above kmeans algorithm and process are used to cluster the wind power and photovoltaic output scenarios and obtain the next-day output curve P of wind power and photovoltaic. W , PP .

[0093] Optionally, in some embodiments, the electric vehicle dispatching space is generated based on the following method: obtaining first relevant parameters of individual electric vehicles, wherein the first relevant parameters include: grid access time, grid off time, maximum charging power, maximum discharging power, maximum dispatchable power, minimum dispatchable power, initial grid access power, charging efficiency and discharging efficiency; constructing an individual dispatching space corresponding to the individual electric vehicle based on the first relevant parameters; determining the grid connection status of multiple individual electric vehicles within the dispatching time period; aggregating the maximum dispatchable space model of the electric vehicle based on the grid connection status and the first relevant parameters; simulating the reaction ratio of electric vehicle users to the compensation price based on the Weber-Fechner algorithm; and generating the electric vehicle dispatching space based on the maximum dispatchable space model and the reaction ratio.

[0094] For example, in the embodiment of the present disclosure, the electric vehicle dispatch space can be generated based on the following steps:

[0095] (1) Maximum dispatch space model for individual electric vehicles

[0096] Since electric vehicles and electric bicycles have the same schedule simulation and battery charging and discharging constraints, this paper uniformly establishes an electric vehicle scheduling model. The dispatchable space of individual electric vehicles is a two-dimensional optimization parameter, which is limited by the charging and discharging power and battery power. The model is established as follows:

[0097]

[0098] In formula (5), Ψ ci is the dispatchable space of electric vehicle i; t ci,start ,t ci,end are the time when electric vehicle i enters the network and the time when it leaves the network, respectively; are the maximum charge and discharge power respectively; are the maximum and minimum dispatchable power respectively; The initial power consumption after entering the network; are the charge and discharge efficiency respectively;

[0099] (2) Aggregate electric vehicle dispatch space model based on Weber-Fechner law

[0100] For the aggregated electric vehicle and electric bicycle load, a Boolean variable is used to describe the on-grid and off-grid status of each electric vehicle at each time section, and the dispatchable period of all individual electric vehicles is extended to the same dispatching period [taking into account uncertainty]. All electric vehicles are counted during the dispatching period. At time section t, the maximum dispatchable spatial model of aggregated electric vehicles is:

[0101]

[0102] In formula (6), Ψt is the aggregated dispatchable space of electric vehicles t; μ i is the grid-connected status of electric vehicle i.

[0103] The maximum dispatchable model of aggregated electric vehicles does not take into account the user's willingness to respond. The present invention constructs an uncertainty model of electric vehicle user participation response through the Weber-Fechner algorithm. The Weber-Fechner law can simulate the response ratio of electric vehicle users to the compensation price, as shown below:

[0104] fa(ρ bc )=r bc lnρ bc +c (7)

[0105] In formula (7), ρ bc is the charge and discharge compensation price; fa is the user response ratio; r bc is the compensation coefficient; c is the user response constant.

[0106] Considering the user's response willingness, the scheduling space of aggregated electric vehicles in period t is:

[0107]

[0108] Optionally, in some embodiments, the air conditioning / electric heating scheduling space is generated based on the following method: obtaining a second related parameter of the air conditioning / electric heating, wherein the second related parameter includes: the indoor temperature of the air conditioning / electric heating during the scheduling period, the outdoor temperature during the scheduling period, the room equivalent heat capacity, the room equivalent thermal resistance, and the energy efficiency ratio, output power and rated power of the air conditioning / electric heating; constructing a thermal equivalent model based on the second related parameters; discretizing the thermal equivalent model to obtain an equipment power model for the scheduling period, wherein the equipment power model is related to the maximum room temperature and minimum room temperature set for the air conditioning / electric heating; simulating the user's response rate to the subsidy price of adjustable loads for air conditioning and heating based on the Weber-Fechner law method; generating the air conditioning / electric heating scheduling space based on the equipment power model and the response rate.

[0109] For example, the air conditioning / electric heating scheduling space can be obtained based on the following steps:

[0110] Air conditioning and electric heating equipment can be modeled using the thermal equivalent model, as shown in formula (9):

[0111]

[0112] In formula (9), T iin,t is the indoor temperature of device i during period t; T out,t is the outdoor temperature during period t; τ is the equivalent heat capacity of the room; R i is the equivalent thermal resistance of the room; η is the energy efficiency ratio; P i , Pi,ed is the output power and rated power of device i.

[0113] After discretization transformation, the air conditioning power model in period t is:

[0114]

[0115] In formula (10), T iin,setmax 、T iin,setmin The maximum and minimum room temperatures set for device i.

[0116] From formula (10), it can be seen that the user can effectively adjust the output power of the equipment (within the maximum and minimum power range of the equipment) by controlling the temperature difference between the two periods of the room.

[0117] For the aggregated load of air conditioning and electric heating, the Weber-Fechner law method is introduced to simulate the user's response rate to the subsidy price of air conditioning and heating adjustable load:

[0118] fa2(ρ bc2 )=r bc2 lnρ bc2 +c2 (11)

[0119] In formula (11), ρ bc2 is the compensation price for air conditioning / electric heating power adjustment; fa2 is the user response ratio; r bc2 is the compensation coefficient; c2 is the user response constant.

[0120] Considering the user's response willingness, the scheduling space of cooling and heating equipment in period t is:

[0121]

[0122] Figure 5 It is a flow chart of a zero-carbon power plant trading method that takes into account demand response and wind and solar load uncertainty, proposed in another embodiment of the present disclosure.

[0123] like Figure 5 As shown in the figure, the zero-carbon power plant trading method that considers demand response and wind and solar load uncertainty includes:

[0124] S501: Obtain basic data related to zero-carbon power plant transactions, where the basic data include: demand response price, charging and discharging price, market price, wind and solar power output data, electric vehicle travel data, equipment rated power and conversion efficiency.

[0125] S502: Generate multiple basic models based on basic data, where the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space.

[0126] The description of S501 and S502 can be specifically referred to the above embodiment, which will not be repeated here.

[0127] S503: Generate a two-layer master-slave game model based on multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator.

[0128] Optionally, in some embodiments, the strategy space of the zero-carbon power plant is: energy storage charging and discharging operation curve, energy storage regulation load curve, adjustable load operation curve, and adjustable load regulation curve; the strategy space of the adjustable load aggregator is: the operation curves of each electric vehicle / electric bicycle, the load curve of air conditioning / electric heating, and the load regulation curve of the adjustable load aggregator.

[0129] S504: Optimizing the lower-level optimization model to obtain a lower-level optimization result, wherein the lower-level optimization result includes: a charging load curve, a discharging load curve, and a regulating load curve of the adjustable load aggregator.

[0130] That is to say, in the embodiment of the present disclosure, when iteratively optimizing the two-layer master-slave game model, the lower layer optimization model can be optimized first in each round of iteration to obtain the lower layer optimization result, thereby providing data support for subsequent upper layer optimization.

[0131] S505: Bring the lower layer optimization result into the upper layer optimization model to solve and obtain the upper layer optimization game result.

[0132] In the disclosed embodiment, when the lower-layer optimization result is brought into the upper-layer optimization model to solve the upper-layer optimization game result, the coordination constraints of the upper and lower-layer models can be implemented in the optimization process to effectively improve the practicality of the optimization process.

[0133] S506: If the results of two consecutive optimization games are the same, it is determined that the two-layer master-slave game model reaches the master-slave game equilibrium.

[0134] S507: If the results of two consecutive optimization games are different, the next round of iterative optimization is performed.

[0135] That is to say, in the embodiment of the present disclosure, after generating the two-layer master-slave game model, the lower-layer optimization model can be optimized to obtain the lower-layer optimization results, wherein the lower-layer optimization results include: the charging load curve, the discharging load curve and the regulating load curve of the adjustable load aggregator. The lower-layer optimization results are brought into the upper-layer optimization model to solve the upper-layer optimization game results. If two consecutive optimization game results are the same, it is determined that the two-layer master-slave game model has reached the master-slave game equilibrium. If two consecutive optimization game results are different, the next round of iterative optimization is carried out. Thus, the reliability and rationality of the iterative optimization solution process of the two-layer master-slave game model can be effectively improved, and the practicality of the final solution obtained can be effectively improved.

[0136] In this embodiment, the lower-layer optimization model is optimized to obtain the lower-layer optimization results, wherein the lower-layer optimization results include: the charging load curve, the discharging load curve and the regulating load curve of the adjustable load aggregator. The lower-layer optimization results are brought into the upper-layer optimization model to solve the upper-layer optimization game results. If two consecutive optimization game results are the same, it is determined that the two-layer master-slave game model reaches the master-slave game equilibrium. If two consecutive optimization game results are different, the next round of iterative optimization is carried out. Therefore, the reliability and rationality of the iterative optimization solution process of the two-layer master-slave game model can be effectively improved, and the practicality of the final solution can be effectively improved.

[0137] In the disclosed embodiment, the strategy model for zero-carbon power plants to participate in demand response and spot markets is divided into a day-ahead joint bidding model and an intraday joint optimization strategy model according to the market participation process, and both stages are two-layer master-slave game models.

[0138] Optionally, in some embodiments, the two-layer master-slave game model is a day-ahead joint bidding model, wherein:

[0139] The upper-level optimization model takes revenue maximization as the objective function, and the corresponding upper-level constraints include: power purchase and sales constraints, adjustable load aggregation constraints, energy storage constraints, power balance constraints, zero-carbon power plant day-ahead demand response constraints, and demand response price coefficient constraints;

[0140] The lower-level optimization model takes the minimization of the payment for commercial electricity with adjustable load aggregation as its objective function. The corresponding constraints include: the dispatching space constraints of each electric vehicle and aggregated electric vehicles, the operating power of electric heating and air-conditioning equipment, the load regulation price being less than the price subsidy of zero-carbon power plants, the charging price constraints, the discharging price constraints, and the adjustable load constraints.

[0141] The joint bidding model is a two-layer game model with zero-carbon power plants as leaders and adjustable load aggregators as followers. The upper layer is an optimization model with the goal of maximizing revenue, and the lower layer is an optimization model with the goal of minimizing the power purchase expenditure of adjustable load aggregators.

[0142] Among them, the upper optimization model:

[0143] (1) Objective function

[0144]

[0145] In formula (13), f t nrg,DA 、f t rx,DA 、f t xq,DA , They are the day-ahead spot market revenue in period t, the fee paid by the flexible load aggregator to the zero-carbon power plant, the day-ahead invitation market revenue of the zero-carbon power plant, and the energy storage operation cost; P t SELL,DA , P t BUY,DA is the amount of electricity sold and bought in the spot market; k is the electricity sales coefficient; ρ rx,chr , P t rx,chr , rx,dis , P t rx,dis are the electricity price, output power, discharge price and discharge power of the adjustable load; ρ rx,bt , xq are subsidies for adjustable loads and the base price for zero-carbon power plants to participate in demand response; P t rx,trs , P t trs , ω are the adjustable transfer load, the transfer load of the zero-carbon power plant, and the response speed coefficient respectively; are the charging and discharging power of energy storage respectively; ρ yx The operating cost of energy storage.

[0146] (2) Constraints

[0147] 1) Restrictions on electricity purchase and sale

[0148] The zero-carbon power plant is in a state of buying and selling electricity in time period t. That is:

[0149] μ1+μ2≤1 (14)

[0150] 2) Adjustable load aggregation constraints

[0151] In terms of power, the charging power of the adjustable load is the sum of the charging power of electric vehicles, electric bicycles, electric heating and air conditioning loads. Combining formulas (8) and (12), the charging and discharging power constraints of the adjustable load are obtained:

[0152]

[0153]

[0154] In formulas (15)-(16), fa(ρ bc ),fa2(ρ bc2 ),fa3(ρ bc3 ) are the subsidy price systems respectively ρ bc , bc2 , bc3 When using electric vehicles (electric bicycles) and refrigeration and heating equipment (air conditioning, electric heating), the user's charging response rate and discharging response rate.

[0155] In terms of SOC, the battery power of electric vehicles and electric bicycles is within the dispatchable range, and the power of each device is within the dispatchable power range, that is, formula (17)-(18):

[0156]

[0157]

[0158] 3) Energy storage constraints

[0159] The charging and discharging power of the energy storage and the battery capacity are within the dispatchable range, that is,

[0160]

[0161] In formula (19), is the maximum charging and discharging power of the energy storage device; is the amount of energy stored in period t.

[0162] 4) Power balance constraints

[0163] The power generation and purchase curve of the zero-carbon power plant in period t is equal to the power load.

[0164] P t rx,chr +P t cn,chr +P t BUY,DA =P t rx,dis +P t cn,dis +P W,t +P P,t +P t SELL,DA (20)

[0165] 5) Zero-carbon power plant day-ahead invitation demand response constraints

[0166] The response capacity of the zero-carbon power plant in period t is the difference between the response output of the zero-carbon power plant and the baseline output. The constraints are as follows:

[0167]

[0168] In formula (21), P LTSJ,t , P LTJX,t is the actual output and baseline of the zero-carbon power plant; P t rx,chr , P t rx,dis is the charge and discharge power of the adjustable load; P t cn,chr , P t cn,dis is the charging and discharging power of the energy storage.

[0169] 6) Demand response price coefficient constraints

[0170]

[0171] Among them, the lower layer optimization model:

[0172] (1) Objective function

[0173] The equipment output power is optimized with the goal of minimizing the payment for commercial electricity with adjustable load aggregation. The objective function is shown in formula (23).

[0174]

[0175] (2) Constraints

[0176] 1) The dispatching space constraints of each electric car and the aggregated electric cars satisfy formula (6) and formula (8);

[0177] 2) The operating power of electric heating and air-conditioning equipment shall satisfy formula (12);

[0178] 3) Load regulation price is less than the price subsidy of zero-carbon power plants

[0179] ρ t rx,trs ≤ωρ trs (twenty four)

[0180] In formula (24), ρ t rx,trs Subsidize prices for load shifting.

[0181] 4) Charging price constraints

[0182]

[0183] In formula (25), ρ 平 chr It is the charging price of adjustable load in normal period; K1 and K2 are price adjustment coefficients.

[0184] 5) Discharge price constraints

[0185]

[0186] In formula (25), ρ 平 dis It is the charging price of adjustable load in normal period; K3 and K4 are price adjustment coefficients.

[0187] 6) Adjustable load restraint

[0188] The sum of the changes in adjustable load guided by the price is used as the demand response curve of the adjustable load aggregator.

[0189]

[0190] Optionally, in some embodiments, the two-layer master-slave game model is an intraday joint bidding model, wherein:

[0191] The upper-level optimization model takes the maximum daily profit increase as the objective function. The corresponding upper-level constraints include: participation in demand response status constraints, power purchase and sales constraints, adjustable load aggregation constraints, energy storage constraints, power balance constraints, zero-carbon power plant intraday invitation demand response constraints, and demand response price constraints;

[0192] The lower-level optimization model takes the minimization of the payment for commercial electricity with adjustable load aggregation as its objective function. The corresponding lower-level constraints include: the dispatching space constraints of each electric vehicle and aggregated electric vehicles, the operating power of electric heating and air-conditioning equipment, the load regulation price being less than the price subsidy of zero-carbon power plants, the charging price constraints, the discharging price constraints, and the adjustable load constraints.

[0193] Among them, the intraday joint optimization model assumes that the intraday demand response is a 4-hour advance invitation. The zero-carbon power plant combines the uncertainty of intraday spot, new energy and adjustable load, how to participate in intraday demand response and other factors to optimize the trading strategy and the operation curve of aggregated resources. The two-layer game model is still used for intraday joint optimization. The upper-level leaders aim to maximize the intraday profit increase, and the lower-level aims to minimize the payment fee of the adjustable load aggregator.

[0194] Among them, the upper model:

[0195] (1) Objective function

[0196] The goal is to maximize the daily profit. The adjustable load aggregator's subsidy price mechanism for users does not change during the day, and the objective function is:

[0197]

[0198] In formula (27), f tnrg,TD 、f t rx,TD 、f t xq,TD , They are the fluctuation of spot market revenue during the t period, the fluctuation of payment from flexible load aggregators to zero-carbon power plants, the fluctuation of zero-carbon power plants’ revenue from the demand response market during the day, and the fluctuation of energy storage operation costs; P t SELL,TD , P t BUY,TD is the amount of electricity sold and bought in the spot market during the day; k is the electricity sales coefficient; P t rx ,TDchr , P t rx,TDdis is the adjustable load output power and discharge power of the daily optimization curve; P t rx,TDtrs , P t TDtrs They are adjustable transfer load and transfer load of zero-carbon power plant respectively; are the charging and discharging powers of energy storage, respectively. α1 and α2 are the states of participating in the day-ahead and intraday demand response, respectively.

[0199] (2) Constraints

[0200] 1) Participation in demand response status constraints

[0201] During the operation period t, the zero-carbon power plant can only choose three states: day-ahead invitation, intraday invitation and non-invitation, namely:

[0202] 0≤α1+α2≤1 (28)

[0203] 2) The constraints on power purchase and sales, adjustable load aggregation, energy storage, power balance, zero-carbon power plant intraday invitation demand response, and demand response price refer to the constraints of the upper-level optimization model described in the above-mentioned joint bidding model a few days ago, and will not be repeated here.

[0204] Among them, the lower model:

[0205] Intraday optimization optimizes the equipment output power with the goal of minimizing the payment for commercial electricity aggregated by adjustable loads. Refer to the objective function and constraints of the lower-level optimization model described in the recent joint bidding model, which will not be repeated here.

[0206] Based on the above embodiments, the zero-carbon power plant optimizes the bidding curve based on the load curve arranged by the adjustable load aggregator, combined with the output of new energy and energy storage charging and discharging constraints, to improve the revenue from electricity sales. The adjustable load aggregator adjusts the adjustable load operation curve based on the output arranged by the zero-carbon power plant to reduce the charging cost. The optimization objectives of the upper and lower layers of the model are inconsistent and the variable solution results affect each other. This paper adopts the CPLEX solver method to iteratively solve the equilibrium solution of the model to ensure the computational efficiency and optimality of the solution.

[0207] Step 1: Input electricity price (demand response price, charging and discharging price), historical information (market price, wind and solar output, electric vehicle travel), equipment parameters (rated power, conversion efficiency), etc.

[0208] Step 2: Generate spot market prices, wind and solar output, and generate dispatch space for electric vehicles, air conditioning / electric heating, and energy storage;

[0209] Step 3: Generate the master-slave game strategy space. The strategy space of the zero-carbon power plant is: energy storage charging and discharging operation curve, energy storage regulation load curve, adjustable load operation curve, and adjustable load regulation curve; the strategy space of the adjustable load aggregator is: the operation curves of each electric vehicle / electric bicycle, the load curve of air conditioning / electric heating, and the load regulation curve of the adjustable load aggregator;

[0210] Step 4: Lower layer optimization: According to the operation strategy provided in 3.1.2, the charging load, discharging load and regulating load curve of the adjustable load aggregator are obtained;

[0211] Step 5: Upper layer optimization: bring the lower layer optimization results into the upper layer and solve to obtain the optimization game results of the upper layer;

[0212] Step 6: If the strategies of two consecutive games are the same, the master-slave game equilibrium is reached. If the equilibrium is not reached, repeat step 4.

[0213] Based on the above embodiments, the present disclosure can implement the following technical solutions:

[0214] 1. Construction of adjustable load dispatch space model based on Weber-Fechner law

[0215] Based on the dispatching space of each adjustable device (electric vehicles, electric bicycles, electric heating, air conditioning, etc.), the Weber-Fechner algorithm is introduced to construct an uncertainty model of electric vehicle user participation response. The Weber-Fechner law can simulate the response ratio of electric vehicle users to the compensation price and obtain the dispatching space of aggregated load.

[0216] 2. Construction of a master-slave game for market-based transactions of zero-carbon power plants considering demand response and spot markets

[0217] Current research on virtual power plants mainly focuses on dynamic aggregation, power market transactions and economic dispatch, etc. This invention achieves maximum benefits of load aggregation through master-slave game by constructing a joint transaction strategy of demand response and spot market.

[0218] The present invention achieves maximum revenue by constructing a trading decision model of zero-carbon power plants that takes into account demand response and spot markets, while obtaining the optimized operating curve of each device. In the day-ahead stage, zero-carbon power plants participate in the electricity spot and demand response markets in the form of "reporting quantity but not quotation", and construct a master-slave two-layer game model with zero-carbon power plants as leaders and adjustable load aggregators as followers; in the intraday market, through intraday invitations and changes in new energy output, intraday spot clearing price adjustments, and demand response prices, etc., an intraday master-slave game model is constructed to adjust the internal operation plan. During the peak summer and peak winter periods, the load grows rapidly, and interacts with the power grid in a friendly manner.

[0219] The present disclosure includes at least the following technical effects based on the above embodiments:

[0220] For local governments: it can improve local energy supply capacity, ensure energy safety, promote the development of energy-related industries, improve the ecological environment, promote regional green and low-carbon development, protect social livelihood, and help achieve rural revitalization;

[0221] For rural areas: it can promote the local development of distributed power sources such as rooftop photovoltaics, and carry out market-oriented transactions by integrating distributed power sources, energy storage, flexible adjustable loads (electric vehicles) and other resources to lead villagers to prosperity;

[0222] For power grid companies: it can enhance the flexibility and regulation capability of the power grid, smooth out load fluctuations, fill in peak gaps, and ensure the safe and stable operation of regional power grids;

[0223] For zero-carbon power plants: it can reduce energy costs, increase revenue, improve electricity safety, and increase the proportion of green electricity, alleviate carbon reduction needs, and realize intelligent management and control of energy use;

[0224] For individual users: it can increase residents' income, reduce energy costs, improve the level of resource utilization such as biomass, improve cooking and heating energy regulation, realize smart and low-carbon life, and enhance the happiness of individual users.

[0225] Figure 6 It is a structural schematic diagram of a zero-carbon power plant trading device that takes into account demand response and wind and solar load uncertainty, proposed in an embodiment of the present disclosure.

[0226] like Figure 6 As shown, the zero-carbon power plant trading device 60 considering demand response and wind and solar load uncertainty includes:

[0227] The acquisition module 601 is used to acquire basic data related to zero-carbon power plant transactions, wherein the basic data includes: demand response price, charging and discharging price, market price, wind and solar power output data, electric vehicle travel data, equipment rated power and conversion efficiency;

[0228] The first generation module 602 is used to generate multiple basic models according to the basic data, wherein the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space;

[0229] The second generation module 603 is used to generate a two-layer master-slave game model according to multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator;

[0230] The optimization module 604 is used to optimize the lower optimization model and the upper optimization model respectively to obtain an equilibrium solution of the double-layer master-slave game model.

[0231] It should be noted that the aforementioned explanation of the zero-carbon power plant trading method considering demand response and wind and solar load uncertainty is also applicable to the zero-carbon power plant trading device considering demand response and wind and solar load uncertainty of this embodiment, and will not be repeated here.

[0232] In this embodiment, basic data related to zero-carbon power plant transactions are obtained, wherein the basic data include: demand response price, charging and discharging price, market price, wind and solar output data, electric vehicle travel data, equipment rated power and conversion efficiency. According to the basic data, multiple basic models are generated, wherein the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space. According to the multiple basic models, a two-layer master-slave game model is generated, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model. The upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator. The lower optimization model and the upper optimization model are optimized respectively to obtain the equilibrium solution of the two-layer master-slave game model. As a result, the demand response and wind and solar load uncertainty can be comprehensively considered in the process of determining the trading strategy, and the benefits of load aggregation can be maximized based on the master-slave game.

[0233] Figure 7 A block diagram of an exemplary computer device suitable for implementing embodiments of the present disclosure is shown. Figure 7 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0234] like Figure 7 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0235] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0236] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0237] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 Not shown, often called a "hard drive").

[0238] although Figure 7Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (hereinafter referred to as: CD-ROM), a digital versatile disc read only memory (hereinafter referred to as: DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0239] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0240] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a human body to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. In addition, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the computer device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0241] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28, such as implementing the zero-carbon power plant trading method mentioned in the above-mentioned embodiment that takes into account demand response and wind and solar load uncertainty.

[0242] In order to implement the above embodiments, the present disclosure also proposes a non-temporary computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it implements the zero-carbon power plant trading method that considers demand response and wind and solar load uncertainty as proposed in the aforementioned embodiments of the present disclosure.

[0243] In order to implement the above embodiments, the present disclosure also proposes a computer program product. When the instruction processor in the computer program product is executed, it executes the zero-carbon power plant trading method considering demand response and wind and solar load uncertainty as proposed in the aforementioned embodiments of the present disclosure.

[0244] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

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

[0246] It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present disclosure, unless otherwise specified, the meaning of "plurality" is two or more.

[0247] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.

[0248] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0249] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0250] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0251] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0252] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0253] Although the embodiments of the present disclosure have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present disclosure. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present disclosure.

Claims

1. A zero-carbon power plant trading method considering demand response and wind and solar load uncertainty, characterized in that: include: Obtain basic data related to zero-carbon power plant transactions, where the basic data includes: demand response prices, charging and discharging prices, market prices, wind and solar power output data, electric vehicle travel data, equipment rated power, and conversion efficiency; Generate multiple basic models based on the basic data, wherein the multiple basic models include: spot market price curve, wind and solar output curve, electric vehicle scheduling space, air conditioning / electric heating scheduling space and energy storage scheduling space; Generate a two-layer master-slave game model according to the multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator; The lower layer optimization model and the upper layer optimization model are optimized respectively to obtain an equilibrium solution of the double-layer master-slave game model.

2. The method according to claim 1, characterized in that The spot market price curve is generated based on the following method: Latin hypercube sampling is used to sample the spot market price forecast error, and the error distribution range is expanded based on stratified sampling technology to generate multiple market electricity price scenarios, wherein the multiple market electricity price scenarios include day-ahead market electricity price scenarios and real-time market electricity price scenarios; The multiple market electricity price scenarios are clustered based on a k-means clustering algorithm to obtain the spot market price curve.

3. The method according to claim 1, characterized in that The wind and solar output curve is generated based on the following method: Obtain historical wind and solar power output curves of multiple same time nodes as wind and solar power output scenarios; The plurality of wind-solar power output scenarios are clustered based on a k-means clustering algorithm to obtain the wind-solar power output curve.

4. The method according to claim 1, characterized in that The electric vehicle dispatch space is generated based on the following method: Obtaining first relevant parameters of the individual electric vehicle, wherein the first relevant parameters include: grid access time, grid off time, maximum charging power, maximum discharging power, maximum dispatchable power, minimum dispatchable power, grid initial power, charging efficiency, and discharging efficiency; constructing an individual dispatching space corresponding to the individual electric vehicle according to the first related parameter; Determining the grid connection status of the plurality of individual electric vehicles within the scheduling time period; According to the grid connection state and the first related parameters, a maximum dispatchable space model of the electric vehicle is obtained by aggregation; Based on the Weber-Fechner algorithm, the response ratio of electric vehicle users to the compensation price is simulated; The electric vehicle dispatch space is generated based on the maximum dispatchable space model and the reaction ratio.

5. The method according to claim 1, characterized in that The air conditioning / electric heating scheduling space is generated based on the following method: Obtaining second related parameters of the air conditioner / electric heating, wherein the second related parameters include: the indoor temperature of the air conditioner / electric heating in the scheduling time period, the outdoor temperature in the scheduling time period, the room equivalent heat capacity, the room equivalent thermal resistance, and the energy efficiency ratio, output power and rated power of the air conditioner / electric heating; constructing a thermal equivalent model according to the second related parameter; Discretize the thermal equivalent model to obtain the equipment power model of the scheduling time period, wherein the equipment power model is related to the maximum room temperature and the minimum room temperature set by the air conditioner / electric heating; Based on the Weber-Fechner law method, the response rate of users to the subsidy price of adjustable loads for air conditioning and heating is simulated; The air conditioning / electric heating scheduling space is generated according to the equipment power model and the response rate.

6. The method according to claim 1, characterized in that in, The strategy space of the zero-carbon power plant is: energy storage charging and discharging operation curve, energy storage load regulation curve, adjustable load operation curve, and adjustable load regulation curve; The strategy space of the adjustable load aggregator is: the operation curves of each electric vehicle / electric bicycle, the load curve of the air conditioner / electric heating, and the load regulation curve of the adjustable load aggregator.

7. The method according to claim 6, characterized in that The step of optimizing the lower layer optimization model and the upper layer optimization model respectively to obtain an equilibrium solution of the double-layer master-slave game model includes: Optimizing the lower optimization model to obtain a lower optimization result, wherein the lower optimization result includes: a charging load curve, a discharging load curve, and a regulating load curve of an adjustable load aggregator; Bringing the lower layer optimization result into the upper layer optimization model to solve and obtain the upper layer optimization game result; If the optimization game results are the same for two consecutive times, it is determined that the two-layer master-slave game model reaches the master-slave game equilibrium; If the optimization game results are different for two consecutive times, the next round of iterative optimization is performed.

8. The method according to claim 1, characterized in that The two-layer master-slave game model is a day-ahead joint bidding model, in which: The upper-level optimization model takes profit maximization as the objective function, and the corresponding upper-level constraints include: power purchase and sales constraints, adjustable load aggregation constraints, energy storage constraints, power balance constraints, zero-carbon power plant day-ahead demand response constraints, and demand response price coefficient constraints; The lower-level optimization model takes the minimization of the payment for commercial electricity with adjustable load aggregation as its objective function, and the corresponding constraints include: scheduling space constraints for each electric vehicle and aggregated electric vehicles, operating power of electric heating and air-conditioning equipment, load regulation price less than the price subsidy of zero-carbon power plants, charging price constraints, discharging price constraints, and adjustable load constraints.

9. The method according to claim 1, characterized in that The two-layer master-slave game model is an intraday joint bidding model, in which: The upper-level optimization model takes the maximum daily profit increase as the objective function, and the corresponding upper-level constraints include: participation in demand response status constraints, power purchase and sales constraints, adjustable load aggregation constraints, energy storage constraints, power balance constraints, zero-carbon power plant intraday invitation demand response constraints, and demand response price constraints; The lower-level optimization model takes the minimization of the payment for commercial electricity with adjustable load aggregation as its objective function, and the corresponding lower-level constraints include: the dispatching space constraints of each electric vehicle and aggregated electric vehicles, the operating power of electric heating and air-conditioning equipment, the load regulation price being less than the price subsidy of zero-carbon power plants, the charging price constraints, the discharging price constraints, and the adjustable load constraints.

10. A zero-carbon power plant trading device that takes into account demand response and wind and solar load uncertainty, characterized in that: include: An acquisition module is used to acquire basic data related to zero-carbon power plant transactions, wherein the basic data includes: demand response price, charging and discharging price, market price, wind and solar power output data, electric vehicle travel data, equipment rated power and conversion efficiency; A first generating module is used to generate a plurality of basic models according to the basic data, wherein the plurality of basic models include: a spot market price curve, a wind and solar power output curve, an electric vehicle dispatching space, an air conditioning / electric heating dispatching space, and an energy storage dispatching space; A second generation module is used to generate a two-layer master-slave game model according to the multiple basic models, wherein the two-layer master-slave game model includes an upper optimization model and a lower optimization model, the upper optimization model indicates the strategy space of the zero-carbon power plant, and the lower optimization model indicates the strategy space of the adjustable load aggregator; The optimization module is used to optimize the lower optimization model and the upper optimization model respectively to obtain an equilibrium solution of the two-layer master-slave game model.

11. A computer device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.

12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 9.