Power micro market clearing method and system based on power distribution network

By using a power micro-market clearing method based on the distribution network, distributed resource data is acquired and matched. Combined with power flow constraint verification and intelligent algorithms, a clearing scheme is generated, which solves the problem of trading and absorbing distributed resources in the power market and realizes the safe and stable operation and transparent settlement of the power grid.

CN121998764APending Publication Date: 2026-05-08CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
Filing Date
2026-01-23
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Distributed resources face challenges in the existing electricity market, including mismatched trading mechanisms, contradictions between consumption mechanisms and operations, and imperfect settlement logic, making it difficult for them to participate efficiently and operate safely.

Method used

By using a power micro-market clearing method based on the distribution network, distributed resource data and micro-market clearing data are obtained, energy block matching is performed, and clearing schemes are generated by combining power flow constraint verification and intelligent heuristic algorithms. The deviation power is then balanced and processed through the provincial power trading center to achieve efficient trading and settlement of distributed resources.

Benefits of technology

It has enabled efficient participation of distributed resources and local consumption of new energy, ensured the safe and stable operation of the power grid, solved the problems of market access difficulties and lack of settlement transparency, and improved consumption capacity and market transparency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121998764A_ABST
    Figure CN121998764A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of power market clearing, and particularly discloses a power micro-market clearing method and system based on a power distribution network, and the method comprises the following steps: obtaining distributed resource data and micro-market clearing data; performing energy block matching based on the distributed resource data and the micro market clearing data to obtain a clearing scheme; the clearing scheme comprises negotiated micro-market transaction electric quantity, micro-market transaction electricity price and deviation electric quantity; carrying out power flow constraint verification based on the clearing scheme; and executing the clearing scheme meeting the power flow constraint verification, and performing settlement according to an execution result. According to the invention, the problem of adaptability between the distributed resources and the power transaction market can be solved, and efficient participation of the distributed resources, local consumption of new energy and safe operation of a power grid are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of electricity market clearing technology, specifically relating to a method and system for clearing a micro-market for electricity based on a distribution network. Background Technology

[0002] In the process of building a new power system with new energy sources as the mainstay, distributed resources—including distributed photovoltaics, decentralized energy storage, adjustable loads, and electric vehicles—are increasingly becoming a key force driving energy structure transformation. They not only effectively incentivize more renewable energy to be integrated into the system and promote the green and low-carbon transformation of energy production and consumption, but are also an important pillar for building a clean, safe, and efficient modern energy system. However, due to the typical characteristics of distributed resources—"multiple entities, small power output, and scattered distribution"—they face a series of structural and institutional adaptation challenges under the existing electricity market mechanism dominated by centralized resources, which restricts their large-scale and efficient development.

[0003] On the one hand, the trading mechanisms are mismatched, and market access barriers exist. Currently, my country's electricity market system is mainly designed around large power sources and large power grids, with trading products, clearing methods, and market boundaries primarily serving centralized power generation entities. Distributed resources are numerous and widely distributed, mostly located on the distribution network or user side. Their small scale and dispersed locations make it difficult for them to meet the entry thresholds of the current centralized market. Low-voltage resources lack effective market participation paths and mechanism interfaces, preventing them from entering provincial and higher-level electricity trading platforms as equal entities.

[0004] On the other hand, there is a contradiction between the absorption mechanism and operational realities, and the local balancing capacity is insufficient. With the increasing proportion of new energy installed capacity, distributed photovoltaic (PV) power is being concentrated in certain areas, and the volatility and intermittency of its power generation put significant pressure on the distribution network. Especially during peak PV output periods at midday, the lack of effective local absorption mechanisms and flexible adjustment methods easily leads to curtailment issues due to line transmission capacity limitations or transformer overload. Simultaneously, the backfeeding of a large number of distributed power sources exacerbates voltage fluctuations and reverses power flow in the distribution network, potentially causing voltage exceedances or line overloads, threatening the safe and stable operation of the system.

[0005] Furthermore, the settlement logic is flawed, and market transparency and rule clarity are insufficient. Mechanisms for electricity bill settlement, cost allocation, and deviation handling after distributed resource participation in market transactions are not yet mature. Currently, settlements among multiple entities (source, grid, load, and storage) within a large number of distribution networks or microgrids still rely on off-site negotiations or contractual agreements, lacking a transparent market-based settlement platform and standardized procedures. This not only affects settlement efficiency but also easily leads to disputes.

