Next Article in Journal
Comprehensive Power Quality Assessment Based on a Data-Driven Determinant-Valued Extension Hierarchical Analysis Approach
Previous Article in Journal
Kerr Electro-Optic Effect-Based Methodology for Measuring and Analyzing Electric Field Distribution in Oil-Immersed Capacitors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Blockchain-Based Joint Auction Model for Distributed Energy in Industrial Park Microgrids

1
Guangzhou Power Supply Bureau of Guangdong Power Grid Co., Ltd., Guangzhou 510510, China
2
China Southern Power Grid Digital Power Grid Research Institute Co., Ltd., Guangzhou 510700, China
3
School of Electric Power Engineering, South China University of Technology, Guangzhou 510641, China
*
Author to whom correspondence should be addressed.
Submission received: 28 April 2024 / Revised: 8 June 2024 / Accepted: 21 June 2024 / Published: 26 June 2024
(This article belongs to the Section A: Sustainable Energy)

Abstract

:
To address the centralized trading demand within industrial parks and the scattered peer-to-peer trading demand outside industrial parks, this paper proposes a blockchain-based joint auction architecture for distributed energy in microgrids inside and outside industrial parks. By combining blockchain technology and auction theory, the architecture integrates the physical energy transactions within industrial parks with the distributed transactions in external microgrids to meet the centralized trading demand within industrial parks and the scattered peer-to-peer trading demand outside industrial parks, optimizing resource allocation and improving system resilience. In the microgrid auction mechanism for industrial parks, considering distributed energy providers (sellers) and distributed energy buyers, an auction mechanism with power transmission distance, average electricity price, and enterprise nature as its main attributes was constructed to maximize social welfare, realizing efficient energy flow in a multi-microgrid environment and enabling coordinated mutual benefits for producers and consumers within the region. Finally, a case study was conducted on the joint auction mechanism for microgrids inside and outside industrial parks, including the impacts of market dynamics and user preferences on electricity prices using different trading methods, the computational results using different trading matching methods (comparing single-attribute and multi-attribute methods), and multi-dimensional verification of user satisfaction with peer-to-peer transactions in a blockchain environment. The effectiveness of the joint trading between physical energy transactions within industrial parks and external microgrids was demonstrated, which could efficiently coordinate energy allocation inside and outside the parks and reduce the cost of energy configuration.

1. Introduction

