Micro-grid energy transaction method and device, electronic equipment and readable medium

By determining the sales method and transaction strategy based on the energy supply and demand in the microgrid, and using a multi-agent system and linear bidding calculation method to conduct energy transactions, the challenge of coordinated transaction management between buyers and sellers in the microgrid is solved, and the fairness and efficiency of energy transactions are achieved. promote.

CN118864097APending Publication Date: 2024-10-29GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410878548.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Microgrid buyers and sellers have major challenges in energy transactions and coordination management, and there is a lack of effective transaction coordination and management methods.

Method used

By determining the energy sales method according to the energy supply and demand situation of the microgrid, and interacting with the information of each energy entity to determine the energy trading strategy, energy transactions are carried out in the microgrid based on these strategies, and a multi-agent system is used to conduct multi-seller and multi-buyer transactions. Transactions, market auctions using a linear bid calculation method.

Benefits of technology

It realizes the energy exchange and coordinated management of sellers and buyers, improves the fairness and transparency of energy transactions, significantly increases the power utilization rate in the local market, reduces participation in the global market, reduces dependence on the power grid, and improves profit for stakeholders.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864097A_ABST
    Figure CN118864097A_ABST
Patent Text Reader

Abstract

The invention discloses a micro-grid energy transaction method and device, electronic equipment and a readable medium. The technical scheme of the embodiment comprises the steps of determining an energy sales mode according to the energy supply and demand condition of a local place where a micro-grid is located; determining an energy transaction strategy through information interaction with each energy main body of the micro-grid; and performing energy transaction in the microgrid based on the energy sales mode and the energy transaction strategy. According to the scheme of the embodiment of the invention, the transaction of multiple sellers and multiple buyers is carried out by adopting multiple subjects, and effective energy exchange and coordinated management between the sellers and the buyers can be promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power grid technology, and in particular to a microgrid energy trading method, device, electronic device and readable medium. Background Art

[0002] Microgrid is a small power generation and distribution system composed of distributed power sources, energy storage devices, energy conversion devices, loads, monitoring and protection devices, etc. It mainly realizes the flexible and efficient application of distributed power sources and solves the problem of grid connection of a large number of distributed power sources in various forms. In the context of the dynamic nature of energy demand and supply and sellers and buyers with different preferences and operational constraints, there are major challenges in energy trading and coordinated management between sellers and buyers in microgrids.

[0003] At present, transactions between buyers and sellers of microgrids are published, priced and purchased by sellers and buyers on a unified platform, and there is no transaction coordination and management between buyers and sellers.

[0004] In summary, a method is needed to coordinate and manage transactions between buyers and sellers in microgrids. Summary of the invention

[0005] The present invention provides a microgrid energy trading method, device, electronic device and readable medium to achieve coordinated management of transactions between buyers and sellers in a microgrid.

[0006] According to one aspect of the present invention, a microgrid energy trading method is provided, comprising:

[0007] Determine the energy sales method according to the local energy supply and demand situation of the microgrid;

[0008] Determine an energy trading strategy by interacting with each energy subject of the microgrid;

[0009] Energy trading is performed in the microgrid based on the energy sales method and the energy trading strategy.

[0010] Optionally, determining the energy sales method according to the local energy supply and demand situation of the microgrid includes:

[0011] When the energy supply and demand situation is in a supply-demand balance, conducting a local energy auction within the microgrid;

[0012] When the energy supply and demand situation is balanced, an energy auction is conducted between the microgrid and the external power grid.

[0013] Optionally, when the energy subject is a public grid subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including:

[0014] The grid selling price and the grid purchasing price are provided by the public grid entity;

[0015] The utility grid continuously monitors the real-time imbalance of the microgrid and buys or sells excess or insufficient electricity from the microgrid when there is any imbalance.

[0016] Optionally, when the energy subject is a distributed power generation subject and a load subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including:

[0017] Collecting the total load demand generated by the distributed power generation entity and the total load demand of the load entity in a historical period through the distributed power generation entity and the load entity respectively;

[0018] The seller's offer price and bid price are calculated based on the linear bidding and the market auction is conducted.

[0019] Optionally, the step of calculating the seller's offer price and the bid price based on the linear bidding and conducting a market auction includes:

[0020] The seller's offer price and the bid price are calculated by the following formula:

[0021]

[0022] Among them, AP DGAi BP LAi is the bid price; P DGi and C DGAi are the distributed generation power and rated capacity available on the day before; WALP is the weighted average of the limit prices; GBP and GSP are the grid purchase price and grid sales price, respectively; TL and TAL are the total load demand and allocated load, respectively.

[0023] Optionally, when the energy subject is a distributed energy storage subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including:

[0024] The state of the storage system is determined by the distributed energy storage entity, and the capacity for charging and discharging the storage system is determined.

[0025] Optionally, determining the capacity of charging and discharging the storage system includes:

[0026] The charge and discharge capacities are calculated using the following formula:

[0027]

[0028] Among them, P in , P out are the charging and discharging capacities of the energy storage system respectively; ΔT is the time interval; PMax is the rated capacity of the energy storage system; DS(t-1) is the state of the energy storage system during the interval.

[0029] According to another aspect of the present invention, a microgrid energy trading device is provided, comprising:

[0030] A determination unit, configured to determine an energy sales method according to energy supply and demand conditions in a local area where the microgrid is located;

[0031] An interaction unit, used for determining an energy trading strategy by interacting with each energy subject of the microgrid;

[0032] A trading unit is used to perform energy trading in the microgrid based on the energy sales method and energy trading strategy.

[0033] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0034] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the microgrid energy trading method described in any embodiment of the present invention.

[0035] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the microgrid energy trading method described in any embodiment of the present invention when executed.

[0036] The technical solution of the embodiment of the present invention determines the energy sales method according to the local energy supply and demand situation of the microgrid; determines the energy trading strategy through information interaction with each energy subject of the microgrid; and conducts energy trading in the microgrid based on the energy sales method and energy trading strategy. The solution of the embodiment of the present invention adopts multiple subjects to conduct transactions between multiple sellers and multiple buyers, which can promote effective energy exchange and coordinated management between sellers and buyers.

[0037] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0039] Figure 1 This is a flow chart of a microgrid energy trading method provided by Embodiment 1 of the present invention;

[0040] Figure 2 It is a schematic diagram of a microgrid smart aggregator subject provided by the first embodiment of the present invention;

[0041] Figure 3 It is a structural schematic diagram of a microgrid energy trading device provided in Embodiment 2 of the present invention;

[0042] Figure 4 It is a structural schematic diagram of an electronic device for implementing the microgrid energy trading method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described 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, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0045] Embodiment 1

[0046] Figure 1This is a flow chart of a microgrid energy trading method provided by the first embodiment of the present invention. This embodiment is applicable to the case of energy trading in a microgrid. The method can be executed by a microgrid energy trading device. The microgrid energy trading device can be implemented in the form of hardware and / or software. The microgrid energy trading device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0047] S110. Determine an energy sales method according to the local energy supply and demand situation of the microgrid.

[0048] In an embodiment of the present invention, determining an energy sales method according to the local energy supply and demand situation of the microgrid includes:

[0049] When the energy supply and demand situation is in a supply-demand balance, conducting a local energy auction within the microgrid;

[0050] When the energy supply and demand situation is balanced, an energy auction is conducted between the microgrid and the external power grid.

