The present invention discloses a
microgrid electrical energy random matching transaction method. The method comprises the following steps: (1) a large
power grid determining power purchase and sale prices in the next time period and the allowed maximum purchase and sales quantities of
electricity for each
microgrid, and delivering to each
microgrid; (2) as market participants, a
distributed power source, a power
consumer and an electrical energy random
prosumer of the microgrid separately reporting a price and a transaction volume to the microgrid in advance; (3) as a market operator, the microgrid formulating and calculating a market parameter, delivering to the
distributed power source, the power
consumer and the electrical energy random
prosumer, and declaring the opening of a random matching transaction market; (4) the market participants separately determining the purchase and sale electrical quantity, autonomously selecting a suitable bidding strategy, and reporting to the market operator; (5) the market operator delivering a random matching transaction result to each
market participant, and randomly matching closing of transaction markets; (6) the market participants receiving and obeying the random matching transaction result; (7) the market operator reporting a purchase power quantity and sale quantity required by the
power grid, and starting real-time electrical energy transaction; and (8) ending the real-time transaction, performing error compensation settlement according to a difference with a random matching transaction volume, and performing a price subsidy to an actual power generation amount of the
distributed power source.