In January 2022, the National Development and Reform Commission of China issued the “Guiding Opinions on Accelerating the Construction of a National Unified Electricity Market System”, proposing that by 2025, a power market system with collaborative operation of national and provincial (regional/municipal) markets in China and an integrated design of ancillary service markets should be initially established. By 2030, a new type of electricity market with equal competition among market entities should be basically realized. In January 2022, the National Energy Administration of China issued the “Notice on Publicly Soliciting Opinions on the <Basic Rules of the Power Spot Market (Draft for Comments)> and <Power Spot Market Supervision Methods (Draft for Comments)>”, proposing to promote the participation of emerging market entities such as energy storage, distributed power generation, load aggregators, virtual power plants, and new energy microgrids in transactions, and to establish a power spot market based on the principle of “unified market and collaborative operation”.
With the orderly development of China’s energy system reform [1] and the diversified development of microgrid energy supplies, microgrid systems have gradually become the main scenario for absorbing distributed energy due to their characteristics such as a concentrated user electricity load, large power supply, and complete power distribution equipment. Microgrids can coordinate the contradiction between the power grid and distributed energy [2], reduce the frequent impact of distributed energy on the power grid, and thus flexibly manage and dispatch distributed energy. As the most widely used application of microgrids, industrial park microgrids have enriched their own energy composition by relying on their geographical location and regional advantages and with the help of technologies such as photovoltaic power generation and solar power generation. Based on the characteristics of self-production and self-sales, industrial park microgrids have become a new entity that integrates energy production and consumption, playing an important role in fully tapping the dynamic energy potential of industrial users and effectively balancing various load requirements. However, how to manage and control the demand for centralized trading of physical energy within industrial park microgrids and the demand for peer-to-peer trading of external energy, as well as realize the coordination and mutual benefit between producers and consumers of distributed energy transactions within industrial park microgrids, and verify the effectiveness of energy transaction configurations and collaborations through multiple dimensions, are the key to achieving the reliable and stable operation of industrial park microgrids and meeting the joint regulation of distributed power resources inside and outside industrial park microgrids.
Currently, scholars have conducted in-depth research on transaction and coordination methods for distributed energy. Wang et al. proposed a distributed power transaction mechanism with the collaboration of distributed power source groups, power management platforms, and power trading platforms under the condition of complete marketization of the selling side and built a free trading system for distributed power sources to support the development of large-scale distributed power sources [3]. Aiming at the current low marketization degree of distributed power sources and imperfect public service systems, Xiong et al. designed a multilateral trading system with the participation of multiple parties, which can achieve the independence of power trading while maintaining power dispatch and help to improve the popularity of distributed energy trading [4]. Chen et al. constructed a mechanism for multi-dimensional trading and dispatch of community-integrated energy, which can improve the trading and dispatch balance of community-integrated energy and create an integrated energy community with mutual assistance and efficient operation [5]. Aiming at the problems of low efficiency and large resource loss in current distributed energy transactions, Li et al. proposed a distributed energy transaction mechanism with the proxy reputation proof consensus mechanism as its core, which can effectively motivate all parties to keep their promises spontaneously by introducing a distributed reputation control mechanism, ensuring the scalability of distributed energy transactions [6]. Based on the interconnected multi-energy system, Liu et al. proposed a day-ahead optimal operation strategy for the allocation and operation of distributed energy, providing a guarantee for the dispatch efficiency of distributed energy with intermittency and randomness [7]. Aiming at the energy coordination and dispatch problem between the park microgrid and the main distribution network, Ma et al. established an integrated dispatch model in the park-integrated energy system, distributed energy, and energy storage equipment [8]. Aiming at the internal structure and dispatchable resources of smart parks, Zhi et al. proposed a two-layer optimization dispatch model with the dispatch cost as the objective function, which compensates for the shortage of industrial parks and absorbs surplus power, providing support for the system to implement power balance [9].
Currently, most distributed energy transactions are carried out in a broad sense of distributed transactions, ensuring the feasibility of transactions by introducing reputation or using contracts, and making improvements in terms of transaction efficiency and cost. However, it is still necessary to consider how to match energy transactions between multiple entities inside and outside the industrial park microgrid, as well as between centralized transactions and distributed energy transactions, in actual distributed transaction scenarios such as industrial park microgrids. It is also important to consider how to achieve joint and efficient transactions between physical energy trading within the industrial park and external microgrids. The above-mentioned research provides a certain theoretical basis for the management and transaction of distributed energy but still faces the following problems.
There is a large difference in the frequency of distributed energy transactions between microgrids inside and outside the industrial park. Data interoperability and sharing between different platforms, as well as transaction rules and processes, are difficult to effectively integrate and regulate. There is a lack of a reasonable and effective mechanism for regulating centralized and distributed energy transactions.
The diversified sources of distributed energy lead to unclear energy transaction prices and inconsistent energy evaluation indicators within the industrial park microgrid, lacking a reasonable and effective mechanism for centralized energy transactions in the industrial park.
There is a lack of an auction and transaction matching mechanism that considers the dynamic changes in the energy trading market and user behavior preferences in the industrial park microgrid.
Blockchain technology [10], as a decentralized and trustworthy distributed ledger [11], can ensure the data privacy of power trading entities and trading information [12] by leveraging hash encryption algorithms and consensus mechanisms, providing a guarantee for distributed energy transactions in industrial park microgrids. Smart contracts are programs in a decentralized blockchain [13], special protocols that automatically execute when providing transaction verification and meeting contract-set conditions and can provide efficient processing functions for distributed energy scheduling and trading. Smart contracts are the guarantee of fairness and effectiveness in energy trading [14].
Therefore, this paper combines blockchain technology with energy trading in microgrids inside and outside industrial parks and proposes a blockchain-based joint energy trading architecture and auction trading mechanism for industrial park microgrids. First, a joint trading architecture for microgrids inside and outside industrial parks was established to solve the problems of data interoperability and sharing between different platforms, as well as the docking of trading rules and processes. Second, an auction mechanism for industrial park microgrids was designed, considering distributed energy providers (sellers) and distributed energy buyers, with the goal of maximizing social welfare, to coordinate the energy trading needs between producers and consumers in industrial park microgrids. Finally, a case study simulation was conducted on the proposed joint auction mechanism for microgrids inside and outside industrial parks, proving the effectiveness of the joint trading between energy trading entities within industrial parks and external microgrids, realizing the efficient collaborative allocation of energy inside and outside industrial parks and improving the dispatch flexibility of the distributed energy market in microgrids.
The remainder of this article is structured as follows. Section 2 introduces the related research on blockchain in microgrid power trading. Section 3 presents the blockchain-based grid transaction architecture that underpins our work. Section 4 develops a comprehensive model capturing the key elements of the microgrid electricity market within an industrial park. Section 5 builds upon this foundation, constructing an auction mechanism tailored to the distinct characteristics of industrial park microgrids. To illustrate the feasibility of our approach and validate the soundness of the proposed auction design, Section 6 walks through a concrete numerical example, providing an analysis of the results. Section 7 concludes this paper by recapping our main contributions and pointing out promising directions for further research in this area.

2. Related Work

