End-to-end energy market network passing cost and network loss sharing method

Optimizing energy distribution through the double Nash negotiation method solves the problem of uneven sharing of network transmission costs and network losses in energy transactions in the existing technology, achieves reasonable benefit sharing and cost optimization for market participants, and promotes energy on the low-voltage user side. Trading market promotion.

CN118568982APending Publication Date: 2024-08-30HOHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410797934.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technology cannot effectively achieve the balance of power generation and consumption among energy producers and consumers, and cannot meet the needs of various market participants in the sharing of network costs and network losses in energy transactions.

Method used

Using the double Nash negotiation method, by obtaining user load data, electricity price data and power network parameter data, an optimized operation model and a personal interest optimization model are established to calculate the optimal cost of each market participant for network passing fees and network losses, and determine Nash equilibrium to optimize energy distribution.

Benefits of technology

It effectively optimizes the network loss costs and grid-connection fees shared by various market participants, ensures the reasonable participation of the energy trading market and the reasonable formulation of network losses and grid-connection fees, and promotes energy trading on the low-voltage user side.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568982A
    Figure CN118568982A
Patent Text Reader

Abstract

The invention relates to the technical field of end-to-end energy transaction systems, in particular to an end-to-end energy market network-crossing cost and network loss sharing method, which comprises the following steps of: acquiring load data, electricity price data and parameter data of a power network where a user is located, and inputting the acquired data as parameters into an optimized operation model; establishing an optimized operation model of the power distribution network; analyzing the transaction behavior of each energy seller in the end-to-end energy market, and establishing a personal benefit optimization model of each energy seller in the end-to-end market; writing the three-party users of the parameter end-to-end transaction into a Nash negotiation form, and solving the optimal cost of every three market participants for the network passing cost and the allocated network loss; and according to each pair of Nash negotiation results, calculating Nash equilibrium of the Nash negotiation results, and determining end-to-end transactions, network passing costs and network apportionment results in the double Nash negotiation model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of end-to-end energy trading systems, and in particular to a method for allocating network costs and network losses in an end-to-end energy market. Background Art

[0002] With the development of distributed renewable energy generation technology, energy producers and consumers on the user side can directly exchange electricity between buyers and sellers based on the existing distribution network. However, electricity transactions between energy producers and consumers need to be settled through the existing distribution network, and network transmission fees and network losses will be generated during the settlement process. Among them, network transmission fees refer to the fees incurred when electricity is transmitted and distributed through the power grid, mainly including the fees charged by the power grid company for maintenance and operation, transmission fees and distribution fees; network losses refer to the loss of part of the electricity during the transmission process due to factors such as resistance, which is converted into heat energy or other forms of energy and cannot be used by end users.

[0003] In the prior art, the method of allocating the national grid costs and network losses mostly includes a time-segmented electricity price mechanism, that is, different electricity prices are set in different time periods of the day according to different electricity demand conditions, such as higher electricity prices during peak hours and lower electricity prices during trough hours; however, due to the different electricity demands and behavior patterns of different users, the above-mentioned allocation method cannot achieve a balance between power generation and consumption between energy producers and consumers, and it also cannot ensure that the results of the allocation of grid costs and network losses in energy transactions meet the needs of various energy trading market participants. Summary of the invention

[0004] In view of at least one of the above technical problems, the present invention provides a method for allocating network transmission costs and network losses in an end-to-end energy market, and adopts a double Nash negotiation method to optimize the energy allocation scheme in the end-to-end energy trading market.

[0005] According to a first aspect of the present invention, a method for allocating network costs and network losses in an end-to-end energy market is provided, comprising the following steps:

[0006] Obtain the user's load data, electricity price data and power network parameter data;

[0007] Establish an optimized operation model for the distribution network;

[0008] Analyze the transaction behavior of each energy seller in the end-to-end energy market and establish a personal interest optimization model for each energy seller in the end-to-end market;

[0009] Write the three parties of the parameter end-to-end transaction into a Nash negotiation form, and find the optimal cost of each of the three market participants for the network transmission fee and the shared network loss;

[0010] According to each pair of Nash negotiation results, the Nash equilibrium of the Nash negotiation results is calculated to determine the end-to-end transaction, network cost and network sharing results in the double Nash negotiation model.

[0011] In some embodiments of the present invention, the user load data includes the user's load data for the whole year, and the data collection time is not less than 15 minutes.

[0012] In some embodiments of the present invention, the electricity price data is a unified peak, valley and normal time electricity price.