[0051] The execution subject of the embodiment of the present invention can be a microgrid smart aggregator subject of a microgrid, and a multi-subject system method is used to conduct an auction of a two-stage energy trading market with multiple sellers and multiple buyers. Sellers and buyers (large consumers and cargo distribution centers) can trade energy in the first-stage local market with the assistance of auctioneers or aggregators. When the imbalance between supply and demand cannot meet local resources, this deficit (or surplus) energy is traded with the distributed storage system in the second-stage global market, mainly for main grid transactions, and the global market promotes energy exchange between the main grid and the microgrid. The bidding mechanism based on the linear bidding calculation method determines the bids of sellers and buyers in the market auction.

[0052] S120. Determine an energy trading strategy by exchanging information with each energy entity in the microgrid.

[0053] The microgrid smart aggregator entity serves as the brain of the multi-agent system. It consists of a distributed storage system and demand response embedded in the microgrid smart aggregator entity architecture, which can exchange and interact with the public grid entity, distributed power generation entity, distributed energy storage entity, and load entity in real time.

[0054] In an embodiment of the present invention, when the energy subject is a public grid subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including:

[0055] The grid selling price and the grid purchasing price are provided by the public grid entity;

[0056] The utility grid continuously monitors the real-time imbalance of the microgrid and buys or sells excess or insufficient electricity from the microgrid when there is any imbalance.

[0057] The public grid entity communicates the grid sale price and grid purchase price to the microgrid smart aggregator entity and is responsible for continuously monitoring the real-time imbalance of the microgrid and buying and selling surplus or deficit electricity from the microgrid at market-cleared prices.

[0058] In an embodiment of the present invention, when the energy subject is a distributed power generation subject and a load subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including:

[0059] Collecting the total load demand generated by the distributed power generation entity and the total load demand of the load entity in a historical period through the distributed power generation entity and the load entity respectively;

[0060] The seller's offer price and bid price are calculated based on the linear bidding and the market auction is conducted.

[0061] In the embodiment of the present invention, the seller's offer price and the bid price are calculated based on the linear bidding and the market auction is conducted, including:

[0062] The seller's offer price and the bid price are calculated by the following formula:

[0063]

[0064] Among them, AP DGAi BP LAi is the bid price; P DGi and C DGAi are the distributed generation power and rated capacity available on the day before; WALP is the weighted average of the limit prices; GBP and GSP are the grid purchase price and grid sales price, respectively; TL and TAL are the total load demand and allocated load, respectively.

[0065] The distributed generation subject and the load subject respectively collect the total load demand of the distributed subject generation and the load subject available the previous day, and can calculate the seller's offer and bid price based on the linear bidding, and inform the microgrid smart aggregator subject for market auction. In the above formula, DGAi and LAi represent the distributed generation subject and the load subject, respectively, "i" represents the location and association of the subject, "AP" and "BP" represent the seller's offer and bid price, respectively, "WALP" represents the weighted average of the limit price, "GBP" and "GSP" represent the grid purchase price and grid sales price, respectively, and "P DGi ” and “C DGAi” denote the day-ahead available distributed generation power and rated capacity, respectively, and the subscripts “TL” and “TAL” denote the total load demand and the allocated load, respectively.

[0066] In an embodiment of the present invention, when the energy subject is a distributed energy storage subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including:

[0067] The state of the storage system is determined by the distributed energy storage entity, and the capacity for charging and discharging the storage system is determined.

[0068] In an embodiment of the present invention, determining the capacity for charging and discharging the storage system includes:

[0069] The charge and discharge capacities are calculated using the following formula:

[0070]

[0071] Among them, P in , P out are the charging and discharging capacities of the energy storage system respectively; ΔT is the time interval; P Max is the rated capacity of the energy storage system; DS(t-1) is the state of the energy storage system during the interval.

[0072] (3) The function of the distributed energy storage subject is to maintain the storage system within its functional scope and participate in market activities through the microgrid smart aggregator subject. When the microgrid smart aggregator subject issues a request, the distributed energy storage subject will determine the state of the storage system and notify the microgrid smart aggregator to charge and discharge the storage system. In the above formula, P in , P out represents the charging and discharging capacity of the energy storage system, expressed in kilowatts; ΔT represents the length of the time interval, in hours; P Max It represents the rated capacity of the energy storage system in kilowatts; DS(t-1) represents the state of the energy storage system during the interval.