Blockchain technology can build a secure, decentralized trading platform that enables energy producers and consumers to conduct transactions directly without relying on traditional intermediaries, thus reducing transaction costs and improving transaction efficiency. Many experts and scholars have also carried out in-depth research on this aspect. Mengelkamp et al. proposed seven frameworks for building an efficient microgrid energy market [15]. Li et al. proposed a decentralized framework based on blockchain and edge computing technology to meet the secure and distributed requirements of knowledge and service sharing in the manufacturing ecosystem [16]. Li et al. used blockchain technology to design a distributed peer-to-peer network architecture to promote the development of distributed peer-to-peer networks [17]. Tian et al. proposed a blockchain-based distributed energy trading model for microgrid clusters, which used particle swarm optimization for transaction matching based on the consideration of distribution network operation costs, such as network fees, solving the disadvantages of high operation costs in centralized power trading [2]. Barenji et al. proposed a consensus mechanism for power trading based on credit improvement RFAT, which introduced a credit scoring mechanism to avoid election disputes between transaction nodes, enhance the resistance to malicious power trading behaviors, and thus improve the efficiency and fairness of power trading [18]. Zhao et al. proposed a blockchain-based two-tier framework for energy transactions in multiple microgrids, providing a decentralized transaction, information transparency, and mutual trust mechanism [19]. The central node of the microgrid collects demand information and sends it to the upper market for transactions. The dual-price bidding mechanism is adopted to ensure free and fair transactions between nodes, reduce the transaction volume with the main grid, and improve the energy utilization rate. Yang et al. verified the effectiveness of blockchain in protecting distributed control systems from false data attacks [20].
Meanwhile, smart contracts, as a key component of blockchain, also play an important role in the smooth running of microgrid transactions. Smart contracts have the ability to automate the execution of contract terms without third-party intervention, ensuring the security and reliability of the transaction. Secondly, smart contracts can realize the transparency and non-tamperability of the transaction, and all participants can view the transaction details, thus reducing information asymmetry and potential fraud, thus improving the transaction efficiency, reducing the transaction cost and time, and promoting the liquidity and development of the electricity market. Some experts and scholars have also performed corresponding research on the application of smart contracts in power transactions. Wang et al. used smart contract technology to design an adaptive continuous double auction mechanism, realizing direct energy trading based on bidding strategies, used a multi-signature mechanism to protect users’ interests when transactions are revoked, and analyzed the advantages of this trading in terms of matching efficiency [21]. Pee et al. proposed a blockchain-based smart energy trading platform that utilizes smart contracts to address security issues in transactions without the need for third-party involvement [22]. Seven et al. discussed blockchain smart contracts for peer-to-peer energy trading in virtual power plants, and the proposed solution is based on a public blockchain network, where all processes of the auction are executed by smart contracts, solving the cost and security issues [23]. Liu et al. proposed a power trading mechanism based on blockchain and smart contracts for electric vehicles in V2G networks, which realizes the openness and transparency of power trading and reduces the cost of power purchasers while increasing the profit of power sellers [24]. Hu et al. introduced a blockchain-based smart contract trading mechanism for energy and power supply and demand networks, emphasizing the importance of smart contracts in realizing an efficient trading method in the electricity market [25]. Chen et al. explored a secure power trading and incentive contract model for electric vehicles based on energy blockchain technology, highlighting the advantages of smart contracts in terms of execution efficiency [26].
Finally, as a matching mechanism, the auction model provides an effective mechanism for electricity trading, achieving price discovery and optimization of resource allocation through bidding and matching demand and supply between buyers and sellers. The auction model can promote fair competition in the electricity market and ensure the transparency and efficiency of transactions. In addition, the auction model can reduce transaction costs and increase the satisfaction and trust of market participants. Similarly, the application of the auction model in electricity trading has been studied accordingly. Chen et al. proposed a predictive integration model for optimizing trading strategies in peer-to-peer markets based on continuous two-way auctions [27]. Manjunatha et al. proposed an auction-based unilateral bidding electricity market as an alternative to the bilateral contract energy trading model, focusing on the bidding behavior of bidders and achieving better profit sharing for all stakeholders [28]. Jiang et al. focused on game theory-based modeling and pricing of electricity transactions between producers and consumers in the energy blockchain environment. It was finally experimentally demonstrated that the mechanism can increase the seller’s profit and reduce the buyer’s utility loss [29]. Following the literature review of the above three aspects, the analysis and summary of research gaps are as follows: (1) difficulty in data interconnection between different trading platforms, unclear data specifications, and non-transparent trading processes; (2) the inconsistency of energy evaluation indexes in the trading process and lack of a reasonable and effective energy trading mechanism; and (3) a lack of consideration of dynamic changes in the energy trading market and user behavioral preferences in microgrids in industrial parks in the auction model currently used for aggregation mechanism. In summary, considering the demand for transaction transparency, price discovery, and resource allocation that exists in microgrid transactions, this paper combines blockchain and the auction model to propose a blockchain-based energy joint transaction architecture and auction transaction mechanism for industrial park microgrids, which ensures the safe operation of the microgrids and the energy transactions and, at the same time, improves the social welfare of the microgrids.

3. Platform Architecture

To address the problems of data interoperability and sharing between different platforms, as well as the docking of trading rules and processes during the trading process between energy entities within industrial parks and external microgrids, this paper innovatively proposes a joint trading architecture for microgrids inside and outside industrial parks using blockchain technology. This architecture can combine the physical energy trading within industrial parks with the distributed trading of external microgrids. Blockchain technology and auction theory solve the problems of data interoperability and sharing between different platforms, as well as the docking of trading rules and processes. At the same time, they satisfy and balance the centralized trading demands within industrial parks and the scattered peer-to-peer trading demands outside industrial parks, optimizing resource allocation and helping to improve system resilience. In this architecture, the application of smart contracts improves the execution process of distributed energy transactions, thereby helping both parties reach their trading goals without disclosing private trading data, further enhancing the security of the entire system. The structural model of the proposed system is shown in Figure 1, and the entire system consists of three levels: the blockchain network layer, the microgrid layer, and the industrial park layer:
The blockchain network layer includes distributed ledgers, consensus protocols, smart contracts, and encryption. The distributed ledger contains the current state and serves as a register for transactions. The consensus protocol allows multiple nodes to reach an agreement on the order, legitimacy, and structure of updates to the ledger state for a batch of transactions through endorsement, ordering, and peer-to-peer validation. Smart contracts validate distributed transaction programs executed on nodes and automatically execute a specific business logic [30]. Identity data pools, auction proof pools, privacy credential pools, etc., are used to construct the business logic of smart contracts. The business logic in distributed energy transactions is abstracted into code and written into smart contracts, which are automatically executed by the smart contracts, facilitating accountability and supervision, and protecting users’ rights and interests [31].
The microgrid layer is a platform that ensures the completion of distributed energy transactions in multiple parks within a specific scope. Transaction participants, such as distributed energy resource owners and consumers, can query their data upload process, submit their supply and demand requirements, and verify each other’s identification information and transaction specifications. In order to maintain fairness in transactions and maximize the interests of all parties, the microgrid layer adopts a multi-attribute auction mechanism, creating a balanced trading environment. This ensures that factors such as the power transmission distance, electricity price, and peak-to-valley electricity ratio are fully considered in transactions, thus ensuring that both parties can obtain satisfactory results and further promoting the healthy development of the distributed energy trading market.
The industrial park layer provides functional services to the platform, including transaction supervision services, middleware process services, blockchain interface services, etc., and offers different functions according to the different stages of the transaction in which the participants are involved. The main function of the supervision service is to monitor whether the transaction participants fulfill the transaction agreement and detect any emergencies. The middleware process service and blockchain interface service provide technical support for the smooth progress of transactions. (1) Before starting a transaction, transaction participants need to undergo identity verification to confirm their transaction qualifications. At this stage, the middleware process service is responsible for handling related affairs, such as identity confirmation, transaction condition confirmation, and information exchange. (2) During the transaction stage, the middleware process service handles transaction requests, such as submitting and modifying energy orders, generating matching lists, etc. The blockchain interface service retains transaction records while processing transaction requests, ensuring transaction transparency and data backup, enabling quick traceability and investigation when problems arise. (3) During the transaction process, the supervision service of the industrial park layer begins to play its role. It is responsible for supervising whether the participants perform accurate status and demand reporting in accordance with the transaction agreement, such as paying fees on time and providing electricity on schedule, and conducts transaction acceptance to confirm the transaction results. In addition, it regularly reviews and detects any emergencies, such as abnormal price fluctuations, supply–demand imbalances, unexpected power outages, etc., and promptly handles and prevents these problems.

