Scheduling Charging of Electric Vehicles in a Secured Manner by Emphasizing Cost Minimization Using Blockchain Technology and IPFS
Abstract
:1. Introduction
- There is a need for a charging scenario other than the conventional scenarios, i.e., G2V and V2V, where vehicles are charged using other vehicles, termed Mobile Vehicles (MVs), which act as prosumers;
- A charging schedule should be devised to charge the vehicles efficiently and also to reduce the charging load on the CSs;
- The data storage issue should be tackled by removing redundancy from the data;
- Blockchain technology should be implemented to promote transparency and to ensure security in a P2P trading scenario;
- Such algorithms should be proposed that will reduce the charging cost and time appreciably;
- Users’ participation in the proposed model should be increased by giving incentives.
- All new incoming vehicles are first authorized by a central entity and then added to the network;
- Scheduling algorithms for the charging of EVs are introduced,
- Mobile-Vehicle-to-Vehicle (M2V) communication between vehicles is done and compared with existing V2V and G2V communications;
- The information related to roads and weather conditions is stored after filtration in a centralized entity using the Inter-Planetary File System (IPFS);
- The shortest distance between charging entities is calculated using the Great-Circle Distance formula. Furthermore, both the times taken to traverse this distance and to charge the vehicles are calculated;
- The location of the vehicles is preserved using an encryption technique to promote vehicles’ participation;
- Mathematical formulation is done for achieving the reduction in total charging cost;
- The energy losses associated with the power flow in different charging strategies are discussed;
- Both the number of hashes generated and the mining time required are calculated using different difficulty levels;
- Incentives are given to vehicles on the basis of timely responses of credible messages to increase participation rate.
2. Related Work
2.1. Critical Analysis
2.1.1. Scalability
2.1.2. Privacy
2.1.3. Resource Utilization
3. Problem Statement
4. Proposed System Model
- RSUs both store and provide the required information, such as weather conditions, road conditions, congestion and accidents, etc., to the vehicles.
- CSs are the providers of energy/charge to the vehicles. They are situated at certain distances and remain in an active state at all times so that the EVs do not wait for a long time to be charged.
- EVs are the ordinary vehicles; they act as consumers and are powered using electricity. They have batteries installed within, which help to store the charge and keep the vehicles moving. Once the batteries reach a certain level, they need to be charged again. The greater the storage capacity, the greater the distance the vehicles can cover.
- MVs act as prosumers, i.e., they possess the capability of charging themselves using RESs and are capable of providing surplus energy to other neighboring EVs (acting as consumers). When MVs run out of energy and are in need of bulk energy, they send requests to CSs to get energy. Once charged, they are again able to provide energy to EVs moving in that area according to a proper schedule.
4.1. Workflow of the Proposed System Model
4.2. Authentication of Vehicles
4.3. TSIU
IPFS
4.4. Location Privacy
Algorithm 1: Algorithm of IPFS |
5. Charging Schedule
5.1. Scheduling of Vehicle Charging
5.2. Great-Circle Distance
Algorithm 2: Algorithm for shortest distance selection using the Great-Circle Distance. |
5.3. Calculation of Time Taken for Covering the Distance
5.4. Calculation of Time Taken for Charging the Vehicles
5.5. Charging Scheduling Algorithm
Algorithm 3: Algorithm of Charging Schedule |
6. Mathematical Formulation
6.1. Charging Cost Calculation
6.2. Objective Function
6.3. Comparison of Equations
7. Power Flow and Associated Losses
Formulating the Associated Energy Losses
- The charging infrastructure should not be affected by weather conditions to a great extent. Equation (12d) gives the value of the weather effect coefficient, i.e., .
- Case 1: Energy Losses in V2GIn this case, the losses incurred in V2G charging of vehicles are discussed. In V2G, maximum economic losses occur, while the power losses are less as compared to the V2V charging strategy. The reason for the maximal economic losses is the usage of conventional fuels in the charging stations. The power losses incurred in V2G are calculated using Equation (10).
- Case 2: Energy Losses in V2VIn V2V charging of vehicles, the maximum amount of power losses occurs. The reason is increased amount of inefficiency of the inverters [52]. Energy trading is done between two vehicles, both equipped with energy inverters; therefore, the inverter inefficiency will be squared, i.e., . Equation (13) is used to calculate the power loss incurred in V2V charging of vehicles.
- Case 3: Energy Losses in M2VIn M2V, we have the minimum amounts of both economic and power losses. The primary reason is that the Mobile Vehicles (MVs) make use of RESs to generate electricity and have the ability to store and provide the surplus amount of energy to other EVs. The power loss incurred in the M2V charging strategy is calculated using Equation (13).
8. Incentive Provisioning
- The vehicles should respond to other vehicles or RSUs in a predefined time. In our case, this value is set to be 15 s.
- The messages delivered by the vehicles should be credible, i.e., having only predefined identities in the message string. The messages with vehicle ID, locations of events, status of events, and times of event occurrence are considered credible.
9. Results and Discussion
9.1. Simulation Environment
9.2. Simulation Parameters
10. Conclusion and Future Work
Author Contributions
Funding
Acknowledgments
Conflicts of Interest
Abbreviations
AU | Authorization Unit |
BITS | Blockchain-based Intelligent Transport System |
CS | Charging Station |
DHT | Distributed Hash Table |
EC | Energy Consumer |
ECU | Electronic Control Unit |
EV | Electric Vehicle |
G2V | Grid-to-Vehicle |
ICT | Information and Communication Technologies |
IoT | Internet of Things |
IPFS | Inter-Planetary File System |
IV | Intelligent Vehicle |
LAG | Local Aggregator |
MDP | Markov Decision Process |
MG | Micro-Grid |
M2V | Mobile-Vehicle-to-Vehicle |
P2P | Peer-to-Peer |
PtMS | Parallel transportation Management System |
RES | Renewable Energy Sources |
PoS | Proof of Stake |
PoW | Proof of Work |
SES | Small Energy Supplier |
SH | Smart Homes |
SG | Smart Grid |
TSIU | Transport System Information Unit |
VN | Vehicular Network |
VANET | Vehicular Ad-hoc Network |
V2V | Vehicle-to-Vehicle |
WSN | Wireless Sensor Network |
CS charging cost | |
EV charging cost | |
MV charging cost | |
Maximum EV charging cost | |
Maximum MV charging cost | |
Charging cost | |
Distance cost | |
Waiting cost | |
Reward cost | |
Penalty cost | |
Latitude of CS | |
Longitude of CS | |
Total cost | |
Distance between vehicle and CS | |
Distance between vehicle and MV | |
Distance between vehicle and EV | |
Latitude of EV | |
Longitude of EV | |
Current at time t | |
Length of charging cable | |
Latitude of MV | |
Longitude of MV | |
CS generation price | |
EV generation price | |
MV generation price | |
Total power loss | |
Q | Price per unit |
Saved units | |
Wasted units | |
V | Total number of vehicles in queue |
v | Number of incoming vehicle |
Inverter inefficiency | |
Threshold distance | |
Threshold difference between vehicles in charging queue | |
Weather effect coefficient |
References
- Xie, S.; Zhong, W.; Xie, K.; Yu, R.; Zhang, Y. Fair energy scheduling for vehicle-to-grid networks using adaptive dynamic programming. IEEE Trans. Neural Netw. Learn. Syst. 2016, 27, 1697–1707. [Google Scholar] [CrossRef]
- Usman, M.; Knapen, L.; Bellemans, T.; Janssens, D.; Wets, G. Optimal recharging framework and simulation for electric vehicle fleet. Future Gener. Comput. Syst. 2020, 107, 745–757. [Google Scholar] [CrossRef]
- Liu, C.; Chai, K.K.; Zhang, X.; Lau, E.T.; Chen, Y. Adaptive blockchain-based electric vehicle participation scheme in smart grid platform. IEEE Access 2018, 6, 25657–25665. [Google Scholar] [CrossRef]
- Noel, L.; de Rubens, G.Z.; Sovacool, B.K.; Kester, J. Fear and loathing of electric vehicles: The reactionary rhetoric of range anxiety. Energy Res. Soc. Sci. 2019, 48, 96–107. [Google Scholar] [CrossRef]
- Aitzhan, N.Z.; Svetinovic, D. Security and privacy in decentralized energy trading through multi-signatures, blockchain and anonymous messaging streams. IEEE Trans. Dependable Secur. Comput. 2018, 15, 840–852. [Google Scholar] [CrossRef]
- Alghamdi, T.A.; Ali, I.; Javaid, N.; Shafiq, M. Secure Service Provisioning Scheme for Lightweight IoT Devices with a Fair Payment System and an Incentive Mechanism based on Blockchain. IEEE Access 2019, 8, 1048–1061. [Google Scholar] [CrossRef]
- Sultana, T.; Almogren, A.; Akbar, M.; Zuair, M.; Ullah, I.; Javaid, N. Data Sharing System Integrating Access Control Mechanism using Blockchain-Based Smart Contracts for IoT Devices. Appl. Sci. 2020, 10, 488. [Google Scholar] [CrossRef] [Green Version]
- Khalid, R.; Javaid, N.; Almogren, A.; Javed, M.U.; Javaid, S.; Zuair, M. A blockchain based load balancing in decentralized hybrid P2P energy trading market in smart grid. IEEE Access 2020, 8, 47047–47062. [Google Scholar] [CrossRef]
- Samuel, O.; Almogren, A.; Javaid, A.; Zuair, M.; Ullah, I.; Javaid, N. Leveraging Blockchain Technology for Secure Energy Trading and Least-Cost Evaluation of Decentralized Contributions to Electrification in Sub-Saharan Africa. Entropy 2020, 22, 226. [Google Scholar] [CrossRef] [Green Version]
- Yahaya, A.S.; Javaid, N.; Alzahrani, F.A.; Rehman, A.; Ullah, I.; Shahid, A.; Shafiq, M. Blockchain Based Sustainable Local Energy Trading Considering Home Energy Management and Demurrage Mechanism. Sustainability 2020, 12, 3385. [Google Scholar] [CrossRef] [Green Version]
- Shahid, A.; Almogren, A.; Javaid, N.; Al-Zahrani, F.A.; Zuair, M.; Alam, M. Blockchain-Based Agri-Food Supply Chain: A Complete Solution. IEEE Access 2020, 8, 69230–69243. [Google Scholar] [CrossRef]
- Zhang, T.; Pota, H.; Chu, C.C.; Gadh, R. Real-time renewable energy incentive system for electric vehicles using prioritization and cryptocurrency. Appl. Energy 2018, 226, 582–594. [Google Scholar] [CrossRef]
- Luo, Y.; Zhu, T.; Wan, S.; Zhang, S.; Li, K. Optimal charging scheduling for large-scale EV (electric vehicle) deployment based on the interaction of the smart-grid and intelligent-transport systems. Energy 2016, 97, 359–368. [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]
- Tian, Z.; Jung, T.; Wang, Y.; Zhang, F.; Tu, L.; Xu, C.; Tian, C.; Li, X.Y. Real-time charging station recommendation system for electric-vehicle taxis. IEEE Trans. Intell. Transp. Syst. 2016, 17, 3098–3109. [Google Scholar] [CrossRef]
- JJaved, M.U.; Javaid, N. Scheduling charging of electric vehicles in a secured manner using blockchain technology. In Proceedings of the 17th International Conference on Frontiers of Information Technology, Islamabad, Pakistan, 16–18 December 2019. [Google Scholar]
- Yong, Y.; Wang, F.-Y. Towards blockchain-based intelligent transportation systems. In Proceedings of the 2016 IEEE 19th International Conference on Intelligent Transportation Systems, Rio de Janeiro, Brazil, 1–4 November 2016. [Google Scholar]
- Leiding, B.; Parisa, M.; Dieter, H. Self-managed and blockchain-based vehicular ad-hoc networks. In Proceedings of the 2016 ACM International Joint Conference on Pervasive and Ubiquitous Computing: Adjunct, Heidelberg, Germany, 12–16 September 2016. [Google Scholar]
- Dorri, A.; Steger, M.; Kanhere, S.S.; Jurdak, R. Blockchain: A distributed solution to automotive security and privacy. IEEE Commun. Mag. 2017, 55, 119–125. [Google Scholar] [CrossRef] [Green Version]
- Rowan, S.; Michael, C.; Meriel, H.; Ciaran Mc, G. Securing vehicle to vehicle data sharing using blockchain through visible light and acoustic side-channels. arXiv 2017, arXiv:1704.02553. [Google Scholar]
- Zhang, K.; Yuming, M.; Supeng, L.; Sabita, M.; Yan, Z.; Alexey, V.; Magnus, J. Incentive-driven energy trading in the smart grid. IEEE Access 2016, 4, 1243–1257. [Google Scholar] [CrossRef]
- Huang, X.; Xu, C.; Wang, P.; Liu, H. LNSC: A security model for electric vehicle and charging pile management based on blockchain ecosystem. IEEE Access 2018, 6, 13565–13574. [Google Scholar] [CrossRef]
- Liu, Y.; Hu, S. Renewable energy pricing driven scheduling in distributed smart community systems. IEEE Trans. Parallel Distrib. Syst. 2017, 28, 1445–1456. [Google Scholar] [CrossRef]
- Zhang, B.; Jiang, C.; Yu, J.; Han, Z. A contract game for direct energy trading in smart grid. IEEE Trans. Smart Grid 2018, 9, 2873–2884. [Google Scholar] [CrossRef]
- Wu, X.; Hu, X.; Yin, X.; Moura, S.J. Stochastic optimal energy management of smart home with PEV energy storage. IEEE Trans. Smart Grid 2018, 9, 2065–2075. [Google Scholar] [CrossRef]
- Mozafar, M.R.; Amini, M.H.; Moradi, M.H. Innovative appraisement of smart grid operation considering large-scale integration of electric vehicles enabling V2G and G2V systems. Electr. Power Syst. Res. 2018, 154, 245–256. [Google Scholar] [CrossRef]
- Amini, M.H.; Moghaddam, M.P.; Karabasoglu, O. Simultaneous allocation of electric vehicles’ parking lots and distributed renewable resources in smart power distribution networks. Sustain. Cities Soc. 2017, 28, 332–342. [Google Scholar] [CrossRef]
- Vallés, M.; Bello, A.; Reneses, J.; Frías, P. Probabilistic characterization of electricity consumer responsiveness to economic incentives. Appl. Energy 2018, 216, 296–310. [Google Scholar] [CrossRef]
- Eissa, M.M. First time real time incentive demand response program in smart grid with “i-Energy” management system with different resources. Appl. Energy 2018, 212, 607–621. [Google Scholar] [CrossRef]
- Mortaz, E.; Valenzuela, J. Microgrid energy scheduling using storage from electric vehicles. Electr. Power Syst. Res. 2017, 143, 554–562. [Google Scholar] [CrossRef]
- Lu, X.; Zhou, K.; Yang, S. Multi-objective optimal dispatch of microgrid containing electric vehicles. J. Clean. Prod. 2017, 165, 1572–1581. [Google Scholar] [CrossRef]
- Aliasghari, P.; Mohammadi-Ivatloo, B.; Alipour, M.; Abapour, M.; Zare, K. Optimal scheduling of plug-in electric vehicles and renewable micro-grid in energy and reserve markets considering demand response program. J. Clean. Prod. 2018, 186, 293–303. [Google Scholar] [CrossRef]
- Rehman, M.; Javaid, N.; Awais, M.; Imran, M.; Naseer, N. Cloud based Secure Service Providing for IoTs using Blockchain. In Proceedings of the IEEE Global Communications Conference, Waikoloa, HI, USA, 9–13 December 2019. [Google Scholar]
- Samuel, O.; Javaid, N.; Awais, M.; Ahmed, Z.; Imran, M.; Guizani, M. A Blockchain Model for Fair Data Sharing in Deregulated Smart Grids. In Proceedings of the IEEE Global Communications Conference, Waikoloa, HI, USA, 9–13 December 2019. [Google Scholar]
- Fukumitsu, M.; Hasegawa, S.; Iwazaki, J.; Sakai, M.; Takahashi, D. A proposal of a secure P2P-type storage scheme by using the secret sharing and the blockchain. In Proceedings of the 2017 IEEE 31st International Conference on Advanced Information Networking and Applications, Taipei, Taiwan, 27–29 March 2017. [Google Scholar]
- Guo, R.; Shi, H.; Zhao, Q.; Zheng, D. Secure attribute-based signature scheme with multiple authorities for blockchain in electronic health records systems. IEEE Access 2018, 6, 11676–11686. [Google Scholar] [CrossRef]
- Naz, M.; Al-zahrani, F.A.; Khalid, R.; Javaid, N.; Qamar, A.M.; Afzal, M.K.; Shafiq, M. A Secure Data Sharing Platform Using Blockchain and Interplanetary File System. Sustainability 2019, 11, 7054. [Google Scholar] [CrossRef] [Green Version]
- Nizamuddin, N.; Salah, K.; Azad, M.A.; Arshad, J.; Rehman, M.H. Decentralized document version control using ethereum blockchain and IPFS. Comput. Electr. Eng. 2019, 76, 183–197. [Google Scholar] [CrossRef] [Green Version]
- Nyaletey, E.; Parizi, R.M.; Zhang, Q.; Choo, K.-K.R. BlockIPFS—blockchain-enabled interplanetary file system for forensic and trusted data traceability. In Proceedings of the 2nd IEEE International Conference on Blockchain, Atlanta, GA, USA, 14–17 July 2019. [Google Scholar]
- Su, Z.; Wang, Y.; Xu, Q.; Fei, M.; Tian, Y.; Zhang, N. A secure charging scheme for electric vehicles with smart communities in energy blockchain. IEEE Internet Things J. 2018, 6, 4601–4613. [Google Scholar] [CrossRef] [Green Version]
- Wang, Y.; Su, Z.; Zhang, N. BSIS: Blockchain-based secure incentive scheme for energy delivery in vehicular energy network. IEEE Trans. Ind. Inform. 2019, 15, 3620–3631. [Google Scholar] [CrossRef]
- Chaudhary, R.; Jindal, A.; Aujla, G.S.; Aggarwal, S.; Kumar, N.; Choo, K.-K.R. BEST: Blockchain-based secure energy trading in SDN-enabled intelligent transportation system. Comput. Secur. 2019, 85, 288–299. [Google Scholar] [CrossRef]
- Huang, X.; Zhang, Y.; Li, D.; Han, L. An optimal scheduling algorithm for hybrid EV charging scenario using consortium blockchains. Future Gener. Comput. Syst. 2019, 91, 555–562. [Google Scholar] [CrossRef]
- Singh, M.; Kim, S. Branch based blockchain technology in intelligent vehicle. Comput. Netw. 2018, 145, 219–231. [Google Scholar] [CrossRef]
- Javed, M.U.; Rehman, M.; Javaid, N.; Aldegheishem, A.; Alrajeh, N.; Tahir, M. Blockchain-Based Secure Data Storage for Distributed Vehicular Networks. Appl. Sci. 2020, 10, 2011. [Google Scholar] [CrossRef] [Green Version]
- “EV Database”. EV Database. 2020. Available online: https://ev-database.org/ (accessed on 1 May 2020).
- Porcu, E.; Bevilacqua, M.; Genton, M.G. Spatio-temporal covariance and cross-covariance functions of the great circle distance on a sphere. J. Am. Stat. Assoc. 2016, 111, 888–898. [Google Scholar] [CrossRef]
- Abdolmaleki, M.; Masoud, N.; Yin, Y. Vehicle-to-vehicle wireless power transfer: Paving the way toward an electrified transportation system. Transp. Res. Part C Emerg. Technol. 2019, 103, 261–280. [Google Scholar] [CrossRef]
- Apostolaki-Iosifidou, E.; Codani, P.; Kempton, W. Measurement of power loss during electric vehicle charging and discharging. Energy 2017, 127, 730–742. [Google Scholar] [CrossRef]
- ‘Losses In Distribution & Transmission Lines | Electrical India Magazine On Power & Electrical Products, Renewable Energy, Transformers, Switchgear & Cables’. Electrical India Magazine On Power & Electrical Products, Renewable Energy, Transformers, Switchgear & Cables. 2020. Available online: https://www.electricalindia.in/losses-in-distribution-transmission-lines/ (accessed on 20 May 2020).
- Electric Vehicle Charging 101 | Calevip. Calevip.Org. 2020. Available online: https://calevip.org/electric-vehicle-charging-101 (accessed on 20 May 2020).
- Koufakis, A.-M.; Rigas, E.S.; Bassiliades, N.; Ramchurn, S.D. Offline and online electric vehicle charging scheduling with V2V energy transfer. IEEE Trans. Intell. Transp. Syst. 2019. [Google Scholar] [CrossRef]
- Wood, G. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Project Yellow Pap. 2014, 151, 1–32. [Google Scholar]
- Kim, O.T.T.; Tran, N.H.; Nguyen, V.; Kang, S.M.; Hong, C.S. Cooperative between V2C and V2V charging: Less range anxiety and more charged EVs. In Proceedings of the 2018 International Conference on Information Networking, Chiang Mai, Thailand, 10–12 January 2018. [Google Scholar]
- Nanayakkara, H. Blockchain Mining Difficulty. The Geveo Blog. 2019. Available online: http://blog.geveo.com/Blockchain-Mining-Difficulty (accessed on 10 May 2020).
Scenario (s) | Feature (s) | Objective (s) | Limitation (s) |
---|---|---|---|
Smart Grid (SG) energy trading [5] | Use of multisignatures | Solve transaction security issues | Expensive implementation due to usage of multisignatures |
Consortium blockchain [14] | Local Aggregators (LAGs) are introduced | Audit the transactions | Introduction of LAGs leads to time complexity |
Seven-layer blockchain model [17] | Blockchain-based Intelligent Transport System (BITS) and Parallel transportation Management Systems (PtMS) data | Provide future directions for intelligent vehicles | Combining data from BITS and PtMS leads to time complexity |
Ad-hoc networks [18] | Vehicular Ad-hoc Networks (VANET) | Optimization of applications | Delay and scalability issues |
Blockchain-based architecture [19] | Emerging services and software updates | Protect privacy of users | Trust issues between users |
Inter-vehicle protocol [20] | Visible light and acoustic side-channel | Minimize throughput and securing communication | Applicable only for small area |
Cloud-based Vehicle-to-Vehicle (V2V) [21] | Incentive-based trading schemes | Efficient increase of the generated profit | Single point of failure and data leakage |
Decentralized security model [22] | Registration and authentication details | Securing and scheduling vehicle charging | Two-fold security mechanism of vehicle charging leads to computational complexity |
Cross-entropy optimization technique [23] | Pricing schemes | Bill reduction for both community and individuals | Time complexity |
Contract-based direct trading [24] | Decision-making process and asymmetric information | Provide benefits to both Energy Consumers (ECs) and Small Energy Suppliers (SESs) | Time complexity |
Stochastic dynamic programming framework [25] | Energy demands of Smart Homes (SHs) with Plug-in Electric Vehicles (PEVs) | Minimize cost while balancing power demand | Overlooking user satisfaction |
Vehicle-to-Grid (V2G) and Grid-to-Vehicle (G2V) systems [26] | Stability and reliability indices | Improvement of stability and reliability | Security issues |
Two-stage model [27] | Economic benefits and technical constraints | Allocate Renewable Energy Sources (RESs) and Electric Vehicle (EV) parking lots simultaneously | Space complexity |
SG architecture [28,29] | Incentive DR | Provide incentives to consumers | Third-party involvement |
Grid-connected Micro-Grids (MGs) [30,31] | MG operational costs, RES costs | Reduce the operational costs | Overlooking user satisfaction |
RES-powered MG [32] | RES costs and DR strategy information | Cost reduction and incentives for DR users | Volatile nature of RESs |
Cloud- and edge-based network [33] | Services provided by edge servers | Secure service provisioning to Internet of Things (IoT) devices | Spoofing attacks are not considered |
Deregulated SGs [34] | Fair data sharing | Provide privacy to customers | Tradeoff between accuracy and privacy |
Online data storage scheme [35] | Robustness against attacks | Ensure privacy provisioning to users’ data | Time complexity |
Medical data sharing [36] | Avoidance of sensitive medical information disclosure | Privacy provisioning to medical data of patients | Time complexity |
Data sharing [37] | Secure and authorized data sharing | Honest reviews given to data files | Time complexity |
Document sharing [38] | Secure and trusted document sharing and version control | Facilitate multi-user collaboration | Time complexity |
Data traceability framework [39] | Transparent and authorized data sharing | Provide transparent audit tracking to track data delivery | Security issues |
Parameters | Paper [43] | Our Paper |
---|---|---|
System model | Four major entities are used in the system model, which include agents, EVs, Charging Stations (CSs), and Mobile Charging Vehicles (MCVs). MCVs act as mobile discharging electricity providers in the proposed work | More than four major entities are used in the proposed system model. Agents are replaced by Roadside Units (RSUs) and MCVs are replaced by Mobile Vehicles (MVs) (acting as prosumers) |
Blockchain network type | Consortium blockchain is used | Public blockchain is used |
Consensus mechanism used | Not explicitly mentioned | Proof of Work (PoW) consensus mechanism is used |
Mathematical formulation done | Four different costs are calculated, which are summed to get the total charging cost. Furthermore, user satisfaction is calculated | Distance to the charging entity, time required to travel that distance, time required to charge the vehicles, and time required for data storage are calculated along with four different costs involved in total charging cost |
Data used | Real-time data of Beijing are used | Real-time data of four EVs are used |
Major contributions | Charging scheduling is done and charging cost is calculated. Furthermore, user satisfaction is also considered. Moreover, a hybrid charging scenario, i.e., Mobile Charging Vehicle-to-Vehicle (MCV2V), is proposed. A double-objective optimization model is used, and an improved algorithm, termed the Non-Dominated Sorting Genetic Algorithm (NSGA), is proposed | Charging scheduling is done and charging cost is calculated. The new charging strategy, i.e., Mobile-Vehicle-to-Vehicle (M2V), is proposed, which is not a hybrid strategy. The data storage issue is solved using the IPFS, in which data is stored after filtration and time for data storage is calculated. Distance to the nearest charging entity and the time taken to cover that distance are also calculated. Furthermore, time taken to charge the vehicles and reputation values are calculated. To promote user participation, an incentive provisioning mechanism is designed and location privacy is also provided. |
Performance parameters used | Driving speed, location of charging/discharging entities, time of waiting are used | Gas consumption of smart contracts, mining time taken, and number of hashes generated using blockchain technology are used. Moreover, storage time, traveling time, charging time, reputation values, and charging and traveling costs are also used |
Limitation Number | Limitation Identified | Solution Number | Proposed Solution |
---|---|---|---|
L.1 | Authentication of vehicles | S.1 | Authorization Unit (AU) is used to authorize every new incoming vehicle before it becomes part of the network |
L.2 | Data redundancy removal | S.2 | Data filtration is done through the Transport System Information Unit (TSIU), which helps in reducing the data redundancy |
L.3 | Data storage | S.3 | Using the Inter-Planetary File System (IPFS) and TSIU, the data storage issue is solved, as only important and filtered data are saved in the network |
L.4 | Charging cost reduction | S.4 | Mathematical formulation is done to calculate the charging cost and reduce it |
L.5 | Charging time calculation | S.5 | The time taken to charge the vehicles is calculated beforehand to reduce time complexity |
L.6 | Shortest distance calculation | S.6 | The distance between the EV and charging entity is calculated using the Great-Circle Distance formula |
L.7 | Charging scheduling | S.7 | Algorithms are designed to schedule the charging of vehicles |
L.8 | Location privacy | S.8 | Location privacy is achieved using the AES128 encryption scheme |
L.9 | Lack of user participation | S.9 | Users are given incentives to increase their interest and participation in the proposed work |
Manufacturer | Model | Top Speed (kph) | Charging Time (hours) | Battery Capacity (kWh) |
---|---|---|---|---|
BMW | i3 | 150 | 4–5 | 42.2 |
Kia | e-Soul | 156 | 6–7 | 42 |
Nissan | Leaf | 144 | 11–12 | 40 |
Volkswagen | e-Golf | 150 | 5–6 | 35.8 |
Paper [43] | Our Paper | Difference |
---|---|---|
= ∑ + ∑ + ∑ | = ( * ∑ ) + ( * ∑ ) + ( * ∑ ) | These equations are used for calculating the charging cost in both papers. In [43], the prices charged by charging stations, MCVs, and discharging EVs are multiplied by the amount of energy provided by these entities, respectively. However, in our paper, we multiplied the generation cost with the selling cost and then summed all to get the total cost. Hence, the difference lies in that we do not include the amount of energy provided by the entities during calculation. |
= + | = ( * )+( * )+( * ) | These equations are used for calculating the cost incurred while traveling, known as the distance cost. In [43], this cost is calculated considering the distance to travel and the time taken to cover that distance. In this paper, this cost is calculated in terms of generation costs and the distance to travel. Hence, the difference is that we are not considering the time in this equation. |
= ∑ (Z – z) | = ( ( * diff(V,v)) * ( ∑+∑ ) ) | This equation is used to calculate the waiting cost while the vehicle waits to be charged. In [43], this cost is calculated as a product of waiting cost and the difference between the number of a specific vehicle and the total number of vehicles. This equation includes the waiting times of all the entities involved and then takes their aggregate. Hence, the difference is that, previously, this equation only involved a single entity, while currently, it involves all types of entities. |
= | = (Q * ) * (+) or = –(Q * ) * (+) | This equation is used to calculate the amount of reward given to the nodes. In [43], only the reward is calculated on the basis of verified transactions. In our case, the reward and penalty are both calculated, which restricts the nodes from malicious activities. |
= + + + | = + + + | This equation is the same in both papers, as it only aggregates the equations given above into one equation. |
min () = + + + | min () = + + + | This equation gives the objective functions of both papers. It is similar in both papers because they both aim at reducing the overall charging cost. |
0 ≤ ≤ , 0 ≤ ≤ , ≤ ≤ and 0 ≤ | 0 ≤ ≤ , 0 ≤ and max () or min () | These are the constraint equations for the objective function. These are almost same, except that, in our paper, the numbers of units saved or wasted are also considered as constraints for the objective function. |
Parameter | Values |
---|---|
1–5 m | |
16–32 Amperes | |
0–40% | |
0–1 |
Parameters | Values |
---|---|
Battery capacity of an EV | 40–45 kWh |
Charging time of an EV | 6–8 h |
Electricity price | 10–14 cents/kWh |
Maximum number of vehicles in a queue | 10 |
Threshold distance for MV | 10 km |
Multiplier | Name |
---|---|
Wei | |
Szabo | |
Finney | |
Ether |
Limitation Number | Limitation Identified | Proposed Solution | Validation Results |
---|---|---|---|
L.1 | Authentication of vehicles | S.1 | No direct validation |
L.2 | Data redundancy | S.2 | To remove data redundancy in the proposed work, data filtration is performed. The comparison between the time taken to store redundant data and filtered data is shown in Figure 9. |
L.3 | Cost of storing data in the IPFS | S.3 | Figure 10 shows the gas consumed while uploading and saving data in the IPFS. |
L.4 | Charging cost reduction | S.4 | Figure 11 and Figure 12 present the cost comparison between different entities. The former shows the difference between reward and payment, whereas the latter shows the difference between three charging scenarios. |
L.5 | Time taken for vehicles’ charging | S.5 | The time taken to charge vehicles with different State of Charge (SoC) values is shown in Figure 13. |
L.6 | Time complexity | S.6 | Figure 14 shows the time taken to traverse the distance between a vehicle and the nearest charging entity. |
L.7 | Charging scheduling | S.7 | No direct validation; however, it contributes to the charging cost reduction, which can be seen in Figure 11 and Figure 12. |
L.8 | Location privacy | S.8 | No direct validation; however, the effect can be seen in the increase in participation rate in Figure 19. |
L.9 | Lack of user participation | S.9 | Figure 19 presents a three-dimensional graph relating reputation value, incentives, and the user participation. |
Vehicle identity | Public key | Private key |
---|---|---|
Vehicle 1 | 04e4c6...47979f | 7429f2...886b52 |
Vehicle 2 | 04260a...0a95e9 | ed9acc...65b48d |
Vehicle 3 | 049b61...bee1ae | 35ea24...bf841f |
Vehicle 4 | 047ec6...16a608 | 24cad1...f49eec |
Vehicle 5 | 04e8a0...9e150f | 36aa54...acffac |
Vehicle 6 | 04e4c6...47979f | 7429f2...886b52 |
Vehicle 7 | 04260a...0a95e9 | ed9acc...65b48d |
Vehicle 8 | 049b61...bee1ae | 35ea24...bf841f |
Vehicle 9 | 047ec6...16a608 | 24cad1...f49eec |
Vehicle 10 | 04e8a0...9e150f | 36aa54...acffac |
Parameter | Value |
---|---|
transaction hash | 0x2e104...a93a6 |
contract address | 0x35ef0...450cf |
from | 0xca35b...a733c |
to | EV.(constructor) |
transaction cost | 998685 gas |
execution cost | 713861 gas |
hash | 0x2e104...a93a6 |
input | 0x608...a0029 |
decoded input | {} |
decoded output | – |
logs | [] |
Parameter | Value |
---|---|
transaction hash | 0x53cbd...cba6a |
from | 0xca35b...a733c |
to | 0x35ef0...450cf |
transaction cost | 25455 gas |
execution cost | 1852 gas |
hash | 0x53cbd...cba6a |
input | 0x16e...00000 |
decoded input | { “address Make”: “Honda”, |
“address Model”: “X”, | |
“uint256 Batterysize”: “12” } | |
decoded output | {} |
logs | [] |
Parameter | Value |
---|---|
transaction hash | 0xdabdb...0bbdc |
from | 0xca35b...a733c |
to | 0x35ef0...450cf |
transaction cost | 24531 gas |
execution cost | 1875 gas |
hash | 0x53cbd...cba6a |
input | 0x16e...00000 |
decoded input | { “address Make”: “Tesla”, |
“address Model”: “S”, | |
“uint256 Excessenergy”: “10” } | |
decoded output | {} |
logs | [] |
Parameter | Value |
---|---|
transaction hash | 0x68107...f30b3 |
from | 0xca35b...a733c |
to | 0x9876e...04485 |
transaction cost | 22135 gas |
execution cost | 836 gas |
hash | 0x68107...f30b3 |
input | 0x0bd...e1749 |
decoded input | {} |
decoded output | { “uint256 Start”: “10”, |
“uint256 End”: “11”, | |
“uint256 Requiredenergy”: “5” } | |
logs | [] |
Parameter | Value |
---|---|
transaction hash | 0x16f16...87424 |
from | 0xca35b...a733c |
to | 0x9876e...04485 |
transaction cost | 23098 gas |
execution cost | 1698 gas |
hash | 0x16f16...87424 |
input | 0xba4...00000 |
decoded input | {} |
decoded output | { “uint256 Start”: “11”, |
“uint256 End”: “12”, | |
“uint256 Requiredenergy”: “8” } | |
logs | [] |
Transactions | Diff. Level = 2 | Diff. Level = 3 | Diff. Level = 4 | |||
---|---|---|---|---|---|---|
Mining Time (ms) | Hashes Generated | Mining Time (ms) | Hashes Generated | Mining Time (ms) | Hashes Generated | |
Transaction 1 | 14 | 48 | 98 | 1414 | 2781 | 49744 |
Transaction 2 | 21 | 84 | 116 | 2197 | 3261 | 58409 |
Transaction 3 | 23 | 157 | 228 | 3203 | 3452 | 60456 |
Transaction 4 | 25 | 160 | 233 | 3277 | 3785 | 65287 |
Transaction 5 | 25 | 243 | 283 | 4372 | 4025 | 72856 |
Transaction 6 | 27 | 260 | 315 | 5125 | 4232 | 77465 |
Transaction 7 | 29 | 266 | 600 | 7538 | 4618 | 88631 |
Transaction 8 | 36 | 273 | 639 | 10400 | 5780 | 97964 |
Transaction 9 | 44 | 502 | 645 | 11035 | 6605 | 109892 |
Transaction 10 | 69 | 515 | 847 | 11063 | 6627 | 110688 |
© 2020 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
Javed, M.U.; Javaid, N.; Aldegheishem, A.; Alrajeh, N.; Tahir, M.; Ramzan, M. Scheduling Charging of Electric Vehicles in a Secured Manner by Emphasizing Cost Minimization Using Blockchain Technology and IPFS. Sustainability 2020, 12, 5151. https://doi.org/10.3390/su12125151
Javed MU, Javaid N, Aldegheishem A, Alrajeh N, Tahir M, Ramzan M. Scheduling Charging of Electric Vehicles in a Secured Manner by Emphasizing Cost Minimization Using Blockchain Technology and IPFS. Sustainability. 2020; 12(12):5151. https://doi.org/10.3390/su12125151
Chicago/Turabian StyleJaved, Muhammad Umar, Nadeem Javaid, Abdulaziz Aldegheishem, Nabil Alrajeh, Muhammad Tahir, and Muhammad Ramzan. 2020. "Scheduling Charging of Electric Vehicles in a Secured Manner by Emphasizing Cost Minimization Using Blockchain Technology and IPFS" Sustainability 12, no. 12: 5151. https://doi.org/10.3390/su12125151
APA StyleJaved, M. U., Javaid, N., Aldegheishem, A., Alrajeh, N., Tahir, M., & Ramzan, M. (2020). Scheduling Charging of Electric Vehicles in a Secured Manner by Emphasizing Cost Minimization Using Blockchain Technology and IPFS. Sustainability, 12(12), 5151. https://doi.org/10.3390/su12125151