[0073] S130. Perform energy trading in the microgrid based on the energy sales method and energy trading strategy.

[0074] Figure 2This is a schematic diagram of a microgrid smart aggregator subject provided in the first embodiment of the present invention. A multi-agent system method is used to conduct a two-stage energy trading market auction with multiple sellers and multiple buyers; a linear bidding calculation method can be used by stakeholders (sellers and buyers) to select quotes for day-ahead transactions; the microgrid smart aggregator subject MIAA exchanges the public grid subject UGA, the distributed generation subject DGA, the distributed energy storage subject DSA, and the load subject LA in real time; and the two-stage market auction and energy management measures proposed by the microgrid smart aggregator subject are used to balance the supply and demand relationship of the grid-connected microgrid.

[0075] The beneficial effects of the embodiments of the present invention are:

[0076] (1) Improve the single-buyer energy trading model and adopt a distributed energy storage microgrid energy trading method based on multi-agent system bidding. Sellers and buyers can use the bidding mechanism based on the linear bidding calculation method to select their bid prices in the trading market auction, which promotes a fair and transparent energy trading market.

[0077] (2) Market simulation results show that by implementing distributed storage systems and demand response, local market electricity utilization is significantly increased in the first phase and participation in the global market in the second phase is significantly reduced.

[0078] (3) The participation of distributed energy storage systems and demand response affects the bidding and market settlement prices of distributed generation entities and load entities. The two-stage multi-seller and multi-buyer market auction based on distributed energy storage systems and demand response successfully reduced the total peak demand, reduced dependence on the power grid, and increased the profits of stakeholders and aggregators.

[0079] Embodiment 2

[0080] Figure 3 Schematic diagram of the structure of a microgrid energy trading device provided by the second embodiment of the present invention. Figure 3 As shown, the device comprises:

[0081] A determination unit 310, configured to determine an energy sales method according to energy supply and demand conditions in a local area where the microgrid is located;

[0082] An interaction unit 320, configured to determine an energy trading strategy by interacting with each energy subject of the microgrid;

[0083] The transaction unit 330 is used to perform energy transaction in the microgrid based on the energy sales method and energy transaction strategy.

[0084] Optionally, the determining unit 310 is specifically configured to execute:

[0085] When the energy supply and demand situation is in a supply-demand balance, conducting a local energy auction within the microgrid;

[0086] When the energy supply and demand situation is balanced, an energy auction is conducted between the microgrid and the external power grid.

[0087] Optionally, when the energy source is a public power grid, the interaction unit 320 is specifically configured to execute:

[0088] The grid selling price and the grid purchasing price are provided by the public grid entity;

[0089] The utility grid continuously monitors the real-time imbalance of the microgrid and buys or sells excess or insufficient electricity from the microgrid when there is any imbalance.

[0090] Optionally, when the energy subject is a distributed power generation subject and a load subject, the interaction unit 320 is specifically used to execute:

[0091] Collecting the total load demand generated by the distributed power generation entity and the total load demand of the load entity in a historical period through the distributed power generation entity and the load entity respectively;

[0092] The seller's offer price and bid price are calculated based on the linear bidding and the market auction is conducted.

[0093] Optionally, when the interaction unit 320 calculates the seller's offer price and the bid price based on the linear bidding and conducts the market auction, it specifically performs:

[0094] The seller's offer price and the bid price are calculated by the following formula:

[0095]

[0096] Among them, AP DGAi BP LAi is the bid price; P DGi and C DGAi are the distributed generation power and rated capacity available on the day before; WALP is the weighted average of the limit prices; GBP and GSP are the grid purchase price and grid sales price, respectively; TL and TAL are the total load demand and allocated load, respectively.