4. Modeling of Industrial Park Microgrid Participating in Electricity Market

Within industrial parks, electricity resource holders and demanders widely exist as prosumers. Multiple prosumers can spontaneously form microgrids based on their own energy characteristics and demands, leveraging cluster advantages to provide diversified energy services for the region, jointly constituting an organization interaction architecture based on individuals and groups. Each prosumer, as an economic entity at the individual level, achieves autonomous operation using the energy management system at the prosumer level. The characteristic of this trading model is that the transactions do not go online, with fewer restrictions.
Outside industrial parks, microgrids integrate the scattered resources of many internal prosumers for overall configuration. However, at the same time, due to the centralization and monopoly of institutions, the security of transaction data cannot be guaranteed, and centralized scheduling is not as efficient as decentralized trading between users through rules. Moreover, due to the opacity of transactions, if rent-seeking, selling user information and other behaviors occur, user rights and interests are harmed, and their willingness to participate in market transactions is affected.
Therefore, by analyzing the above two trading characteristics, we establish an auction mechanism for industrial park microgrids to ensure the smooth progress of these two types of transactions. Among them, blockchain technology is used to ensure the data security of transactions outside industrial parks, and smart contracts are utilized to optimize transaction processes and improve efficiency and security. As for transactions within industrial parks, the trading model balances the profits of both parties to increase the enthusiasm for transaction participation.

4.1. Model Building

Combining the background of industrial park microgrid transactions and based on time-of-use electricity prices, this paper focuses on the flexible interaction between microgrid trading and main grid coordination in microgrid electricity consumption. It proposes an event-driven aggregation method based on on-chain and off-chain transactions in industrial parks. Under the premise of meeting the internal demands of various prosumers within the industrial park, each prosumer in the industrial park participates in P2P energy trading with multiple aggregators through contracts. Multiple aggregators are responsible for matching transactions between users to find the optimal capacity of different distributed energy resources, maximizing the balance between local demand and supply. The objective function is:
P min = C 1 + C 2
where C 1 is the transaction cost for prosumers participating in the industrial park microgrid market, and C 2 is the resource consumption cost for prosumers participating in the industrial park microgrid market.

4.2. Constraints

When prosumers in an industrial park participate in electric energy trading, they must comply with the power balance constraint, which means that the sum of the grid’s power supply and photovoltaic power generation should be equal to the sum of the energy storage resource power and the load resource power:
P g ( t ) + P p v ( t ) = P e s ( t ) + L a u ( t )
where P g ( t ) > 0 is the power supplied by the grid to the microgrid at time t; P g ( t ) < 0 is the power sold by the microgrid to the grid at time t; P p v ( t ) is the power generated by photovoltaics at time t; and P e s ( t ) is the power of energy storage resources at time t.

5. Construction of the Industrial Park Microgrid Auction Model

5.1. Construction of the Multi-Attribute Auction Trading Model

The auction model is described as follows. In the above market modeling, the prosumers when P g ( t ) < 0 are defined as the set of sellers in the industrial park microgrid, P s e l l e r = P s 1 , P s 2 , , P s n , which means there are n sellers.
The prosumers when P g ( t ) > 0 are defined as the set of buyers in the industrial park microgrid P b u y e r = P b 1 , P b 2 , , P b m , where there are m buyers. At the same time, the electricity to be sold is defined as E = E 1 , E 2 , , E k , which means there are K units of electricity to be sold.
To ensure the accuracy of the model, this paper sets the electricity trading scenario in the microgrid trading process as n prosumers actively cooperating, with m power response parties interested in their cooperation, and makes the following assumptions:
Independence: The private value v of each prosumer is not affected by the estimates of others, that is, it is assumed that there is no collusion among prosumers.
Risk neutrality: All prosumers are neutral decision-makers, and each prosumer makes optimal decisions with the goal of maximizing their own cooperative profits.
Non-cooperativeness: All prosumers independently decide their own bidding strategies, and there are no cooperative agreements with constraints.
By constructing transaction evaluation indicators for prosumers, a transaction evaluation model for prosumers based on multi-attribute assessment is established. At the same time, the fuzzy comprehensive evaluation method is used to quantitatively score each indicator factor in the prosumer indicator matrix.
This paper selects the power transmission distance, average electricity price, peak–valley–flat electricity consumption ratio, and enterprise nature as key indicators for power transaction evaluation [32,33], providing a basis for power transaction evaluation. Among them, the power transmission distance indicator considers the loss of power in the transmission process, preventing high costs from being incurred during transmission. The enterprise node rating is the rating of prosumer enterprises within the industrial park, used to assess risks and carbon emissions. The average electricity price is the ratio of the total electricity expenditure to the total electricity consumption of prosumers during the statistical period (Table 1).
The scoring function based on the above parameters is:
S i q 1 , q 2 , , q m = i = 1 m l i w i q i s i
where w i is the weight of each indicator q i , and the value is public, l i is the normalization parameter used to unify the dimensions, and s i is the power of the electricity provider’s attributes, 0 < s i < 1 indicating the decreasing characteristic of the score.
The transaction process based on the above model construction is as follows:
Step 1: Integrate the transaction evaluation matrix, collect the evaluation data Qi, and sort the evaluation data according to the established standards, as shown below:
Q i = q 1 , q 2 , , q m
In the formula, i = 1 , 2 , , n represents the number of participating sellers, and m is the number of indicators in the evaluation matrix.
Step 2: By determining the reference sequence [34], normalize the indicators with clear numbers such as the interval distance and fuzzy evaluation indicators in the above indicators to obtain a normalized prosumer evaluation set. The process is shown as follows:
Q 0 ( i ) = q 0 ( 1 ) , q 0 ( 2 ) , , q 0 ( m )
Step 3: According to the above normalization processing results [35], eliminate the difference in the order of magnitude between each indicator through the indicator processing parameters to prevent the impact on the transaction results. The specific calculation formula is as follows:
q i ( j ) = h l q 0 ( j )
In the formula, h and l represent the indicator processing parameters, and q 0 ( j ) represents the indicator to be processed.
Step 4: Determine the weight coefficient of each indicator. In this model, the weight coefficient is formulated by the electricity demander according to their own needs. The weight matrix is shown as follows:
W = w 1 , w 2 , , w m
Step 5: Combine the normalized prosumer evaluation set and the indicator weight coefficient to score each prosumer. All trading nodes with evaluation scores reaching the standard value S can participate in the reverse auction and conduct reverse bidding. During the bidding process, the evaluation score can be used as a component to participate. The scoring function is shown as follows:
S ( i ) = q i ( j ) w ( j )

