Market clearing double-layer optimization method and system considering distributed resource transaction

By establishing a distributed resource trading model and using a co-evolution algorithm, the shortcomings of the distributed resource trading model in power market optimization are solved, the efficiency and accuracy of market clearance are improved, and effective integration and optimization of distributed resources are achieved.

CN118941318APending Publication Date: 2024-11-12GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411004404.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The existing power market optimization technology is difficult to effectively establish a market trading model for distributed resources. The lack of research on the market clearance double-layer optimization model has led to a deviation from the actual market operation, and it is impossible to ensure the maximum system efficiency and user interests at the same time. change.

Method used

A two-layer optimization method for market clearance considering distributed resource transactions is proposed. By establishing distributed photovoltaic, energy storage and electric vehicle trading models, a two-layer optimization model for market clearance is constructed, and a co-evolution algorithm is used to solve the upper and lower optimizations. Model, verify optimization results.

Benefits of technology

Improve the efficiency and accuracy of market clearance, balance the economic interests of power generation enterprises and system operation efficiency, enhance the responsiveness and adaptability of market mechanisms, and realize accurate modeling and double-layer optimization of distributed resource market transactions. The effectiveness of the strategy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118941318A_ABST
    Figure CN118941318A_ABST
Patent Text Reader

Abstract

The invention discloses a market clearing double-layer optimization method and system considering distributed resource transactions, and relates to the technical field of electricity market optimization, and the method comprises the steps: building market transaction models of various distributed resources for production consumer users containing controllable loads; constructing a market clearing double-layer optimization model, and analyzing an upper-layer optimization process and a lower-layer optimization process; and solving the upper-layer optimization model and the lower-layer optimization model by using a coevolution algorithm, and verifying an optimization result. According to the method, detailed data support is provided for market clearing optimization by establishing the market transaction models of various distributed resources and establishing the market clearing double-layer optimization model, and the market clearing double-layer optimization model is established by establishing the market transaction models of various distributed resources. And the upper-layer optimization model and the lower-layer optimization model are solved by using a coevolution algorithm, so that the problems in the prior art are effectively solved, and accurate optimization of market clearances is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power market optimization, and in particular to a market clearing double-layer optimization method and system considering distributed resource transactions. Background Art

[0002] Electricity market optimization technology is the core of power system operation and market management. Its development history can be traced back to the late 20th century. With the gradual opening of the electricity market and the rise of distributed energy, electricity market optimization technology has been widely used and developed. Traditional electricity market optimization technology mainly relies on a single-layer optimization model to adjust the supply and demand balance through a price mechanism. However, in practical applications, this model is difficult to fully consider the complex behavior of production and consumer users and the diversity of distributed resources.

[0003] Existing power market optimization technologies often fail to effectively establish a market transaction model for distributed resources when dealing with production and consumption users with controllable loads, resulting in a deviation between the optimization results and the actual market operation. Existing technologies lack research on the market clearing two-layer optimization model and fail to clearly distinguish the upper optimization process from the lower optimization process. Existing methods often cannot simultaneously guarantee the maximization of system efficiency and user benefits when solving optimization problems. Existing technologies lack effective algorithms to collaboratively solve the two-layer optimization model, making it difficult for the optimization results to achieve the expected effect. Although distributed energy plays an increasingly important role in the power system, the existing market mechanisms and technical means still have many deficiencies in integrating and optimizing these resources. The traditional centralized power market model is difficult to adapt to the diversity and dispersion of distributed energy, resulting in low resource utilization efficiency. The existing market clearing mechanism is mainly oriented to large-scale centralized power sources, and the dynamic characteristics and flexibility of distributed resources are not sufficiently considered, and their regulation potential cannot be fully utilized. When dealing with distributed energy transactions, existing optimization algorithms often cannot simultaneously take into account global social welfare and individual economic benefits, resulting in irrational resource allocation. Summary of the invention

[0004] In view of the above-mentioned problems, the present invention is proposed.

[0005] Therefore, the technical problems solved by the present invention are: the existing market clearing optimization methods fail to effectively establish a market transaction model for distributed resources, lack research on two-layer optimization models, and the problem of how to use a co-evolutionary algorithm to solve a two-layer optimization model.

[0006] To solve the above technical problems, the present invention provides the following technical solutions: a two-layer optimization method for market clearing considering distributed resource transactions, including establishing market transaction models for various types of distributed resources for production and consumption users with controllable loads; constructing a two-layer optimization model for market clearing, analyzing the upper-layer optimization process and the lower-layer optimization process; using a collaborative evolutionary algorithm to solve the upper-layer optimization model and the lower-layer optimization model, and verifying the optimization results.

[0007] As a preferred solution of the market clearing double-layer optimization method considering distributed resource transactions described in the present invention, wherein: the establishment of market transaction models for various types of distributed resources includes establishing a distributed photovoltaic transaction model based on the transaction needs and market operation requirements of different users; analyzing the factors affecting the output power of photovoltaic power generation prosumers, the power generated by photovoltaic power generation prosumers can not only meet their own electricity needs, but also as participants in distributed transactions, put excess power into the market, and the corresponding constraints are expressed as:

[0008]