[0006] Therefore, promoting the proper role of distributed resources in the power system requires not only reforming the power market system towards distributed and intelligent directions, but also urgently building a micro-market clearing system adapted to the distribution network scenario to solve the above problems. Summary of the Invention

[0007] The purpose of this invention is to provide a method and system for clearing electricity micro-markets based on distribution networks, so as to solve the compatibility problem between distributed resources and electricity trading markets, and realize the efficient participation of distributed resources, local consumption of new energy, and safe operation of the power grid.

[0008] To achieve the above objectives, the present invention employs the following technical solution: According to one aspect of the present invention, a method for clearing a power micromarket based on a distribution network is provided, comprising the following steps: Acquire distributed resource data and micro-market clearing data; Energy blocks are matched based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market transaction electricity volume, micro-market transaction electricity price, and deviation electricity volume; Power flow constraint verification based on the clearing scheme; Execute a clearing scheme that satisfies the power flow constraint check and settle accounts based on the execution results.

[0009] Furthermore, the deviation in electricity volume is handled by the provincial power trading center through a balancing process.

[0010] Furthermore, during the process of balancing the deviation in electricity volume at the provincial power trading center, the deviation in electricity volume in the micro-market is handled by aggregators who act as agents to participate in the trading at the provincial power trading center.

[0011] In other words, the micro-market trading platform has a communication connection with the provincial power trading center. The provincial power trading center can monitor the trading status of the micro-market trading platform in real time and provide support for the micro-market trading platform based on the provincial market.

[0012] By adopting the above technical solutions and collecting distributed resource data and micro-market clearing data, it is helpful to monitor the supply and demand relationship in the micro-market trading platform in real time, providing basic information support for the subsequent clearing process. The comprehensive collection of distributed resource data and micro-market clearing data enables scattered small-scale resources to be systematically incorporated into the market system, thereby overcoming the entry barriers that make it difficult for distributed resources to participate in the centralized electricity market due to their small scale and scattered distribution.

[0013] Energy block matching based on distributed resource data and micro-market clearing data enables efficient matching of distributed resources within the local area, reducing the need for long-distance transmission and thus helping to alleviate voltage fluctuations and curtailment issues in the distribution network caused by the centralized access of distributed photovoltaic power.

[0014] In addition, the clearing plan clearly defines the deviation in electricity volume, which helps to intervene in the clearing results early. The deviation in electricity volume in micro-market transactions can be traded by aggregators on behalf of provincial power trading centers, which effectively solves the problem of insufficient local consumption capacity. At the same time, it breaks through the limitations of individual resource scale, enabling small-scale resources to indirectly enter the upper-level market.

[0015] The system facilitates autonomous negotiation and production transaction contracts among trading entities such as power generation entities and load entities. Energy block matching is performed based on distributed resource data and micro-market clearing data to achieve localized trading of distributed resources and improve clearing efficiency.

[0016] According to one embodiment of the present invention, the step of matching energy blocks based on distributed resource data and micro-market clearing data to obtain a clearing scheme includes: With the goal of maximizing social welfare, an objective function is constructed based on micro-market clearing data; the micro-market clearing data includes the electricity sales price of power generation entities in each time period, the electricity purchase price of load entities in each time period, and the transaction volume between power generation entities and load entities in each time period; The constraints of the objective function are determined based on distributed resource data; the distributed resource data includes the resource type, voltage level, and corresponding maximum output or maximum load of the distributed resources participating in the clearing process; the resource type includes power generation entities and load entities. Based on the constraints, an intelligent heuristic algorithm is used to solve the objective function and obtain the clearing scheme.

[0017] The objective function constructed based on micro-market clearing data can dynamically reflect the price fluctuation characteristics of power generation entities and load entities in different time periods, thereby closely coupling real-time market supply and demand signals and providing an economic basis for clearing schemes.

[0018] Constraints are determined based on distributed resource data, and actual limitations such as differences in resource types, the impact of voltage levels, and equipment output limits are embedded in the optimization model, thereby avoiding system safety risks during the matching phase.

[0019] The objective function is solved by using an intelligent heuristic algorithm, which can embed a physical constraint verification mechanism in real time during the iteration process. This not only quickly converges to a high-quality solution within the feasible region, but also avoids getting trapped in local optima, ensuring that the clearing scheme maximizes social welfare while meeting the safety boundaries of the distribution network.

[0020] Furthermore, the intelligent heuristic algorithm is an ant colony algorithm, simulated annealing, etc.

[0021] According to one embodiment of the present invention, the objective function is formulated as follows: ; in, A collection of power generation entities; For the load subject set; T is the number of time periods within the clearing cycle; Main generator During the period Electricity sales price; as the main load body During the period The electricity purchase price; Main generator With load body During the period The amount of electricity traded.

