Next Article in Journal
Fuel Economy of Plug-In Hybrid Electric and Hybrid Electric Vehicles: Effects of Vehicle Weight, Hybridization Ratio and Ambient Temperature
Next Article in Special Issue
Battery Electric Vehicle Fast Charging–Evidence from the Norwegian Market
Previous Article in Journal
Research on the Electromagnetic-Heat-Flow Coupled Modeling and Analysis for In-Wheel Motor
Previous Article in Special Issue
Iron Loss Modelling of Electrical Traction Motors for Improved Prediction of Higher Harmonic Losses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Cloud-Based Big Data Platform for Vehicle-to-Grid (V2G) †

Vehicle Controls Department, AVL Powertrain UK Ltd., Langdale House, Sable Way, Southfield Business Park, Laindon, Basildon, Essex SS15 6LN, UK
*
Author to whom correspondence should be addressed.
This paper is an extended version of our paper “Cloud-based Big Data Platform for Vehicle-to-Grid (V2G)” presented at 32nd International Electric Vehicle Symposium 2019 (EVS 32), Lyon, France, 19–22 May 2019.
World Electr. Veh. J. 2020, 11(2), 30; https://doi.org/10.3390/wevj11020030
Submission received: 24 January 2020 / Revised: 19 March 2020 / Accepted: 23 March 2020 / Published: 25 March 2020

Abstract

:
Battery Electric Vehicles (BEVs) have increasingly become prevalent over the past years. BEVs can be regarded as a grid load and as a way to support the grid (energy buffering), provided this extensive battery usage does not affect the BEV’s performance. Data from both the vehicle and the grid are required for effective Vehicle-to-Grid (V2G) implementation. As such, a cloud-based big data platform is proposed in this paper to exploit these data. Additionally, this study aims to develop smart algorithms, which optimise different factors, including BEV cost of ownership and battery degradation. Dashboards are developed to provide key information to different V2G stakeholders.

1. Introduction

The penetration of Battery Electric Vehicles (BEV) has been faster than expected in part due to a recent diesel emission scandal and decreasing battery price. A KPMG report [1] highlighted that BEVs would be between 11–15% of new vehicle sales within EU and China by 2025. Within the UK, the market will comprise 16–20% of vehicles over the next 10 years. Several Original Equipment Manufacturers (OEM) have aligned themselves with these projections: Volkswagen Group planned to release 80 new variants of BEV by 2025, Volvo announced that after 2019 all vehicles would be partially or completely battery-powered, and Ford will introduce 13 new BEV models over the next 5 years. Due to the low energy density of the battery, BEV users have concerns when the battery is reaching its bottom level and whether next charging station is available and in the proximity. Even though the number of charging station is increasing rapidly, it would be a challenge to meet rapid BEV penetration. For example, it is predicted to be 1 million electric vehicles on the road in the UK by 2020s, which is 10 times greater than the current number of vehicles. The charging infrastructure must increase by at least the same amount to maintain similar service [2]. The expansion of the charging stations must be in adequation to the customer’ needs. Quddus et al. [3] proposed a model for this expansion, considering the integration of renewable energies.
One drawback of BEV penetration is the increasing load on the electrical grid during the peak hours when BEVs are charging. Two solutions exist; increase the grid capacity or develop smart charging. The first solution is expensive, while the second one, easier to implement, requires better charging management [4,5,6,7,8]. In addition to smart charging, Vehicle-to-Grid (V2G) offers the possibility for BEVs to support the grid owing to their large-capacity battery. The benefits of V2G have yet to be fully explored and communicated to stakeholders, including BEV owners, vehicle manufacturers, energy suppliers and government. Yilmaz and Krein [9] and Ehsani et al. [10] proposed a wide review of the V2G potential benefits and applications. OEMs could integrate, in their future BEV models, built-in V2G capability, including a bi-directional charging system. Charging stations could allow bi-directional power flow, and, finally, utility companies could define the battery energy selling price. Recent reports highlight the V2G charger market will grow at a Compound Annual Growth Rate (CAGR) of 50.05% during the period of 2018-2022 [11]. Each BEV connected to the grid could be used as bidirectional energy storage – storing renewable energy when available and releasing that energy during peak demand [12]. The peak shaving capability and benefits enabled by V2G have been emphasised by Aziz et al. [13] and Li et al. [14]. A research thesis by Kaufmann [15] estimates the financial return from V2G could be circa $1275 per vehicle every year, while the NREL claimed in 2015 that circa $1825 per vehicle every year is achievable.
V2G with high BEV penetration could provide new opportunities and threats to the electricity market. As stated in “Electric Vehicles” IRENA report [16], there is a potential for the electricity market to adopt structures and a regulatory framework that enables V2G business models to decarbonise the grid, improve efficiency and mitigate the need for grid-reinforcement. The willingness for the population to adopt BEV and V2G is crucial. Some surveys and studies focus on this willingness, especially in Northern Europe countries [17,18,19]. They highlight the need for clear government positions and regulations. Wang et al. [20] introduced a rewarding scheme based on blockchain, which could encourage the willingness for V2G adoption. Increased percentage penetrations of wind and solar will underpin a greater need for V2G to both optimise the integration of these resources and to balance frequency disturbances created from their variability in a generation [21,22,23]. According to Navigant Research, frequency regulation revenue will reach $190.7 million by 2022 [24].
Previous projects considered an optimisation approach to enable V2G. In Nguyen and Le’s analysis [25], optimisation is done on BEV and home energy scheduling. The goal is to minimise electricity cost and user discomfort. Another study aims to minimise the plug-in electric vehicle charging cost proposing six algorithms [26]. The battery supporting the grid will operate more often than battery only used for vehicle propulsion. Those extra battery cycles may lead to faster battery degradation [27]. In Wang et al. analysis [28], a minor lifetime reduction is observed. Another study [29] analysed the profitability of V2G, considering battery degradation. It concluded that considering energy prices and battery costs, V2G is not currently profitable for BEV owners, but the expected battery cost reduction could provide benefits to future BEV owners. V2G could be an opportunity to introduce dynamic electricity pricing, as discussed in [30]. The majority of the aspects of V2G have been studied separately in different previous research works. However, for a fully functional V2G system, all aspects must be considered at the same time on a common platform, which this work is addressing.
In this paper, the aim is to optimise the charging cost and battery degradation for BEV using Dynamic Programming (DP). In the rest of the paper, “charging optimisation” refers to charging and discharging optimisation based on electricity cost and battery degradation. Before performing the optimisation, smart algorithms using machine learning are developed to predict whether the vehicle will be plugged in, the charging duration, the next trip destination, the next trip distance, and the next trip energy required. The novelty lies in the usage of a cloud-based platform and the data-driven approach adopted. Until BEV range becomes sufficiently high or charging stations become as prevalent as gas stations, data from vehicles and charging stations will continue to play a key role in mitigating range anxiety. These data can be stored in the cloud and enriched with additional sources, such as electrical grid information and battery degradation model, for further analytics. Once the creation of the integrated database is ready, it could be used for various purposes. BEV owners, for instance, could reap the benefit of the charging optimisation by reducing electricity cost, and OEMs could use this database to understand how battery degradation would differ with various charging and driving behaviours. Charging station providers could utilise this database to design charging infrastructure to provide a better service to BEV owners. For government or utility providers, the database can enhance understanding of electricity load and mitigate electricity load issues due to high electricity demand from BEV. Figure 1 illustrates the V2G data platform and its potential users.
The key objective of this paper is to develop state-of-the-art V2G analysis tools and model for:
(1)
the creation of a smart data collection and management infrastructure, and
(2)
advanced analytics, including charging optimisation.
As data format from vehicle and grid is different, it is important to convert and combine these data into a common format. A Not only Structured Query Language (NoSQL) database is used due to its flexibility and capability to deal with this type of data. The database is implemented in the cloud in order to reduce memory and computation burden on the vehicle or on the On-Board Charger (OBC). Based on the data stored, algorithms, such as route prediction, BEV range prediction and charging optimisation, have been developed. Finally, the results are shared with target customers via an online dashboard.
The second section of this article details the data pipeline with information about data logging and enrichment. The database characteristics are also discussed, as well as cloud architecture. The third section explains the development of the algorithms, the way they work and implementation output. The fourth and penultimate section highlights analysis results and topics to investigate further, before conclusion remarks.