[0009] in, are the winning output and maximum output of the energy bid of the kth segment of the distributed general prosumer l in time period t, respectively, and L is the set of general prosumers. The factors affecting the output power of photovoltaic power generation prosumers include light intensity, temperature of the working environment and cleanliness of photovoltaic panels.

[0010] As a preferred solution of the market clearing double-layer optimization method considering distributed resource transactions described in the present invention, wherein: the establishment of the market transaction model of various distributed resources also includes establishing an energy storage transaction model; the electrochemical energy storage system has dual functions, both as a load to purchase electricity and as a power generation equipment to sell electricity, and the transaction strategy includes when the electrochemical energy storage system is used as a power source, declaring a non-decreasing segmented price-volume curve; when the electrochemical energy storage system is used as a load, declaring a non-increasing segmented price-volume curve, and the corresponding energy storage transaction model is expressed as:

[0011]

[0012] in, are the charging power and discharging power of the energy quotation of the electrochemical energy storage b in the kth segment of time period t, respectively. B is the electrochemical energy storage set, are the maximum charging power and discharging power of electrochemical energy storage b in the kth energy segment, respectively. is a Boolean variable, Indicates that energy storage b is charged in time period t, Indicates the discharge state; the charge state of electrochemical energy storage b is expressed as:

[0013]

[0014] in, is the SOC of electrochemical energy storage b in period t+1, is the SOC of electrochemical energy storage b in period t, is the energy of electrochemical energy storage b, are the charging efficiency coefficient and discharging efficiency coefficient of electrochemical energy storage b, respectively. are the minimum and maximum SOC of electrochemical energy storage b, is the initial SOC of electrochemical energy storage b, and T is the total number of time periods.

[0015] As a preferred solution of the market clearing two-layer optimization method considering distributed resource transactions described in the present invention, wherein: the establishment of a market transaction model for various distributed resources also includes establishing an electric vehicle transaction model; the electric vehicle charging station centrally dispatches electric vehicles during the bidding period by declaring a quantity-price curve, which is expressed as:

[0016]

[0017]

[0018] in, is the winning bid output of the energy quotation of electric vehicle v in the kth segment of time period t, is the rated charging power of the electric vehicle v, are the charging period and non-charging period of electric vehicle v respectively. The SOC of electric vehicle v is expressed as:

[0019]

[0020] in, is the SOC of electric vehicle v at time period t, are the minimum and maximum SOC of the electric vehicle v, is the initial SOC of the electric vehicle v, In order to meet the SOC of the subsequent electric vehicle v, is the battery energy of the electric vehicle v, is the charging power of electric vehicle v in period t, Δt is the time interval, is the charging efficiency of electric vehicle v, and N is the set of electric vehicles.

[0021] As a preferred solution of the market clearing two-layer optimization method considering distributed resource transactions described in the present invention, the upper layer optimization includes the objective function in the optimization model based on the profit maximization of each power generation enterprise, according to the node marginal price λ of the bus n in the t period t,n, and the winning bid electricity obtained by the lower-level clearing model of the i-th generator unit of unit U in the k-th bidding period To obtain the optimal bidding strategy, the upper optimization process is expressed as:

[0022]

[0023] Where N and M are the total number of traditional generators and distributed renewable energy generators, respectively; T is the total number of time periods; K is the total number of bidding periods; η is the final subsidy price determined by the subsidy market; is the marginal cost of the generator set; the node marginal price is the marginal electricity benefit I on the electricity consumption side D and the marginal generation cost I on the generation side G The average value per unit load increment is expressed as:

[0024]

[0025] Among them, α i,k is the unit bid price, is the marginal benefit on the user side, For the power demand at the user side, calculate the node marginal price λ of bus n in period t t,n It is expressed as:

[0026]

[0027] The upper-level constraints include bidding power constraints, bidding price constraints, and subsidy bidding price constraints; the bidding power constraints are expressed as:

[0028]

[0029] The sum of the maximum electricity declared by each power generation unit in all bidding sections Equal to the bidding power limit The maximum electricity declared by each unit must be greater than or equal to the specified proportion ω of the upper limit of the bid electricity; the bid price constraint is expressed as:

[0030]

[0031] Among them, α max represents the upper limit of the bidding price of the unit; the subsidy bidding price constraint is expressed as:

[0032] 0≤γ i ≤γ max

[0033] Among them, γ i is the bid price of unit i in the subsidy market, γ max It is the upper limit of the subsidy bid price.

[0034] As a preferred solution of the market clearing two-layer optimization method considering distributed resource transactions described in the present invention, the lower layer optimization includes the bidding strategy of the power generation enterprise obtained based on the upper layer optimization analysis, and the start and stop plan of the power generation unit is formulated through the unit combination optimization method with safety constraints. In the optimization process of the lower layer, the winning electricity and the node marginal price are calculated based on the start and stop plan. The lower layer optimization is expressed as:

[0035]

[0036]