5.2. Blockchain Transaction Process

Traditional power transactions are often characterized by complex processes, dependence on centralized institutions, opaque information, low efficiency, and high costs. However, the introduction of blockchain technology can effectively address these challenges. The decentralization and immutability of blockchain ensure the transparency and openness of transaction information, reduce intermediary links, and improve the efficiency and security of transactions. The traditional electricity market involves numerous participants, including power plants, suppliers, and consumers. Coordinating and managing transactions among these participants is often time-consuming and complex. By leveraging blockchain, direct peer-to-peer transactions can be realized, simplifying the process and reducing operational costs. Furthermore, the smart contract component of blockchain enables the automatic execution of transactions based on preset conditions, minimizing human intervention and potential misuse while enhancing the overall operational efficiency of the market. Moreover, the real-time data logging and traceability provided by blockchain technology contribute to improving the transparency of energy distribution and usage. Figure 2 illustrates the overall process of electricity trading incorporating blockchain technology, with specific details outlined in the following steps.
Step 1: In this blockchain system, all transaction participants have their own identity verification and corresponding keys, which are stored in the microgrid seller set and microgrid buyer set, respectively. The information of each node is published on the chain, and only nodes that have passed the verification can initiate and receive requests. First, the microgrid sellers P s 1 , P s 2 , , P s n and buyers P b 1 , P b 2 , , P b m in the microgrid blockchain are judged through the market access rules on the smart contract to determine whether the producers and consumers meet the access conditions. Only market members who meet the conditions can enter the market to participate in transactions.
Step 2: When the quotation deadline arrives, each producer and consumer member submits relevant initial parameters (sales volume and minimum transaction price) for the transaction cycle based on their own forecasted electricity generation and consumption, and their own needs. Finally, the smart contract calculates the relevant scores of each member and sorts them.
Step 3: Through a series of smart devices at the edge of the industrial park, the latest demand forecast model is constructed using the day-ahead data. The clearing result is calculated in real time with power generators based on the forecast result, and finally, the clearing result is published to the market participants in real time.
Step 4: When the transaction is completed, the power generation, consumption, and transaction data of each producer and consumer are broadcast within the blockchain, and the legality of the transaction is automatically verified through scripts. If it is legal, the relevant information is recorded.

5.3. Blockchain Transaction Security and Privacy Analysis

  • Auction Data Privacy
The data provider encrypts the auction data of all transaction participants using a symmetric encryption algorithm before uploading it to the blockchain network. This ensures that no malicious node, whether internal or external, can obtain the unencrypted metadata without the decryption key. Only authorized nodes can access the unencrypted auction data, preventing smart contracts and other participating entities from obtaining any information about the content of the auction data without proper authorization.
2.
Auction Process Privacy
During the power aggregation process, the blockchain employs a pre-set access mechanism to audit the auction participants, ensuring the legitimacy of all participants. Upon completion of the audit, the blockchain network generates a virtual identity for each participant, concealing their real identity and protecting their privacy. Furthermore, user privacy remains intact during interactions with the smart contract, which only has access to data related to the transaction process and not to other attributes associated with the user’s identity. This process guarantees the security and privacy of the auction process, providing reliable privacy protection for the participants.
3.
Traceability
In this scheme, once the two parties involved in the power transaction reach a consensus, the business process in which they carry out data sharing is recorded on the blockchain. If one party engages in illegal behavior that leads to a transaction problem, they will be held accountable.
4.
Resistance to Single Point of Failure
This scheme utilizes a distributed storage structure, and all access control within the blockchain network is carried out in a point-to-point manner among the nodes. This effectively mitigates the risk of a single point of failure and improves the efficiency of microgrid transactions.

6. Example Analysis