[0013] In some embodiments of the present invention, the power network parameter data includes the reactance and resistance values ​​of the network where energy buyers and sellers in the end-to-end energy market are located, and the reactance and resistance values ​​are used to calculate the electrical distance and network loss between buyers and sellers in the end-to-end energy trading market.

[0014] In some embodiments of the present invention, the optimization operation model of the power grid is:

[0015] max ΞDSO F DSO :=F network -C opp -C ocu -C volt

[0016]

[0017] Where: F DSO is the optimization target of the distribution network operator, F network The network access fee collected by the distribution network operator. is the price of the transmission fee corresponding to the end-to-end energy transaction between energy seller s and energy buyer b, is the power of end-to-end energy transactions between energy seller s and energy buyer b, s∈S, b∈B are the sets of energy sellers and buyers in the end-to-end energy market, is the market operation time set, C opp the operational opportunity cost of delivering energy traded end-to-end rather than top-down to the network, is the opportunity cost of occupying line l, A l,sb is the adjacency matrix of the entire distribution network, which is used to represent the impact of end-to-end energy transactions between energy seller s and energy buyer b on the active power flow on line l, C ocu The network line occupation cost, is the end-to-end energy transaction cost between energy seller s and energy buyer b, is the network loss coefficient, which is used to characterize the active power loss on line l corresponding to the end-to-end energy transaction between energy seller s and energy buyer b, C voltis the node voltage management cost of the network, is the voltage management cost price on the corresponding line, is the node voltage change at both ends of line l.

[0018] In some embodiments of the present invention, the constraints of the optimization operation model of the power grid are:

[0019]

[0020]

[0021]

[0022] Where: is the line collection of the entire distribution network, are the network loss coefficient of energy seller s and energy buyer b respectively. is the active power transmission loss of the entire network, is the reactive power loss of the entire network, are the reactive power traded by energy seller s and buyer b at time t, is the complex power passing through line l, are the lower and upper limits of the complex power passing through line l, is the difference in node voltage at both ends of line l, are the lower and upper limits of the node voltage at both ends of line l.

[0023] In some embodiments of the present invention, the personal benefit optimization model is:

[0024]

[0025] Where: F s is the revenue from selling electricity of energy seller s, F s,P2P ,F s,grid are the revenue of energy seller s in the end-to-end energy market and selling electricity to the upper grid, C s,ope ,C s,net ,C s,loss are the electricity generation and operation costs of energy seller s, represents the network loss cost coefficient of seller s at time t, the network transmission fee of end-to-end energy trading, and the shared network loss cost, The transaction energy price between energy buyers and sellers in the end-to-end energy market, is the price at which energy seller s sells electricity to the grid, is the power sold by energy seller s to the grid, k ren is the renewable energy generation cost coefficient of the energy seller, k esis the cost coefficient of energy storage dispatch for energy sellers, and are the dispatching powers of renewable energy and energy storage, respectively. The meanings of the remaining variables are consistent with the corresponding variables in (2).

[0026] In some embodiments of the present invention, the constraints of the personal benefit optimization model are:

[0027]

[0028] Where: is the set of energy buyers that trade with energy seller s, The generation cap for energy sellers, is the load of energy seller s at time t, The upper limit of the power that energy sellers can sell to the grid. Set a price cap for end-to-end transactions between energy seller s and buyer b, capping renewable energy generation for energy sellers, are the upper limit of energy storage charging power and discharge power of energy sellers, is the amount of energy stored by energy seller s at time t, κ is the charging and discharging efficiency of energy storage, They are the lower and upper limits of the energy storage capacity respectively.

[0029] In some embodiments of the present invention, the individual revenue optimization model of each energy buyer is:

[0030]

[0031]

[0032] Where: F b is the net individual benefit of energy seller b, F b,uti is the electricity purchase utility of energy buyer b, C b,P2P ,C b,grid are the electricity purchase cost of energy buyer b in the end-to-end energy market and the electricity purchase cost from the grid, C b,net ,C b,loss are the transmission fee and network loss cost of energy buyer b, is the load power of energy buyer b, α b ,β b ,γ b are the parameters of the utility function of energy buyer b, is the electricity price parameter of the upper power grid, is the power purchased by energy buyer b from the upper grid at time t, is the set of energy sellers corresponding to energy buyer b, is the network loss cost coefficient paid by energy buyer b at time t. The meanings of the remaining variables are consistent with the corresponding variables in (3);