[0037] in, They are the energy bids of general prosumer 1 and electric vehicle v in the kth segment of time period t, are the discharge energy quotation and charging energy quotation of electrochemical energy storage b in the kth segment of time period t, is the electricity purchase fee of the distribution network from the upper power grid during period t, is the node marginal electricity price of the wholesale market connected to the root node of the distribution network during period t, is the power purchased by the distribution network from the upper power grid during period t; the constraints of the lower optimization include system power flow balance constraint, line power flow limit, unit output constraint, node marginal price constraint, ramp constraint, spinning reserve constraint, and minimum start-stop time constraint; the system power flow balance constraint is expressed as:

[0038]

[0039] Among them, Ω N is the set of distribution network nodes, ε is the set of distribution network branches, are respectively the active and reactive power of the distribution network branch ij during period t, R ij , X ij are the resistance and reactance values ​​of the distribution network branch ij, are the active and reactive power of the distribution network node j in the time period respectively; the line power flow limit is expressed as:

[0040]

[0041] I ij,t is the current of the distribution network branch ij during the time period, is the maximum current of the distribution network branch ij, V j,t is the voltage of node j in the distribution network during the time period, V j , are the minimum and maximum voltages of the distribution network node j respectively; the unit output constraint is expressed as:

[0042]

[0043] During the bidding period, the winning bid power of each unit is less than the declared power. The sum is between and minimum power Between, where u i,t is a binary variable for each unit, u i,t =1 indicates start, u i,t =0 means shutdown; the node marginal price constraint is expressed as:

[0044]

[0045] in, and are respectively the active power loss and reactive power loss of the distribution network in period t, is the reactive power input from the upper power grid to the distribution network during period t; the ramp constraint is expressed as:

[0046]

[0047] in, and are the up and down ramp slopes of each unit respectively; the spinning reserve constraint is expressed as:

[0048]

[0049] in, and They are upward and downward spinning reserve requirements respectively. The spinning reserve constraint ensures that the grid-connected power meets the load demand when the uncertain distributed energy generation fluctuates or fails. The minimum start-stop time constraint is expressed as:

[0050]

[0051] in, is the continuous start time of each unit, T U is the minimum continuous start time of each unit, and is the continuous downtime of each unit, T D It is the minimum continuous downtime of each unit.

[0052] As a preferred solution of the market clearing two-layer optimization method considering distributed resource transactions described in the present invention, wherein: the solving of the upper optimization model and the lower optimization model includes population initialization, optimal strategy selection, convergence judgment, and strategy update; population initialization includes randomly generating an initial strategy set for each market participant in the total population of x market participants, and generating y bidding strategies for each participant, so the market participant set is 0X=X1, X2, ...X x, the bidding strategy set of participant X1 is X1=Y1,1,Y2,2…Y y ,y, the information contained in each strategy Y1,j is a three-segment price-electricity curve, and each strategy Y1,j is a chromosome; the best strategy selection includes that in any iteration, for any participant, the chromosome with the highest objective function benefit will be recorded as the most suitable chromosome for the participant; convergence judgment includes that when the social welfare difference between iterations r and r-1 is less than the predetermined threshold, or r is greater than or equal to the maximum iteration number R, the most suitable chromosomes of all participants are saved as the optimal bidding strategy, and all steps are terminated; otherwise, enter the strategy update; strategy update includes retaining the most suitable chromosomes of all participants except X1 in iteration r-1 according to the elite retention mechanism, updating the chromosomes of the participants in iteration r, and returning the best strategy selection. In each iteration, each participant performs an update process and selects the optimal strategy for all participants after the iteration.

[0053] Another object of the present invention is to provide a market-clearing two-layer optimization system that takes into account distributed resource transactions. It can solve the problem of low optimization efficiency in current electricity market optimization technology by constructing a market-clearing two-layer optimization model and analyzing the upper-layer optimization process and the lower-layer optimization process.

[0054] As a preferred solution of the market-clearing two-layer optimization system considering distributed resource transactions described in the present invention, it includes: a market transaction module, a two-layer optimization module, and an algorithm solving module; the market transaction module is used to establish a market transaction model for various types of distributed resources for production and consumer users including controllable loads; the two-layer optimization module is used to construct a market-clearing two-layer optimization model, and analyze the upper-layer optimization process and the lower-layer optimization process; the algorithm solving module is used to use a collaborative evolutionary algorithm to solve the upper-layer optimization model and the lower-layer optimization model, and verify the optimization results.

[0055] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement a market clearing two-layer optimization method considering distributed resource transactions.

[0056] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a market-clearing two-layer optimization method considering distributed resource transactions.

[0057] Beneficial effects of the present invention: The market clearing two-layer optimization method considering distributed resource transactions provided by the present invention provides detailed data support for market clearing optimization by establishing a distributed photovoltaic transaction model, an energy storage transaction model and an electric vehicle transaction model, so that the subsequent optimization process can be closer to the actual market operation situation, thereby improving the efficiency and accuracy of market clearing; by constructing a market clearing two-layer optimization model to analyze the upper optimization process and the lower optimization process, the economic interests of power generation enterprises and the operating efficiency of the system can be effectively balanced; by using the co-evolutionary algorithm to solve the upper optimization model and the lower optimization model, the effectiveness of the optimization results is verified. The co-evolutionary algorithm can globally search for the optimal solution, avoid local optimality, and improve the reliability of the optimization results. The iterative process of the algorithm can dynamically adjust the strategies of market participants, so that the market clearing results are more in line with the actual situation, and the responsiveness and adaptability of the market mechanism are enhanced. The present invention has achieved better results in accurate modeling of distributed resource market transactions, two-layer optimization market clearing strategies, and co-evolutionary algorithm optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0059] Figure 1 An overall flow chart of a market clearing two-layer optimization method considering distributed resource transactions provided for the first embodiment of the present invention.