[0022] According to one embodiment of the present invention, the constraints include power balance constraints and capacity constraints; The power balance constraint formula is as follows: ; The capacity constraint formula is as follows: ; In the formula, A collection of power generation entities, For the load body set, Main generator During the period Electricity sold; as the main load body During the period Purchased electricity volume; Main generator During the period Maximum output.

[0023] According to one embodiment of the present invention, the power flow constraint verification step based on the clearing scheme includes the following power flow constraints: ; In the formula, For practical trends, This represents the maximum power capacity of the transaction node.

[0024] Power flow constraint verification based on the clearing scheme can ensure that the transaction scheme will not lead to line overload or voltage exceeding the limit, thereby ensuring the safe and stable operation of the distribution network.

[0025] According to one embodiment of the present invention, in the step of executing a clearing scheme that satisfies power flow constraint verification and settling accounts based on the execution results, the settlement content includes distributed photovoltaic electricity fees, industrial and commercial user electricity fees, and energy storage revenue. Distributed photovoltaic electricity costs are calculated using the following formula: ; In the formula, For distributed photovoltaic electricity fees; Electricity traded in the micro-market; For micro-market electricity prices, To measure electricity consumption, This is the price for the package; Electricity charges for industrial and commercial users are calculated using the following formula: ; In the formula, Electricity charges for industrial and commercial users; for Transmission and distribution prices based on voltage level; Energy storage revenue is calculated using the following formula: ; In the formula, For energy storage revenue; This is the discharge amount. For the price of discharge, For charging capacity, The price for charging.

[0026] According to one embodiment of the present invention, in the step of executing a clearing scheme that satisfies power flow constraint verification and settling according to the execution result, settlement is performed using a single-rate transmission and distribution tariff or a two-part transmission and distribution tariff. The formula for calculating the single-rate transmission and distribution tariff is as follows: ; in, For transmission and distribution prices in micro-market transactions; Electricity traded in the micro-market; for Transmission and distribution prices based on voltage level; The calculation formula for the two-part transmission and distribution tariff is as follows: ; In the formula, For internet access fees, For capacity electricity charges, For reserve funds.

[0027] According to one aspect of the present invention, a power micromarket clearing device based on a power distribution network is provided, comprising: The data acquisition module is used to acquire distributed resource data and micro-market clearing data. The distributed resource data includes the resource type, voltage level, and corresponding maximum output or maximum load of the distributed resources participating in the clearing. The micro-market clearing data includes a set of power generation entities, a set of load entities, the electricity sales price of power generation entities in each time period, the electricity purchase price of load entities in each time period, and the transaction volume between power generation entities and load entities in each time period. The centralized bidding and trading module is used to match energy blocks based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market trading electricity volume, micro-market trading electricity price, and deviation electricity volume; The safety verification module is used to verify power flow constraints based on the clearing scheme; The clearing and settlement module is used to execute clearing schemes that satisfy power flow constraint verification and to settle accounts based on the execution results.

[0028] According to one aspect of the present invention, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the power micromarket clearing method based on the power distribution network according to any of the above embodiments.

[0029] According to one aspect of the present invention, a computer-readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the power micromarket clearing method based on the power distribution network according to any of the above embodiments.

[0030] Compared with the prior art, the present invention has at least the following beneficial effects: 1. This invention generates a clearing scheme that includes deviation power through an energy block matching mechanism and ensures the feasibility of the scheme by combining power flow constraint verification. It not only clarifies the transaction mechanism in the process of distributed resource micro-market trading, which helps to achieve efficient clearing of distributed resources, promotes the local consumption of new energy, and thus ensures the safe operation of the power grid, but also determines the clearing scheme based on micro-market clearing data, which can realize autonomous negotiation and centralized bidding among distributed resources, solve the problem of participation of "small, scattered and numerous" distributed resources, and reduce the transaction threshold in the clearing process.

[0031] 2. In determining the clearing scheme, this invention aims to maximize social welfare and uses an intelligent heuristic algorithm for optimization, which helps guide load and energy storage to use electricity during peak periods of new energy, reduce the curtailment rate, improve absorption capacity, and promote the local consumption of new energy.

[0032] 3. This invention, through a rigorous power flow constraint verification process, prevents line overload or voltage exceeding limits caused by transaction execution, thereby ensuring the safe and stable operation of the distribution network. The settlement content covers multiple aspects such as distributed photovoltaic electricity fees, industrial and commercial user electricity fees, and energy storage revenue, forming a transparent and efficient fee processing mechanism. This not only completes the transaction loop but also solves the problems of imperfect existing settlement logic and insufficient market transparency and rule clarity.

