Blockchain-Based Peer-to-Peer Transactive Energy Management Scheme for Smart Grid System
Abstract
:1. Introduction
1.1. Research Contributions
- In this paper, we have proposed a blockchain-based decentralized and transparent P2P energy trading scheme, i.e., DT-P2PET.
- SCs are designed to minimize the energy generation burden on the grid and benefit consumers as well as prosumers through profit generation in real time.
- The performance of the proposed DT-P2PET scheme is evaluated in contrast with existing approaches based on different evaluation metrics such as profit generation and low bandwidth utilization. Next, data storage cost is also reduced using IPFS (an off-chain storage system) with Ethereum blockchain.
1.2. Organization of the Paper
2. Related Work
3. System Model and Problem Formulation
3.1. System Model
3.2. Problem Formulation
4. The Proposed Approach: DT-P2PET
4.1. Energy Generation
4.2. Energy Data Publishing
4.3. Energy Trading Using P2P
4.3.1. Distance
Algorithm 1 Publishing Energy Data on Ethereum blockchain and P2P Trading. |
Input: Type of prosumer/consumer, location, { denotes the list of prosumers and i denotes the number of prosumers. { represents the consumers list and j denotes the number of consumers. Purchasing price per unit for electric utility companies from prosumers. Purchasing price per unit for consumers from electric utility companies. Distance. Output: Dynamic price used for P2P trading.
|
4.3.2. Amount of Energy
- Scenario 1: This scenario describes the situation in which the total available surplus energy equals the demand (). In other words, if prosumers engage in P2P trading, they will avoid having energy exchange with electric utility companies (due to low profit generation). The P2P trade price is calculated as follows:
- Scenario 2: In this scenario, the total accessible surplus energy exceeds the total demand (). In other words, by participating in P2P trading, prosumers can not only supply energy to energy-deficient consumers but also trade a portion of energy to the different consumers or the electric utility company. The P2P trading buying price is determined in this scenario as follows.However, the selling price of energy to the utility company is calculated as follows:
- Scenario 3: Here, the total available surplus energy is less than the total demand (). In other words, if prosumers engage in P2P trading, they will be unable to fulfill the demand of consumers experiencing energy outages, compelling them to acquire extra energy by producing more or asking the consumer to acquire the energy from the utility companies themselves.
Algorithm 2 Recommender system for SPV installation. |
Surplus energy of respective prosumer energy demand of respective consumer represents various areas Total energy demand of any particular area. Total surplus energy of any particular area.
|
5. Performance Evaluation
- Intel(R) Core(TM) CPU (Intel Core i7 @ 2.6 GHz);
- 16 GB memory;
- 250 GB SSD;
- 1 Gbit/s network.
5.1. Dataset Description
5.2. Experimental Setup and Tools
5.3. Profit Generation
5.4. Network Bandwidth and Data Storage Cost
5.5. Data Transfer Rate
5.6. Scalability
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
Symbols | Descriptions |
Surplus energy of prosumer | |
Energy demand of consumer | |
After trade, the total surplus energy in SG | |
After trade, total excess energy demand in SG | |
Coalition | |
Set of prosumers | |
Set of consumers | |
P2P selling price | |
P2P buying price | |
Buying prices by the grid | |
Selling prices by the grid | |
Energy consumed by the prosumer itself |
References
- Farrar-Foley, N.; Rongione, N.A.; Wu, H.; Lavine, A.S.; Hu, Y. Total solar spectrum energy converter with integrated photovoltaics, thermoelectrics, and thermal energy storage: System modeling and design. Int. J. Energy Res. 2022, 46, 5731–5744. [Google Scholar] [CrossRef]
- AlSkaif, T.; Crespo-Vazquez, J.L.; Sekuloski, M.; van Leeuwen, G.; Catalao, J.P.S. Blockchain-Based Fully Peer-to-Peer Energy Trading Strategies for Residential Energy Systems. IEEE Trans. Ind. Inform. 2022, 18, 231–241. [Google Scholar] [CrossRef]
- Lopez-Santiago, D.M.; Caicedo Bravo, E.; Jimenez-Estevez, G.; Valencia, F.; Mendoza-Araya, P.; Marin, L.G. A novel rule-based computational strategy for a fast and reliable energy management in isolated microgrids. Int. J. Energy Res. 2022, 46, 4362–4379. [Google Scholar] [CrossRef]
- Lopez Gonzalez, D.M.; Garcia Rendon, J. Opportunities and challenges of mainstreaming distributed energy resources towards the transition to more efficient and resilient energy markets. Renew. Sustain. Energy Rev. 2022, 157, 112018. [Google Scholar] [CrossRef]
- Hui, H.; Siano, P.; Ding, Y.; Yu, P.; Song, Y.; Zhang, H.; Dai, N.Y. A Transactive Energy Framework for Inverter-based HVAC Loads in a Real-time Local Electricity Market Considering Distributed Energy Resources. IEEE Trans. Ind. Inform. 2022. [Google Scholar] [CrossRef]
- Khorasany, M.; Shokri Gazafroudi, A.; Razzaghi, R.; Morstyn, T.; Shafie-khah, M. A framework for participation of prosumers in peer-to-peer energy trading and flexibility markets. Appl. Energy 2022, 314, 118907. [Google Scholar] [CrossRef]
- Paudel, A.; Sampath, L.P.M.I.; Yang, J.; Gooi, H.B. Peer-to-Peer Energy Trading in Smart Grid Considering Power Losses and Network Fees. IEEE Trans. Smart Grid 2020, 11, 4727–4737. [Google Scholar] [CrossRef]
- 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]
- Javadi, M.S.; Esmaeel Nezhad, A.; Jordehi, A.R.; Gough, M.; Santos, S.F.; Catalão, J.P. Transactive energy framework in multi-carrier energy hubs: A fully decentralized model. Energy 2022, 238, 121717. [Google Scholar] [CrossRef]
- Liu, N.; Yu, X.; Wang, C.; Li, C.; Ma, L.; Lei, J. Energy-Sharing Model With Price-Based Demand Response for Microgrids of Peer-to-Peer Prosumers. IEEE Trans. Power Syst. 2017, 32, 3569–3583. [Google Scholar] [CrossRef]
- A game theoretic approach for peer to peer energy trading. Energy Procedia 2019, 159, 454–459. [CrossRef]
- Dorri, A.; Hill, A.; Kanhere, S.; Jurdak, R.; Luo, F.; Dong, Z.Y. Peer-to-Peer EnergyTrade: A Distributed Private Energy Trading Platform. In Proceedings of the 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), Seoul, Korea, 14–17 May 2019; pp. 61–64. [Google Scholar] [CrossRef] [Green Version]
- 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]
- Kumari, A.; Vekaria, D.; Gupta, R.; Tanwar, S. Redills: Deep learning-based secure data analytic framework for smart grid systems. In Proceedings of the 2020 IEEE International Conference on Communications Workshops (ICC Workshops), Dublin, Ireland, 7–11 June 2020; pp. 1–6. [Google Scholar]
- Sorin, E.; Bobo, L.; Pinson, P. Consensus-Based Approach to Peer-to-Peer Electricity Markets With Product Differentiation. IEEE Trans. Power Syst. 2018, 34, 994–1004. [Google Scholar] [CrossRef] [Green Version]
- Zhang, M.; Eliassen, F.; Taherkordi, A.; Jacobsen, H.A.; Chung, H.M.; Zhang, Y. Energy Trading with Demand Response in a Community-based P2P Energy Market. In Proceedings of the 2019 IEEE International Conference on Communications, Control and Computing Technologies for Smart Grids (SmartGridComm), Beijing, China, 21–23 October 2019; pp. 1–6. [Google Scholar] [CrossRef]
- Khalid, R.; Javaid, N.; Javaid, S.; Imran, M.; Naseer, N. A blockchain-based decentralized energy management in a P2P trading system. In Proceedings of the ICC 2020—2020 IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020; pp. 1–6. [Google Scholar] [CrossRef]
- 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. Ind. Inform. 2017, 13, 3154–3164. [Google Scholar] [CrossRef]
- Kumari, A.; Tanwar, S.; Tyagi, S.; Kumar, N.; Parizi, R.M.; Choo, K.K.R. Fog data analytics: A taxonomy and process model. J. Netw. Comput. Appl. 2019, 128, 90–104. [Google Scholar] [CrossRef]
- A motivational game-theoretic approach for peer-to-peer energy trading in the smart grid. Appl. Energy 2019, 243, 10–20. [CrossRef]
- Pham, V.D.; Tran, C.T.; Nguyen, T.; Nguyen, T.T.; Do, B.L.; Dao, T.C.; Nguyen, B.M. B-Box—A Decentralized Storage System Using IPFS, Attributed-based Encryption, and Blockchain. In Proceedings of the 2020 RIVF International Conference on Computing and Communication Technologies (RIVF), Ho Chi Minh City, Vietnam, 14–15 October 2020; pp. 1–6. [Google Scholar] [CrossRef]
- Kaur, K.; Kaddoum, G.; Zeadally, S. Blockchain-Based Cyber-Physical Security for Electrical Vehicle Aided Smart Grid Ecosystem. IEEE Trans. Intell. Transp. Syst. 2021, 22, 5178–5189. [Google Scholar] [CrossRef]
- Kumari, A.; Tanwar, S.; Tyagi, S.; Kumar, N. Verification and validation techniques for streaming big data analytics in internet of things environment. IET Netw. 2018, 8, 92–100. [Google Scholar] [CrossRef]
- Liu, T.; Tan, X.; Sun, B.; Wu, Y.; Guan, X.; Tsang, D.H.K. Energy management of cooperative microgrids with P2P energy sharing in distribution networks. In Proceedings of the 2015 IEEE International Conference on Smart Grid Communications (SmartGridComm), Miami, FL, USA, 2–5 November 2015; pp. 410–415. [Google Scholar] [CrossRef]
- Markets.; Markets.Cryptocurrency Market. Available online: https://www.marketsandmarkets.com/Market-Reports/cryptocurrency-market-158061641.html#:~:text=%5B188%20Pages%20Report%5D%20The%20cryptocurrency,the%20growth%20of%20the%20market (accessed on 18 April 2022).
- Kumari, A.; Gupta, R.; Tanwar, S.; Tyagi, S.; Kumar, N. When Blockchain Meets Smart Grid: Secure Energy Trading in Demand Response Management. IEEE Netw. 2020, 34, 299–305. [Google Scholar] [CrossRef]
- Steichen, M.; Fiz, B.; Norvill, R.; Shbair, W.; State, R. Blockchain-Based, Decentralized Access Control for IPFS. In Proceedings of the 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1499–1506. [Google Scholar] [CrossRef]
- Zhang, P.; Hong, Y.; Kumar, N.; Alazab, M.; Alshehri, M.; Jiang, C. BC-EdgeFL: Defensive Transmission Model Based on Blockchain Assisted Reinforced Federated Learning in IIoT Environment. IEEE Trans. Ind. Inf. 2021, 18, 3551–3561. [Google Scholar] [CrossRef]
- Zhang, K.; Mao, Y.; Leng, S.; Maharjan, S.; Zhang, Y.; Vinel, A.; Jonsson, M. Incentive-Driven Energy Trading in the Smart Grid. IEEE Access 2016, 4, 1243–1257. [Google Scholar] [CrossRef]
- Kumari, A.; Shukla, A.; Gupta, R.; Tanwar, S.; Tyagi, S.; Kumar, N. ET-DeaL: A P2P Smart Contract-based Secure Energy Trading Scheme for Smart Grid Systems. In Proceedings of the IEEE Infocom 2020—IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Toronto, ON, Canada, 6–9 July 2020; pp. 1051–1056. [Google Scholar] [CrossRef]
- Kebande, V.; Awaysheh, F.; Adeyemi, I.; Alawadi, S.; Alshehri, M. A Blockchain-Based Multi-Factor Authentication Model for Cloud-Enabled Internet of Vehicles. Sensors 2021, 21, 6018. [Google Scholar] [CrossRef]
- Smart contract architecture for decentralized energy trading and management based on blockchains. Energy 2020, 199, 117417. [CrossRef]
- Wongthongtham, P.; Marrable, D.; Abu-Salih, B.; Liu, X.; Morrison, G. Blockchain-enabled Peer-to-Peer energy trading. Comput. Electr. Eng. 2021, 94, 107299. [Google Scholar] [CrossRef]
- Peer-to-peer energy sharing with battery storage: Energy pawn in the smart grid. Appl. Energy 2021, 297, 117129. [CrossRef]
- Mehdinejad, M.; Shayanfar, H.; Mohammadi-Ivatloo, B. Decentralized blockchain-based peer-to-peer energy-backed token trading for active prosumers. Energy 2022, 244, 122713–122731. [Google Scholar] [CrossRef]
- Garulli, A.; Paoletti, S.; Vicino, A. Models and Techniques for Electric Load Forecasting in the Presence of Demand Response. IEEE Trans. Control. Syst. Technol. 2015, 23, 1087–1097. [Google Scholar] [CrossRef]
- Morstyn, T.; Teytelboym, A.; Mcculloch, M.D. Bilateral Contract Networks for Peer-to-Peer Energy Trading. IEEE Trans. Smart Grid 2019, 10, 2026–2035. [Google Scholar] [CrossRef]
- Musleh, A.S.; Yao, G.; Muyeen, S.M. Blockchain Applications in Smart Grid–Review and Frameworks. IEEE Access 2019, 7, 86746–86757. [Google Scholar] [CrossRef]
- Singh, A.R.; Ding, L.; Raju, D.K.; Raghav, L.P.; Kumar, R.S. A swarm intelligence approach for energy management of grid-connected microgrids with flexible load demand response. Int. J. Energy Res. 2022, 46, 4301–4319. [Google Scholar] [CrossRef]
- Rathod, A.P.S.; Mittal, P.; Kumar, B. Analysis of factors affecting the solar radiation received by any region. In Proceedings of the 2016 International Conference on Emerging Trends in Communication Technologies (ETCT), Dehradun, India, 18–19 November 2016; pp. 1–4. [Google Scholar] [CrossRef]
- Bertolini, M.; D’Alpaos, C.; Moretto, M. Do Smart Grids boost investments in domestic PV plants? Evidence from the Italian electricity market. Energy 2018, 149, 890–902. [Google Scholar] [CrossRef]
- OpenEI. Open Energy Information. Available online: https://openei.org/datasets/dataset?sectors=smartgrid (accessed on 5 January 2020).
Approaches | Year | Short Description | Merits | Demerits |
---|---|---|---|---|
Long et al. [11] | 2018 | A game-theoretic-based framework for energy trading and decision-making process | The approach achieves both optimality and fairness for P2P trading | The model works on batteries only |
Morstyn et al. [37] | 2019 | A P2P energy-trading contract networks, which is bilateral and scalable | Emphasizes trading strategies for real-time and forward contracts | Need to be implement for practical aspect |
Musleh et al. [38] | 2019 | It examined emerging blockchain applications and its utilization in the SG | It demonstrated benefits of blockchain in the electrical network and SG framework | Scalability and latency issue |
Dorri et al. [12] | 2019 | Presented a Secure Private Blockchain-based (SPB) energy trade architecture as a PoC | SPB minimizes energy trading costs, blockchain size, and processing time. | It lacks the scalability, and SPB implementation requires a bigger testbed |
Seven et al. [13] | 2019 | A public and SC-enabled auction-based bidding platform is proposed for energy trading | Auction-based energy-trading platform | Need to improve optimal and efficient functioning of the proposed approach |
Han et al. [32] | 2020 | A blockchain-based framework to bridge the demand–response gap of producers’ energy production and consumers’ needs in P2P energy trading | It allows more than 25 users to trade energy at the same time | Lacks the consideration of enriching the functions of the platform and testing the same in different environments |
Wongthongtham et al. [33] | 2021 | Examines the most effective use of blockchain technology for P2P energy trading | The approach is cost effective for blockchain transaction | Data storage cost issue on blockchain and scalability issue |
L He et al. [34] | 2021 | In a community market with a shareholder energy storage system, prosumers, and consumers; it suggested an energy-sharing framework which is based on energy pawn (EP) | Maximizes the energy pawn’s revenue generation | For efficient outcomes, netload forecasting must be improved |
Mehdinejad et al. [35] | 2022 | Leverage blockchain platform to achieve P2P energy token trading | The proposed approach ensures a worldwide and realistic solution while demanding no personal information from the participants | The efficiency of the approach needs to be improved |
The proposed DT-P2PET scheme | 2022 | A blockchain-based decentralized and transparent P2P energy-trading scheme | Maximizes the SG revenue, profits of consumer and prosumer, reduces burden on grid | - |
Parameters | Configuration |
---|---|
Transactions | 1000 per round |
Rounds | 5 |
Transactions mode | Read/Write |
Rate | 50 to 250 tps |
Varied factor | Block size with transaction rate |
Scenario | Prosumer | Total Production (kWh) | Surplus Energy (kWh) | Profit (Rs) | Consumer | Total Demand (kWh) | Profit (Rs) |
---|---|---|---|---|---|---|---|
P1 | 11 | 5 | 10 | C1 | 5 | 10 | |
P2 | 15 | 9 | 18 | C2 | 9 | 18 | |
P3 | 23 | 12 | 24 | C3 | 12 | 24 | |
P4 | 11 | 8 | 16 | C4 | 5 | 10 | |
C5 | 3 | 6 | |||||
P5 | 15 | 10 | 20 | C6 | 6 | 12 | |
C7 | 4 | 8 | |||||
P6 | 23 | 14 | 24 | C8 | 2 | 24 | |
C9 | 10 | 20 | |||||
P7 | 12 | 7 | 14 | C10 | 14 | 28 | |
P8 | 10 | 7 | 14 | ||||
P9 | 15 | 6 | 12 | C11 | 10 | 20 | |
P10 | 18 | 5 | 8 | ||||
P11 | 9 | 4 | 8 | C12 | 9 | 18 | |
P12 | 23 | 7 | 10 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Kumari, A.; Chintukumar Sukharamwala, U.; Tanwar, S.; Raboaca, M.S.; Alqahtani, F.; Tolba, A.; Sharma, R.; Aschilean, I.; Mihaltan, T.C. Blockchain-Based Peer-to-Peer Transactive Energy Management Scheme for Smart Grid System. Sensors 2022, 22, 4826. https://doi.org/10.3390/s22134826
Kumari A, Chintukumar Sukharamwala U, Tanwar S, Raboaca MS, Alqahtani F, Tolba A, Sharma R, Aschilean I, Mihaltan TC. Blockchain-Based Peer-to-Peer Transactive Energy Management Scheme for Smart Grid System. Sensors. 2022; 22(13):4826. https://doi.org/10.3390/s22134826
Chicago/Turabian StyleKumari, Aparna, Urvi Chintukumar Sukharamwala, Sudeep Tanwar, Maria Simona Raboaca, Fayez Alqahtani, Amr Tolba, Ravi Sharma, Ioan Aschilean, and Traian Candin Mihaltan. 2022. "Blockchain-Based Peer-to-Peer Transactive Energy Management Scheme for Smart Grid System" Sensors 22, no. 13: 4826. https://doi.org/10.3390/s22134826
APA StyleKumari, A., Chintukumar Sukharamwala, U., Tanwar, S., Raboaca, M. S., Alqahtani, F., Tolba, A., Sharma, R., Aschilean, I., & Mihaltan, T. C. (2022). Blockchain-Based Peer-to-Peer Transactive Energy Management Scheme for Smart Grid System. Sensors, 22(13), 4826. https://doi.org/10.3390/s22134826