Blockchain-Based Smart Electricity Measurement and Monitoring System: A Survey

Manmeet Singh *  Suhaib Ahmed **  Sparsh Sharma ***
* Department of Information Technology and Engineering, Baba Ghulam Shah Badshah University (BGSBU), Rajouri, Jammu & Kashmir, India.
** Department of Electronics and Communication Engineering, Baba Ghulam Shah Badshah University (BGSBU), Rajouri, Jammu & Kashmir, India.
*** Department of Computer Science & Engineering, National Institute of Technology, Srinagar, Jammu & Kashmir, India.

Abstract

Humans' dependence on electricity is rising with each passing day. The challenge of global warming can be mitigated by using clean energy sources like electricity instead of burning fossil fuels. In order to meet this increased demand, there is a strong need for an effective electricity management system. The use of smart meters for recording electricity consumption data is vital to the idea of a "smart city." Some of the challenges faced in detailing electricity consumption data include saving large amounts of data, deletion, manipulation, and adjustment of data. Blockchain is a promising technology which can address these issues of data integrity and confidentiality using cryptographic algorithms.

Keywords :

Introduction

Electricity consumption is increasing rapidly on a daily basis (Andrae & Edler, 2015). Due to the increased usage of smart devices at home, in the office, and in industries life is more comfortable and enjoyable (Sloma, 2013). The increase in the usage of portable smart devices like smartphones, smartwatches, and tablet devices is another factor contributing to the overall increase in comfort (Tawalbeh et al., 2016).

However, this increase has led to a rapid change in climate, global warming (Bastida et al., 2019), and higher carbon emissions owing to the increased use of fossil fuels. This in turn has resulted in an increased focus on sustainable development. It is important that the usage of electricity be managed in a manner that has a minimal impact on the environment.

Electricity measurement and monitoring involve detecting thefts in energy consumption. These thefts aim to pay less for overall energy consumption through physical tampering in the case of traditional meters. This tampering does not require higher skills and can be done by a naive lineman. In the case of smart meters, this tampering can be done locally as well as remotely (Jokar et al., 2015),. Tampering with the smart meter requires higher skills and cannot be easily done by an inexperienced lineman. This tampering leads to the meter showing an inaccurate energy consumption value and thus increases the overall energy theft.

Blockchain is a promising technology that can address these issues of data integrity and confidentiality using cryptographic algorithms. It uses a series of blocks containing data in the form of transactions that are linked together using cr yptographic functions. Smart applications using blockchain technologies can be developed using Hyper Ledger Fabric (Hyperledger Foundation, 2022), which is an enterprise-grade distributed ledger framework. Hyper Ledger Fabric is modular in nature and can be used in a wide range of applications. It contains basically an immutable transaction ledger that is maintained by peers in a distributed network. A consensus protocol validates the transactions before placing them in a block. A copy of the block is maintained at each peer node in the network. These blocks are grouped in such a manner that the hash of the previous block is included in the next block, as shown in Figure 1.

Figure 1. Blockchain Structure

Hyper Ledger Fabric consists of five layers, namely the base layer, fabric layer, contract API layer, application API layer, and application layer, as shown in Figure 2. Base Layer is responsible to run the docker software. The fabric layer is used to run the fabric network. A contract API is needed to develop a smart contract. Application APIs are used to develop blockchain applications. The application uses the application API to invoke the smart contract running on the fabric network.

Figure 2. Fabric Application Stack

It is important that issues related to electricity tampering, fraud, and theft (Punmiya & Choe, 2019), it needs to be addressed in order to reduce losses and provide a seamless and uninterrupted electric supply to consumers. Blockchain technology is a new and revolutionary idea that can be used to solve the problems that are caused by the way electricity is used now. The use of blockchain technology along with smart meters will not only eliminate electricity theft and electric meter tampering but will also ensure transparency and build trust among the consumer base that it gets charged only for the service it consumes.

Li et al. (2020) reviewed several existing state-of-the-art anomaly-based detection schemes for the detection of fraud in electricity consumption to find out the challenges with the existing old meters. Based upon these limitations, it proposes a new blockchain-inspired framework that aims to detect anomalies and deviations in electricity consumption accurately and timely using the latest technologies of machine learning, blockchain, sensor processing, and smart meter readings. This framework aims to detect and reduce the losses incurred due to electricity meter tampering, that is quite common. The proposed framework consists of the following phases,

