Consortium Blockchain-Based Microgrid Market Transaction Research
Abstract
:1. Introduction
- (1)
- A novel pricing strategy for microgrid market transactions is proposed based on Bayesian-Nash equilibrium theory. In this paper, the pricing strategy of the microgrid market is formulated based on the Bayesian-Nash equilibrium theory, with the goal of low purchase cost and high sales efficiency. The proposed pricing strategy can effectively improve the efficiency of electricity sales and reduce the cost of electricity purchases.
- (2)
- The microgrid market trading model is developed using consortium blockchain technology. In this paper, the trading model of microgrid market is developed by combining the consortium blockchain technology with the pricing strategy proposed, and the simulation experiment is carried out. The trading model of microgrid market proposed in this paper can realize decentralized trading mode, increase the interests of microgrid users, and ensure the security of transaction information and transparency of transaction process. At the same time, the energy trading platform can effectively solve the problem of local consumption of distributed energy.
- (3)
- Four chaincodes are developed, including the identity verification unit chaincode, buyer/seller unit (BU/SU) chaincode, matchmaking transaction chaincode, and transaction compensation chaincode. The chaincodes are deployed in Hyperledger Fabric 1.1 platform to simulate the transaction authentication process. Compared with Ethereum and Bitcoin, the method proposed in this paper is more efficient in dealing with transactions, thus shortening the time of trading in the microgrid market.
2. Related Work
2.1. Microgrid Trading Market
2.2. Application of Blockchain Technology in Microgrid
3. Microgrid Market Trading Model Using Consortium Blockchain Technology
3.1. Related Technology Introduction
3.1.1. Bayesian-Nash Equilibrium Theory
3.1.2. Consortium Blockchain
- (1)
- Low transaction cost and fast speed: some nodes participate in verification and accounting during the transaction process, and a small number of consortium nodes have high credibility, which simplifies the authentication process and makes it faster than the public blockchain.
- (2)
- High security of data information: different from the public blockchain, participants in the consortium have access to the data of the consortium blockchain. Access is restricted to provide better privacy protection.
- (3)
- Controllability: the consortium blockchain has the advantage of expandability in the short term, and has a certain degree of regulation.
3.1.3. Hyperledger Fabric
3.2. The Trading Model of Microgrid Market Using Consortium Blockchain
3.2.1. Overall Structure
- (1)
- Certification stage of market entities: each market entity was applied for identity and verifies whether it is qualified to enter the market for trading. The demand information of verified market entities was published.
- (2)
- Pricing strategy stage: the microgrid has multiple market entities, including users and DGs. According to the Bayesian-Nash equilibrium theory of incomplete information static game, the transaction price and transaction volume are determined.
- (3)
- Transaction execution stage: the transaction information is sent to the Blockchain Container, and the transaction is matched in the MTC. Then users sign the smart contract according to price and transaction volume. Then the transaction information is submitted to the OS for a transaction order, which will be recorded to the ledger and complete the transaction authentication.
- (4)
- Transaction compensation phase: this phase calculates and compensates the difference between supply and demand and generation error by establishing a connection with the power grid.
- (5)
- Settlement stage: when the transaction is completed, transaction data is recorded and settled, then the Dispatch System is called to complete the energy dispatch.
3.2.2. Pricing Strategy of Microgrid Using Bayesian-Nash Equilibrium
3.2.3. Deployment of Smart Contracts
Authentication Unit Chaincode
BU/SU Chaincode
The Matchmaking Transaction Chaincode
Transaction Compensation Chaincode
4. Case Study
4.1. Scene Settings
4.2. Simulation Results
4.2.1. Pricing Strategy Simulation Results
4.2.2. Performance Evaluation
5. Conclusion
- (1)
- The pricing strategy based on Nash equilibrium theory can be used in power trading in the microgrid market. During a transaction cycle, the pricing strategy proposed in this paper can reduce the purchase cost of power consumers by about 5%, compared with the way of power grid. For sellers, the power-selling benefit of using this pricing strategy is nearly double that of the use of “surplus power to grid”. In addition, the price set by this model is higher than that of “surplus power to grid”. Therefore, in order to obtain higher profits, sellers adjust their power load.
- (2)
- Conducting electricity transactions within the microgrid market can solve the problem of in-situ consumption of DG. The buyers first purchase the power in the microgrid. When the output power of the DG in the microgrid is insufficient, the buyers purchase the power shortage from the grid. This method can reduce the power interaction between the microgrid and the grid, thereby reducing the impact of the microgrid on the grid.
- (3)
- The transaction processing capability of blockchain technology is mainly reflected in two aspects: Throughput and Latency. The trading model based on consortium blockchain technology proposed in this paper is superior to Bitcoin and Ethereum in terms of Throughput and Latency evaluation. In other words, compared to Bitcoin and Ethereum, the microgrid market trading model using consortium blockchain technology has dramatically improved the speed and ability of processing transactions.
Author Contributions
Funding
Conflicts of Interest
References
- Zia, M.F.; Elbouchikhi, E.; Benbouzid, M. Microgrids energy management systems: A critical review on methods, solutions, and prospects. Appl. Energy 2018, 222, 1033–1055. [Google Scholar] [CrossRef]
- Jiayi, H.; Chuanwen, J.; Rong, X. A review on distributed energy resources and MicroGrid. Renew. Sustain. Energy Rev. 2008, 12, 2472–2483. [Google Scholar] [CrossRef]
- Bayindir, R.; Hossain, E.; Kabalci, E.; Perez, R. A comprehensive study on microgrid technology. Int. J. Renew. Energy Res. 2014, 4, 1094–1107. [Google Scholar]
- Lasseter, R.H.; Piagi, P. Microgrid: A conceptual solution. In Proceedings of the IEEE Power Electronics Specialists Conference, Aachen, Germany, 20–25 June 2004; pp. 4285–4291. [Google Scholar]
- 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]
- Peng, K.; De, L.; Lin, G. Distributed EMPC of multiple microgrids for coordinated stochastic energy management. Appl. Energy 2017, 185, 939–952. [Google Scholar]
- Coelho, V.N.; Cohen, M.W.; Coelho, I.M.; Liu, N.; Guimarães, F.G. Multi-agent systems applied for energy systems integration: state-of-the-art applications and trends in microgrids. Appl. Energy 2017, 187, 820–832. [Google Scholar] [CrossRef]
- Hanna, R.; Ghonima, M.; Kleissl, J.; Tynan, G.; Victor, D. Evaluating business models for microgrids: Interactions of technology and policy. Energy Policy 2017, 103, 47–61. [Google Scholar] [CrossRef]
- Sinha, A.; Basu, A.; Lahiri, R.; Chowdhury, S.; Chowdhury, S.; Crossley, P. Setting of market clearing price (MCP) in microgrid power scenario. In Proceedings of the 2008 IEEE Power and Energy Society General Meeting-Conversion and Delivery of Electrical Energy in the 21st Century, Pittsburgh, PA, USA, 20–24 July 2008; pp. 1–8. [Google Scholar]
- Ferruzzi, G.; Cervone, G.; Delle Monache, L.; Graditi, G.; Jacobone, F. Optimal bidding in a Day-Ahead energy market for Micro Grid under uncertainty in renewable energy production. Energy 2016, 106, 194–202. [Google Scholar] [CrossRef]
- Pei, W.; Du, Y.; Deng, W.; Sheng, K.; Xiao, H.; Qu, H. Optimal bidding strategy and intramarket mechanism of microgrid aggregator in real-time balancing market. IEEE Trans. Ind. Inform. 2016, 12, 587–596. [Google Scholar] [CrossRef]
- Cintuglu, M.; Martin, H.; Mohammed, O. Real-time implementation of multiagent-based game theory reverse auction model for microgrid market operation. IEEE Trans. Smart Grid 2015, 6, 1064–1072. [Google Scholar] [CrossRef]
- Li, B.; Roche, R.; Paire, D.; Miraoui, A. A price decision approach for multiple multi-energy-supply microgrids considering demand response. Energy 2019, 167, 117–135. [Google Scholar] [CrossRef]
- Wang, H.; Huang, J. Bargaining-based energy trading market for interconnected microgrids. In Proceedings of the 2015 IEEE International Conference on Communications (ICC), London, UK, 8–12 June 2015; pp. 776–781. [Google Scholar]
- Kim, H.; Thottan, M. A two-stage market model for microgrid power transactions via aggregators. Bell Labs Tech. J. 2011, 16, 101–107. [Google Scholar] [CrossRef]
- Cornélusse, B.; Savelli, I.; Paoletti, S.; Giannitrapani, A.; Vicino, A. A community microgrid architecture with an internal local market. Appl. Energy 2019, 242, 547–560. [Google Scholar] [Green Version]
- Zhang, C.; Wu, J.; Zhou, Y.; Cheng, M.; Long, C. Peer-to-Peer energy trading in a Microgrid. Appl. Energy 2018, 220, 1–12. [Google Scholar] [CrossRef]
- Efanov, D.; Roschin, P. The all-pervasiveness of the blockchain technology. Procedia Comput. Sci. 2018, 123, 116–121. [Google Scholar] [CrossRef]
- Wang, J.; Wang, Q.; Zhou, N.; Chi, Y. A novel electricity transaction mode of microgrids based on blockchain and continuous double auction. Energies 2017, 10, 1971. [Google Scholar] [CrossRef]
- Xu, Z.; Yang, D.; Li, W. Microgrid Group Trading Model and Solving Algorithm Based on Blockchain. Energies 2019, 12, 1292. [Google Scholar] [CrossRef]
- Castellanos, J.A.F.; Coll-Mayor, D.; Notholt, J.A. Cryptocurrency as guarantees of origin: Simulating a green certificate market with the Ethereum Blockchain. In Proceedings of the 2017 IEEE International Conference on Smart Energy Grid Engineering (SEGE), Oshawa, ON, Canada, 14–17 August 2017. [Google Scholar]
- Lundqvist, T.; De Blanche, A.; Andersson, H.R.H. Thing-to-thing electricity micro payments using blockchain technology. In Proceedings of the 2017 Global Internet of Things Summit (GIoTS), Beijing, China, 22–23 June 2017. [Google Scholar]
- Gai, K.; Wu, Y.; Zhu, L.; Qiu, M.; Shen, M. Privacy-preserving energy trading using consortium blockchain in smart grid. IEEE Trans. Ind. Inf. 2019. [Google Scholar] [CrossRef]
- Cox, W.; Considine, T. Energy, micromarkets, and microgrids. In Proceedings of the Grid-Interop 2011, Phoenix, AZ, USA, 5–8 December 2011. [Google Scholar]
- Bhuvaneswari, R.; Srivastava, S.; Edrington, C.; Cartes, D.; Subramanian, S. Intelligent agent based auction by economic generation scheduling for microgrid operation. In Proceedings of the 2010 Innovative Smart Grid Technologies (ISGT), Gaithersburg, Sweden, 19–21 January 2010. [Google Scholar]
- Allevi, E.; Aussel, D.; Riccardi, R. On an equilibrium problem with complementarity constraints formulation of pay-as-clear electricity market with demand elasticity. J. Global Optim. 2018, 70, 329–346. [Google Scholar] [CrossRef]
- Lu, Q.; Lü, S.; Leng, Y. A Nash-Stackelberg game approach in regional energy market considering users’ integrated demand response. Energy 2019, 175, 456–470. [Google Scholar] [CrossRef]
- Howson, J.T., Jr.; Rosenthal, R.W. Bayesian equilibria of finite two-person games with incomplete information. Manag. Sci. 1974, 21, 313–315. [Google Scholar] [CrossRef]
- Asmus, P. Microgrids, virtual power plants and our distributed energy future. Electr. J. 2010, 23, 72–82. [Google Scholar] [CrossRef]
- Oyarzabal, J.; Jimeno, J.; Ruela, J.; Engler, A.; Hardt, C. Agent based micro grid management system. In Proceedings of the 2005 International Conference on Future Power Systems, Amsterdam, Netherlands, 18 November 2005. [Google Scholar]
- López, M.; Martín, S.; Aguado, J.; De La Torre, S. Market-oriented operation in microgrids using multi-agent systems. In Proceedings of the 2011 International Conference on Power Engineering, Energy and Electrical Drives, Malaga, Spain, 11–13 May 2011. [Google Scholar]
- Long, C.; Wu, J.; Zhang, C.; Thomas, L.; Cheng, M.; Jenkins, N. Peer-to-peer energy trading in a community microgrid. In Proceedings of the 2017 IEEE Power & Energy Society General Meeting, Chicago, IL, USA, 16–20 July 2017. [Google Scholar]
- Kim, H.; Lee, J.; Bahrami, S.; Wong, V. Direct energy trading of microgrids in distribution energy market. IEEE Trans. Power Syst. 2019, 1. [Google Scholar] [CrossRef]
- Belgana, A.; Rimal, B.P.; Maier, M. Open energy market strategies in microgrids: A Stackelberg game approach based on a hybrid multiobjective evolutionary algorithm. IEEE Trans. Smart Grid 2014, 6, 1243–1252. [Google Scholar] [CrossRef]
- Lüth, A.; Zepter, J.M.; del Granado, P.C.; Egging, R. Local electricity market designs for peer-to-peer trading: The role of battery flexibility. Appl. Energy 2018, 229, 1233–1243. [Google Scholar] [CrossRef] [Green Version]
- Yaga, D.; Mell, P.; Roby, N.; Scarfone, K. Blockchain Technology Overview; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2019.
- Cocco, L.; Pinna, A.; Marchesi, M. Banking on blockchain: Costs savings thanks to the blockchain technology. Future Internet 2017, 9, 25. [Google Scholar] [CrossRef]
- Fanning, K.; Centers, D.P. Blockchain and its coming impact on financial services. J. Corp. Account. Financ. 2016, 27, 53–57. [Google Scholar] [CrossRef]
- Tso, R.; Liu, Z.Y.; Hsiao, J.H. Distributed E-Voting and E-Bidding Systems Based on Smart Contract. Electronics 2019, 8, 422. [Google Scholar] [CrossRef]
- Petersen, M.; Hackius, N.; von See, B. Mapping the sea of opportunities: Blockchain in supply chain and logistics. it-Inf. Technol. 2018, 60, 263–271. [Google Scholar] [CrossRef]
- Francisco, K.; Swanson, D. The supply chain has no clothes: Technology adoption of blockchain for supply chain transparency. Logistics 2018, 2, 2. [Google Scholar] [CrossRef]
- Angraal, S.; Krumholz, H.M.; Schulz, W.L. Blockchain technology: applications in health care. Circ. Cardiovasc. Qual. Outcomes 2017, 10, e003800. [Google Scholar] [CrossRef] [PubMed]
- Kuo, T.T.; Kim, H.E.; Ohno-Machado, L. Blockchain distributed ledger technologies for biomedical and health care applications. J. Amer. Med. Inf. Assoc. 2017, 24, 1211–1220. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Hussein, A.F.; ArunKumar, N.; Ramirez-Gonzalez, G.; Abdulhay, E.; Tavares, J.M.R.; de Albuquerque, V.H.C. A medical records managing and securing blockchain based system supported by a genetic algorithm and discrete wavelet transform. Cogn. Syst. Res. 2018, 52, 1–11. [Google Scholar] [CrossRef]
- Sun, J.; Yan, J.; Zhang, K.Z. Blockchain-based sharing services: What blockchain technology can contribute to smart cities. Financ. Innov. 2016, 2, 26. [Google Scholar] [CrossRef] [Green Version]
- Han, H.; Hawken, S. Introduction: Innovation and identity in next-generation smart cities. City Culture Soc. 2018, 12, 1–4. [Google Scholar] [CrossRef]
- Pop, C.; Cioara, T.; Antal, M.; Anghel, I.; Salomie, I.; Bertoncini, M. Blockchain based decentralized management of demand response programs in smart energy grids. Sensors 2018, 18, 162. [Google Scholar] [CrossRef]
- Noor, S.; Yang, W.; Guo, M.; van Dam, K.H.; Wang, X. Energy Demand Side Management within micro-grid networks enhanced by blockchain. Appl. Energy 2018, 228, 1385–1398. [Google Scholar] [CrossRef]
- Andoni, M.; Robu, V.; Flynn, D.; Abram, S.; Geach, D.; Jenkins, D.; McCallum, P.; Peacock, A. Blockchain technology in the energy sector: A systematic review of challenges and opportunities. Renew. Sustain. Energy Rev. 2019, 100, 143–174. [Google Scholar] [CrossRef]
- Musleh, A.S.; Yao, G.; Muyeen, S. Blockchain Applications in Smart Grid–Review and Frameworks. IEEE Access 2019, 7, 86746–86757. [Google Scholar] [CrossRef]
- Siano, P.; De Marco, G.; Rolán, A.; Loia, V. A Survey and Evaluation of the Potentials of Distributed Ledger Technology for Peer-to-Peer Transactive Energy Exchanges in Local Energy Markets. IEEE Syst. J. 2019, 3454–3466. [Google Scholar] [CrossRef]
- Di Silvestre, M.L.; Gallo, P.; Ippolito, M.G.; Sanseverino, E.R.; Zizzo, G. A technical approach to the energy blockchain in microgrids. IEEE Trans. Ind. Inf. 2018, 14, 4792–4803. [Google Scholar] [CrossRef]
- Li, J.; Zhou, Z.; Wu, J.; Li, J.; Mumtaz, S.; Lin, X.; Gacanin, H.; Alotaibi, S. Decentralized On-Demand Energy Supply for Blockchain in Internet of Things: A Microgrids Approach. IEEE Trans. Comput. Soc. Syst. 2019, 1–12. [Google Scholar] [CrossRef]
- Di Silvestre, M.L.; Gallo, P.; Ippolito, M.G.; Musca, R.; Sanseverino, E.R.; Tran, Q.T.T.; Zizzo, G. Ancillary Services in the Energy Blockchain for Microgrids. IEEE Trans. Ind. App. 2019, 1. [Google Scholar] [CrossRef]
- Devine, M.T.; Cuffe, P. Blockchain Electricity Trading Under Demurrage. IEEE Trans. Smart Grid 2019, 10, 2323–2325. [Google Scholar] [CrossRef]
- Kang, E.S.; Pee, S.J.; Song, J.G.; Jang, J.W. A blockchain-based energy trading platform for smart homes in a microgrid. In Proceedings of the 2018 3rd International Conference on Computer and Communication Systems (ICCCS), Moscow, Russia, 28–30 April 2018. [Google Scholar]
- She, W.; Yang, X.; Hu, Y.; Liu, Q.; Liu, W. Transaction certification model of distributed energy based on consortium blockchain. J. China Univ. Sci. Technol. 2018, 48, 307–313. [Google Scholar]
- Kang, J.; Yu, R.; Huang, X.; Maharjan, S.; Zhang, Y.; Hossain, E. Enabling localized peer-to-peer electricity trading among plug-in hybrid electric vehicles using consortium blockchains. IEEE Trans. Indust. Inf. 2017, 13, 3154–3164. [Google Scholar] [CrossRef]
- Li, Z.; Kang, J.; Yu, R.; Ye, D.; Deng, Q.; Zhang, Y. Consortium blockchain for secure energy trading in industrial internet of things. IEEE Trans. Ind. Inf. 2017, 14, 3690–3700. [Google Scholar] [CrossRef]
- Satoshi Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. Consulted 2009. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 2 July 2016).
- Nofer, M.; Gomber, P.; Hinz, O.; Schiereck, D. Blockchain. Bus. Inform. Syst. Eng. 2017, 59, 183–187. [Google Scholar] [CrossRef]
- Zheng, Z.; Xie, S.; Dai, H.; Chen, X.; Wang, H. Blockchain challenges and opportunities: A survey. Int. J. Web Grid Serv. 2018, 14, 352–375. [Google Scholar] [CrossRef]
- Nasir, Q.; Qasse, I.A.; Abu Talib, M.; Nassif, A.B. Performance analysis of hyperledger fabric platforms. Secur. Commun. Netw. 2018, 2018, 14. [Google Scholar] [CrossRef]
- Zhang, S.; Zhou, E.; Pi, B.; Sun, J.; Yamashita, K.; Nomura, Y. A Solution for the Risk of Non-deterministic Transactions in Hyperledger Fabric. In Proceedings of the IEEE International Conference on Blockchain and Cryptocurrency (ICBC), Seoul, South Korea, 15–17 May 2019. [Google Scholar]
- Kang, J.; Xiong, Z.; Niyato, D.; Wang, P.; Ye, D.; Kim, D.I. Incentivizing consensus propagation in proof-of-stake based consortium blockchain networks. IEEE Wirel. Commun. Lett. 2018, 8, 157–160. [Google Scholar] [CrossRef]
- Xue, L. Research on Photovoltaic Microgrid Trading System Based on Blockchain Technology. Doctoral Dissertation, University of Electronic Science and Technology of China, Sichuan, China, 17 December 2018. [Google Scholar]
- The Linux Foundation. A Blockchain Platform for the Enterprise-Hyperledger Fabric. 2019. Available online: https://hyperledger-fabric.readthedocs.io/en/latest/index.html (accessed on 10 August 2019).
The Parameters’ Name | Type | Meaning |
---|---|---|
Customer type | Byte | Buyers’ type (commercial, industrial, resident, etc.) |
BU ID | Int64 | ID number of the BU |
Basic information | Byte | Real-name authentication of buyers identity |
Credit record | Byte | Buyers’ defaults, loan overdue, and criminal records |
Purpose | Byte | Purpose of purchasing electricity by buyers |
The Parameters’ Name | Type | Meaning |
---|---|---|
Power generation type | Byte | Type of power generation (wind, biomass, solar) |
Basic information | Byte | Real-name certification of the sellers |
SU ID | Int64 | ID number of the SU |
Installed capacity | Int64 | Power generation capacity |
Credit record | Byte | Sellers’ defaults, loan overdue, and criminal records |
The Parameters’ Name | Type | Meaning |
---|---|---|
BU address | Byte | Account address of the BU |
BU ID | Byte | ID of the BU |
Energy demand information | Int64 | Generated by the BU chaincode |
Signature | Byte | Generated by the private key of the BU |
Delivery Time | Int64 | Determined by the BU |
Price | Float64 | Power price |
The Parameters’ Name | Type | Meaning |
---|---|---|
SU address | Byte | Account address of the SU |
SU ID | Byte | ID of the SU |
Energy sale information | Byte | Generated by the SU chaincode |
Signature | Byte | Generated by the private key of the SU |
Delivery time | Int64 | Planned sales of the SU |
Electricity supply | Float64 | Energy price per kWh |
The Parameters’ Name | Type | Meaning |
---|---|---|
SU address | Byte | Account address of the SU |
SU ID | Byte | ID of the SU |
BU address | Byte | Account address of the BU |
BU ID | Byte | ID of the BU |
Transaction volume | Float64 | Transaction volume allocated by the system |
Transaction price | Float64 | Power price per kWh in microgrid |
The Parameters’ Name | Type | Meaning |
---|---|---|
SU address | Byte | Account address of the SU |
SU ID | Byte | ID of the SU |
BU address | Byte | Account address of the buyer unit |
BU ID | Byte | ID of the buyer unit |
Agreed electricity sales | Float64 | Net output power of the sellers |
Agreed electricity purchases | Float64 | Demand power submitted by the user |
Difference | Float64 | Difference between supply and demand |
Microgrid compromise price | Float64 | Electricity price for oversupply |
Grid’s price | Float64 | Electricity price per kWh in grid |
Electricity Price in microgrid | Float64 | Electricity price per kWh in microgrid |
The Parameters’ Name | Type | Meaning |
---|---|---|
SU address | Byte | Account address of the SU |
SU ID | Byte | ID of the SU |
BU address | Byte | Account address of the BU |
BU ID | Byte | ID of the BU |
Transaction Record | Byte | Transaction records in the blockchain |
Hash | Byte | Encrypt order information |
Agreed transaction volume | Float64 | Planned sales of the SU |
Actual transaction volume | Float64 | Actual power generation of SU |
Difference | Float64 | Difference due to prediction errors |
Grid’s price | Float64 | Electricity price per kWh in grid |
Electricity Price in microgrid | Float64 | Electricity price per kWh in microgrid |
Period | User 1 | User 2 | User 3 | User 4 | User 5 |
---|---|---|---|---|---|
7 | 0.21 | 0.56 | 4.97 | 9.99 | 10.99 |
8 | 1.71 | 0.83 | 7.93 | 12.03 | 17.64 |
9 | 1.52 | 1.11 | 11.55 | 12.12 | 20.98 |
10 | 1.51 | 1.13 | 12.21 | 12.96 | 21.95 |
11 | 2.54 | 1.20 | 13.33 | 12.99 | 22.23 |
12 | 1.86 | 1.19 | 15.21 | 13.56 | 22.71 |
13 | 1.49 | 0.91 | 15.79 | 8.79 | 17.52 |
14 | 1.43 | 0.88 | 16.83 | 9.55 | 16.77 |
15 | 1.42 | 1.06 | 15.56 | 13.23 | 15.88 |
16 | 1.51 | 1.23 | 11.98 | 11.01 | 13.94 |
17 | 1.50 | 1.09 | 9.96 | 7.37 | 10.07 |
18 | 0.03 | 0.43 | 1.36 | 1.31 | 4.32 |
Period | User 1 | User 2 | User 3 | User 4 | User 5 |
---|---|---|---|---|---|
7 | 9.88 | 4.54 | 1.97 | 2.91 | 7.41 |
8 | 14.44 | 7.22 | 2.88 | 4.29 | 10.83 |
9 | 16.71 | 8.36 | 3.34 | 5.01 | 12.53 |
10 | 17.86 | 8.93 | 3.57 | 5.37 | 13.39 |
11 | 18.33 | 9.16 | 3.66 | 5.49 | 13.74 |
12 | 18.39 | 9.20 | 3.67 | 5.52 | 13.79 |
13 | 18.08 | 9.04 | 3.61 | 3.24 | 13.56 |
14 | 17.37 | 8.68 | 3.47 | 5.22 | 13.02 |
15 | 16.26 | 8.13 | 3.25 | 4.89 | 12.19 |
16 | 14.05 | 7.03 | 2.81 | 4.20 | 10.53 |
17 | 9.62 | 4.81 | 1.89 | 2.88 | 7.21 |
18 | 0.10 | 0.50 | 0.78 | 0.02 | 0.07 |
Period | User 1 | User 2 | User 3 | User 4 | User 5 |
---|---|---|---|---|---|
7 | 9.67 | 3.98 | −3.00 | −7.08 | −3.58 |
8 | 12.73 | 6.39 | −5.05 | −7.74 | −6.81 |
9 | 15.19 | 7.25 | −8.21 | −7.11 | −8.45 |
10 | 16.35 | 7.80 | −8.64 | −7.59 | −8.56 |
11 | 15.79 | 7.96 | −9.67 | −7.50 | −8.49 |
12 | 16.53 | 8.01 | −11.54 | −8.04 | −8.92 |
13 | 16.59 | 8.13 | −12.18 | −5.55 | −3.96 |
14 | 15.94 | 7.80 | −13.36 | −4.33 | −3.75 |
15 | 14.84 | 7.07 | −12.31 | −8.34 | −3.69 |
16 | 12.54 | 5.80 | −9.17 | −6.81 | −3.41 |
17 | 8.12 | 3.72 | −8.07 | −4.49 | −2.86 |
18 | 0.07 | 0.07 | −0.58 | −1.29 | −4.25 |
Period | Total Electricity Sold | Total Electricity Purchased | Microgrid Net Output |
---|---|---|---|
7 | 13.65 | −13.66 | −0.01 |
8 | 19.12 | −19.6 | −0.48 |
9 | 22.44 | −23.77 | −1.33 |
10 | 24.15 | −24.79 | −0.64 |
11 | 23.75 | −25.66 | −1.91 |
12 | 24.54 | −28.5 | −3.96 |
13 | 24.72 | −21.69 | −3.03 |
14 | 23.74 | −21.44 | −2.3 |
15 | 21.91 | −24.34 | −2.43 |
16 | 18.34 | −19.39 | −1.05 |
17 | 11.84 | −15.42 | −3.58 |
18 | 0.14 | −6.12 | −5.98 |
Period | Price | Electric Load of the seller i (kW·h) | |
---|---|---|---|
eL,1 | |||
7 | 0.780 | 0.187 | 0.552 |
8 | 0.792 | 1.584 | 0.740 |
9 | 0.799 | 1.345 | 0.965 |
10 | 0.781 | 1.472 | 1.002 |
11 | 0.803 | 2.125 | 1.001 |
12 | 0.826 | 1.369 | 0.623 |
13 | 0.810 | 1.450 | 0.880 |
14 | 0.810 | 1.400 | 0.830 |
15 | 0.822 | 1.277 | 0.611 |
16 | 0.796 | 1.401 | 1.025 |
17 | 0.823 | 1.399 | 0.946 |
18 | 0.836 | 0.03 | 0.355 |
Period | User 1 | User 2 | User 3 | User 4 | User 5 |
---|---|---|---|---|---|
7 | −9.693 | −3.988 | 3.00 | 7.09 | 3.59 |
8 | −12.856 | −6.48 | 4.98 | 7.64 | 6.72 |
9 | −15.365 | −7.395 | 7.86 | 6.81 | 8.09 |
10 | −16.388 | −7.928 | 8.47 | 7.44 | 8.40 |
11 | −16.205 | −8.159 | 9.18 | 7.12 | 8.06 |
12 | −17.021 | −8.577 | 10.36 | 7.22 | 8.01 |
13 | −16.63 | −8.16 | 12.18 | 5.55 | 3.96 |
14 | −15.97 | −7.85 | 13.36 | 4.33 | 3.75 |
15 | −14.983 | −7.519 | 11.38 | 7.71 | 3.41 |
16 | −12.649 | −6.005 | 8.82 | 6.55 | 3.28 |
17 | −8.221 | −3.864 | 6.32 | 3.52 | 2.24 |
Test | Name | Success | Fail | Send Rate (tps) | Max Latency (ms) | Min Latency (ms) | Avg Latency (ms) | Throughput (tps) |
---|---|---|---|---|---|---|---|---|
1 | query | 1000 | 0 | 50 | 120 | 20 | 70 | 50 |
2 | query | 1000 | 0 | 100 | 160 | 10 | 90 | 100 |
3 | query | 1000 | 0 | 110 | 200 | 30 | 140 | 110 |
4 | query | 1000 | 0 | 120 | 350 | 0 | 170 | 120 |
5 | query | 1000 | 0 | 130 | 440 | 30 | 210 | 130 |
6 | query | 1000 | 0 | 140 | 460 | 90 | 240 | 140 |
7 | query | 1000 | 0 | 150 | 490 | 140 | 280 | 146 |
8 | query | 1000 | 0 | 160 | 580 | 230 | 330 | 151 |
9 | query | 1000 | 0 | 170 | 660 | 260 | 340 | 170 |
10 | query | 1000 | 0 | 180 | 560 | 250 | 380 | 178 |
11 | query | 1000 | 0 | 190 | 600 | 170 | 390 | 186 |
12 | query | 1000 | 0 | 200 | 740 | 240 | 410 | 195 |
13 | query | 1000 | 0 | 210 | 860 | 220 | 420 | 204 |
14 | query | 1000 | 0 | 220 | 930 | 290 | 530 | 206 |
15 | query | 1000 | 0 | 230 | 860 | 460 | 580 | 221 |
16 | query | 1000 | 0 | 240 | 990 | 470 | 660 | 230 |
17 | query | 1000 | 0 | 250 | 1350 | 400 | 700 | 243 |
18 | query | 1000 | 0 | 260 | 1460 | 780 | 1040 | 259 |
19 | query | 1000 | 0 | 270 | 1990 | 810 | 1560 | 268 |
20 | query | 1000 | 0 | 280 | 3820 | 860 | 1890 | 275 |
21 | query | 1000 | 0 | 290 | 4740 | 880 | 2990 | 273 |
22 | query | 1000 | 0 | 300 | 5210 | 1100 | 3380 | 273 |
23 | query | 1000 | 0 | 340 | 7120 | 1800 | 4510 | 274 |
24 | query | 1000 | 0 | 380 | 8450 | 2190 | 5620 | 277 |
25 | query | 1000 | 0 | 420 | 8970 | 2360 | 6230 | 276 |
26 | query | 1000 | 0 | 460 | 10230 | 2740 | 7640 | 279 |
© 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhao, W.; Lv, J.; Yao, X.; Zhao, J.; Jin, Z.; Qiang, Y.; Che, Z.; Wei, C. Consortium Blockchain-Based Microgrid Market Transaction Research. Energies 2019, 12, 3812. https://doi.org/10.3390/en12203812
Zhao W, Lv J, Yao X, Zhao J, Jin Z, Qiang Y, Che Z, Wei C. Consortium Blockchain-Based Microgrid Market Transaction Research. Energies. 2019; 12(20):3812. https://doi.org/10.3390/en12203812
Chicago/Turabian StyleZhao, Wenting, Jun Lv, Xilong Yao, Juanjuan Zhao, Zhixin Jin, Yan Qiang, Zheng Che, and Chunwu Wei. 2019. "Consortium Blockchain-Based Microgrid Market Transaction Research" Energies 12, no. 20: 3812. https://doi.org/10.3390/en12203812
APA StyleZhao, W., Lv, J., Yao, X., Zhao, J., Jin, Z., Qiang, Y., Che, Z., & Wei, C. (2019). Consortium Blockchain-Based Microgrid Market Transaction Research. Energies, 12(20), 3812. https://doi.org/10.3390/en12203812