Medium and long term contract direct transaction system for new energy power producer and user
The Fast-DTW algorithm and dual interactive master-slave game model are used to optimize the medium and long-term contract transactions between new energy power generators and users, solving the problems of low matching and high calculation difficulty in the existing technology, improving transaction efficiency and successful contract signing. efficiency, realizing electricity price and power optimization that maximizes the interests of both parties.
Patent Information
- Application Number
- CN202410738407.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-10
AI Technical Summary
The existing medium- and long-term contract transactions between new energy power generators and users are not matched well and are difficult to calculate, which affects transaction efficiency and the success rate of contract signing.
The Fast-DTW algorithm is used to match transaction entities, combined with the dual interactive master-slave game model and the entropy weight method, to optimize the electricity price and power curve. The final contract electricity price and power are determined through simplified solutions using the two-round game model and KKT transformation theory.
It improves the transaction efficiency and the success rate of contract signing, ensures the maximum interests of both buyers and sellers of electricity, reduces the calculation difficulty and risk, and realizes the optimization of contract electricity price and power.
Smart Images

Figure CN118628203A
Abstract
Description
Technical Field
[0001] This invention relates to trading systems, specifically to a direct trading system for medium- and long-term contracts between new energy power generators and users. Background Technology
[0002] New energy power generation is favored in the energy transition process due to its advantages such as renewability, cleanliness, environmental friendliness, and wide distribution. During the rapid increase in new energy technologies and installed capacity, the consumption of new energy power has become an issue that cannot be ignored. The significant volatility of renewable energy power generation makes it difficult to quantify a price and power curve acceptable to both the power purchaser and seller during the contract period, significantly affecting users' preferences for new energy power generation when signing electricity contracts. Taking a bilateral negotiation model as the research object, in the process of signing medium- and long-term contracts, both the power purchaser and seller first select a suitable trading partner, and then, with their respective goals of maximizing profits, jointly negotiate and determine the final contract content. Therefore, the objective function for both the power purchaser and seller can be written in the following form:
[0003] max f(x) (1)
[0004] st h(x)=0 (2)
[0005] g(x)≥0 (3)
[0006] In the formula: the objective function f(x) is usually to maximize the revenue from electricity sales or the utility of electricity consumption; the decision variable x refers to the contract electricity price or contract power; the equality constraints refer to power balance constraints, etc.; the inequality constraints refer to the upper and lower limits of unit output constraints, electricity constraints, and price constraints, etc.
[0007] To increase the absorption of renewable energy generation, the success rate of medium- and long-term power contracts is generally improved through the design of trading mechanisms. When selecting trading partners, historical electricity prices and power curves provided by the power generation and consumption sides are used. Euclidean distance or Fast Dynamic Time Warping (Fast-DTW) is employed to calculate and select users with the closest curve similarity to renewable energy generators for trading. During the contract negotiation of electricity prices and power curves, a dual-interaction master-slave game optimization model is established based on game theory to find the optimal solution for electricity price and power that guarantees the interests of both parties. The constructed two-layer optimization model contains nonlinear terms. KKT transformation and strong duality theory are used to transform the two-layer nonlinear model into a single-layer linear model, which can then be solved. The transformed single-layer linear model takes the following form:
[0008] max f0(x,y) (4)
[0009] st h(x)=0 (5)
[0010] g(x)≥0 (6)
[0011] λ i h′ i (y)=0 (7)
[0012] μ i g′ i (y)=0 (8)
[0013] μ i ≥0,λ i ≥0 (9)
[0014] In the formula: the objective function f0(x) maximizes the joint revenue of the power purchase and sale sides; the decision variable x refers to the contract electricity price (contract power); and y refers to the contract power (contract electricity price). Assuming that the lower-level model is transformed using KKT, and the objective function containing the decision variable x is at the upper level, then h(x) and g(x) are upper-level constraints that do not require KKT transformation, h'(y) and g'(y) are lower-level constraints, and μ and λ are the Lagrange multipliers corresponding to the respective constraints.
[0015] Existing research employs improved Euclidean distance and DTW distance to measure the similarity of source-load time series with significant numerical differences. Similarity and volatility indices are constructed and used as constraints in the objective function to participate in source-load-storage coordination optimization. This effectively makes the load curve follow the changes in the renewable energy curve, stabilizing the output of traditional units and reducing their reserve capacity, frequent start-ups and shutdowns, and ramp-up. Some studies use a combination of K-Medoids clustering and Fast-DTW to determine the optimal combination for power purchase and sale contracts. First, K-Medoids clustering based on Euclidean distance is used to screen load combinations that are numerically similar to the target renewable energy output prediction curve. Then, the Fast-DTW algorithm is used to match the shape similarity of the selected load combinations to find the market entity with the highest degree of numerical and shape matching for transactions, reducing performance risk.
[0016] Master-slave game theory is a dynamic game in which participants act in a sequential order, and later actors can observe the actions chosen by earlier actors. Existing research mainly focuses on the equilibrium pricing and quantification problems among multiple distributed energy stations and energy users in integrated energy systems. It establishes master-slave game models with one master and multiple slaves or multiple masters and multiple slaves to solve for the equilibrium interaction strategies of each participant pursuing their respective goals. Some studies, to describe the game relationships among market participants when distribution companies participate in centralized markets, establish a multi-master, one-slave game mechanism and transform the model into a potential game model, linearizing it using the strong duality theorem and the Big M method. In reality, the master-slave game mechanism prioritizes maximizing the leader's interests and, based on this premise, seeks the optimal strategy for followers. In medium- and long-term electricity trading, the roles played by both parties in the game will affect the final contract signing outcome. If the game outcome with one party as the leader is used as the final contract signing scheme, the risks in the transaction may be more skewed towards the followers, affecting the success rate of contract signing.
[0017] Entropy weighting is a method that uses information entropy to evaluate the weights and comprehensive scores of multiple indicators. Through steps such as positive transformation and standardization, the information entropy and weights of each indicator are obtained. Existing research mainly combines entropy weighting with other methods, such as the analytic hierarchy process (AHP) and contribution value analysis, to form a comprehensive evaluation theory for measuring the risk indicator system of electricity market transactions. There are also methods for allocating and settling unbalanced electricity volumes based on the characteristics of the spot and medium-to-long-term markets.
[0018] The existing medium- and long-term contract transactions between new energy power generators and users are mainly characterized by low matching degree and high difficulty in matching calculation, which affects transaction efficiency. Summary of the Invention
[0019] The purpose of this invention is to overcome the shortcomings of the prior art and provide a direct trading system for medium- and long-term contracts between new energy power generators and users, so as to improve matching and trading efficiency.
[0020] To achieve the above objectives, the technical solution of the present invention is as follows:
[0021] A direct transaction system for medium- and long-term contracts between new energy power generators and users includes:
[0022] The data input module is used to input transaction data;
[0023] The transaction entity matching module calculates the power generation and consumption matching characteristics based on transaction data to determine the best user combination for trading with power generators.
[0024] The dual-interaction master-slave game module forms a user agent and a power generator to engage in a dual-interaction master-slave game based on the determined optimal user combination for trading with the power generator, resulting in two sets of curves, each of which includes an electricity price curve and a power curve.
[0025] The contract quantity and price determination module uses the entropy weight method to determine the weights of the two sets of curves, and calculates the contract electricity price and power curves based on the weights.
[0026] Compared with the prior art, the advantages of this invention are as follows:
[0027] This invention proposes a direct trading system for medium- and long-term contracts between renewable energy generators and users. Considering bilateral negotiation and the scenario where a single renewable energy generator trades directly with multiple users without going through a power sales company, the system first calculates the DTW distance between the power curves provided by the renewable energy generator and the users based on the Fast-DTW method. The optimal combination of trading entities is determined based on this distance, improving trading efficiency while ensuring a high degree of matching between the power generation and consumption characteristics of both parties, thus increasing the success rate of contract signing. Second, considering the mechanism of prioritizing the maximization of the leader's interests in a master-slave game, a two-round master-slave game method is constructed: In the first round, the renewable energy generator is the leader, and the multi-user combination is the follower, establishing a game model to optimize the electricity price and power curves. In the second round, the roles of the renewable energy generator and the multi-user combination are reversed, and the same optimization yields the electricity price and power curves. Since both game models are two-layer nonlinear models, KKT transformation and strong duality theory are used to transform the models into single-layer linear models to simplify the solution. Combining the results of the two rounds of game theory, the entropy weight method is used to determine the final contract electricity price and power. Through the aforementioned two-round game theory model, the trading partners in the bilateral negotiation model of medium- and long-term electricity trading between renewable energy generators and users are more clearly defined. The formulation of electricity prices and power curves takes into account the wishes of both the buyer and seller. This not only increases users' willingness to purchase renewable energy generation and avoids the situation where renewable energy generation is not favored in the electricity market and leads to unsold inventory, but also maximizes the interests of both parties in optimizing contract electricity prices and power curves. The process of adopting entropy weight to determine the contract quantity and price is also a process of risk sharing between the two parties. The calculation of this invention is low in difficulty and fast, and it has certain practical value. Attached Figure Description
[0028] Figure 1 A schematic diagram illustrating the composition of a direct trading system for medium- and long-term contracts between new energy power generators and users, provided in an embodiment of the present invention;
[0029] Figure 2 The diagram illustrates the transaction process and calculation steps of the long-term contract direct transaction system between new energy power generators and users, as provided in this embodiment of the invention. Detailed Implementation
[0030] Example:
[0031] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.
[0032] See Figure 1-2 As shown in the figure, the medium- and long-term contract direct transaction system between new energy power generators and users provided in this embodiment mainly includes:
[0033] The data input module is used to input transaction data. This includes the historical output curves of renewable energy generators, the historical electricity consumption curves of multiple users, the installed capacity of renewable energy generators, and market rules restricting electricity prices and quantities.
[0034] The transaction matching module uses Fast-DTW to calculate the power generation and consumption matching characteristics based on transaction data to determine the optimal user combination for trading with power generators. Thus, by employing a Fast-DTW-based matching mechanism to determine the optimal trading partner according to the power generation and consumption curve characteristics, compared to random trading or self-trading by the power generation and consumption sides, this improves transaction efficiency while enhancing users' preference for renewable energy generation, ensuring a high degree of matching between the power generation and consumption characteristics of both the buyer and seller, thereby increasing the success rate of contract signing.
[0035] The dual-interactive master-slave game module forms a dual-interactive master-slave game between a user agent and a power generator based on the determined optimal user combination for trading. This results in two sets of curves, each including both an electricity price curve and a power curve. By employing this dual-interactive master-slave game mechanism, the scenario where both parties act as leaders is considered. Compared to a master-slave game with only one party as the leader in the trading mechanism, this approach considers both the equal positions of the power generation and consumption sides in medium- and long-term transactions and reflects the dynamic game process between the trading entities, ultimately yielding the optimal trading strategy that truly maximizes the interests of both parties.
[0036] The contract quantity and price determination module uses the entropy weight method to determine the weights of two sets of curves, and calculates the contract electricity price and power curves based on these weights. In this way, by calculating the contract electricity price and contract power volume through objective weights, a strong basis is provided for the signing of medium- and long-term contracts. Compared with techniques that use single-step optimization to determine contract transaction quantity and price, the allocation of weights also achieves risk sharing.
[0037] In one specific embodiment, the calculation of power generation and consumption matching characteristics based on transaction data to determine the optimal user combination for trading with power generators includes:
[0038] Suppose a renewable energy generator engages in transactions with m users. The total number of possible combinations of users transacting with the renewable energy generator is M. Then:
[0039]
[0040] In the formula: Mathematical formulas for solving combinations.
[0041] The Fast-DTW distance between the historical power curve of the k-th user group and the historical power curve of the renewable energy generator is:
[0042] D k (I,J)=Dist(i,j)+min[D k (i-1,j)+D k (i,j-1)+D k [(i-1,j-1)],k=1,2,…,M(11)
[0043] In the formula: Dist(i,j) is the distance between corresponding data points i and j on two curves, calculated using any classical distance calculation method (such as the Euclidean algorithm); D M (I,J) represents the normalized path distance between two time series of lengths I and J.
[0044] Among all the Fast-DTW distances calculated from the power curves of all user combinations and renewable energy generators, the smallest D is... M The total electricity consumption characteristics of the user combination corresponding to (I,J) are most compatible with the power generation characteristics of the renewable energy generators. Therefore, this combination is the most suitable for medium- and long-term electricity trading with renewable energy generators.
[0045] In one specific embodiment, the dual interactive master-slave game module aims to maximize the interests of both parties in the transaction while sharing the risks. Its key points are: (a) establishing a dual interactive dynamic master-slave game mechanism with one party as the leader, and deriving the optimal transaction electricity price and power strategy by considering the maximization of the benefits of each party; (b) linearizing the model based on KKT conditions and strong duality theory, so that it can be solved quickly using a solver; (c) determining the weights of the two sets of solutions obtained from the two rounds of game optimization using the entropy weight method, and calculating the transaction contract electricity price and power curves.
[0046] Objective function for revenue generation by new energy power generators:
[0047]
[0048] Constraints on the upper and lower limits of electricity prices on the generation side:
[0049]
[0050]
[0051] Electricity price upper and lower limits constraints on the electricity consumption side:
[0052]
[0053] In the formula: P e d,t Let d be the contract transaction power at time t. This is the predicted power generation value; Let d be the contract electricity price at time t; assuming the renewable energy generator is either a wind power generator or a solar power generator, then λ d,t e,co Let d be the unit cost of wind or solar power curtailment penalty at time t; These represent the lower and upper limits of the average transaction price, with the lower limit set at 0.10 yuan / kWh and the upper limit at 0.35 yuan / kWh. These represent the lower and upper limits of historical electricity purchase prices, respectively, with δ set to 0.05.
[0054] Objective function for user portfolio revenue:
[0055]
[0056]
[0057] User-side transaction volume constraints:
[0058]
[0059] Output constraints:
[0060]
[0061] Monthly net contract volume constraints on the power generation side:
[0062]
[0063]
[0064]
[0065] In the formula: f u d,t Let v be the user's utility function, representing the user's level of satisfaction with purchasing electricity. e ,α e These are all load-side preference coefficients for electricity consumption, which can reflect users' energy demand preferences and affect the magnitude of demand. To predict load power, E represents the predicted power generation value. m gen,max This represents the upper limit of monthly net contract volume for generator sets; E m genFor power generation companies, the target monthly net contract volume; S i For generator unit capacity; t m ΣE represents the monthly available power generation hours; f0 is the adjustment coefficient, taken as 0.5; p The sum of the target month's priority power generation plan; ΣE b The sum of the monthly market contract electricity volume of the target company; ΣE s This represents the sum of the monthly market contract electricity volume for the target asset sold.
[0066] The first round of competition: New energy power generators as leaders, and user groups as followers.
[0067] The master-slave game model can be established as follows:
[0068] G = {N; ρ wind ;δ user ;F wind ;F user}
[0069] The above game model includes participants, strategies, and payoffs, specifically represented as follows:
[0070] 1) Participants: Both wind power companies and load combinations are participants, which can be represented as: N = {WIND, USER}.
[0071] 2) Strategy: The strategy of wind power operators is the electricity sales price and the generator output power, which can be expressed as ρ wind =λ e The load combination strategy is expressed as the total load power, which can be represented as δ. user =P e .
[0072] 3) Profits: The profits of each participant are the objective functions of each subject, expressed by equation F. wind and F user calculate.
[0073] The second round of the game: the user group acts as the leader, and the new energy e-commerce platform acts as the follower. The game model is similar to the one described above, only the roles of the participants are reversed.
[0074] KKT conditions are commonly used to solve bi-level optimization models. They typically transform the lower-level model into constraints for the upper-level model, converting the bi-level model into a single-level one, thus simplifying the solution process. For the first round of the master-slave game, the lower-level model aims to maximize the user portfolio's profit, which can be transformed into KKT conditions as follows:
[0075]
[0076]
[0077]
[0078] In the formula: μ1 to μ4 are Lagrange multipliers. Equal to complementary relaxation terms, indicating And μ1≥0, And μ2 ≥ 0. The above complementary relaxation terms are nonlinear terms, which are linearized using the Big M method, introducing Boolean variables α1 to α4:
[0079]
[0080] The transformation of α2 to α4 using the Big M method is similar to equation (31). Based on the above constraints, the constraints of the following layer can be transformed into those of the leadership layer for solution. The overall objective function at this point is:
[0081]
[0082] At this time R e The corresponding term is a non-convex nonlinear term, which can be linearized by combining the strong duality condition of the follower. The linearization based on strong duality theory is as follows:
[0083]
[0084] The linearized overall objective function of the first round of the game is:
[0085]
[0086] Through the above changes, the two-layer nonlinear model in the first round of the game is transformed into a single-layer convex optimization model. Similarly, the linearized overall objective function of the second round of the game is:
[0087]
[0088] In the formula: v1 to v4 are Lagrange multipliers.
[0089] In the dual-interactive dynamic master-slave game optimization model, considering the trading mechanism that prioritizes the interests of each trading entity, two electricity price curves (electricity price curve 1 and 2) and two power curves are ultimately derived. The weights of the final contracted electricity price and contracted power curves will be determined using the entropy weight method to obtain an objective result. Taking the electricity price curve as an example, the steps for determining the contracted electricity price curve using the entropy weight method are as follows:
[0090] 1) Determine the evaluation indicators and evaluation objects. To obtain the calculation weights of electricity price curves 1 and 2, the first and second rounds of the game are used as evaluation indicators, and the two data points of electricity price curves 1 and 2 at the same time point are used as evaluation objects. Assuming there are m evaluation indicators and n evaluation objects, the evaluation matrix is constructed as follows:
[0091]
[0092] The matrix is standardized and denoted as Z.
[0093]
[0094] 2) Calculate the probability matrix P and the information entropy of the j-th index.
[0095] Probability matrix:
[0096]
[0097] Information entropy of the j-th indicator:
[0098]
[0099] 3) Calculate the weights and the final contract price.
[0100] The information utility value of the j-th indicator:
[0101] d j =1-e j (35)
[0102] The weight of the j-th indicator:
[0103]
[0104] Final contract electricity price:
[0105] λ i =x i1 w1+x i2 w2 (37)
[0106] By using the same method to obtain the value at each time point on the contract power curve, the contract transaction electricity price and power curve can be derived.
[0107] In summary, compared with the prior art, the present invention has the following advantages:
[0108] (1) In the stage of selecting the main trading users, the matching mechanism based on Fast-DTW is adopted to match according to the characteristics of the power generation and consumption curves to determine the optimal trading object. Compared with random trading or self-trading by the power generation and consumption sides, it enhances the user's preference for new energy power generation, improves the efficiency of contract signing, and increases the contract performance rate in the later stage.
[0109] (2) The dual interactive master-slave game mechanism takes into account the situation where both parties are leaders. Compared with the master-slave game with only one party as the leader in the transaction mechanism, it takes into account the equal status of the power generation and consumption sides in medium and long-term transactions, and reflects the dynamic game process between the transaction subjects, and finally obtains the optimal transaction strategy when the interests of both parties are maximized in a true sense.
[0110] (3) When solving the dual-interaction master-slave game two-layer nonlinear model, the KKT conditions and strong duality theory are used to transform the model into a single-layer nonlinear model. Compared with multiple iteration algorithms or nonlinear model solving algorithms, the solution difficulty is greatly reduced, the solution efficiency is improved, and it has more practical value.
[0111] (4) The entropy weight method combines the optimal results of two sets of games and calculates the contract electricity price and contract electricity volume through objective weights, providing a strong basis for the signing of medium and long-term transaction contracts. Compared with the technology of determining the contract transaction volume and price by single optimization, the allocation of weights also realizes risk sharing and increases the profit space of both parties to the transaction.
[0112] The above embodiments are merely illustrative of the technical concept and features of the present invention, and are intended to enable those skilled in the art to understand the content of the present invention and implement it accordingly. They should not be construed as limiting the scope of protection of the present invention. All equivalent changes or modifications made based on the essence of the content of the present invention should be covered within the scope of protection of the present invention.
Claims
1. A medium- and long-term contract direct trading system between new energy power generators and users, It is characterized in that include: A data input module, used to input transaction data; The transaction subject matching module performs Fast-DTW calculation of power generation and consumption matching characteristics based on transaction data to determine the best user combination for transactions with power generators; A dual interactive master-slave game module forms a user agent based on the determined best user combination for trading with the power generator to play a dual interactive master-slave game with the power generator, and obtains two groups of curves, each group of curves includes an electricity price curve and a power curve; The contract quantity and price determination module uses the entropy weight method to determine the weights of the two groups of curves, and obtains the contract electricity price and power curve based on the weight calculation.
2. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 1, It is characterized in that The transaction data includes the historical output curve of the new energy power generator, the historical electricity consumption curves of multiple users, the installed capacity of the new energy power generator, and the restrictions on electricity prices and electricity volume imposed by market rules.
3. The medium- and long-term contract direct trading system between a new energy power generator and a user as claimed in claim 1 or 2, It is characterized in that The Fast-DTW calculation of power generation and consumption matching characteristics based on transaction data to determine the best user combination for trading with the power generator includes: Suppose a new energy power generator trades with m users. At this time, the number of possible combinations of transactions between the user side and the new energy power generator is M. The Fast-DTW distance between the historical power curve of the kth user combination and the historical power curve of the new energy generator is: D k (I,J)=Dist(i,j)+min[D k (i-1,j)+D k (i,j-1)+D k (i-1,j-1)],k=1,2,…,M Where: Dist(i,j) is the distance between the corresponding data points i and j on the two curves calculated using any classical distance calculation method; D M (I, J) represents the normalized path distance between two time series of length I and J; Among all Fast-DTW distances calculated between the power curves of all user combinations and renewable energy generators, the smallest D M The total electricity consumption characteristics of the user combination corresponding to (I, J) are most consistent with the power generation characteristics of the new energy power generator, thus determining that this combination is most suitable for medium- and long-term electricity energy transactions with the new energy power generator.
4. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 3, It is characterized in that The M is: Where: A mathematical formula for solving combinatorial calculations.
5. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 1, It is characterized in that The dual interactive master-slave game includes: The first round of game: a game model is established with new energy power generators as the leader and multiple user groups as followers to optimize the electricity price and power curve; The second round of game: swap the roles of new energy power generators and multi-user combinations in the game model, and optimize the electricity price and power curve in the same way.
6. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 5, It is characterized in that The game model is: G={N;ρ wind ;d user ;F wind ;F user } The game model includes participants, strategies and benefits, which are specifically expressed as follows: Participants: Wind power suppliers and load combinations are participants, which can be expressed as: N = {WIND, USER}; Strategy: The strategy of wind power companies is the electricity price and generator output power, expressed as ρ wind =λ e ; The load combination strategy is expressed as the total load power, expressed as δ user =P e ; Profit: The profit of each participant is the objective function of each entity.
7. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 6, It is characterized in that The benefits of each participant are the objective functions of each subject, including: The objective function of the revenue of new energy generators is: Upper and lower limits of electricity prices on the power generation side: The upper and lower limits of electricity prices on the electricity consumption side: Where: P e d,t is the contract trading power of day d at time t, is the predicted value of power generation; is the contract electricity price at time t for day d; assuming that the new energy power generator is a wind power generator or a photovoltaic power generator, then λ d,t e,co is the unit cost of wind power abandonment penalty or solar power abandonment penalty at time t on day d; The lower and upper limits of the average transaction price They are the lower and upper limits of the historical electricity purchase prices respectively; The objective function of user portfolio benefits: User-side transaction power constraints: Output constraints: Monthly net contract quantity constraints on the power generation side: In the formula: In the formula, f u d,t is the user's utility function, which indicates the user's satisfaction after purchasing electricity, v e ,α e They are the load side’s preference coefficients for power consumption, reflecting the user’s preference for energy demand and affecting the size of demand; To predict load power, is the predicted value of power generation, E m gen,max E is the upper limit of the monthly net contract volume of the generator set; m gen is the monthly net contract volume of the power generation enterprise; S i is the installed capacity of the generator; t m is the monthly available generating hours; f 0 is the adjustment coefficient; ΣE p The sum of the priority power generation plan in the target month; ΣE b The sum of the monthly market contract electricity of the purchase target; ΣE s It is the sum of the market contract electricity volume in the selling target month.
8. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 6, It is characterized in that In both the first and second rounds of games, KKT conditions and strong duality theory were used to transform the game model into a single-layer linear model.
9. The medium- and long-term contract direct trading system between a new energy power generator and a user as claimed in claim 8, It is characterized in that The KKT condition and strong duality theory are used to transform the game model into a single-layer linear model, including: For the first round of game, the underlying model is to maximize the benefits of the user portfolio, which is converted into the KKT condition as follows: Where: μ 1 ~μ 4 is the Lagrange multiplier, etc. are complementary slack terms, indicating And μ 1 ≥0, And μ 2 ≥0; the above complementary relaxation term is a nonlinear term, which is linearized by the large M method, and the Boolean variable α is introduced 1 ~α 4 : Based on the above constraints, the following layer is converted into the leadership layer constraints for solution. At this time, the total objective function solved is: At this time R e The corresponding term is a non-convex nonlinear term, which is linearized in combination with the strong duality condition of the follower; the linearization based on the strong duality theory is as follows: The total objective function after linearization of the first round of game is: Through the above changes, the two-layer nonlinear model in the first round of the game is transformed into a single-layer convex optimization model; Similarly, the total objective function after linearization of the second round of game is: Where: v 1 ~v 4 is the Lagrange multiplier.
10. The medium- and long-term contract direct trading system between new energy power generators and users as claimed in claim 1, It is characterized in that The entropy weight method is used to determine the weights of the two groups of curves, and the contract electricity price and power curve are obtained according to the weight calculation, including: 1) Determine the evaluation indicators and evaluation objects: Take the first and second rounds of the game as evaluation indicators, and the two data at the same time point of the two electricity price curves as evaluation objects. Suppose there are m evaluation indicators and n evaluation objects, and construct the evaluation matrix as follows: m=2,n=D*T Normalize the matrix, denoted as Z 2) Calculate the probability matrix P and the information entropy of the j-th indicator: Probability matrix: Information entropy of the jth indicator: 3) Calculate weights and final contract electricity price: The information utility value of the jth indicator: d j =1-e j The weight of the jth indicator: Final contract price: λ i =x i1 w 1 +x i2 w 2 The same method is used to obtain the value of each time node on the contract power curve, that is, to obtain the contract transaction electricity price and power curve.