[0060] Figure 2 A system diagram of an IEEE 33-node distribution network providing a market clearing double-layer optimization method considering distributed resource transactions is provided for a second embodiment of the present invention.

[0061] Figure 3 A transmission network node electricity price diagram of a market clearing double-layer optimization method considering distributed resource transactions is provided in accordance with the second embodiment of the present invention.

[0062] Figure 4 A total load curve within 24 hours of a market clearing double-layer optimization method considering distributed resource transactions provided in the second embodiment of the present invention.

[0063] Figure 5 A spot market and dual-market node marginal price graph of a market clearing dual-layer optimization method considering distributed resource transactions is provided as a second embodiment of the present invention.

[0064] Figure 6A comparison chart of social welfare under different trading mechanisms of a market-clearing two-layer optimization method considering distributed resource transactions is provided for the second embodiment of the present invention.

[0065] Figure 7 An overall flow chart of a market clearing two-layer optimization system considering distributed resource transactions provided for the third embodiment of the present invention. DETAILED DESCRIPTION

[0066] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0067] Example 1, reference Figure 1 , which is an embodiment of the present invention, provides a market clearing two-layer optimization method considering distributed resource transactions, comprising:

[0068] S1: Establish market transaction models for various types of distributed resources for production and consumption users with controllable loads.

[0069] Furthermore, the establishment of market transaction models for various types of distributed resources includes the establishment of distributed photovoltaic transaction models based on the transaction needs and market operation requirements of different users; the analysis of the factors affecting the output power of photovoltaic power generation producers and consumers. The power generated by photovoltaic power generation producers and consumers can not only meet their own electricity needs, but also, as participants in distributed transactions, put excess power into the market. The corresponding constraints are expressed as follows:

[0070]

[0071] in, are the winning output and maximum output of the energy bid of the kth segment of the distributed general prosumer 1 in time period t, respectively; L is the set of general prosumers; the factors affecting the output power of photovoltaic power generation prosumers include light intensity, temperature of the working environment and cleanliness of photovoltaic panels.

[0072] It should be noted that the establishment of market trading models for various types of distributed resources also includes the establishment of energy storage trading models; the electrochemical energy storage system has dual functions, both as a load to purchase electricity and as a power generation equipment to sell electricity. The trading strategy includes declaring a non-decreasing segmented price-volume curve when the electrochemical energy storage system is used as a power source; when the electrochemical energy storage system is used as a load, a non-increasing segmented price-volume curve is declared. The corresponding energy storage trading model is expressed as:

[0073]

[0074]

[0075] in, are the charging power and discharging power of the energy quotation of the electrochemical energy storage b in the kth segment of time period t, respectively. B is the electrochemical energy storage set, are the maximum charging power and discharging power of electrochemical energy storage b in the kth energy segment, respectively. is a Boolean variable, Indicates that energy storage b is charged in time period t, Indicates the discharge state; the charge state of electrochemical energy storage b is expressed as:

[0076]

[0077] in, is the SOC of electrochemical energy storage b in period t+1, is the SOC of electrochemical energy storage b in period t, is the energy of electrochemical energy storage b, are the charging efficiency coefficient and discharging efficiency coefficient of electrochemical energy storage b, respectively. are the minimum and maximum SOC of electrochemical energy storage b, is the initial SOC of electrochemical energy storage b, and T is the total number of time periods.

[0078] It should also be noted that the establishment of market transaction models for various types of distributed resources also includes the establishment of electric vehicle transaction models; electric vehicle charging stations centrally dispatch electric vehicles during the bidding period by declaring quantity-price curves, which can be expressed as:

[0079]

[0080] in, is the winning bid output of the energy quotation of electric vehicle v in the kth segment of time period t, is the rated charging power of the electric vehicle v, are the charging period and non-charging period of electric vehicle v respectively. The SOC of electric vehicle v is expressed as:

[0081]

[0082] in, is the SOC of electric vehicle v at time period t, are the minimum and maximum SOC of the electric vehicle v, is the initial SOC of the electric vehicle v, In order to meet the SOC of the subsequent electric vehicle v, is the battery energy of the electric vehicle v, is the charging power of electric vehicle v in period t, Δt is the time interval, is the charging efficiency of electric vehicle v, and N is the set of electric vehicles.

[0083] It should also be noted that the establishment of market trading models for various types of distributed resources, including photovoltaic, energy storage and electric vehicle trading models, can achieve accurate modeling of the market trading behavior of production and consumer users with controllable loads, thereby providing detailed data support for subsequent market clearing optimization. By analyzing the factors affecting the output power of photovoltaic power generation producers and consumers, as well as the dual functions of electrochemical energy storage systems, this step provides the necessary information for market clearing optimization, making the optimization results more in line with actual market operations.

[0084] S2: Construct a two-level optimization model for market clearing and analyze the upper-level optimization process and the lower-level optimization process.

[0085] Furthermore, the upper optimization includes the objective function in the optimization model based on the profit maximization of each power generation enterprise, according to the node marginal price λ of bus n in period t t,n , and the winning bid electricity obtained by the lower-level clearing model of the i-th generator unit of unit U in the k-th bidding period To obtain the optimal bidding strategy, the upper optimization process is expressed as:

[0086]

[0087] Where N and M are the total number of traditional generators and distributed renewable energy generators, respectively; T is the total number of time periods; K is the total number of bidding periods; η is the final subsidy price determined by the subsidy market; is the marginal cost of the generator set; the node marginal price is the marginal electricity benefit I on the electricity consumption side D and the marginal generation cost I on the generation side G The average value per unit load increment is expressed as:

[0088]

[0089] Among them, α i,k is the unit bid price, is the marginal benefit on the user side, For the power demand at the user side, calculate the node marginal price λ of bus n in period t t,n It is expressed as:

[0090]

[0091] The upper-level constraints include bidding power constraints, bidding price constraints, and subsidy bidding price constraints; the bidding power constraints are expressed as:

[0092]

[0093] The sum of the maximum electricity declared by each power generation unit in all bidding sections Equal to the bidding power limit The maximum electricity declared by each unit must be greater than or equal to the specified proportion ω of the upper limit of the bid electricity; the bid price constraint is expressed as:

[0094]

[0095] Among them, α max represents the upper limit of the bidding price of the unit; the subsidy bidding price constraint is expressed as:

[0096] 0≤γ i ≤γ max

[0097] Among them, γ i is the bid price of unit i in the subsidy market, γ max It is the upper limit of the subsidy bid price.

[0098] It should be noted that the lower-level optimization includes the bidding strategy of power generation enterprises based on the upper-level optimization analysis, and the start-stop plan of the power generation units is formulated through the unit combination optimization method with safety constraints. In the optimization process of the lower level, the winning electricity and the node marginal price are calculated based on the start-stop plan. The lower-level optimization is expressed as:

[0099]

[0100] in, are the energy quotations of general prosumer l and electric vehicle v in the kth segment of time period t, are the discharge energy quotation and charging energy quotation of electrochemical energy storage b in the kth segment of time period t, is the electricity purchase fee of the distribution network from the upper power grid during period t, is the node marginal electricity price of the wholesale market connected to the root node of the distribution network during period t, is the power purchased by the distribution network from the upper power grid during period t; the constraints of the lower optimization include system power flow balance constraint, line power flow limit, unit output constraint, node marginal price constraint, ramp constraint, spinning reserve constraint, and minimum start-stop time constraint; the system power flow balance constraint is expressed as:

[0101]

[0102] Among them, Ω N is the set of distribution network nodes, ε is the set of distribution network branches, are respectively the active and reactive power of the distribution network branch ij during period t, Rij , X ij are the resistance and reactance values ​​of the distribution network branch ij, are the active and reactive power of the distribution network node j in the time period respectively; the line power flow limit is expressed as:

[0103]

[0104] I ij,t is the current of the distribution network branch ij during the time period, is the maximum current of the distribution network branch ij, V j,t is the voltage of node j in the distribution network during the time period, V j , are the minimum and maximum voltages of the distribution network node j respectively; the unit output constraint is expressed as:

[0105]

[0106] During the bidding period, the winning bid power of each unit is less than the declared power. The sum is between and minimum power Between, where u i,t is a binary variable for each unit, u i,t =1 indicates start, u i,t =0 means shutdown; the node marginal price constraint is expressed as:

[0107]

[0108] in, and are respectively the active power loss and reactive power loss of the distribution network in period t, is the reactive power input from the upper power grid to the distribution network during period t; the ramp constraint is expressed as:

[0109]

[0110] in, and are the up and down ramp slopes of each unit respectively; the spinning reserve constraint is expressed as:

[0111]

[0112] in, and They are upward and downward spinning reserve requirements respectively. The spinning reserve constraint ensures that the grid-connected power meets the load demand when the uncertain distributed energy generation fluctuates or fails. The minimum start-stop time constraint is expressed as:

[0113]

[0114] in, is the continuous start time of each unit, T U is the minimum continuous start time of each unit, and is the continuous downtime of each unit, T D It is the minimum continuous downtime of each unit.

[0115] It should also be noted that constructing a two-layer optimization model for market clearing and analyzing the upper-layer optimization process and the lower-layer optimization process can effectively balance the economic interests of power generation companies and the operating efficiency of the system, ensure the stability and economy of the power market, and obtain more reasonable market prices and resource allocation plans through the two-layer optimization model, thereby improving the operating efficiency and economic benefits of the power market.

[0116] S3: Use the co-evolutionary algorithm to solve the upper-level optimization model and the lower-level optimization model and verify the optimization results.

[0117] Furthermore, solving the upper-level optimization model and the lower-level optimization model includes population initialization, optimal strategy selection, convergence judgment, and strategy update.