[0033] The power micromarket clearing device, electronic device, and computer-readable storage medium based on the power distribution network provided by this invention also solve the problems mentioned in the background section. Attached Figure Description

[0034] The accompanying drawings, which form part of this specification, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings: Figure 1 This is a flowchart of the power micromarket clearing method based on the power distribution network according to Embodiment 1 of the present invention; Figure 2 This is a structural block diagram of the power micro-market clearing device based on the power distribution network according to Embodiment 3 of the present invention; Figure 3 This is a schematic diagram of the electronic device according to Embodiment 4 of the present invention.

[0035] Reference numerals in the attached figures: Electronic device 100; Memory 101; Processor 102; Computer program 103; Communication bus 104. Detailed Implementation

[0036] The present invention will now be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0037] The following detailed description is exemplary and intended to provide further detailed explanation of the invention. Unless otherwise specified, all technical terms used in this invention have the same meaning as commonly understood by one of ordinary skill in the art. The terminology used in this invention is for describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention.

[0038] Example 1 A power micromarket clearing method based on distribution networks, such as Figure 1 As shown, it includes the following steps: Acquire distributed resource data and micro-market clearing data; Energy blocks are matched based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market transaction electricity volume, micro-market transaction electricity price, and deviation electricity volume; Power flow constraint verification based on the clearing scheme; Execute a clearing scheme that satisfies the power flow constraint check and settle accounts based on the execution results.

[0039] The above technical solution provides a micro-market clearing system adapted to the distribution network scenario. From data acquisition to energy block matching, to power flow verification and final execution settlement, the entire process not only realizes the localized trading and balancing of distributed resources, but also effectively integrates the ability of distributed resources to participate in the power market through the deviation handling mechanism and the connection with the provincial market. This comprehensively solves the key problems faced by distributed resources, such as difficulty in market access, insufficient local consumption, and lack of settlement transparency.

[0040] Specifically, a micro-market trading platform can be constructed, and the power micro-market clearing method based on the distribution network can be implemented on the micro-market trading platform. The micro-market trading platform is communicatively connected to the provincial power trading center, which manages the provincial medium- and long-term, spot, and ancillary service markets and can receive and supervise the operation of the micro-market trading platform.

[0041] The specific steps of the power micro-market clearing method based on the power distribution network in the micro-market trading platform are as follows: S1. Obtain distributed resource data and micro-market clearing data.

[0042] Distributed resource data includes the resource type, voltage level, and corresponding maximum output or maximum load of the distributed resources participating in the clearing process; resource types include power generation entities and load entities.

[0043] Micro-market clearing data includes the electricity sales price of power generation entities in each time period, the electricity purchase price of load entities in each time period, and the transaction volume between power generation entities and load entities in each time period.

[0044] Specifically, distributed resources can be registered on a micro-market trading platform by aggregators, declaring resource type, voltage level, and corresponding maximum output or maximum load; thereby obtaining distributed resource data. The micro-market trading platform receives the declared data of distributed resources at different times during the clearing cycle and obtains micro-market clearing data from the embedded distributed resource management system. In other embodiments, distributed resource data can be collected in real time through sensor networks, such as the power generation of distributed photovoltaics and the charging and discharging status of energy storage devices; micro-market clearing data can be generated from the historical records or predictive models of the market trading platform, such as the purchase and sale prices of electricity and the demand for traded electricity at different times. This is mainly to provide basic data support for subsequent energy block matching.

[0045] S2. Based on distributed resource data and micro-market clearing data, perform energy block matching to obtain a clearing scheme.

[0046] The energy block matching process can be implemented using various algorithms. For example, an optimization model can be built based on linear programming to achieve the optimal matching of traded electricity volume and price; or game theory can be used to simulate the interaction behavior between market participants, thereby forming a negotiated clearing scheme and effectively integrating the supply and demand relationship of distributed resources locally. The clearing scheme includes negotiated micro-market traded electricity volume, micro-market traded electricity price, and deviation electricity volume.

[0047] In this embodiment, the steps for matching energy blocks based on distributed resource data and micro-market clearing data to obtain a clearing scheme include: S2-1. Construct an objective function based on micro-market clearing data, aiming to maximize social welfare. The objective function is as follows: ; in, A collection of power generation entities; For the load subject set; T is the number of time periods within the clearing cycle; Main generator During the period Electricity sales price; as the main load body During the period The electricity purchase price; Main generator With load body During the period The amount of electricity traded.