K-Nearest Neighbors (KNN) is used as the main anomaly detection classifier. The working flow of the framework is shown in Figure 3.

Figure 3. Anomaly Detection of Electricity using Blockchain and Machine Learning

Khattak et al. (2020) have used the concept of blockchains, which is a promising technology that can ensure both protection against tampering and complete transparency among consumers and electricity suppliers to address the issues related to electricity theft, and losses by providing complete transparency to consumers about electricity usage. Using the concept of blockchain in smart meters, the problems of storing big data, the removal, manipulation, and updating of data, etc., can be eliminated. The first objective of the study was to automate the process of bidding using smart contracts, keeping in mind the demand and supply of energy consumption, especially in smart cities. The study employed Hyper Ledger Fabric blockchain technology along with composer to provide various security measures like confidentiality and privacy. In addition, the system provided support for dynamic pricing, keeping in mind the demand and supply.

Aiman et al. (2018) developed a peer-to-peer (P2P) token-based billing system for energy distribution using Wattcoin. The study used the Ethereum virtual machine to deploy smart contracts and record transactions. The energy consumed is recorded using smart meters, and the exhaustion contract is used to update the token information in the wattcoin wallet. The token thus updated is transferred to the energy provider account.

Zhang et al. (2019) proposed a double auction system based on consortium blockchain while ensuring the privacy of the transactions with the objective to control the cost and enhance productivity. In order to achieve competitive prices for energy consumption, both the buyers and the sellers are required to bid on the energy price. Proper sorting of the energy prices based on the bid values is being done at both the supplier level and the consumer level. Based on the properly matched value, the supplier sells the energy to the consumer with the matched value.

Pathak et al. (2019) presented a blockchain-based P2P energy management system named BIJLI to sell renewable energy. The angular framework was used to develop the system. The study aims to provide an open and secure system where consumers have the option to choose the kind of energy it requires as per their needs. It focuses on the need for P2P transactions involving renewable solar energy. The study also presented the idea of BijliCoin (BIC) as a reward system for transactions on the BIJLI system. One of the shortcomings of the study is the possible decline in the price of solar energy in the event that there is an increase in the number of producers.

Kulkarni and Kulkarni (2020) discussed in detail the challenges in rural electrification (particularly in India) and the possible solution using blockchain technologies. The unavailability of sufficient and reliable electricity is a grave challenge for the rural population, especially in developing countries like India. This in turn leads to the consumption of other resources like kerosene for daily needs, which has an adverse effect on the environment. This paper discussed the various schemes launched by the government to address this issue and the challenges faced in the execution of such schemes. The study emphasized the need for microgrids and storage systems for the efficient utilization of renewable energy. This would ensure a dependable and adequate energy supply. This paper proposes the use of smart meters based on the blockchain platform to address the issue of irregularities in bills. Various challenges in the adoption of blockchain technologies, like the storage issue, lack of physical connections, regulator y challenges, etc., were discussed.

Jindal et al. (2019) presented a secure demand response system based on blockchain technology named GUARDIAN which aims to address issues in energy trading for household, business, and industrial needs. The system consists of two types of nodes, namely miner nodes and normal nodes. The duty of the miner node is to manage all the energy transactions on the smart grid, including authentication and authorization. Normal nodes usually have smaller ledger sizes as compared to miner nodes. The proposed scheme was evaluated against two public datasets. The results indicated that the proposed system is efficient and can lead to low communication and computation costs.

2. Comparison

Table 1 presents the comparison of the various studies on blockchain based energy measurement and monitoring. Ethereum and Hyper Ledger Fabric were found to be the main blockchain technologies used in this paper.

Table 1. Comparison of Blockchain Technologies in Electricity Measurement

Furthermore, the main objectives of using blockchain were to detect theft and fraud in electricity consumption and provide a platform for fair energy trading among consumers.

3. Proposed Architecture

Figure 4 presents the proposed architecture of the blockchain-based electricity measurement system. All the consumers' households will be connected to the internet through a smart meter. Electricity consumption data will be stored on the server using an open-source blockchain system. An easy-to-use user interface will be provided to access the consumer's electricity consumption data. Essential attributes of the smart electricity measurement and monitoring system must include the following,

Figure 4. Proposed Architecture

Conclusion

This paper analyzes the existing blockchain-based electricity measurement systems. Blockchain provides an excellent platform to address the challenges of energy consumption. Various studies have shown the potential of using blockchain technologies in smart grids. An extensive comparison of the existing blockchain technologies is presented. Finally, the proposed architecture of an efficient blockchain-based electricity measurement system is presented along with the essential attributes of such a system.

Acknowledgment

This study was supported by the Jammu and Kashmir Science Technology, and Innovation Council, Department of Science and Technology, and the Government of Jammu & Kashmir.

References

[1]. Aiman, S., Hassan, S., Habbal, A., Rosli, A., &Shabli, A. H. M. (2018). Smart electricity billing system using blockchain technology. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 10(2-4), 91- 94.
[2]. Andrae, A. S., & Edler, T. (2015). On global electricity usage of communication technology: trends to 2030. Challenges, 6(1), 117-157. https://doi.org/10.3390/ challe6010117
[3]. Bastida, L., Cohen, J. J., Kollmann, A., Moya, A., & Reichl, J. (2019). Exploring the role of ICT on household behavioural energy efficiency to mitigate global warming. Renewable and Sustainable Energy Reviews, 103, 455-462. https://doi.org/10.1016/j.rser.2019.01.004
[4]. Hyperledger Foundation. (2022). Hyperledger Fabric. Retrieved from https://www.hyperledger.org/use/ fabric
[5]. Jindal, A., Aujla, G. S., Kumar, N., & Villari, M. (2019). GUARDIAN: Blockchain-based secure demand response management in smart grid system. IEEE Transactions on Services Computing, 13(4), 613-624. https://doi.org/ 10.1109/TSC.2019.2962677
[6]. Jokar, P., Arianpoo, N., & Leung, V. C. (2015). Electricity theft detection in AMI using customers' consumption patterns. IEEE Transactions on Smart Grid, 7(1), 216-226. https://doi.org/10.1109/TSG.2015.2425222
[7]. Khattak, H. A., Tehreem, K., Almogren, A., Ameer, Z., Din, I. U., & Adnan, M. (2020). Dynamic pricing in industrial internet of things: Blockchain application for energy management in smart cities. Journal of Information Security and Applications, 55, 102615. https://doi.org/ 10.1016/j.jisa.2020.102615
[8]. Kulkarni, V., & Kulkarni, K. (2020, June). A blockchainbased smart grid model for rural electrification in India. In 2020, 8 th International Conference on Smart Grid (icSmartGrid), (pp. 133-139). IEEE. https://doi.org/10.11 09/icSmartGrid49881.2020.9144898
[9]. Li, M., Zhang, K., Liu, J., Gong, H., & Zhang, Z. (2020). Blockchain-based anomaly detection of electricity consumption in smart grids. Pattern Recognition Letters, 138, 476-482. https://doi.org/10.1016/j.patrec.2020.07. 020
[10]. Pathak, R., Gupta, N., Khetarpal, P., & Jain, S. (2019). BIJLI: A hyperledger-based blockchain-powered application for decentralized power management and electricity distribution. In Applications of Computing, Automation and Wireless Systems in Electrical Engineering (pp. 363-372). Springer, Singapore. https:// doi.org/ 10.1007/978-981-13-6772-4_31
[11]. Punmiya, R., & Choe, S. (2019). Energy theft detection using gradient boosting theft detector with feature engineering-based preprocessing. IEEE Transactions on Smart Grid, 10(2), 2326-2329. https://doi. org/10.1109/ TSG.2019.2892595
[12]. Sloma, M. (2013, July). Carbon footprint of electronic devices. In Electron Technology Conference 2013, 8902, 541-548. https://doi.org/10.1117/12.20302 71
[13]. Tawalbeh, M., Eardley, A. &Tawalbeh, L. (2016). Studying the energy consumption in mobile devices. Procedia Computer Science, 94, 183-189. https://doi. org/10.1016/j.procs.2016.08.028
[14]. Zhang, S., Pu, M., Wang, B., & Dong, B. (2019). A privacy protection scheme of microgrid direct electricity transaction based on consortium blockchain and continuous double auction. IEEE Access, 7, 151746- 151753. https://doi.org/10.1109/ACCESS.2019.2946794