[0118] Population initialization involves randomly generating an initial strategy set for each market participant in the total population of x market participants, generating y bidding strategies for each participant, so the set of market participants is 0X = X1, X2, … X x , the bidding strategy set of participant X1 is X1=Y1,1,Y2,2…Y y ,y, the information contained in each strategy Y1,j is a three-segment price-electricity curve, and each strategy Y1,j serves as a chromosome.

[0119] The optimal strategy selection includes that at any iteration, for any player, the chromosome with the highest objective function gain will be recorded as the most suitable chromosome for the player.

[0120] Convergence judgment includes saving the most suitable chromosomes of all participants as the optimal bidding strategy and ending all steps when the social welfare difference between iterations r and r-1 is less than a predetermined threshold, or r is greater than or equal to the maximum iteration number R; otherwise, entering strategy update.

[0121] The strategy update includes retaining the most suitable chromosomes of all participants except X1 in iteration r-1 according to the elite retention mechanism, updating the chromosomes of the participants in iteration r, and returning the best strategy selection. In each iteration, each participant performs the updating process, and the optimal strategy is selected for all participants after the iteration.

[0122] It should be noted that the use of collaborative evolutionary algorithms to solve the upper-level optimization model and the lower-level optimization model and verify the optimization results can globally search for the optimal solution, avoid local optimality, and improve the reliability of the optimization results. At the same time, the iterative process of the algorithm can dynamically adjust the strategies of market participants so that the market clearing results are more in line with the actual situation, enhance the responsiveness and adaptability of the market mechanism, and achieve precise optimization of market clearing, thereby improving the operational efficiency and economic benefits of the electricity market.

[0123] Example 2, reference Figure 2-Figure 6 , which is an embodiment of the present invention, provides a market clearing two-layer optimization method considering distributed resource transactions. In order to verify the beneficial effects of the present invention, scientific demonstration is carried out through economic benefit calculation and simulation experiments.

[0124] First, if Figure 2 As shown in the figure, the present invention adopts an improved IEEE 33-node distribution network system to verify the effectiveness of the proposed mechanism and model. The energy storage device is set at node 4, the electric vehicle charging station is set at node 10, nodes 6, 18, 23, and 33 are connected to general power generation equipment, the distribution network is a 20kV medium-voltage distribution network, and the node voltage setting range is 0.95-1.05pu. The detailed parameters of the energy storage and electric vehicles are shown in Table 1.

[0125] Table 1 Detailed parameters of energy storage and electric vehicles

[0126]

[0127]

[0128] The transmission network node marginal price (TLMP) is Figure 3 As shown, Figure 4 The load forecast curve within 24 hours is listed, and the supply-demand ratio is set to 2.3:1 to ensure that power generation equipment can compete fiercely in the electricity market. The system adopts a two-stage market clearing model and calls the GUROBI solver through Python, using a collaborative evolutionary algorithm to solve the two-level market equilibrium problem.

[0129] Considering the system clearing results of distributed resource transactions, Figure 5As shown in the figure, in order to show the clearing results more clearly, representative distributed resources such as general power generation equipment, distributed energy storage, and electric vehicles are selected for analysis and discussion. It can be seen that the node electricity prices of the transmission network in time periods 0-7, 13-14, and 23-24 are relatively low. Therefore, distribution network users are more inclined to buy electricity from the main grid. In time periods 10-12 and 17-21, the transmission network load is relatively high. Due to the supply and demand relationship, the node electricity price also reaches a high level. At this time, distribution network users reduce the amount of electricity purchased from the main grid, and even sell electricity to the wholesale market, and participate more in distribution network transactions to obtain lower-priced electricity. Distributed energy storage entities charge in time periods 2-6 when prices are relatively low, and discharge in time periods 11-12 and 17-21 when prices are relatively high, effectively tracking the price signals of the system and obtaining better price difference benefits. The spot market bidding process provides the highest node marginal price. This is because the cost of general power generation equipment is relatively high, which enables distributed energy units to obtain electricity at a price far higher than their actual cost. Therefore, after the dual market clearing mechanism is adopted for general power generating units, the node marginal price will drop significantly in most of the time within 24 hours. This is because the adopted mechanism subsidizes part of the cost of traditional energy power generation, making traditional energy power generation and distributed energy power generation compete at roughly the same price level, thus creating a fairer competitive environment. In order to analyze the impact of distributed resource transactions on social welfare, the present invention compares the social welfare under the P2P transaction mechanism. In the P2P transaction model, first, it is assumed that users randomly match transactions until there are no new user transactions; then, a security check is performed. If the security conditions are not met, the transaction is cancelled in the order from the back to the front until the security constraints are met. At the same time, considering the impact of the distributed resource transaction penetration rate on the transaction results, the proportion of distributed resource installed capacity participating in the market is changed between 20% and 100%, and the social welfare comparison under different distributed resource transaction penetration rates is obtained, such as Figure 6 As shown in the figure, as the proportion of distributed resources participating in the market increases, the social welfare of centralized transactions on the distribution network side will be more significantly improved, indicating that centralized transactions can promote the optimal allocation of distributed resources, increase the consumption of new energy, reduce the cost of purchasing electricity from the upper-level power grid, and increase the proportion of distributed power generation transactions, thereby increasing social welfare.

[0130] Example 3, reference Figure 7 , which is an embodiment of the present invention, provides a market clearing two-layer optimization system considering distributed resource transactions, including a market transaction module, a two-layer optimization module, and an algorithm solution module.

[0131] Among them, a market transaction model for various distributed resources is established for production and consumption users with controllable loads; the two-layer optimization module is used to construct a market clearing two-layer optimization model and analyze the upper-layer optimization process and the lower-layer optimization process; the algorithm solution module is used to use the collaborative evolution algorithm to solve the upper-layer optimization model and the lower-layer optimization model and verify the optimization results.

[0132] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0133] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0134] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.

[0135] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by 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. It should be noted that the above embodiments are only used to illustrate the technical solution of the present invention and are not limited. Although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

[0136] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A two-layer optimization method for market clearing considering distributed resource transactions, characterized in that: include: Establish market trading models for various types of distributed resources for production and consumption users with controllable loads; Construct a two-level optimization model for market clearing and analyze the upper-level optimization process and the lower-level optimization process; The co-evolutionary algorithm is used to solve the upper-level optimization model and the lower-level optimization model and verify the optimization results.

2. The market clearing two-layer optimization method considering distributed resource transactions as claimed in claim 1, characterized in that: The establishment of market transaction models for various types of distributed resources includes establishing a distributed photovoltaic transaction model based on the transaction needs and market operation requirements of different users; Analyze the factors affecting the output power of photovoltaic power generation prosumers. The power generated by photovoltaic power generation prosumers can not only meet their own electricity demand, but also, as participants in distributed transactions, put the excess power into the market. The corresponding constraints are expressed as: in, are the winning output and maximum output of the energy bid of the kth segment of the distributed general prosumer 1 in time period t, respectively, and L is the set of general prosumers; Factors that affect the output power of photovoltaic power producers and consumers include light intensity, working environment temperature, and the cleanliness of the photovoltaic panels.

3. The market clearing two-layer optimization method considering distributed resource transactions as claimed in claim 2, characterized in that: The establishment of a market transaction model for various types of distributed resources also includes establishing an energy storage transaction model; The electrochemical energy storage system has a dual function, purchasing electricity as a load and selling electricity as a power generation device. The trading strategy includes declaring a non-decreasing segmented price-volume curve when the electrochemical energy storage system is used as a power source; When the electrochemical energy storage system is used as a load, a non-increasing segmented price-volume curve is declared, and the corresponding energy storage transaction model is expressed as: in, are the charging power and discharging power of the energy quotation of the electrochemical energy storage b in the kth segment of time period t, respectively. B is the electrochemical energy storage set, are the maximum charging power and discharging power of electrochemical energy storage b in the kth energy segment, respectively. is a Boolean variable, Indicates that energy storage b is charged during time period t, Indicates the discharge status; The state of charge of electrochemical energy storage b is expressed as: in, is the SOC of electrochemical energy storage b in period t+1, is the SOC of electrochemical energy storage b in period t, is the energy of electrochemical energy storage b, are the charging efficiency coefficient and discharging efficiency coefficient of electrochemical energy storage b, respectively. are the minimum and maximum SOC of electrochemical energy storage b, is the initial SOC of electrochemical energy storage b, and T is the total number of time periods.

4. The market clearing two-layer optimization method considering distributed resource transactions as claimed in claim 3 is characterized by: The establishment of market transaction models for various types of distributed resources also includes establishing an electric vehicle transaction model; The electric vehicle charging station centrally dispatches electric vehicles during the bidding period by declaring a quantity-price curve, which is expressed as: in, is the winning bid output of the energy quotation of electric vehicle v in the kth segment of time period t, is the rated charging power of the electric vehicle v, are the charging period and non-charging period of electric vehicle v respectively. The SOC of electric vehicle v is expressed as: in, is the SOC of electric vehicle v at time period t, are the minimum and maximum SOC of the electric vehicle v, is the initial SOC of the electric vehicle v, In order to meet the SOC of the subsequent electric vehicle v, is the battery energy of the electric vehicle v, is the charging power of electric vehicle v in period t, Δt is the time interval, is the charging efficiency of electric vehicle v, and N is the set of electric vehicles.

5. The market clearing two-layer optimization method considering distributed resource transactions as claimed in claim 4, characterized in that: The upper optimization includes the objective function in the optimization model based on the profit maximization of each power generation enterprise, according to the node marginal price λ of bus n in period t t,n , and the winning bid electricity obtained by the lower-level clearing model of the i-th generator unit of unit U in the k-th bidding period To obtain the optimal bidding strategy, the upper optimization process is expressed as: Where N and M are the total number of traditional generators and distributed renewable energy generators, respectively; T is the total number of time periods; K is the total number of bidding periods; η is the final subsidy price determined by the subsidy market; is the marginal cost of the generator set; The node marginal price is the marginal electricity benefit I on the electricity consumption side D and the marginal generation cost I on the generation side G The average value per unit load increment is expressed as: Among them, α i,k is the unit bid price, is the marginal benefit on the user side, For the power demand at the user side, calculate the node marginal price λ of bus n in period t t,n It is expressed as: The upper-level constraints include bidding power constraints, bidding price constraints, and subsidy bidding price constraints; The bidding power constraint is expressed as: The sum of the maximum electricity declared by each power generation unit in all bidding sections Equal to the bidding power limit The maximum electricity declared by each unit must be greater than or equal to the specified proportion of the upper limit of the bid electricity; The bidding price constraint is expressed as: Among them, α max The upper limit of the bidding price of the representative unit; The subsidy bidding price constraint is expressed as: 0≤γ i ≤γ max Among them, γ i is the bid price of unit i in the subsidy market, γ max It is the upper limit of the subsidy bid price.