[0048] Generally, the set of power generation entities refers to the set of all power generation entities participating in the micro-market clearing, which in this embodiment includes resources such as distributed photovoltaics and energy storage. The set of load entities refers to the set of all load entities participating in the micro-market clearing, which in this embodiment includes industrial and commercial users, residential users, energy storage, and other resources. The number of time periods T within the clearing cycle refers to the number of time segments into which the entire clearing cycle is divided. In this embodiment, the clearing cycle is calculated in days, with each hour constituting one time period, i.e., T=24.

[0049] S2-2. Determine the constraints of the objective function based on distributed resource data.

[0050] The constraints include power balance constraints and capacity constraints to ensure that the scheme generated during the optimization process is based on the actual supply and demand situation, avoids system oscillation or power flow reversal caused by power imbalance, and prevents equipment damage or voltage over-limit risks caused by over-limit operation.

[0051] Electricity balance constraint refers to the requirement that the electricity traded between the power generation entities and the load entities must meet the supply-demand matching relationship within each time period, as shown in the following formula: ; Capacity constraints refer to the requirement that the amount of electricity sold by a power generation entity in any given time period must not exceed its maximum output limit, as shown in the following formula: ; In the formula, A collection of power generation entities, For the load body set, Main generator During the period Electricity sold; as the main load body During the period Purchased electricity volume; Main generator During the period Maximum output.

[0052] S2-3. Based on the constraints, an intelligent heuristic algorithm is used to solve the objective function and obtain the clearing scheme.

[0053] The objective function, constructed based on micro-market clearing data, dynamically reflects the price fluctuation characteristics of power generation and load entities at different times, thus closely coupling real-time market supply and demand signals and providing an economic basis for the clearing scheme. Constraints are determined based on distributed resource data, embedding practical limitations such as resource type differences, voltage level impacts, and equipment output limits into the optimization model. For example, voltage level information is used to predict the carrying capacity of distribution network nodes, and maximum output limits are used to prevent voltage exceedances caused by excessive photovoltaic power generation, thereby mitigating system safety risks during the matching phase. Finally, an intelligent heuristic algorithm is used to solve the objective function, embedding a physical constraint verification mechanism in real time during the iteration process. This ensures rapid convergence to a high-quality solution within the feasible region while avoiding local optima traps, guaranteeing that the clearing scheme maximizes social welfare while meeting the distribution network safety boundaries.

[0054] Furthermore, the clearing plan also addresses the issue of excess electricity volume, which is handled by the provincial power trading center. Further, during the provincial power trading center's balancing process, excess electricity volume in the micro-market is represented by aggregators participating in the provincial power trading center's transactions. By introducing this excess electricity volume handling mechanism, excess volumes that cannot be absorbed locally are handled by the provincial power trading center, and aggregators participate in higher-level market transactions, thus resolving the issues of insufficient local absorption capacity and opaque settlement mechanisms.

[0055] S3. Perform power flow constraint verification based on the clearing scheme.

[0056] Power flow constraint verification helps ensure that the generated transaction schemes do not violate the safety constraints of the power grid, such as line transmission capacity limits or transformer carrying capacity. Through a rigorous verification process, line overload or voltage exceedance issues caused by transaction execution are prevented, thereby ensuring the safe and stable operation of the distribution network.

[0057] In this embodiment, the power flow constraints are as follows: ; In the formula, For practical trends, This represents the maximum power capacity of the transaction node.

[0058] S4. Execute the clearing scheme that satisfies the power flow constraint check and settle the accounts based on the execution results.

[0059] The micro-market trading platform will be cleared according to the determined clearing plan, and the deviation electricity volume will be handled by aggregators participating in the provincial market. In this embodiment, the 110kV voltage node is used as the boundary, and the aggregator integrates distributed resources as the interface between the micro-market and the provincial market. The deviation electricity volume calculation formula is as follows: ; in, To measure electricity consumption, This represents the total transaction volume of the micro-market trading platform.

[0060] During settlement, a tiered logic of "micro-market priority + provincial guarantee" is adopted, and the settlement content includes distributed photovoltaic electricity fees, industrial and commercial user electricity fees, and energy storage revenue.

[0061] Distributed photovoltaic electricity costs are calculated using the following formula: ; In the formula, For distributed photovoltaic electricity fees; Electricity traded in the micro-market; For micro-market electricity prices, To measure electricity consumption, This refers to the package price. The metered electricity consumption reflects the actual power generation of the distributed photovoltaic system. The package price is a pricing method that includes fixed cost compensation, and its design can be flexibly adjusted according to contractual agreements or policy requirements.