[0033] The power purchase constraints of each energy buyer during the transaction are:

[0034]

[0035] In the formula: In the formula: is the total power purchased by energy buyer b, is the upper limit of power purchase by energy buyer b in the end-to-end energy market, is the upper limit of the power purchase power of energy buyer b from the upper grid, is the power purchased by energy buyer b from the upper grid at time t, are the lower and upper limits of the adjustable load of energy buyer b.

[0036] In some embodiments of the present invention, the optimal cost model for network costs and network losses shared by three users in a peer-to-peer transaction is:

[0037]

[0038] Where: is the corresponding objective function value when the distribution network operator is optimized separately, is the objective function value when the energy seller s sells electricity alone and does not participate in the end-to-end energy market negotiation, is the objective function value when energy buyer b purchases electricity alone and does not participate in the negotiation, That is, it is the Nash negotiation target of the corresponding distribution network operator, energy seller s and energy buyer b.

[0039] The beneficial effects of the present invention are as follows: the present invention optimizes the calculation of network loss costs, network access fees and electricity trading costs shared by each end-to-end energy market participant by using the Nash negotiation model, and uses a double Nash negotiation model to solve the Nash equilibrium between each Nash negotiation, thereby providing a reference for users to reasonably participate in the end-to-end energy market and the formulation of network losses and network access fees, and effectively ensuring the promotion of the end-to-end energy trading market on the low-voltage user side. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1It is a flowchart of the steps of the end-to-end energy market network cost and network loss allotment method in an embodiment of the present invention;

[0042] Figure 2 It is a schematic diagram of the structure of the end-to-end energy market network transmission fee and network loss sharing in an embodiment of the present invention;

[0043] Figure 3 Schematic diagram of the structure of the end-to-end energy trading market in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0045] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only implementation method.

[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0047] like Figure 1 The end-to-end energy market transmission fee and network loss sharing method shown includes the following steps:

[0048] S10: Obtain the user's load data, electricity price data and power network parameter data;

[0049] S20: Establish an optimized operation model of the distribution network;

[0050] S30: Analyze the transaction behavior of each energy seller in the end-to-end energy market and establish a personal interest optimization model for each energy seller in the end-to-end market;

[0051] S40: Write the three users of the parameter end-to-end transaction into a Nash negotiation form, and find the optimal cost of each of the three market participants for the network transmission fee and the shared network loss;

[0052] S50: According to each pair of Nash negotiation results, the Nash equilibrium of the Nash negotiation results is calculated to determine the end-to-end transaction, network cost and network sharing results in the double Nash negotiation model.

[0053] In the above embodiment, through the improvement of the above method, the end-to-end energy transaction modeling subject to the physical constraints of power grid transmission is achieved, and the Nash negotiation model is used to optimize the calculation of the network loss cost, network transmission fee and electricity transaction cost shared by each end-to-end energy market participant, and the double Nash negotiation model is used to solve the Nash equilibrium between each Nash negotiation, which provides a reference for users to reasonably participate in the end-to-end energy market and the formulation of network losses and network transmission fees, and effectively ensures the promotion of the end-to-end energy trading market on the low-voltage user side.

[0054] In the following embodiments of the present invention, the above method is described in detail. Figure 2 , which shows a schematic diagram of the end-to-end energy market network transmission fee and network loss sharing based on double Nash negotiation of the present invention, the method comprises the following steps:

[0055] S10: Obtain user load data, electricity price data and power network parameter data. In an embodiment of the present invention, the above-mentioned collected data is passed as parameters into the following optimization model; further, the user load data includes the user's load data for the whole year, and the minimum data collection interval is 15 minutes; the electricity price information includes the national unified peak, valley and flat three-time electricity prices, and the on-grid electricity price of end users; the power network parameters include the reactance and resistance values ​​of the network where the energy buyers and sellers in the end-to-end energy market are located, which are used to calculate the electrical distance and network loss between the buyers and sellers in the end-to-end energy market.

[0056] S20: Establish an optimized operation model of the distribution network;

[0057] like Figure 3 As shown in , in order to calculate the network access fee and network loss cost corresponding to the end-to-end energy exchange, the optimization model of the distribution network operator needs to be included in the entire Nash negotiation. Therefore, the present invention analyzes the operation optimization process of the distribution network operator and establishes an optimized operation model of the distribution network;

[0058] S21: The optimization goal of this optimization operation model is to minimize the operation cost of the distribution network and maximize the operation benefit. Therefore, the corresponding optimization operation model is:

[0059]

[0060] Where: F DSO is the optimization target of the distribution network operator, F network The network access fee collected by the distribution network operator. is the price of the transmission fee corresponding to the end-to-end energy transaction between energy seller s and energy buyer b, is the power of end-to-end energy transaction between energy seller s and energy buyer b, s∈S,b∈B s are the sets of energy sellers and buyers in the end-to-end energy market, is the market operation time set, C opp the operational opportunity cost of delivering energy traded end-to-end rather than top-down to the network, is the opportunity cost of occupying line l, A l,sb is the adjacency matrix of the entire distribution network, which is used to represent the impact of end-to-end energy transactions between energy seller s and energy buyer b on the active power flow on line l, C ocu The network line occupation cost, is the end-to-end energy transaction cost between energy seller s and energy buyer b, is the network loss coefficient, which is used to characterize the active power loss on line l corresponding to the end-to-end energy transaction between energy seller s and energy buyer b, C volt is the node voltage management cost of the network, is the voltage management cost price on the corresponding line, is the node voltage change at both ends of line l.

[0061] S22: The power network constraints need to be met during the operation of the distribution network. Therefore, the constraints of the distribution network optimization operation model can be written as follows:

[0062]

[0063]

[0064] Where: is the line collection of the entire distribution network, are the network loss coefficient of energy seller s and energy buyer b respectively. is the electricity sold by energy seller s at time t, is the power purchased by energy buyer b at time t, is the active power transmission loss of the entire network, is the reactive power loss of the entire network, are the reactive power traded by energy seller s and buyer b at time t, is the complex power passing through line l, are the lower and upper limits of the complex power passing through line l, is the difference in node voltage at both ends of line l, are the lower and upper limits of the node voltage at both ends of line l.

[0065] S30: Analyze the transaction behavior of each energy seller in the end-to-end energy market and establish a personal interest optimization model for energy sellers in end-to-end market transactions;

[0066] S31: The individual interest optimization model of each energy seller in the end-to-end energy market. It should be pointed out that the model also includes the network transmission fee and the network loss sharing cost. The individual interest optimization model is:

[0067]

[0068] Where: F s is the revenue from selling electricity of energy seller s, F s,P2P ,F s,grid are the revenue of energy seller s in the end-to-end energy market and selling electricity to the upper grid, C s,ope ,C s,net ,C s,loss are the electricity generation and operation costs of energy seller s, is the network loss cost coefficient of energy seller s at time t, the network transmission fee of end-to-end energy transaction, and the shared network loss cost, The transaction energy price between energy buyers and sellers in the end-to-end energy market, is the price at which energy seller s sells electricity to the grid, is the power sold by energy seller s to the grid, k ren is the renewable energy generation cost coefficient of the energy seller, k es is the cost coefficient of energy storage dispatch for energy sellers, and are the dispatching powers of renewable energy and energy storage, respectively. The meanings of the remaining variables are consistent with the corresponding variables in (2).

[0069] S32: The personal benefit optimization model of each energy seller needs to consider its individual power generation and consumption output constraints. The corresponding constraints can be modeled as follows:

[0070]

[0071] Where: is the set of energy buyers that trade with energy seller s, The generation cap for energy sellers, is the load of energy seller s at time t, The upper limit of the power that energy sellers can sell to the grid. Set a price cap for end-to-end transactions between energy seller s and buyer b, capping renewable energy generation for energy sellers, are the upper limit of energy storage charging power and discharge power of energy sellers, is the amount of energy stored by energy seller s at time t, κ is the charging and discharging efficiency of energy storage, They are the lower and upper limits of the energy storage capacity respectively.

[0072] S40: Write the three parties of the parameter end-to-end transaction into a Nash negotiation form, and find the optimal cost of each three market participants for the transmission fee and the shared network loss; in the embodiment of the present invention, in addition to the energy sellers, the energy buyers also need to optimize their own electricity purchase income according to the current end-to-end power generation situation, and determine the optimal electricity purchase plan, transmission fee payment plan and network loss sharing cost in the game with the energy sellers.

[0073] S41: Individual profit optimization model for each energy buyer. This model also includes the grid connection fee and grid loss sharing cost. The individual profit optimization model for each energy buyer can be established as follows:

[0074]

[0075] Where: F b is the net individual benefit F of energy buyer b b,uti is the electricity purchase utility of energy buyer b, C b,P2P ,C b,grid are the electricity purchase cost of energy buyer b in the end-to-end energy market and the electricity purchase cost from the grid, C b,net ,C b,loss are the transmission fee and network loss cost of energy buyer b, is the load power of energy buyer b, α b ,β b ,γ b are the parameters of the utility function of energy buyer b, is the electricity price parameter of the upper power grid, is the power purchased by energy buyer b from the upper grid at time t, is the network loss cost coefficient paid by energy buyer b at time t, is the set of energy sellers corresponding to energy buyer b. The meanings of the remaining variables are consistent with the corresponding variables in (3).

[0076] S42: Each energy buyer needs to meet his own electricity consumption conditions during the transaction process, so his electricity purchase constraints can be written as follows:

[0077]

[0078] Where: is the total power purchased by energy buyer b, is the upper limit of power purchase by energy buyer b in the end-to-end energy market, is the upper limit of the power purchase power of energy buyer b from the upper grid, is the power purchased by energy buyer b from the upper grid at time t are the lower and upper limits of the adjustable load of energy buyer b.

[0079] S50: According to each pair of Nash negotiation results, the Nash equilibrium of the Nash negotiation results is calculated to determine the end-to-end transaction, network cost and network sharing results in the double Nash negotiation model. In the embodiment of the present invention, the three users participating in the end-to-end transaction are uniformly written in the form of Nash negotiation, and the optimal cost of each of the three market participants for the network cost and the shared network loss can be obtained. The corresponding model is as follows:

[0080]

[0081] All constraints in this model have the following corresponding forms:

[0082]

[0083] Where: is the corresponding objective function value when the distribution network operator is optimized separately, is the objective function value when the energy seller s sells electricity alone and does not participate in the end-to-end energy market negotiation, is the objective function value when energy buyer b purchases electricity alone and does not participate in the negotiation, That is, the Nash negotiation target of the corresponding distribution network operator, energy seller s and energy buyer b. After solving the corresponding negotiation result in S50, the negotiation result of each pair of energy buyers, energy sellers and distribution network operators can be calculated.

[0084] S51: After obtaining the Nash negotiation results of each pair, the results of the Nash negotiations of each pair participating in the end-to-end energy market can be solved cyclically to calculate the Nash equilibrium of the Nash negotiation results, thereby determining the end-to-end transaction, network transmission cost and network loss sharing results in the double Nash negotiation model.

[0085] Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for allocating network costs and network losses in an end-to-end energy market, characterized in that: The following steps are involved: Obtain the user's load data, electricity price data and power network parameter data; Establish an optimized operation model for the distribution network; Analyze the transaction behavior of each energy seller in the end-to-end energy market and establish a personal interest optimization model for each energy seller in the end-to-end market; Write the three parties of the parameter end-to-end transaction into a Nash negotiation form, and find the optimal cost of each of the three market participants for the network transmission fee and the shared network loss; According to each pair of Nash negotiation results, the Nash equilibrium of the Nash negotiation results is calculated to determine the end-to-end transaction, network cost and network sharing results in the double Nash negotiation model.

2. The method for allocating network costs and network losses in an end-to-end energy market according to claim 1, characterized in that: The user load data includes the user's load data for the whole year, and the data collection time is not less than 15 minutes.

3. The method for allocating network costs and network losses in an end-to-end energy market according to claim 1, characterized in that: The electricity price data mentioned above are unified peak, valley and normal electricity prices.

4. The method for allocating network costs and network losses in an end-to-end energy market according to claim 1, characterized in that: The power network parameter data includes the reactance and resistance values ​​of the network where energy buyers and sellers in the end-to-end energy market are located. The reactance and resistance values ​​are used to calculate the electrical distance and network loss between buyers and sellers in the end-to-end energy trading market.

5. The method for allocating network costs and network losses in an end-to-end energy market according to claim 1, characterized in that: The optimal operation model of the power grid is: Where: F DSO is the optimization target of the distribution network operator, F network The network access fee collected by the distribution network operator. is the price of the transmission fee corresponding to the end-to-end energy transaction between energy seller s and energy buyer b, is the power of end-to-end energy transaction between energy seller s and energy buyer b, s∈S,b∈B s are the sets of energy sellers and buyers in the end-to-end energy market, is the market operation time set, C opp the operational opportunity cost of delivering energy traded end-to-end rather than top-down to the network, is the opportunity cost of occupying line l, A l,sb is the adjacency matrix of the entire distribution network, which is used to represent the impact of end-to-end energy transactions between energy seller s and energy buyer b on the active power flow on line l, C ocu The network line occupation cost, is the end-to-end energy transaction cost between energy seller s and energy buyer b, is the network loss coefficient, which is used to characterize the active power loss on line l corresponding to the end-to-end energy transaction between energy seller s and energy buyer b, C volt is the node voltage management cost of the network, is the voltage management cost price on the corresponding line, is the voltage change at both ends of line l.

6. The method for allocating network costs and network losses in the end-to-end energy market according to claim 5, characterized in that: The constraints of the optimal operation model of the power grid are: Where: is the line collection of the entire distribution network, are the network loss coefficient of energy seller s and energy buyer b respectively. is the active power transmission loss of the entire network, is the electricity sold by energy seller s at time t, is the power purchased by energy buyer b at time t, is the reactive power loss of the entire network, are the reactive power traded by energy seller s and buyer b at time t, is the complex power passing through line l, are the lower and upper limits of the complex power passing through line l, is the difference in node voltage at both ends of line l, are the lower and upper limits of the node voltage at both ends of line l.

7. The method for allocating network costs and network losses in the end-to-end energy market according to claim 6, characterized in that: The individual benefit optimization model is: Where: F s is the electricity sales revenue of energy seller s, F s,P2P ,F s,grid are the revenue of energy seller s in the end-to-end energy market and selling electricity to the upper grid, C s,ope ,C s,net ,C s,loss They are the power generation and operation costs of energy seller s, the transmission costs of end-to-end energy transactions, and the shared network loss costs. represents the network loss cost coefficient of seller s at time t, The transaction energy price between energy buyers and sellers in the end-to-end energy market, is the price at which energy seller s sells electricity to the grid, is the power sold by energy seller s to the grid, k ren is the renewable energy generation cost coefficient of the energy seller, k es is the cost coefficient of energy storage dispatch for energy sellers, and are the dispatching powers of renewable energy and energy storage, respectively. The meanings of the remaining variables are consistent with the corresponding variables in (2).

8. The method for allocating network costs and network losses in the end-to-end energy market according to claim 7, characterized in that: The constraints of the individual benefit optimization model are: Where: is the set of energy buyers that trade with energy seller s, The generation cap for energy sellers, The upper limit of the power that energy sellers can sell to the grid. is the load of energy seller s at time t, Set a price cap for end-to-end transactions between energy seller s and buyer b, capping renewable energy generation for energy sellers, are the upper limit of energy storage charging power and discharge power of energy sellers, is the amount of energy stored by energy seller s at time t, κ is the charging and discharging efficiency of energy storage, They are the lower and upper limits of the energy storage capacity respectively.

9. The method for allocating network costs and network losses in the end-to-end energy market according to claim 8, characterized in that: The individual profit optimization model of each energy buyer is: Where: F b is the net individual benefit of energy seller b, F b,uti is the electricity purchase utility of energy buyer b, C b,P2P ,C b,grid are the electricity purchase cost of energy buyer b in the end-to-end energy market and the electricity purchase cost from the grid, C b,net ,C b,loss are the transmission fee and network loss cost of energy buyer b, is the load power of energy buyer b, α b ,β b ,γ b are the parameters of the utility function of energy buyer b, is the electricity price parameter of the upper power grid, is the power purchased by energy buyer b from the upper grid at time t, is the set of energy sellers corresponding to energy buyer b, is the network loss cost coefficient paid by energy buyer b at time t. The meanings of the remaining variables are consistent with the corresponding variables in (3); The power purchase constraints of each energy buyer during the transaction are: Where: is the total power purchased by energy buyer b, is the upper limit of power purchase by energy buyer b in the end-to-end energy market, is the upper limit of the power purchase power of energy buyer b from the upper grid, is the power purchased by energy buyer b from the upper grid at time t, are the lower and upper limits of the adjustable load of energy buyer b.

10. The method for allocating network costs and network losses in the end-to-end energy market according to claim 9, characterized in that: The optimal cost model for the network costs and network losses shared by the three parties in an end-to-end transaction is: Where: is the corresponding objective function value when the distribution network operator is optimized separately, is the objective function value when the energy seller s sells electricity alone and does not participate in the end-to-end energy market negotiation, is the objective function value when energy buyer b purchases electricity alone and does not participate in the negotiation, That is, it is the Nash negotiation target of the corresponding distribution network operator, energy seller s and energy buyer b.