Since the electricity demand side has the decision-making power to choose the electricity provider, the purpose of designing this trading mechanism is to maximize the expected utility of the electricity demand side.
The expected utility calculation formula for the electricity demand side is:
U i = U b q 1 * , q 2 * , , q m * θ ¯ θ θ ^ 0 θ ^ θ θ ¯
For a data demander with cost type θ , the utility of winning the bid is:
U i = U b q 1 * , q 2 * , , q m * P ( θ ¯ θ θ ^ ) + 0 P ( θ ^ θ θ ¯ )
In the formula, P ( θ ¯ θ θ ^ ) = ( 1 F ( θ ) ) n 1 .
Supposing θ follows an independent and identical distribution on θ ¯ , θ ¯ , and substituting the previous equation into (11), we obtain:
U i = U b q 1 * , q 2 * , , q m * ( 1 F ( θ ) ) n 1
Since U i is a random variable belonging to the ex-ante estimation with a corresponding probability density of f θ , each data demander may become the type θ and win. There is a total of n bidders. Therefore, the total expected utility of the data demander is:
U t = n θ ¯ θ ¯ U b q 1 * ( t ) , q 2 * ( t ) , , q m * ( t ) ( 1 F ( θ ) ) n 1 f ( t ) d t
In the trading scenario, it is assumed that electricity suppliers submit relevant materials based on their actual costs and matching rules.
The following are the relevant trading attributes of each data owner:
Supplier 1:
( q 11 , q 12 , q 13 , q 14 ) = ( 298 , 0.7 , A , 81 )
Supplier 2:
( q 21 , q 22 , q 23 , q 24 ) = ( 337 , 0.5 , C , 78 )
Supplier 3:
( q 31 , q 32 , q 33 , q 34 ) = ( 289 , 0.6 , B , 75 )
Supplier 4:
( q 41 , q 42 , q 43 , q 44 ) = ( 244 , 0.45 , D , 72 )
Supplier 5:
( q 51 , q 52 , q 53 , q 54 ) = ( 391 , 0.55 , D , 77 )
Supplier 6:
( q 61 , q 62 , q 63 , q 64 ) = ( 362 , 0.65 , C , 80 )
In the case study, this paper verifies the supply-side participants in two dimensions: single-attribute transaction matching and multi-attribute transaction matching. It also verifies the effectiveness of the model by comparing the final pricing, user evaluation scores, and user satisfaction.
The following details the comparison of the final pricing at each microgrid node using the different matching methods (Figure 3).
In the process of continuously increasing the number of microgrid nodes in the scenario, compared with simply matching trading partners based on a single attribute, the multi-attribute auction can always maintain prices within a lower range. However, as the relative distance between nodes expands, it becomes difficult to simultaneously satisfy the requirements of distance and better prices, leading to an overall upward trend in the final transaction prices.
The following details the comparison of the multi-attribute evaluation values at each microgrid node using the different matching methods (Figure 4).
The matching method aiming at the lowest quotation has large fluctuations in the evaluation values due to the lack of correlation attribute evaluation. The shortest distance allocation method is affected by the expanding distance, and the influence of other factors also increases, resulting in consistently higher evaluation scores. In contrast, the attribute evaluation of the multi-attribute auction always stays close to the optimal solution.
The following details the comparison of user satisfaction at each microgrid node using the different matching methods (Figure 5).
By comprehensively considering the quotations from electricity providers and the multi-attribute evaluation values, we find that matching using the multi-attribute reverse auction method can maintain the highest user satisfaction in most cases. However, as the number of microgrid nodes continues to increase, this advantage gradually weakens, and the deviation also gradually expands. Despite this, the multi-attribute reverse auction method still shows a certain advantageous trend.

7. Conclusions

Under the current microgrid architecture of inside and outside industrial parks, there exist both centralized trading demands that focus on energy allocation and peer-to-peer trading demands that emphasize trading efficiency. To achieve rapid resource allocation and mutual benefits for prosumers within the park, the main contributions of this study include the following three aspects.
We innovatively proposed a joint trading architecture for microgrids inside and outside industrial parks. By integrating blockchain technology and auction theory, the architecture organically combines physical energy transactions within industrial parks with transactions in external microgrids, solving the problems of data interoperability and sharing between different platforms, as well as the docking of trading rules and processes. The architecture meets the centralized trading demands within industrial parks and the scattered peer-to-peer trading demands outside the parks, optimizing resource allocation and improving system resilience.
We innovatively proposed an auction mechanism for industrial park microgrids. Considering distributed energy providers (sellers) and distributed energy buyers, with the goal of maximizing social welfare, an auction mechanism was constructed with the power transmission distance, average electricity price, peak–valley–flat electricity consumption ratio, and enterprise nature as the main attributes. This mechanism realizes energy flow in a multi-microgrid environment, enabling coordinated mutual benefits for prosumers within the region.
We conducted a case study on the joint auction mechanism for microgrids inside and outside industrial parks. The analysis included the impact of market dynamics and user preferences on electricity prices, the computational results using different trading matching methods (comparing single-attribute and multi-attribute methods), and multi-dimensional verification of user satisfaction with peer-to-peer transactions in a blockchain environment. The results demonstrate the effectiveness of joint trading between physical energy transactions within industrial parks and external microgrids, efficiently coordinating energy allocation inside and outside the parks, and reducing energy allocation costs.

Author Contributions

Conceptualization, Z.Z. and J.F.; methodology, L.W., J.F. and H.C.; software, J.F.; validation, S.Z. and S.P.; formal analysis, L.W., Z.Z. and H.C.; investigation, S.Z. and S.P.; resources, J.F.; data curation, Z.Z.; writing—original draft preparation, J.F. and S.Z.; writing—review and editing, Z.Z. and L.W.; visualization, J.F.; supervision, H.C.; project administration, L.W.; funding acquisition, L.W. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Major Science and Technology Project of China Southern Power Grid (GDKJXM20220333).

Data Availability Statement

No new data were created or analyzed in this study.

Conflicts of Interest

Authors Li Wang, Jinheng Fan and Shunqi Zeng were employed by the company Guangzhou Power Supply Bureau of Guangdong Power Grid Co., Ltd. Authors Zihao Zhang and Shixian Pan were employed by the company China Southern Power Grid Digital Power Grid Research Institute Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. The authors declare that this study received funding from China Southern Power Grid. The funder was not involved in the study design, collection, analysis, interpretation of data, the writing of this article or the decision to submit it for publication.