[0062] Electricity charges for industrial and commercial users are calculated using the following formula: ; In the formula, Electricity charges for industrial and commercial users; for Transmission and distribution pricing based on voltage level. This can be implemented using a segmented pricing model, with different voltage levels corresponding to different transmission losses and operation and maintenance costs. For example, the transmission and distribution price for high-voltage users is typically lower than that for low-voltage users, reflecting their lower losses and operation and maintenance costs. This differentiated pricing approach effectively avoids the problem of unfair cost allocation caused by a uniform rate.

[0063] Energy storage revenue is calculated using the following formula: ; In the formula, For energy storage revenue; This is the discharge amount. For the price of discharge, For charging capacity, The charging price is a factor. In practical applications, the discharge capacity and discharge price can be optimized by combining the energy storage system's scheduling strategy to maximize its value as a supplier.

[0064] This clarifies the settlement methods for distributed photovoltaic electricity fees, industrial and commercial user electricity fees, and energy storage revenue, resolving the issues of opacity and inconsistency in the settlement process.

[0065] In addition, in the phase following the completion of the clearing scheme, two transmission and distribution pricing models are supported: a single transmission and distribution pricing model or a two-part transmission and distribution pricing model.

[0066] A single-rate transmission and distribution tariff refers to a settlement method based on the transmission and distribution tariffs determined by the micro-market transaction volume and voltage level. This ensures a precise match between settlement and transaction volume and grid level, improving the fairness and predictability of settlement. The calculation formula is as follows: ; in, For transmission and distribution prices in micro-market transactions; Electricity traded in the micro-market; for Transmission and distribution prices based on voltage level; Two-part transmission and distribution pricing refers to a settlement method that allocates costs through a combination of grid access fees, capacity fees, and reserve fees. This allows for more accurate matching of the actual impact of distributed resources on the power grid, thereby improving market transparency and investor confidence. The calculation formula is as follows: ; In the formula, For internet access fees, For capacity electricity charges, For reserve funds.

[0067] The power micromarket clearing method based on the distribution network in this embodiment achieves efficient participation of distributed resources, local consumption of new energy, and safe operation of the power grid by clarifying the transaction mechanism, settlement formula, and security constraints.

[0068] Example 2 This embodiment illustrates the power micromarket clearing method based on the power distribution network in Embodiment 1 using typical scenarios.

[0069] Scenario 1: Solar power curtailment during holidays The distributed resources registered on a certain micro-market trading platform include: distributed photovoltaic power with a maximum output of 20MWh, industrial and commercial users with a maximum load of 10MWh, and energy storage with a maximum load of 5MWh. During the midday hours on holidays (12:00-13:00), distributed photovoltaic power generation exceeds 2MWh.

[0070] S1. Obtain distributed resource data and micro-market clearing data.

[0071] Distributed resource data: Distributed photovoltaic with a maximum output of 20MWh, industrial and commercial users with a maximum load of 10MWh, and energy storage with a maximum load of 5MWh.

[0072] Micro-market clearing data: During the holiday, photovoltaic power generation exceeded 2MWh at midday, with the excess generation period being 12:00-13:00; Distributed photovoltaic power generation exceeded 2MWh through listing, with a listing price of 330 yuan / MWh; Industrial and commercial users had electricity purchase needs and participated in the bidding.

[0073] S2. Based on distributed resource data and micro-market clearing data, perform energy block matching to obtain a clearing scheme.

[0074] The micro-market trading platform combines the excess power generation of distributed photovoltaic (2MWh, 12:00-13:00, 330 yuan / MWh) with the electricity purchase demand of industrial and commercial users to complete the matching of energy blocks and determine the clearing scheme: industrial and commercial users bid for 2MWh of electricity, the trading period is 12:00-13:00, and the trading price is 330 yuan / MWh.

[0075] S3. Perform power flow constraint verification based on the clearing scheme.

[0076] For the above clearing scheme, conduct power flow constraint safety verification: verify the actual power flow power P flow =45mW, which is less than the maximum allowable power flow P max =50mW, meets power flow constraint requirements, verification passed.

[0077] S4. Execute the clearing scheme that satisfies the power flow constraint check and settle the accounts based on the execution results.

[0078] The verified clearing plan was executed to complete the transaction of 2MWh of electricity, and settlement was made according to the transaction rules and execution results: Distributed photovoltaic electricity cost: C PV =330 yuan / MWh × 2MWh = 660 yuan; Electricity charges for industrial and commercial users: C user =330 yuan / MWh × 2MWh + 2 × 214.4 yuan = 1088.8 yuan.

[0079] Scenario 2: Self-balancing scenario with energy storage participation Photovoltaic 12:00 Dafa (electricity price) Yuan / MWh), peak load for users at 18:00 (electricity price) (RMB / MWh), energy storage participation in arbitrage.

[0080] S1. Obtain distributed resource data and micro-market clearing data.

[0081] Distributed resource data: Distributed photovoltaic resources are in their peak generation period at 12:00, while industrial and commercial users experience peak load at 18:00; energy storage resources participate in market arbitrage and have charging and discharging regulation capabilities.

[0082] Micro-market clearing data: The purchase price of electricity for photovoltaic power generation at 12:00 is 330 yuan / MWh, and the sales price of electricity for users at the peak load at 18:00 is 420 yuan / MWh; the energy storage plan purchases 2MWh of electricity at 12:00 and sells 2MWh of electricity at 18:00.

[0083] S2. Based on distributed resource data and micro-market clearing data, perform energy block matching to obtain a clearing scheme.

[0084] Combining the power supply capacity of photovoltaic power generation at 12:00, the load demand of users at 18:00, and the arbitrage demand of energy storage, the energy blocks are matched across time periods, and the clearing scheme is determined: energy storage purchases 2MWh of electricity from the market at 12:00 (corresponding to the electricity price during the peak photovoltaic generation period) and sells 2MWh of electricity to the market at 18:00 (corresponding to the electricity price during the peak user load period), realizing the cross-time period flow of energy.

[0085] S3. Perform power flow constraint verification based on the clearing scheme. For the energy storage clearing scheme of "purchasing 2MWh of electricity at 12:00 and selling 2MWh of electricity at 18:00", a power flow constraint safety verification was carried out: it was verified that the actual power flow corresponding to the charging and discharging plan did not exceed the maximum power flow threshold allowed by the system, thus meeting the power flow constraint requirements and the verification was passed.

[0086] S4. Execute the clearing scheme that satisfies the power flow constraint check and perform settlement based on the execution result. The verified clearing plan was implemented, and the energy storage system completed the planned transactions of purchasing 2MWh of electricity at 12:00 and selling 2MWh of electricity at 18:00. Settlement was based on the transaction price and execution results. Energy storage revenue: C storage =420 yuan / MWh × 2MWh 330 yuan / MWh × 2MWh = 180 yuan.

[0087] Example 3 A power micromarket clearing device based on a power distribution network includes: The data acquisition module is used to acquire distributed resource data and micro-market clearing data. The distributed resource data includes the resource type, voltage level, and corresponding maximum output or maximum load of the distributed resources participating in the clearing. The micro-market clearing data includes a set of power generation entities, a set of load entities, the electricity sales price of power generation entities in each time period, the electricity purchase price of load entities in each time period, and the transaction volume between power generation entities and load entities in each time period. The centralized bidding and trading module is used to match energy blocks based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market trading electricity volume, micro-market trading electricity price, and deviation electricity volume; The safety verification module is used to verify power flow constraints based on the clearing scheme; The clearing and settlement module is used to execute clearing schemes that satisfy power flow constraint verification and to settle accounts based on the execution results.

[0088] Example 4 like Figure 3 As shown, the present invention also provides an electronic device 100 for analyzing and locating abnormal power line losses in power distribution lines; The electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on at least one processor 102, and at least one communication bus 104.

[0089] The memory 101 can be used to store the computer program 103. The processor 102 implements the steps of the power micro-market clearing method based on the power distribution network in Embodiment 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101.

[0090] The memory 101 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the electronic device 100 (such as audio data), etc. In addition, the memory 101 may include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.

[0091] At least one processor 102 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 102 may be a microprocessor or any conventional processor. Processor 102 is the control center of electronic device 100, connecting various parts of electronic device 100 via various interfaces and lines.

[0092] The memory 101 in the electronic device 100 stores multiple instructions to implement a method for analyzing and locating abnormal power line losses, and the processor 102 can execute multiple instructions to achieve the following: Acquire distributed resource data and micro-market clearing data; Energy blocks are matched based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market transaction electricity volume, micro-market transaction electricity price, and deviation electricity volume; Power flow constraint verification based on the clearing scheme; Execute a clearing scheme that satisfies the power flow constraint check and settle accounts based on the execution results.

[0093] Example 5 If the modules / units integrated in the electronic device 100 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, and read-only memory (ROM).

[0094] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0095] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0096] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0097] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0098] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for clearing a power micromarket based on a power distribution network, characterized in that, Includes the following steps: Acquire distributed resource data and micro-market clearing data; Energy blocks are matched based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market transaction electricity volume, micro-market transaction electricity price, and deviation electricity volume; Power flow constraint verification based on the clearing scheme; Execute a clearing scheme that satisfies the power flow constraint check and settle accounts based on the execution results.

2. The electricity micro-market clearing method based on distribution network according to claim 1, characterized in that, The steps for matching energy blocks based on distributed resource data and micro-market clearing data to obtain a clearing scheme include: With the goal of maximizing social welfare, an objective function is constructed based on micro-market clearing data; the micro-market clearing data includes the electricity sales price of power generation entities in each time period, the electricity purchase price of load entities in each time period, and the transaction volume between power generation entities and load entities in each time period; The constraints of the objective function are determined based on distributed resource data; the distributed resource data includes the resource type, voltage level, and corresponding maximum output or maximum load of the distributed resources participating in the clearing process; the resource type includes power generation entities and load entities. Based on the constraints, an intelligent heuristic algorithm is used to solve the objective function and obtain the clearing scheme.

3. The electricity micro-market clearing method based on distribution network according to claim 2, characterized in that, The formula for the objective function is as follows: ; in, A collection of power generation entities; For the load subject set; T is the number of time periods within the clearing cycle; Main generator During the period Electricity sales price; as the main load body During the period The electricity purchase price; Main generator With load body During the period The amount of electricity traded.

4. The electricity micromarket clearing method based on distribution network according to claim 2, characterized in that, The constraints include power balance constraints and capacity constraints; The power balance constraint formula is as follows: ; The capacity constraint formula is as follows: ; In the formula, A collection of power generation entities, For the load body set, Main generator During the period Electricity sold; as the main load body During the period Purchased electricity volume; Main generator During the period Maximum output.

5. The electricity micro-market clearing method based on distribution network according to claim 1, characterized in that, The power flow constraint verification step based on the clearing scheme includes the following power flow constraints: ; In the formula, For practical trends, This represents the maximum power capacity of the transaction node.

6. The electricity micromarket clearing method based on distribution network according to claim 1, characterized in that, In the step of executing a clearing scheme that satisfies power flow constraint verification and settling according to the execution result, the settlement content includes distributed photovoltaic electricity fees, industrial and commercial user electricity fees, and energy storage revenue. Distributed photovoltaic (PV) electricity costs are calculated using the following formula: ; In the formula, For distributed photovoltaic electricity fees; Electricity traded in the micro-market; For micro-market electricity prices, To measure electricity consumption, This is the price for the package; Electricity charges for industrial and commercial users are calculated using the following formula: ; In the formula, Electricity charges for industrial and commercial users; for Transmission and distribution prices based on voltage level; Energy storage revenue is calculated using the following formula: ; In the formula, For energy storage revenue; This is the discharge amount. For the price of discharge, For charging capacity, The price for charging.

7. The electricity micromarket clearing method based on distribution network according to claim 1, characterized in that, In the step of executing a clearing scheme that satisfies power flow constraint verification and settling accounts based on the execution results, settlement is carried out using either a single-rate transmission and distribution tariff or a two-part transmission and distribution tariff. The formula for calculating the single-rate transmission and distribution tariff is as follows: ; in, For transmission and distribution prices in micro-market transactions; Electricity traded in the micro-market; for Transmission and distribution prices based on voltage level; The calculation formula for the two-part transmission and distribution tariff is as follows: ; In the formula, For internet access fees, For capacity electricity charges, For reserve funds.

8. A power micro-market clearing device based on a power distribution network, characterized in that, include: The data acquisition module is used to acquire distributed resource data and micro-market clearing data; The centralized bidding and trading module is used to match energy blocks based on distributed resource data and micro-market clearing data to obtain a clearing scheme; the clearing scheme includes negotiated micro-market trading electricity volume, micro-market trading electricity price, and deviation electricity volume; The safety verification module is used to verify power flow constraints based on the clearing scheme; The clearing and settlement module is used to execute clearing schemes that satisfy power flow constraint verification and to settle accounts based on the execution results.

9. An electronic device, characterized in that, It includes a processor and a memory, the processor being used to execute a computer program stored in the memory to implement the power micromarket clearing method based on the power distribution network as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction, which, when executed by a processor, implements the power micromarket clearing method based on any one of claims 1 to 7.