6. The market clearing two-layer optimization method considering distributed resource transactions as claimed in claim 5, characterized in that: The lower-level optimization includes the bidding strategy of power generation enterprises obtained based on the upper-level optimization analysis, and the start-stop plan of the power generation units is formulated through the unit combination optimization method with safety constraints. In the optimization process of the lower level, the winning electricity and the node marginal price are calculated based on the start-stop plan. The lower-level optimization is expressed as: in, They are the energy bids of general prosumer 1 and electric vehicle v in the kth segment of time period t, are the discharge energy quotation and charging energy quotation of electrochemical energy storage b in the kth segment of time period t, is the electricity purchase fee of the distribution network from the upper power grid during period t, is the node marginal electricity price of the wholesale market connected to the root node of the distribution network during period t, The power purchased by the distribution network from the upper power grid during period t; The constraints of the lower-level optimization include system power flow balance constraints, line power flow restrictions, unit output constraints, node marginal power price constraints, ramp constraints, spinning reserve constraints, and minimum start-stop time constraints; The system power flow balance constraint is expressed as: Among them, Ω N is the set of distribution network nodes, ε is the set of distribution network branches, are respectively the active and reactive power of the distribution network branch ij during period t, R ij , X ij are the resistance and reactance values ​​of the distribution network branch ij, are the active and reactive power of the distribution network node j in the time period respectively; The line power flow limit is expressed as: I ij,t is the current of the distribution network branch ij during the time period, is the maximum current of the distribution network branch ij, V j,t is the voltage of node j in the distribution network during the time period, V j , are the minimum and maximum values ​​of the voltage at the distribution network node j, respectively; The unit output constraint is expressed as: During the bidding period, the winning bid power of each unit is less than the declared power. The sum is between and minimum power Between, where u i,t is a binary variable for each unit, u i,t =1 indicates start, u i,t =0 means shutdown; The node marginal electricity price constraint is expressed as: in, and are respectively the active power loss and reactive power loss of the distribution network in period t, is the reactive power input from the upper power grid to the distribution network during period t; The hill climbing constraint is expressed as: in, and are the up and down climbing slopes of each unit respectively; The spinning reserve constraint is expressed as: in, and They are upward and downward spinning reserve requirements, respectively. The spinning reserve constraint ensures that the grid-connected power meets the load demand when there are fluctuations or failures in the uncertain distributed energy generation; The minimum start-stop time constraint is expressed as: in, is the continuous start time of each unit, T U is the minimum continuous start time of each unit, and is the continuous downtime of each unit, T D It is the minimum continuous downtime of each unit.

7. The market clearing two-layer optimization method considering distributed resource transactions as claimed in claim 6, characterized in that: Solving the upper optimization model and the lower optimization model includes population initialization, optimal strategy selection, convergence judgment, and strategy update; Population initialization involves randomly generating an initial strategy set for each market participant in the total population of x market participants, generating y bidding strategies for each participant, so the set of market participants is 0X = X1, X2, … X x , the bidding strategy set of participant X1 is X1=Y1,1,Y2,2…Y y ,y, the information contained in each strategy Y1,j is a three-segment price-electricity curve, and each strategy Y1,j is a chromosome; The optimal strategy selection includes that at any iteration, for any player, the chromosome with the highest objective function gain will be recorded as the player’s most suitable chromosome; Convergence judgment includes: when the social welfare difference between iterations r and r-1 is less than the predetermined threshold, or r is greater than or equal to the maximum iteration number R, the most suitable chromosomes of all participants are saved as the optimal bidding strategy, and all steps are terminated; otherwise, enter the strategy update; The strategy update includes retaining the most suitable chromosomes of all participants except X1 in iteration r-1 according to the elite retention mechanism, updating the chromosomes of the participants in iteration r, and returning the best strategy selection. In each iteration, each participant performs the updating process, and the optimal strategy is selected for all participants after the iteration.

8. A system using the market clearing two-layer optimization method considering distributed resource transactions as described in any one of claims 1 to 7, characterized in that: Including market transaction module, double-layer optimization module, algorithm solution module; The market transaction module is used to establish a market transaction model for various distributed resources for production and consumption users including controllable loads; The two-layer optimization module is used to construct a market-clearing two-layer optimization model and analyze the upper-layer optimization process and the lower-layer optimization process; The algorithm solving module is used to solve the upper optimization model and the lower optimization model using a collaborative evolutionary algorithm to verify the optimization results.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the market clearing two-level optimization method considering distributed resource transactions according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the market clearing two-level optimization method considering distributed resource transactions according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Point-to-point energy transaction method and device for defining price curve based on virtual line

    CN121639260A