2. Materials and Methodology

For this research, real-world data from 15 vehicles and more than 5000 trips over 1 year have been logged internally (Figure 2). Data loggers are installed via vehicle On-Board Diagnostics (OBD) port, and CAN data are recorded and transferred to Secure FTP (SFTP) server. These data are pre-processed in terms of data quality, consistency check and data reformatting. The data on the individual contains the vehicle speed, GPS coordinates, ambient temperature, date and time. The driver identity, home and work addresses and vehicle type are not collected to ensure driver’s privacy. The approach detailed in this manuscript requires the GPS position at the start and end of the trip. BEV GPS positions are logged for optimisation purposes only and not shared for any other purpose. Drivers that do not want to be tracked by GPS would not benefit from this solution. Vehicle information is used to create the metadata and merged with vehicle time-series data, forming the primary data for the database. Some important information, such as electricity cost and charger information (i.e., location, power), cannot be logged by the datalogger; hence external sources are required to enrich the database. This database is additionally enriched with secondary information, constituting electricity cost and charger information, both of which come from external sources (e.g., Google Application Programming Interface (API), HERE API).
The electricity cost is averaged after gathering the prices from the “Big Six” in the United Kingdom (British Gas, EDF, E. ON, npower, SSE, Scottish Power). One and two rate tariffs are taken into account, making the price ranging from GBP (pound sterling) 0.162/kWh to GBP 0.197/kWh. There is currently no tariff when selling the BEV electricity to the grid in the UK. However, at the beginning of 2010s, the electricity generated by individuals from photovoltaic panels was sold at GBP 0.44/kWh to the grid. Based on this information, the price for selling to the grid is assumed to be from GBP 0.25/kWh to GBP 0.45/kWh to consider both single and two rate tariffs. The charger information is queried from API, such as HERE (https://www.here.com/) or OpenChargeMap (https://openchargemap.org/site), where GPS coordinates and charging power are extracted. As V2G compatible chargers are not available at commercial scale, it is assumed that all chargers are reversible and allow V2G.
At this stage, all the data are available and need to be stored in a database. Two database types have been considered for this study: Structured Query Language (SQL) and Not only SQL (NoSQL). SQL is often used to store a relational database in a table format, while NoSQL is not limited to rows in a table and thus supports a non-relational database. NoSQL is schema-free as it consists of documents with different formats: time-series, string and single value. NoSQL is selected for this research due to its high flexibility and scalability [31]. MongoDB is the database program chosen to support the database owing to its capability to store data in JSON-like documents and its compatibility with Python.
Smart algorithms have been first developed on local machines before being pushed to the cloud. They can benefit from the computation power of the cloud and hence remove the need for embedded computation capabilities in the vehicle. Microsoft Azure is the cloud solution chosen. A Windows-based virtual machine is created where the database is synchronised with an on-premises server database (MongoDB). On the on-premises server-side, the database is uploaded to a Blob storage service via a script. Blob storage is a Microsoft Azure service for data storage in the cloud, and it can store any type of data, such as photos, videos, texts, etc. Then, on the cloud, the opposite process is done with another script that downloads the database from Blob storage. The smart algorithms, initially developed locally, are run in the cloud, and their outputs are stored in the database (Figure 3). The calculation outputs are analysed, and dashboards are created to visualise the results. A Power BI Gateway is required in order to make the data available online. Three PowerBI dashboards are created, considering different targets: the BEV owners, the charger providers/utility companies and the OEMs.

3. Development and Results

Once the database is ready, it can be used with algorithms. As mentioned in the previous section, depending on the stakeholder, analytics may be different. In this paper, charging optimisation for BEV owners is investigated. Charging optimisation requires relevant information, such as next trip route prediction and next trip range, both required to set battery State-of-Charge (SOC) target. Figure 4 depicts the algorithm flow diagram. The various algorithms depicted are detailed in the next section. The database contains all the information required to control and predict the charging power for each vehicle. The only extra input required is the Vehicle Identification Number (VIN) in order to select the appropriate vehicle data for the algorithms.
The data are logged from conventional vehicles. Hence, as part of the data pre-processing, these data must be converted to BEV data. For this purpose, a BEV model, representing a C-segment vehicle with a 24 kWh onboard battery capacity, has been developed. The converted data, including battery power, SOC and average energy consumption, are then stored in the database for use as an input to the other algorithms.

3.1. Charging Pattern Prediction

The charging pattern algorithm consists of two parts, as depicted in Figure 5. The objective of the first part of this algorithm is to predict the stop date and time of the parking event (ParkEventStopTime). The second part outputs a binary indicator of whether the vehicle is plugged in (i.e., charging) or not during the parking event (FlagCharging).
ParkEventStopTime is determined using the predicted duration of the parking event. This is a regression problem as the duration, which is an output, is a continuous value. As implemented in [32], feature importance is assessed to determine the significance of the various variables for predicting the output, which is parking duration in this case. The most important variables are found as start and stop location, start and stop time of the trip finished and a binary indication of either weekend or weekday. Parking duration prediction is then implemented and tested using both Decision Tree and Random Forest machine learning methods.
Decision Tree is an efficient machine learning approach for solving both regression and classification tasks. Random Forest is a collection of Decision Trees run in parallel and averaged to get a final prediction. The implementation details of both Decision Tree and Random Forest in this paper are depicted in Table 1. For a more detailed treatment of these approaches, the reader is referred to [33].
Performance comparison between Decision Tree and Random Forest is evaluated using Mean Absolute Error (1) and by examining the correlation between true and predicted values of parking event duration.
M A E   [ h ] = i = 1 N | y i x i | N ,
where y stands for real parking duration, x . is the predicted parking duration and N is the number of observations in the test set. Results suggest that Decision Tree performs better than Random Forest according to the Mean Absolute Error and correlation coefficients between predicted and true values of parking event duration. Mean Absolute Errors are 2.39 and 2.91 h, and correlation coefficients between real and predicted values are 0.65 and 0.41, respectively.
Moving on to prediction of the charging indicator FlagCharging, researchers have examined the various factors, affecting the user’s choice of whether to charge a vehicle or not [34]. Prediction of a charging event is a binary classification type of problem, where output 0 refers to a vehicle not being plugged-in, output 1 refers to the vehicle being plugged-in. The next trip distance (as per Section 3.3) and parking duration are chosen to be the inputs.
The dataset used for determining FlagCharging is collected for My Electric Avenue (MEA) project [35]. This external dataset is used because it provides information on whether a vehicle is plugged in (i.e., charging) during a parking event or not. The input variables used for the predictive models adopted are start and stop time of the trips and start and stop time of charging events. Decision Tree and Random Forest machine learning models are then implemented on the MEA data as per Table 1. Table 2 shows the accuracy results of both models, where accuracy is computed as the percentage of correct predictions among all predictions.
From the accuracy results in Table 2, Random Forest provides more accurate results compared to the Decision Tree. Thus, Random Forest is chosen as a final predictor of whether a vehicle is plugged-in or not.

3.2. Route Prediction

The aim of the algorithm described in this section is to predict next trip destination (NextTripDestination) using the vehicle’s current and historical locations, as well as the time at the end of a parking event, as depicted in Figure 6.
The route prediction problem in this paper is equivalent to a destination prediction problem. Destination prediction has been widely studied [36]. In this paper, potential destinations are first identified by examining locations of significance using a spatial clustering algorithm. Then, a Markovian approach is used for destination prediction.
The most challenging part of the clustering algorithm is geographical data pre-processing. The geographical data used consists of a sequence of destinations in the form ( x ,   y ) , where x is latitude, y is longitude. A commonly used algorithm for clustering is Density-Based Spatial Clustering of Applications with Noise (DBSCAN) [37], and this is the one selected here.
The DBSCAN algorithm requires two parameters: ε (epsilon) and m i n P t s (minimum number of points). It outputs two sets of points: cluster points and noise. The algorithm randomly selects one point (location in this case) and counts the number of points within ε around the selected point. If the number of counted points is at least equal to m i n P t s , then a cluster is formed. The next step is to check if the criteria are met for other points inside the formed cluster; meaning that if we consider ε distance around each point inside the cluster and it is found that there are at least   m i n P t s enclosed within ε, then the enclosed points are added to the cluster. Otherwise, a point that does not enclose m i n P t s within ε is defined as noise. This process is repeated until all points are classified as either within-cluster or noise. In Figure 7, blue points are shown to form a cluster, while green ones are classified as noise.
In this paper, the algorithm parameterisation is; ε = 0.3   km and m i n P t s = 5 . This parameter choice is arrived at after examining various parameter values. Table 3 summarises this parameter variation where m i n P t s is arbitrarily fixed at 5. The parameter ε is varied in steps of 0.1 km from 0.3 km to 0.5 km. The percentage of noise (“% of noise” column) represents the proportion of points that do not belong to any cluster. The smaller ε is, the more points are defined as noise as there are not enough neighbours ( m i n P t s ) within ε to form a cluster. Also, the number of clusters increases with the reduction of ε . Clustering with ε = 0.3 is adopted for further analysis after finding that it yields the most geographically relevant clustering using Google Maps, as shown in Figure 8.
Finally, now that all locations have been clustered into potential destinations, a Markovian approach is used for the destination prediction problem. The Markov chain method is used here, owing to its applicability to problems with sequential data [38]. The set of clusters form the state space for the Markov Chain, meaning that movement from one cluster to another is a transition between states. The following three steps give an overview of the implementation of the Markov chain method:
(1)
A sequence representing the movement of a vehicle between clusters (i.e., states) is established. Let s = { s 1 , s 2 , s 3 , , s r } be the set of states that can be assumed.
(2)
Define the Transition Probability (TP) from state s i to state s j as p i j . A TP matrix S = ( p i j ) is computed from historical data, where
p i j = P ( s i s j ) = N ( s i s j ) n = 1 n = r N ( s i s n ) ,
(3)
If the start location is the cluster i , the i th row of the TP matrix is used to predict the next destination since the row represents probabilities of movement from cluster i to all the other clusters.
The data used for calculating TP matrix are divided into “time-windows”, as proposed in [39,40,41]. This can be justified by the assumption that a person’s driving habits highly depend on the time of the day and the day of the week. For example, one may always drive from home to office between 7:00 am and 9:00 am on weekdays. The algorithm is tested on 1037 destinations of a vehicle. Results of the destination prediction algorithm can be seen in Table 4 and Table 5.
The accuracy measures used in Table 4 and Table 5 are defined in the following equations:
A ccuracy   [ % ] = #   o f   c l u s t e r s   p r e d i c t e d   c o r r e c t l y t o t a l   #   o f   p r e d i c t i o n s × 100 ,
Mean   distance   error   [ km ] = 1 N ( D i s t R e a l D i s t P r e d i c t e d ) t o t a l   #   o f   p r e d i c t i o n s ,
Error   [ % ] = M e a n   d i s t a n c e   e r r o r A v e r a g e   t r i p   d i s t a n c e × 100 .
Equation (3) represents the amount of correctly predicted clusters over the whole set of clusters as a percentage. Equation (4) stands for mean distance error, which is an average difference in distances between real destination and the predicted one, in kilometres. Equation (5) is a proportion of mean distance error over average trip distance, in percentage.
The results in Table 4 and Table 5 confirm the benefits of dividing the prediction into different time-windows. Without time-windows, the prediction accuracy is 42%. With time-windows, the prediction accuracy is always more than 50% for weekdays and at least 71% for the weekend. It can go up to 100% in some cases. The weekday (with time window) in Table 4 has one large mean distance error occurring from 06:00–10:00. This has been found to be due to a rarely driven route, affecting the metric calculation in the end.
Note that for destination prediction, it is assumed that only destinations present in the available data will be reached. In case of an unexpected trip, such as emergency or rare trips, the prediction accuracy would, as expected, drop. The prediction accuracy, especially for unexpected trips, could be improved with more data, including driving and charging data, as well as data from additional sources, such as a mobile phone. Assuming the integration of this solution in a smartphone application, the BEV owner would be able to select a “V2G” mode amongst different charging modes. This mode would allow the configuration of some parameters in order to compensate for unexpected and rare trips. Alternatively, the user could manually set up the next trip destination and start time in the case of rare trips.
The final step of this algorithm is to draw a route to a predicted destination by sending a request to a Google API and getting output in the form of coordinates of the predicted destination.

3.3. BEV Range Prediction

The purpose of this algorithm is to predict the range required for the next trip; it requires knowledge of the next trip distance. The next trip SOC is then input into the charging optimisation, while the next trip distance is an input for the second part of the charging pattern (Figure 9).
The BEV range prediction is a well-known research topic in order to accurately define the BEV range and reduce the range of anxiety [42,43]. The fundamental input is historical data. Additionally, road type, driving style or weather could be taken into account for the improvement in prediction accuracy. A previous study [44] created three models: physical, energy and SOC-based. For the current study, only an energy-based model is implemented. Different models have been developed considering distance, road type and average vehicle speed with the purpose of predicting the next trip average consumption. The first model considering the overall consumption is predicting only one single average consumption value, which is not accurate enough. The second and third models consider, respectively, the next trip distance and the next trip road type. Unlike the first method, these methods provide more accurate results, but the prediction is slightly underestimated. A fourth model considers the road type and the average vehicle speed but does not improve the results. Finally, the fifth method, using average fuel consumption and average vehicle speed, provides the most accurate prediction. A post-processing step is necessary to calculate the average consumption versus average vehicle speed trendline. This trendline is stored in the database (Figure 10) and will be updated regularly to consider the latest data. Figure 10 depicts the trendline using all vehicles’ data; however, for better optimisation, each vehicle has its own trendline made with its own data. For each trip, the consumption and speed are averaged and displayed. From the figure shown, a trend can be seen with high average consumption for average speed lower than 10 km/h. Then, from 10 km/h to 50 km/h, average consumption remains almost constant. Finally, above 50 km/h, the average consumption increases as the average speed. The average blue line is defined as calculating the average of average consumption for each time window of 1 km/h.
With knowledge of the next trip destination, start time and location, the next trip distance and average speed are defined using Google API (Figure 11). Next trip average speed combined with the trendline stored in the database allows getting the next trip average consumption. The rest of the calculation follows from the following equations:
E N e x t T r i p [ kWh ] = C o n s u m p t i o n N e x t T r i p × D i s t a n c e N e x t T r i p
S O C N e x t T r i p [ % ] = E N e x t T r i p C B a t t e r y × 100
Each vehicle has its own trendline defined using its own data; therefore, an assumption of having one unique driver per vehicle is made, and the average consumption is tailored for each vehicle. This is a way to consider somehow the driving style, as an aggressive driving style leads to higher consumption as compared to a calm driving style.

3.4. Charging Optimisation

The last algorithm is fundamental, where the charging power profile is defined. The inputs are the initial SOC, the SOC for the next trip, the parking duration (start and stop date-time), charger power and electricity cost. All these parameters allow the charging optimisation to define the power profile with duration, cost, power and SOC constraints (Figure 12).
Charging optimisation topics have been studied in previous projects. Some studies utilise Dynamic Programming (DP) [45,46], Multi-Objective Particle Swarm Optimisation (MOPSO) [47], Genetic Algorithm (GA) [48] or heuristic method [49] to define an optimal way to define the charging profile considering different parameters: charging duration, efficiency, charging voltage, temperature, grid operation cost, etc.
The charging optimisation utilises DP as it allows the computation of the global optimal solution. DP has been widely used for path optimisation and to obtain an optimal SOC profile of hybrid electric vehicles [50]. In this project, DP will be used to find the optimal charging power profile. The principle of DP is to break down a complicated problem into multiple and simpler problems to solve. First, DP runs backwards from the end of the optimisation problem to the beginning to construct a map of optimal control actions at all possible state variable values and time steps. From this, the related optimal state variable profile can be obtained by simply simulating the model forward in time. Starting from a known initial state and proceeding towards the end of the problem, a one-time step at a time while determining the optimal control action at each time step based on the optimal control map. Optimality is defined with respect to the cost function (8) that is made of two parts: the electricity cost when charging or discharging and the battery degradation cost. Each of the parts is in units of GBP and have a weighting factor. The optimal solution must additionally respect the problem constraints, such as the final SOC (originating from BEV range prediction, NextTripSOC) level that will allow covering the next trip distance. The state variable chosen for this optimisation problem is the battery SOC, whereas the charger power acts as the control variable. Here, the power to charge or discharge the battery will be capped between the minimum and maximum charger power. It is assumed that all chargers are reversible, hence allowing V2G usage. The last parameter to be defined is the grid discretisation of the state and control variables (battery SOC and charging power, respectively), as well as the length of the time step. Generally, the finer the discretisation size, the more accurately the discretised optimisation problem approximates the underlying continuous problem. Thus, the optimal solution obtained from the discretised problem is closer to the optimal solution of the real-world continuous problem. On the other hand, a finer discretisation grid will increase the number of computations required and will consequently take longer to complete. The discretisation is fixed in order to spend around 1% of the charging event duration to compute DP.
J = w 1 c o s t c h g / d c h g + w 2 c o s t b a t t   d e g r a d a t i o n
c o s t c h g / d c h g [ G B P ] = P c h g / d c h g c o s t e l e c
c o s t b a t t   d e g r a d a t i o n [ G B P ] = Δ b a t ( t ) . c o s t b a t t
where c o s t c h g / d c h g (9) is the electricity cost when charging or discharging the battery, where P c h g / d c h g the power when charging and discharging in kWh, and c o s t e l e c the electricity cost in GBP/kWh. The parameter c o s t b a t t   d e g r a d a t i o n (10) comes from the battery model where the degradation is evaluated in GBP. Where Δ b a t ( t ) is the battery degradation in Ah, and c o s t b a t t is the battery cost in GBP/Ah. Each of these two parameters has their unitless weighting factor: w 1 for the electricity cost, and w 2 for the battery degradation. The modelling is based on a previous study [51].
Δ b a t ( t ) = 1 Q b a t m a x 0 t | F ( S o C b a t ) G ( i b a t ) i b a t ( t ) | d t ,
F ( S o C b a t ) = 1 + 3.25 ( 1 S o C b a t ) 2 ,
{ G ( i b a t ) = 1 + 0.45 i b a t i b a t n o m i f   i b a t 0 G ( i b a t ) = 1 + 0.55 | i b a t | i b a t n o m i f   i b a t < 0 ,
where Q b a t m a x is the entire life battery capacity, S o C b a t is the battery SOC, i b a t is the battery current, and i b a t n o m is the nominal battery current.
While minimising the cost function, the DP solution must also respect boundary conditions. The final battery SOC ( S O C b a t ,   f i n a l ) must be greater than or equal to the SOC required to complete the next trip (14). The SOC must stay between the minimum and maximum operational limits ( S O C b a t ,   m i n , S O C b a t ,   m a x , (15)). The charger power that restricts the SOC rate of change must be limited between the minimum and maximum charger power ( P c h a r g e r , m i n ,   P c h a r g e r , m a x , (16)).
S O C b a t , f i n a l S O C N e x t T r i p
S O C b a t , m i n S O C b a t S O C b a t , m a x
P c h a r g e r , m i n P c h a r g e r P c h a r g e r , m a x
The optimal charging power profile is generated and then sent to the vehicle onboard charger controller (Figure 13). The benefits of the DP optimisation have been discussed later in this paper. The DP algorithm has been tested in multiple scenarios where charging duration is 1 h, starting SOC is 30%, and the final SOC target is 40%. The varying parameter is the electricity cost when buying or selling.
Table 6 shows the experimental results of the DP algorithm. The electricity costs have been explained in Section 2, and they are linked to tariff names in the table. “Standard” refers to the one-rate tariff when buying. “Eco7” is the two-rate tariff when buying. “V2G1” is the one-rate tariff when selling. “V2G2” is the two-rate tariff when selling. The “Balance” column is the sum of the electricity bought with the electricity sold. When the balance is negative, the BEV owner spends money during the charging event and earns money if the balance is positive. Scenario 1 without V2G can be compared with scenario 3 with V2G. A benefit of GBP 0.5 is observed in this specific case when V2G is used. Similarly, the comparison of scenario 2 and 5 (Figure 13, Figure 14) shows that the BEV owner can make up to GBP 0.76 benefits with V2G tariffs. Assuming this scenario can happen between 1 h to 5 h per day during a year, the annual benefits can range from GBP 200 to GBP 1400.
Figure 14 shows the optimal charging profile for scenario 5. Two traces are visible—the raw power profile in blue and the smoothen power profile in red. The raw power profile contains many oscillations, especially when the power is negative. This is due to a numerical error related to DP calculation. These oscillations are not acceptable for both the electrical grid and the BEV, that is why the power profile needs to be filtered. The raw power profile is averaged during the oscillation events while keeping the same optimisation results.

3.5. Dashboard

The dashboards are key to communicate the optimisation results to the target customers. BEV owners can track the amount of money their BEVs have earned when selling energy to the grid (Figure 15). OEMs can understand how the battery behaves under V2G use and how the battery could be improved in terms of performance, for example. Finally, utility companies and charger providers can analyse and understand the energy flow associated with V2G and plan for further infrastructure investments.

4. Discussion

The assumptions on the previous part emphasise a financial benefit for the vehicle owner when using V2G. The goal here is to confirm these assumptions using real-world data. One month of real-world data has been aggregated to evaluate the benefits. Three cases have been studied: Case 1: V2G with DP, Case 2: no V2G with DP and Case 3: no V2G without DP. Case 1 allows the BEV owner to sell electricity to the grid and benefit from a charging/discharging optimisation, thanks to DP. Case 2 considers only charging optimisation with DP. Case 3 acts as a basic charging feature, the battery is charged at full charger power available until either the SOC is maximum or until the end of the charging event.
As the data used are logged from conventional vehicles, it may occur that the trip distance is too great or charging event too short for the BEV battery range. These few cases are considered and compensated in the final cost column (Table 7). The cost column summarises the amount spent (positive) or earnt (negative), and it already considers the battery degradation cost. Case 3 is the costliest for the driver as there is no possibility to sell electricity to the grid. Furthermore, the charging takes place at full power without considering the possibility of waiting for a lower electricity tariff. Adding the optimisation, thanks to DP, the driver can benefit from cheaper electricity cost to reduce the charging cost of case 2. Case 1 makes the driver earning money while making its battery available for grid support. Despite the important financial benefits, the battery degrades faster.
The battery lifetime decreases due to the extended usage, which leads to a reduction of the battery performance. The degradation weighting factor, from DP cost function, must be increased to preserve the battery. The same month of data, run previously in simulation, is run again with higher values of the degradation weighting factor, ranging from 1 to 10,000. According to Han [52], battery life can be evaluated using Depth-of-Discharge (DOD) with 80% as a lifetime target. This statement coincides with the OEMs warranty in terms of battery performance. Based on the initial battery cost (GBP 3720, assuming 200 US $/kWh from [51] and US $ 1.29 ≈ GBP 1), the battery minimum value limit is GBP 2978 to ensure good performance, assuming linear degradation. A degradation weighting factor set to a value of 1 gives a lifetime of around 1 year; the BEV owner will obtain high financial benefits, around GBP 2800 for the first year, but the battery will need to be replaced much earlier than in the case of conventional battery usage. This financial benefit for the first year is based on one-month simulation with a bit more than 600 km driven in about 18 h, and about 700 h spent on charging/discharging. Increasing the degradation weighting factor acts as a deterrent to selling electricity to the grid, decreasing in the process the revenue from selling electricity to the grid; therefore, the degradation cost decreases, and the life of the battery is extended (Figure 16). A weighting factor values trade-off must be defined between the immediate cost benefits and the battery degradation according to the customer’s needs. An exponential trendline is drawn to model the trade-off between battery degradation and electricity cost based on the simulation points. For this user and with the assumed electricity cost, the optimal point is calculated. This point is where the sum of electricity sold (GBP-270) and the battery degradation cost (GBP 115) are maximised. It allows this user to gain GBP 155 for one month, with a degradation weighting factor value lower than 1.
This solution and its associated benefits rely on the BEV owner’s willingness to share their data and participate in V2G. Without this participation, the solution developed cannot be optimum or even not useable for BEV owners that do not share their data. For people having concern about data privacy and those who do not want to be tracked, another solution must be developed.

5. Conclusions

This work demonstrates the potential financial benefits of V2G for the BEV owners by using their battery as an energy buffer. The financial benefit is estimated at around GBP 2800 for the first year considering the simplifying assumptions taken. This can be achieved by smart data usage enabled by the cloud-based big data platform. The data structure provides rapid and uncomplicated access to the necessary data for the prediction algorithm, which is based on machine learning techniques. The prediction results are then aggregated to feed dashboards, providing essential information to the target customers.
Despite financial benefits for the BEV owners, V2G implementation increases battery usage cycles and thus leads to quicker battery degradation. Therefore, OEMs must consider the early degradation of batteries when designing next-generation batteries for V2G-capable vehicles. Regarding the electricity cost when selling to the grid, a trade-off must be found to satisfy both the vehicle owners and the utility company.
As a next step, real-world data from BEV must be employed to attain more accurate results. In addition, real-world testing could be performed to demonstrate the capability of these algorithms and allowing further improvement in the process. The charging optimisation detailed in this paper does not consider the grid, which could be critical during grid peak demands. The grid loads are not considered and could be added to the cost function (8) as a third parameter. With high BEV penetration, start charging at the same time or during peak time, when millions of BEVs could overwhelm the grid. Also, a solution to make sure BEVs do not charge at the same time, leading to new peak demand, must be developed. Approaches considering the grid load have been studied in past projects, where a penalty parameter is used [53]. On top of the grid load consideration, renewable energies integration could be added to the grid ecosystem. The portion of renewable energies generation in the electricity mix increases; however, the renewable energy generation fluctuates due to weather conditions. Then, BEV could be charged more when renewable generation is high and then discharged more when grid load is high. Hence, optimisation could be achieved, taking into account BEV needs, grid load and renewables. Furthermore, additional data, such as traffic information, could be used to improve further the prediction accuracy. Finally, the security of the V2G transactions could be improved using technology, such as blockchain, based on previous work [54,55,56].

Author Contributions

Conceptualisation, F.G., V.L., B.K. and G.G.; methodology, F.G., V.L., B.K. and G.G.; software, F.G., V.L., B.K. and G.G.; validation, F.G., V.L., B.K. and G.G.; formal analysis, F.G., V.L. and G.G.; investigation, F.G., V.L., B.K. and G.G.; resources, B.K.; data curation, F.G., V.L. and G.G.; writing—original draft preparation, F.G., V.L., B.K., G.G., T.K. and B.G.; writing—review and editing, F.G., V.L., B.K., G.G., T.K. and B.G.; visualisation, F.G., V.L., B.K. and G.G.; supervision, F.G. and B.K.; project administration, B.K.; funding acquisition, F.G. and B.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research has been carried out as part of “Battery Degradation for Grid-connected Electric vehicles (BADGE)” project funded by Innovate UK (grant number: 133494) from April 2018 to March 2019.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. EQ International. Electric Vehicles: A Case for a Proactive Approach; KPMG: Amstelveen, The Netherlands, 2017. [Google Scholar]
  2. Emu Analytics. A Sustainable Future, Preparing for Electric Vehicles; Emu Analytics: London, UK, 2018. [Google Scholar]
  3. Quddus, A.; Kabli, M.; Marufuzzaman, M. Modeling electric vehicle charging station expansion with an integration of renewable energy and Vehicle-to-Grid sources. Transp. Res. Part E Logist. Transp. Rev. 2019, 128, 251–279. [Google Scholar] [CrossRef]
  4. Jiang, Z.; Tian, H.; Beshir, M.J.; Sibagatullin, R.; Mazloomzadeh, A. Statistical analysis of Electric Vehicles charging, station usage and impact on the grid. In Proceedings of the 2016 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), Minneapolis, MN, USA, 6–9 September 2016; pp. 1–5. [Google Scholar]
  5. Mehmedalic, J.; Rasmussen, J.; Harbo, S.; Danish Energy Association. Grid Impact Studies of Electric Vehicles—Reinforcement Costs in Low-Voltage Grids; Green eMotion: Brussels, Belgium, 2013. [Google Scholar]
  6. Jin, C.; Tang, J.; Ghosh, P. Optimizing Electric Vehicle Charging: A Customer’s Perspective. IEEE Trans. Veh. Technol. 2013, 62, 2919–2927. [Google Scholar] [CrossRef]
  7. Nour, M.; Said, S.M.; Ali, A.; Farkas, C. Smart Charging of Electric Vehicles According to Electricity Price. In Proceedings of the 2019 International Conference on Innovative Trends in Computer Engineering (ITCE), Aswan, Egypt, 2–4 February 2019; pp. 432–437. [Google Scholar]
  8. Rodriguez, C.D.B.; Segura, J.A.J.; Ruiz, M.C.C.; Estevez, G.A.J.; Araya, P.A.M. Evaluating the Impact of a V2G Scheme on the Demand Curve. In Proceedings of the 2019 IEEE CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies (CHILECON), Valparaiso, Chile, 13–27 November 2019; pp. 1–6. [Google Scholar]
  9. Yilmaz, M.; Krein, P.T. Review of the Impact of Vehicle-to-Grid Technologies on Distribution Systems and Utility Interfaces. IEEE Trans. Power Electron. 2013, 28, 5673–5689. [Google Scholar] [CrossRef]
  10. Ehsani, M.; Falahi, M.; Lotfifard, S. Vehicle to Grid Services: Potential and Applications. Energies 2012, 5, 4076–4090. [Google Scholar] [CrossRef] [Green Version]
  11. Research and Markets. Global Vehicle to Grid Charger Market 2018–2022; TechNavio: London, UK, 2018. [Google Scholar]
  12. Shi, R.; Li, S.; Zhang, P.; Lee, K.Y. Integration of Renewable Energy Sources and Electric Vehicles in V2G Network with Adjustable Robust Optimization. Renew. Energy 2020, 153, 1067–1080. [Google Scholar] [CrossRef]
  13. Aziz, N.; Shah, M.A.; Mehmood, M.U. Vehicle to Grid (V2G) for Peak Shaving: New Trend, Benefits, and Issues. Int. J. Comput. Commun. Netw. 2019, 1, 27–37. [Google Scholar]
  14. Li, X.; Tan, Y.; Liu, X.; Liao, Q.; Sun, B.; Cao, G.; Li, C.; Yang, X.; Wang, Z. A cost-benefit analysis of V2G electric vehicles supporting peak shaving in Shanghai. Electr. Power Syst. Res. 2020, 179, 106058. [Google Scholar] [CrossRef]
  15. Kaufmann, A. Vehicle-to-Grid Business Model—Entering the Swiss Energy Market. Master’s Thesis, University of St. Gallen, Gallen, Switzerland, 2017. [Google Scholar]
  16. Fulton, L.M.; Seleem, A.; Boshell, F.; Salgado, A.; Saygin, D. Electric Vehicles—Technology Brief; IRENA: Abu Dhabi, UAE, 2017. [Google Scholar]
  17. Noel, L.; Carrone, A.P.; Jensen, A.F.; De Rubens, G.Z.; Kester, J.; Sovacool, B.K. Willingness to pay for electric vehicles and vehicle-to-grid applications: A Nordic choice experiment. Energy Econ. 2019, 78, 525–534. [Google Scholar] [CrossRef]
  18. Noel, L.; De Rubens, G.Z.; Kester, J.; Sovacool, B.K. Navigating expert skepticism and consumer distrust: Rethinking the barriers to vehicle-to-grid (V2G) in the Nordic region. Transp. Policy 2019, 76, 67–77. [Google Scholar] [CrossRef]
  19. Sovacool, B.K.; Kester, J.; Noel, L.; De Rubens, G.Z. Income, political affiliation, urbanism and geography in stated preferences for electric vehicles (EVs) and vehicle-to-grid (V2G) technologies in Northern Europe. J. Transp. Geogr. 2019, 78, 214–229. [Google Scholar] [CrossRef]
  20. Wang, H.; Wang, Q.; He, D.; Li, Q.; Liu, Z. BBARS: Blockchain-Based Anonymous Rewarding Scheme for V2G Networks. IEEE Internet Things J. 2019, 6, 3676–3687. [Google Scholar] [CrossRef]
  21. Dinkhah, S.; Negri, C.A.; He, M.; Bayne, S.B. V2G for Reliable Microgrid Operations: Voltage/Frequency Regulation with Virtual Inertia Emulation. In Proceedings of the 2019 IEEE Transportation Electrification Conference and Expo (ITEC), Detroit, MI, USA, 19–21 June 2019. [Google Scholar]
  22. Tamura, S. A V2G Strategy for Cost-Competitive Primary Frequency Regulation Considering EV Battery Degradation. In Proceedings of the 2019 IEEE Milan PowerTech, Milan, Italy, 23–27 June 2019. [Google Scholar]
  23. Zecchino, A.; Prostejovsky, A.; Ziras, C.; Marinelli, M. Large-scale provision of frequency control via V2G: The Bornholm power system case. Electr. Power Syst. Res. 2019, 170, 25–34. [Google Scholar] [CrossRef]
  24. Navigant Research Forecasts Rapid Growth in V2G for Ancillary Services to 2022. $190.7M in Frequency Regulation Revenue by Them. Congress Green Car. 2013. Available online: https://www.greencarcongress.com/2013/10/20131018-v2g.html (accessed on 15 March 2019).
  25. Nguyen, D.T.; Le, L.B. Joint Optimization of Electric Vehicle and Home Energy Scheduling Considering User Comfort Preference. IEEE Trans. Smart Grid 2013, 5, 188–199. [Google Scholar] [CrossRef]
  26. Turker, H.; Bacha, S. Optimal Minimization of Plug-In Electric Vehicle Charging Cost With Vehicle-to-Home and Vehicle-to-Grid Concepts. IEEE Trans. Veh. Technol. 2018, 67, 10281–10292. [Google Scholar] [CrossRef]
  27. Zhou, C.; Qian, K.; Allan, M.; Zhou, W. Modeling of the Cost of EV Battery Wear Due to V2G Application in Power Systems. IEEE Trans. Energy Convers. 2011, 26, 1041–1050. [Google Scholar] [CrossRef]
  28. Wang, D.; Saxena, S.; Coignard, J.; Iosifidou, E.A.; Guan, X. Quantifying electric vehicle battery degradation from driving vs. V2G services. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–5. [Google Scholar]
  29. Calvillo, C.; Czechowski, K.; Soder, L.; Miralles, A.S.; Villar, J. Vehicle-to-grid profitability considering EV battery degradation. In Proceedings of the 2016 IEEE PES Asia-Pacific Power and Energy Engineering Conference (APPEEC), Xi’an, China, 25–28 October 2016; pp. 310–314. [Google Scholar]
  30. Subramanian, V.; Das, T.K. A two-layer model for dynamic pricing of electricity and optimal charging of electric vehicles under price spikes. Energy 2019, 167, 1266–1277. [Google Scholar] [CrossRef]
  31. Birgen, C.; Preisig, H.; Morud, J. SQL vs. NoSQL; Norwegian University of Science and Technology: Trondheim, Norway, 8 December 2014. [Google Scholar]
  32. Gao, J.; Ozbay, K. A Data-driven Approach to Predict Double Parking Events Using Machine Learning Techniques. In Proceedings of the Transportation Research Board’s 96th Annual Meeting, Washington, DC, USA, 8−12 January 2017. [Google Scholar]
  33. Rokach, L.; Maimon, O. Top-Down Induction of Decision Trees Classifiers—A Survey. IEEE Trans. Syst. Man Cybern. Part C 2017, 1, 1–12. [Google Scholar] [CrossRef] [Green Version]
  34. Sun, X.; Yamamoto, T.; Morikawa, T. Charge timing choice behaviour of battery electric vehicle users. Transp. Res. Part D Transp. Environ. 2015, 37, 97–107. [Google Scholar] [CrossRef]
  35. My Electric Avenue. Available online: http://myelectricavenue.info/ (accessed on 22 January 2019).
  36. Chen, L.; Lv, M.; Chen, G. A system for destination and future route prediction based on trajectory mining. Pervasive Mob. Comput. 2010, 6, 657–676. [Google Scholar] [CrossRef]
  37. Ester, M.; Kriegel, H.; Sander, J.; Xu, X. A Density-Based Algorithm for Discovering Clusters; AAAI, KDD-96: Palo Alto, CA, USA, 1996; pp. 226–231. [Google Scholar]
  38. Miller Grinstead, G.; Snell, J.L. Introduction to Probability; University Press of Florida: Gainesville, FL, USA, 2009. [Google Scholar]
  39. Manasseh, C.; Sengupta, R.; Sengupta, R. Predicting driver destination using machine learning techniques. In Proceedings of the 16th International IEEE Conference on Intelligent Transportation Systems (ITSC 2013), Hague, The Netherlands, 6–9 October 2013; pp. 142–147. [Google Scholar]
  40. Álvarez-García, J.A.; Ortega, J.A.; Abril, L.G.; Velasco, F. Trip destination prediction based on past GPS log using a Hidden Markov Model. Expert Syst. Appl. 2010, 37, 8166–8171. [Google Scholar] [CrossRef]
  41. Dai, Y.; Ma, Y.; Wang, Q.; Murphey, Y.; Qiu, S.; Kristinsson, J.; Meyer, J.; Tseng, F.; Feldkamp, T. Dynamic Prediction of Drivers’ Personal Routes. In Proceedings of the 2016 IEEE Symposium Series on Computational Intelligence (SSCI), Athens, Greece, 6–9 December 2016. [Google Scholar]
  42. Oliva, J.A.; Weihrauch, C.; Bertram, T. Model-Based Remaining Driving Range Prediction in Electric Vehicles by using Particle Filtering and Markov Chains. World Electr. Veh. J. 2013, 6, 204–213. [Google Scholar] [CrossRef] [Green Version]
  43. Zhang, Y.; Wang, W.; Kobayashi, Y.; Shirai, K. Remaining driving range estimation of electric vehicle. In Proceedings of the 2012 IEEE International Electric Vehicle Conference, Greenville, SC, USA, 4–8 March 2012; pp. 1–7. [Google Scholar]
  44. Grewal, K.; Darnell, P. Model-based EV range prediction for Electric Hybrid Vehicles. In Proceedings of the IET Hybrid and Electric Vehicles Conference 2013 (HEVC 2013), London, UK, 6–7 November 2013. [Google Scholar]
  45. Wu, X.; Shi, W.; Du, J. Multi-Objective Optimal Charging Method for Lithium-Ion Batteries. Energies 2017, 10, 1271. [Google Scholar] [CrossRef]
  46. Zhang, S.; Zhang, C.; Xiong, R.; Zhou, W. Study on the Optimal Charging Strategy for Lithium-Ion Batteries Used in Electric Vehicles. Energies 2014, 7, 6783–6797. [Google Scholar] [CrossRef] [Green Version]
  47. Liu, D.; Wang, Y.; Shen, Y. Electric Vehicle Charging and Discharging Coordination on Distribution Network Using Multi-Objective Particle Swarm optimisation and Fuzzy Decision Making. Energies 2016, 9, 186. [Google Scholar] [CrossRef]
  48. Alonso, M.; Amaris, H.; Germain, J.G.; Galan, J.M. Optimal Charging Scheduling of Electric Vehicles in Smart Grids by Heuristic Algorithms. Energies 2014, 7, 2449–2475. [Google Scholar] [CrossRef]
  49. Cao, Y.; Tang, S.; Li, C.; Zhang, P.; Tan, Y.; Zhang, Z.; Li, J. An optimized EV charging model considering TOU price and SoC curve. IEEE Trans. Smart Grid 2011, 3, 388–393. [Google Scholar] [CrossRef]
  50. Karbowski, D.; Rousseau, A.; Pagerit, S.; Sharer, P. Plug-in Vehicle Control Strategy: From Global optimisation to Real-time Application. In Proceedings of the 22th International Electric Vehicle Symposium (EVS22), Yokohama, Japan, 23–26 October 2006. [Google Scholar]
  51. Depature, C.; Jemei, S.; Boulon, L.; Bouscayrol, A.; Marx, N.; Morando, S.; Castaings, A. IEEE VTS Motor Vehicles Challenge 2017—Energy Management of a Fuel Cell/Battery Vehicle. In Proceedings of the 2016 IEEE Vehicle Power and Propulsion Conference (VPPC), Hangzhou, China, 17–20 October 2016; pp. 1–6. [Google Scholar]
  52. Han, S.; Han, S.; Sezaki, K. Economic assessment on V2G frequency regulation regarding the battery degradation. In Proceedings of the 2012 IEEE PES Innovative Smart Grid Technologies (ISGT), Washington, DC, USA, 16–20 January 2012; pp. 1–6. [Google Scholar]
  53. Xu, J.; Wong, V.W. An approximate dynamic programming approach for coordinated charging control at vehicle-to-grid aggregator. In Proceedings of the 2011 IEEE International Conference on Smart Grid Communications (SmartGridComm), Brussels, Belgium, 17–20 October 2011; pp. 279–284. [Google Scholar]
  54. Hassija, V.; Chamola, V.; Garg, S.; Dara, N.G.K.; Kaddoum, G.; Jayakody, D.N.K. A Blockchain-based Framework for Lightweight Data Sharing and Energy Trading in V2G Network. IEEE Trans. Veh. Technol. 2020, 1, 99. [Google Scholar] [CrossRef]
  55. Garg, S.; Kaur, K.; Kaddoum, G.; Gagnon, F.; Rodrigues, J.J.P.C. An Efficient Blockchain-Based Hierarchical Authentication Mechanism for Energy Trading in V2G Environment. In Proceedings of the 2019 IEEE International Conference on Communications Workshops (ICC Workshops), Shanghai, China, 20–24 May 2019; pp. 1–6. [Google Scholar]
  56. Liu, H.; Zhang, Y.; Zheng, S.; Li, Y. Electric Vehicle Power Trading Mechanism Based on Blockchain and Smart Contract in V2G Network. IEEE Access 2019, 7, 160546–160558. [Google Scholar] [CrossRef]
Figure 1. Cloud-based big data platform for Vehicle-to-Grid (V2G). BEV, Battery Electric Vehicle; OEMs, Original Equipment Manufacturers.
Figure 1. Cloud-based big data platform for Vehicle-to-Grid (V2G). BEV, Battery Electric Vehicle; OEMs, Original Equipment Manufacturers.
Wevj 11 00030 g001
Figure 2. V2G data management platform.
Figure 2. V2G data management platform.
Wevj 11 00030 g002
Figure 3. V2G cloud architecture diagram.
Figure 3. V2G cloud architecture diagram.
Wevj 11 00030 g003
Figure 4. V2G algorithms.
Figure 4. V2G algorithms.
Wevj 11 00030 g004
Figure 5. Charging pattern algorithm interaction.
Figure 5. Charging pattern algorithm interaction.
Wevj 11 00030 g005
Figure 6. Route prediction algorithm interaction.
Figure 6. Route prediction algorithm interaction.
Wevj 11 00030 g006
Figure 7. Clustering with the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm.
Figure 7. Clustering with the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm.
Wevj 11 00030 g007
Figure 8. Clustering results.
Figure 8. Clustering results.
Wevj 11 00030 g008
Figure 9. BEV range prediction algorithm interaction.
Figure 9. BEV range prediction algorithm interaction.
Wevj 11 00030 g009
Figure 10. Average battery energy consumption vs average vehicle speed trendline.
Figure 10. Average battery energy consumption vs average vehicle speed trendline.
Wevj 11 00030 g010
Figure 11. Google Application Programming Interface (API) and trendline usage for next trip distance and average consumption prediction.
Figure 11. Google Application Programming Interface (API) and trendline usage for next trip distance and average consumption prediction.
Wevj 11 00030 g011
Figure 12. Charging optimisation interaction.
Figure 12. Charging optimisation interaction.
Wevj 11 00030 g012
Figure 13. Electricity cost and State-of-Charge (SOC) for scenario 5.
Figure 13. Electricity cost and State-of-Charge (SOC) for scenario 5.
Wevj 11 00030 g013
Figure 14. Optimised charging profile for scenario 5.
Figure 14. Optimised charging profile for scenario 5.
Wevj 11 00030 g014
Figure 15. BEV owner’s dashboard.
Figure 15. BEV owner’s dashboard.
Wevj 11 00030 g015
Figure 16. Electricity vs degradation cost with a varying weighting factor.
Figure 16. Electricity vs degradation cost with a varying weighting factor.
Wevj 11 00030 g016
Table 1. Decision Tree and Random Forest implementation details.
Table 1. Decision Tree and Random Forest implementation details.
Decision TreeRandom Forest
PropertyValuePropertyValue
Tree induction algorithmClassification and Regression Trees (CART)Number of trees100
Stopping criteriaMinimum samples split or minimum samples leafModel averaging methodBootstrap aggregating
Information gain metricMean square errorFeature selectionRandomised
Cross-validation80% of data set for training, 20% for validationCross-validation80% of data set for training, 20% for validation
Table 2. Charging prediction accuracy with different prediction methods.
Table 2. Charging prediction accuracy with different prediction methods.
MethodDecision TreeRandom Forest
Accuracy (%)80.885.6
Table 3. DBSCAN (Density-Based Spatial Clustering of Applications with Noise) parameters definition.
Table 3. DBSCAN (Density-Based Spatial Clustering of Applications with Noise) parameters definition.
ε % of Noise# of Clusters
0.512.8415
0.414.0816
0.314.7516
Table 4. Destination prediction results for a weekday.
Table 4. Destination prediction results for a weekday.
MetricsUnitWithout Time WindowsWeekday (With Time Windows)
n/a06:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–20:0020:00–23:0023:00–06:00
# of points(#)103718910178127293239
# of clusters(#)163334611
Accuracy(%)427862.5506062100100
Mean distance error(km)4.54.40.20.30.30.70.010
Error(%)46.440.33.83.23.311.500
Table 5. Destination prediction results for the weekend.
Table 5. Destination prediction results for the weekend.
MetricsUnitWithout Time WindowsWeekend (With Time Windows)
n/a07:00–11:0011:00–13:0013:00–16:0016:00–22:0022:00–07:00
# of points(#)10373746596312
# of clusters(#)1612221
Accuracy(%)421001007186100
Mean distance error(km)4.500.020.080.080.002
Error(%)46.400.10.80.60
Table 6. DP (Dynamic Programming) algorithm tested for multiple scenarios.
Table 6. DP (Dynamic Programming) algorithm tested for multiple scenarios.
ScenarioTariff NameElectricity CostBalance
BuyingSelling
Rate 1Rate 2Rate 1Rate 2
(GBP/kWh)(GBP/kWh)(GBP/kWh)(GBP/kWh)(GBP)
1Standard0.162000−0.39
2Eco70.1970.08800−0.21
3Standard + V2G10.16200.400.11
4Eco7 + V2G10.1970.0880.400.45
5Eco7 + V2G20.1970.0880.450.250.55
Table 7. Charging cost comparison for different charging system cases.
Table 7. Charging cost comparison for different charging system cases.
CaseV2GDPOne-Month Total Cost (GBP)
Case 1YesYes−137
Case 2NoYes14
Case 3NoNo20

Share and Cite

MDPI and ACS Style

Grée, F.; Laznikova, V.; Kim, B.; Garcia, G.; Kigezi, T.; Gao, B. Cloud-Based Big Data Platform for Vehicle-to-Grid (V2G). World Electr. Veh. J. 2020, 11, 30. https://doi.org/10.3390/wevj11020030

AMA Style

Grée F, Laznikova V, Kim B, Garcia G, Kigezi T, Gao B. Cloud-Based Big Data Platform for Vehicle-to-Grid (V2G). World Electric Vehicle Journal. 2020; 11(2):30. https://doi.org/10.3390/wevj11020030

Chicago/Turabian Style

Grée, Florent, Vitaliia Laznikova, Bill Kim, Guillermo Garcia, Tom Kigezi, and Bo Gao. 2020. "Cloud-Based Big Data Platform for Vehicle-to-Grid (V2G)" World Electric Vehicle Journal 11, no. 2: 30. https://doi.org/10.3390/wevj11020030

Article Metrics

Back to TopTop