References

  1. CPC Central Committee and State Council. The CPC Central Committee and State Council of the Several Opinions on Further Deepening the Reform of Electric Power System; CPC Central Committee and State Council: Beijing, China, 15 March 2015. [Google Scholar]
  2. Tian, J.; Liu, Z.; Shu, J.; Liu, J.; Tang, J. Energy management for microgrid system of industrial park. Electr. Power Autom. Equip. 2016, 36, 45–50. [Google Scholar]
  3. Wang, X.; Wang, Z.; Men, S. Research on Distributed Power Supply Trading Mode in the Electricity Market Environment. Sci. Technol. Ecnony Mark. 2018, 3, 35–36. [Google Scholar]
  4. Xiong, W.; Liu, H.; Liu, C. Analysis of Distributed Power Supply Trading Mode in Electricity Market Environment. Technol. Innov. Appl. 2023, 13, 126–129. [Google Scholar]
  5. Chen, L. Research on Community Comprehensive Energy Trading Strategy and Dispatch Method in the Electricity Market. Ph.D. Thesis, Southeast University, Nanjing, China, 2021. [Google Scholar]
  6. Li, C.; Han, D.; Wu, J.; Mao, G.; Ke, M.; Xia, S. Distributed Energy Trading Mechanism and Consensus Method Considering Reputation Management. Autom. Electr. Power Syst. 2023, 47, 130–139. [Google Scholar]
  7. Liu, W.; Zhan, J.; Chung, C.Y.; Li, Y. Day-Ahead Optimal Operation for Multi-Energy Residential Systems with Renewables. IEEE Trans. Sustain. Energy 2019, 10, 1927–1938. [Google Scholar] [CrossRef]
  8. Ma, Y.; Xie, J.; Zhao, S.; Wang, Z.; Tuo, Z. Multi-objective Optimal Dispatching for Active Distribution Network Considering Park-level Integrated Energy System. Autom. Electr. Power Syst. 2022, 46, 53–61. [Google Scholar]
  9. Zhi, Y.; Guo, S.; He, X.; Ai, X. Bilevel Optimal Dispatch Model for Intelligent Industrial Park. Autom. Electr. Power Syst. 2017, 41, 31–38. [Google Scholar]
  10. Li, Z.; Zhong, R.Y.; Tian, Z.G.; Dai, H.N.; Barenji, A.V.; Huang, G.Q. Industrial Blockchain: A state-of-the-art Survey. Robot. Comput. -Integr. Manuf. 2021, 70, 102124. [Google Scholar] [CrossRef]
  11. Raikwar, M.; Gligoroski, D.; Kralevska, K. SoK of used cryptography in blockchain. IEEE Access 2019, 7, 148550–148575. [Google Scholar] [CrossRef]
  12. Kalajdjieski, J.; Raikwar, M.; Arsov, N.; Velinov, G.; Gligoroski, D. Databases fit for blockchain technology: A complete overview. Blockchain Res. Appl. 2023, 4, 116. [Google Scholar] [CrossRef]
  13. Sayeed, S.; Marco-Gisbert, H.; Caira, T. Smart Contract: Attacks and Protections. IEEE Access 2020, 8, 24416–24427. [Google Scholar] [CrossRef]
  14. Tang, X.; Yao, J.; Liu, W.; Liu, X.; Li, Z. Grid-Connected Coordination Strategy for Electric Vehicles and Distributed Energy Based on Blockchain Technology. South. Power Syst. Technol. 2022, 16, 46–54. [Google Scholar]
  15. Mengelkamp, E.; Gärttner, J.; Rock, K.; Kessler, S.; Orsini, L.; Weinhardt, C. Designing microgrid energy markets: A case study: The Brooklyn Microgrid. Appl. Energy 2018, 210, 870–880. [Google Scholar] [CrossRef]
  16. Li, Z.; Wang, W.M.; Liu, G.; Liu, L.; He, J.; Huang, G.Q. Toward open manufacturing: A cross-enterprises knowledge and services exchange framework based on blockchain and edge computing. Ind. Manag. Data Syst. 2018, 118, 303–320. [Google Scholar] [CrossRef]
  17. Li, Z.; Barenji, A.V.; Huang, G.Q. Toward a blockchain cloud manufacturing system as a peer to peer distributed network platform. Robot. Comput.-Integr. Manuf. 2018, 54, 133–144. [Google Scholar] [CrossRef]
  18. Barenji, A.V.; Guo, H.; Wang, Y.; Li, Z.; Rong, Y. Toward blockchain and fog computing collaborative design and manufacturing platform: Support customer view. Robot. Comput.-Integr. Manuf. 2021, 67, 102043. [Google Scholar] [CrossRef]
  19. Zhao, Z.; Guo, J.; Luo, X.; Xue, J.; Lai, C.S.; Xu, Z.; Lai, L.L. Energy transaction for multi-microgrids and internal microgrid based on blockchain. IEEE Access 2020, 8, 144362–144372. [Google Scholar] [CrossRef]
  20. Yang, J.; Dai, J.; Gooi, H.B.; Nguyen, H.D.; Wang, P. Hierarchical blockchain design for distributed control and energy trading within microgrids. IEEE Trans. Smart Grid 2022, 13, 3133–3144. [Google Scholar] [CrossRef]
  21. Wang, J.; Wang, N.; Wang, Q.; Wang, P. Electricity Direct Transaction Mode and Strategy in Microgrid Based on Blockchain and Continuous Double Auction Mechanism. Proc. CSEE 2018, 38, 5072–5084. [Google Scholar]
  22. Pee, S.J.; Kang, E.S.; Song, J.G.; Jang, J.W. Blockchain based smart energy trading platform using smart contract. In Proceedings of the 2019 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Okinawa, Japan, 11–13 February 2019; pp. 322–325. [Google Scholar]
  23. Seven, S.; Yao, G.; Soran, A.; Onen, A.; Muyeen, S.M. Peer-to-peer energy trading in virtual power plant based on blockchain smart contracts. IEEE Access 2020, 8, 175713–175726. [Google Scholar] [CrossRef]
  24. Liu, H.; Zhang, Y.; Zheng, S.; Li, Y. Electric vehicle power trading mechanism based on blockchain and smart contract in V2G network. IEEE Access 2019, 7, 160546–160558. [Google Scholar] [CrossRef]
  25. Hu, W.; Hu, Y.W.; Yao, W.H.; Lu, W.Q.; Li, H.H.; Lv, Z.W. A blockchain-based smart contract trading mechanism for energy power supply and demand network. Adv. Prod. Eng. Manag. 2019, 14, 284–296. [Google Scholar] [CrossRef]
  26. Chen, X.; Zhang, X. Secure electricity trading and incentive contract model for electric vehicle based on energy blockchain. IEEE Access 2019, 7, 178763–178778. [Google Scholar] [CrossRef]
  27. Chen, K.; Lin, J.; Song, Y. Trading strategy optimization for a prosumer in continuous double auction-based peer-to-peer market: A prediction-integration model. Appl. Energy 2019, 242, 1121–1133. [Google Scholar] [CrossRef]
  28. Manjunatha, H.M.; Purushothama, G.K.; Nanjappa, Y.; Deshpande, R. Auction-Based Single-Sided Bidding Electricity Market: An Alternative to the Bilateral Contractual Energy Trading Model in a Grid-Tied Microgrid. IEEE Access 2024, 12, 48975–48986. [Google Scholar] [CrossRef]
  29. Jiang, Y.; Zhou, K.; Lu, X.; Yang, S. Electricity trading pricing among prosumers with game theory-based model in energy blockchain environment. Appl. Energy 2020, 271, 115239. [Google Scholar] [CrossRef]
  30. Zou, X.; Shen, L.; Zhang, W.; Cao, W.; Yang, M. Improved RAFT Consensus Mechanism for Power Transaction Blockchain Based on Credit Scoring. South. Power Syst. Technol. 2022, 16, 132–139. [Google Scholar]
  31. Yang, M.; Zhou, B.; Dong, S.; Lin, N.; Li, Z.; He, F. Design and dispatch optimization of microgrid electricity market supported by blockchain. Electr. Power Autom. Equip. 2019, 39, 155–161. [Google Scholar]
  32. Qin, J.; Sun, W.; Li, Z.; Zhu, Y. Energy transaction method of microgrid based on blockchain and improved auction algorithm. Electr. Power Autom. Equip. 2020, 40, 2–10. [Google Scholar]
  33. Cao, Q. Multi-Attribute Decision Making Model for Customer Economic Evaluation and Selection in Opening Electricity Market. Master’s Thesis, Zhejiang University, Hangzhou, China, 2018. [Google Scholar]
  34. Xu, J.; Gao, J.; Liu, Y.; Deng, X.; Zhou, M.; Hou, Y.; Zhong, C. Research on Input-output Efficiency Evaluation of New Energy Power System Based on Robust DEA. Renew. Energy Resour. 2019, 37, 558–563. [Google Scholar]
  35. Xue, J.; Ye, J.; Tao, Q.; Wang, D. Feasibility Evaluation Model and Method of Energy Storage Technologies in Power System. High Volt. Eng. 2018, 44, 2239–2246. [Google Scholar]