[0097] Optionally, when the energy source is a distributed energy storage source, the interaction unit 320 is specifically configured to execute:

[0098] The state of the storage system is determined by the distributed energy storage entity, and the capacity for charging and discharging the storage system is determined.

[0099] Optionally, the interaction unit 320, when determining the capacity of charging and discharging the storage system, specifically performs:

[0100] The charge and discharge capacities are calculated using the following formula:

[0101]

[0102] Among them, P in , P out are the charging and discharging capacities of the energy storage system respectively; ΔT is the time interval; P Max is the rated capacity of the energy storage system; DS(t-1) is the state of the energy storage system during the interval.

[0103] The microgrid energy trading device provided in the embodiment of the present invention can execute the microgrid energy trading method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0104] Embodiment 3

[0105] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0106] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0107] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0108] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a microgrid energy trading method.

[0109] In some embodiments, the microgrid energy trading method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the microgrid energy trading method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the microgrid energy trading method in any other appropriate manner (e.g., by means of firmware).

[0110] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0111] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0112] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0113] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0114] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0115] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0116] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0117] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A microgrid energy trading method, characterized in that: include: Determine the energy sales method according to the local energy supply and demand situation of the microgrid; Determine an energy trading strategy by interacting with each energy subject of the microgrid; Energy trading is performed in the microgrid based on the energy sales method and the energy trading strategy.

2. The method according to claim 1, characterized in that The energy sales method is determined according to the energy supply and demand situation of the local microgrid, including: When the energy supply and demand situation is in a supply-demand balance, conducting a local energy auction within the microgrid; When the energy supply and demand situation is balanced, an energy auction is conducted between the microgrid and the external power grid.

3. The method according to claim 1, characterized in that When the energy subject is a public grid subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including: The grid selling price and the grid purchasing price are provided by the public grid entity; The utility grid continuously monitors the real-time imbalance of the microgrid and buys or sells excess or insufficient electricity from the microgrid when there is any imbalance.

4. The method according to claim 1, characterized in that: When the energy subject is a distributed power generation subject and a load subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including: Collecting the total load demand generated by the distributed power generation entity and the total load demand of the load entity in a historical period through the distributed power generation entity and the load entity respectively; The seller's offer price and bid price are calculated based on the linear bidding and the market auction is conducted.

5. The method according to claim 4, characterized in that The method of calculating the seller's offer price and the bid price based on the linear bidding and conducting the market auction includes: The seller's offer price and the bid price are calculated by the following formula: Among them, AP DGAi BP LAi is the bid price; P DGi and C DGAi are the distributed generation power and rated capacity available on the day before; WALP is the weighted average of the limit prices; GBP and GSP are the grid purchase price and grid sales price, respectively; TL and TAL are the total load demand and allocated load, respectively.

6. The method according to claim 1, characterized in that When the energy subject is a distributed energy storage subject, the energy trading strategy is determined by information interaction with each energy subject of the microgrid, including: The state of the storage system is determined by the distributed energy storage entity, and the capacity for charging and discharging the storage system is determined.

7. The method according to claim 6, characterized in that The determining of the capacity for charging and discharging the storage system comprises: The charge and discharge capacities are calculated using the following formula: Among them, P in , P out are the charging and discharging capacities of the energy storage system respectively; ΔT is the time interval; P Max is the rated capacity of the energy storage system; DS(t-1) is the state of the energy storage system during the interval.

8. A microgrid energy trading device, characterized in that: include: A determination unit, configured to determine an energy sales method according to energy supply and demand conditions in a local area where the microgrid is located; An interaction unit, used for determining an energy trading strategy by interacting with each energy subject of the microgrid; A trading unit is used to perform energy trading in the microgrid based on the energy sales method and energy trading strategy.

9. An electronic device, characterized in that: The electronic device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the microgrid energy trading method described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the microgrid energy trading method described in any one of claims 1-7 when executed.