Figure 1. Blockchain-based architecture for joint trading of microgrids inside and outside industrial par.
Figure 1. Blockchain-based architecture for joint trading of microgrids inside and outside industrial par.
Energies 17 03140 g001
Figure 2. Blockchain-based microgrid transaction process for industrial parks.
Figure 2. Blockchain-based microgrid transaction process for industrial parks.
Energies 17 03140 g002
Figure 3. Influence of market dynamics changes and customer preferences on electricity prices.
Figure 3. Influence of market dynamics changes and customer preferences on electricity prices.
Energies 17 03140 g003
Figure 4. Multi-attribute evaluation value of each transaction using different transaction matching methods.
Figure 4. Multi-attribute evaluation value of each transaction using different transaction matching methods.
Energies 17 03140 g004
Figure 5. User satisfaction with peer-to-peer transactions in a blockchain environment.
Figure 5. User satisfaction with peer-to-peer transactions in a blockchain environment.
Energies 17 03140 g005
Table 1. The main evaluation properties of the model.
Table 1. The main evaluation properties of the model.
Indicators
Matching criteria Q Power   transmission   distance   q 1
Average   electricity   price   q 2
Enterprise   node   rating   q 3
Customer   satisfaction   q 4
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, L.; Zhang, Z.; Fan, J.; Zeng, S.; Pan, S.; Chen, H. Blockchain-Based Joint Auction Model for Distributed Energy in Industrial Park Microgrids. Energies 2024, 17, 3140. https://0-doi-org.brum.beds.ac.uk/10.3390/en17133140

AMA Style

Wang L, Zhang Z, Fan J, Zeng S, Pan S, Chen H. Blockchain-Based Joint Auction Model for Distributed Energy in Industrial Park Microgrids. Energies. 2024; 17(13):3140. https://0-doi-org.brum.beds.ac.uk/10.3390/en17133140

Chicago/Turabian Style

Wang, Li, Zihao Zhang, Jinheng Fan, Shunqi Zeng, Shixian Pan, and Haoyong Chen. 2024. "Blockchain-Based Joint Auction Model for Distributed Energy in Industrial Park Microgrids" Energies 17, no. 13: 3140. https://0-doi-org.brum.beds.ac.uk/10.3390/en17133140

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop