Professional Documents
Culture Documents
Keywords: Electric vehicles are a means of reducing CO2 emissions in transportation. However, the sustainability of
Electric vehicle electric vehicle batteries is affected by battery health degradation, which decreases their overall lifetime.
Battery health This results in a substantial amount of depleted batteries due to replacements. Users have a major impact
Recommendation system
on battery health degradation through their actions while handling electric vehicles, such as the use of fast
Prescriptive maintenance
charging. To mitigate this problem, this article presents a methodology to generate user guidance for battery-
friendly actions in the upcoming use. Therefore, we first identify general recommendations from related work
and combine them with the vehicle context in order to define context-aware recommendations in the form
of if–then rules. These context-aware recommendations are then used to generate user advice. Second, the
article covers how to predict the vehicle context in order to determine necessary recommendations. Third, a
prescriptive recommendation system architecture is proposed, which takes vehicle context information, and
produces user guidance. Finally, we test the proposed architecture using fuzzy logic as decision system. Overall,
the architecture provides satisfactory user advice.
∗ Corresponding author.
E-mail address: markus.eider@th-deg.de (M. Eider).
https://doi.org/10.1016/j.suscom.2022.100845
Received 9 May 2022; Received in revised form 9 December 2022; Accepted 31 December 2022
Available online 5 January 2023
2210-5379/© 2023 The Authors. Published by Elsevier Inc. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-
nc-nd/4.0/).
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
2
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
0.77 h−1 . Hence, it takes 0.77−1 h = 1.3 h to fully charge the battery. temperature 𝜗𝑎 as well as the SoC. Thus, Eq. (2) is the link between
More importantly, the higher the C-rate, the more current flow there is the parking state and its battery degradation parameters. In order to
through the battery. This inevitably causes an increase in the battery reach battery-friendliness while parking, an EV should be parked at
temperature 𝜗𝑏 . In general, low C-rates are to be preferred in terms room temperature and medium SoC level.
of battery-friendly operation, as this more or less keeps the battery
temperature unaffected. However, applying a high C-rate to a battery 𝑠𝑃 = (𝜗𝑎 , SoC) (2)
with low battery temperature can quickly increase the temperature to
optimal value. Hence, the C-rate stands in indirect correlation with 𝜗𝑏 . 𝑠𝐶 = 𝑠𝐷 = (Crate, 𝜗𝑏 , SoC) (3)
Moreover, users cannot determine the exact values of the parame-
ters 𝜗𝑏 , SoC and C-rate in the EV dashboard. Although 𝜗𝑎 is traditionally The battery degradation parameters at state 𝑠𝐶 are the C-rate, the
displayed for driver’s convenience, the other values are often not shown battery temperature 𝜗𝑏 , and the SoC, as shown in Eq. (3). Here, the C-
as numbers or they are even not shown at all. This makes it hard for rate should be chosen with regard to 𝜗𝑏 . At low ambient temperatures
users to apply a battery-friendly EV operation. Therefore, EV users at around the freezing point and with low C-rates, 𝜗𝑏 may not reach room
first require information if a parameter enters a hazardous range. From temperature with the help of thermal management. As a result, the C-
there, the users can apply the knowledge contained in this section rate should be increased in order to heat up the battery. In contrast,
to implement optimal EV usage. However, this still requires them to the C-rate should be set low when 𝜗𝑏 is high. Therefore, 𝜗𝑏 needs to be
learn about battery degradation. Also, the objectives of this article considered. With the last parameter, high SoC levels should be avoided,
aim at providing context-aware guidance for common EV users, be as a high electric potential over the LIB cell terminals accelerates
it newcomers, average or experienced users. Therefore, users need degradation.
guidance that provide them with all necessary information to adjust The link in Eq. (3) also applies for state 𝑠𝐷 . Although 𝜗𝑏 is handled
their decisions. in the same way as described for charging, the C-rate and the SoC
behave differently. In this research, the C-rate is assumed to be a
3. The context of electric vehicle usage negative value while driving because the SoC decreases. Therefore,
after considering the C-rate as an absolute value, the same relationship
As described in the previous section, battery health degradation between 𝜗𝑏 and C-rate can be used, as mentioned in connection with
parameters are present at different EV use cases, such as its off state. charging. With regard to the SoC, it needs to be considered as inverse
Hence, there are common rules for battery-friendly EV operations, to its battery-friendly range in charging. Therefore, the SoC should not
which cannot be applied in specific situations. Therefore, the con- reach low values. For example, users should consider recharging before
text for different EV use cases needs to be defined first. This way, entering deep discharge of the battery.
parameters can be assigned to the specific use cases. Furthermore, With the EV usage states and parameters in mind, the EV context
a recommender system can analyze the EV context information in- can be defined in Eq. (4). It describes the EV operation conditions at
cluding its parameter values to determine the need for the specific any point in time.
recommendations in this context.
In the following paragraphs, the EV usage is discussed and ab- 𝑐 = (𝛿, 𝑡, ⟨(𝑝𝑖 , 𝑢𝑖 , 𝑣𝑖 )𝑛𝑖=1 ⟩) with 𝑛 = 4 (4)
stracted using a simple finite state machine, as depicted in Fig. 2. It Here, a context 𝑐 is defined by the following descriptors. 𝛿 describes
combines the use cases of charging, parking and driving as well as their a state transition that results in a specific state 𝑠 ∈ 𝑆. 𝑡 is the timestamp
state transitions performed by the user. at which the context 𝑐 takes place. Lastly, the nested tuple (𝑝𝑖 , 𝑣𝑖 , 𝑢𝑖 )
Fig. 2 shows the states 𝑆 = {𝑠𝐶 , 𝑠𝑃 , 𝑠𝐷 } with the state transition
represents an individual parameter comprising C-rate, SoC, 𝜗𝑏 or 𝜗𝑎
function 𝛿, as shown in Eq. (1). In a typical case, a user arrives at
(therefore, n = 4). Each parameter is represented by its parameter name
a parked EV (thus, state 𝑠𝑃 ) and may want to change its state to
𝑝, unit 𝑢 and the value 𝑣.
driving (𝑠𝐷 ), which is denoted by 𝑠𝑃 𝐷 . A state change, however, is not
To illustrate this definition, the example in Fig. 1 is used. There, its
necessarily required as the user could, for example, fetch an item from
base context can also be formulated as
the EV trunk (see 𝑠𝑃 𝑃 ).
𝑐 = (𝑠𝑐𝑐 , 12 ∶ 15, ⟨(C-rate, [h−1 ], high), (SoC, %, high),
𝛿 = {𝑠𝐶𝐶 , 𝑠𝐶𝑃 , 𝑠𝑃 𝐶 , 𝑠𝑃 𝑃 , 𝑠𝑃 𝐷 , 𝑠𝐷𝑃 , 𝑠𝐷𝐷 } (1)
(𝜗𝑏 , [◦ C], high), (𝜗𝑎 , [◦ C], med)⟩).
As can be seen in the figure, the transitions are denoted by simple
terminology, but include further actions. For the transition ‘‘drive’’, the The context 𝑐 in the example therefore describes that an EV is being
user is required to enter the EV, buckle up, turn the ignition, set the charged and at 12:15 pm, the C-rate, the SoC and the battery temper-
gear, and loosen the handbrake. This sequence of actions is reverted ature 𝜗𝑏 are on high levels. Although not shown in Fig. 1, the ambient
with the transition ‘‘park’’. When switching from 𝑠𝑃 to 𝑠𝐶 (𝑠𝑃 𝐶 ), the temperature 𝜗𝑎 could be a medium value. Using the knowledge of
transition is connected to actions at a charging station (CS). Here, a battery degradation causes, it can be seen that the first three parameters
user authenticates at a CS, connects the charging cable and starts a indicate harmful ranges. Therefore, respective advice is needed based
charging process at the CS user interface. Usually, when switching back on this context.
to 𝑠𝑃 , the charging process is stopped at the CS and the charging cable In summary of this section, the states are linked to their respec-
is removed. Again, 𝑠𝐶 and 𝑠𝐷 do not require any user inputs to keep tive battery health degradation parameters. Further, any EV context
the EV in the respective state. can be abstracted formally. This way, after acquiring the parame-
During 𝑠𝑃 , there are two parameters that influence calendaric bat- ter values throughout time, a recommendation system can take the
tery degradation, as discussed in Section 2. These are the ambient machine-readable context data to make further decisions.
3
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
A recommendation 𝑟 in Eq. (5) takes a context 𝑐 and maps it to In the last section, a first hint was given that the EV parameters
multiple advices 𝐴. Depending on the number of harmful parameter have to be predicted. The reason for this is that the guidance must
values, 𝐴 can be an empty set or contain four pieces of advice. An be provided to the user at a certain point in time before deciding
advice 𝑎 consists of an EV parameter with preferred value 𝑣′ as well as on the future EV use. Here, it is necessary to know which values the
a weight 𝑤. The weight here can also be interpreted as priority. Each parameters will take on. Therefore, this section proposes a methodology
advice is the essential information of a context-aware recommendation for predicting the upcoming EV context and parameters in order to
and can be used as instruction by EV users. guarantee support in adequate decision-making time.
In order to specify the recommendations, to create battery-friendly In essence, the prediction process consists of two steps. These are
EV operation advice, it is necessary to know which actions need to the prediction of the upcoming EV context and the prediction of EV
follow on harmful EV parameter values. As mentioned earlier in this ar- parameters in the respective context states, as shown between ‘‘Start’’
ticle, the literature proposes fuzzy parameter values for battery-friendly and ‘‘End’’ in Fig. 3. Both pieces of information are required to generate
EV usage. However, the exact links between context and resulting context-aware advice and guidance later on. With regard to the training
advice needs to be defined. Therefore, the links are proposed in Table 1. of the prediction steps, the upper dashed box (Fig. 3) shows the data for
In the left part of Table 1, the columns 𝛿 to 𝜗𝑎 describe the EV supervised machine learning (ML) model training. Here, normal face
contexts that are harmful to LIBs and the respective advice is shown in fonts show data that represent input data and bold face fonts show
columns 𝑝 and 𝑣′ . The listed values are on the one hand derived from the expected model outputs. The bottom dashed box represents data
literature (see Sections 2 and 9.1) and are on the other hand fuzzified. that are used in productive forecasts, such as the time horizon for
The reason for this abstraction is that LIB chemistries have different which predictions should be generated. The following subsections go
health degradation behaviors. Also, there is no strict classification into more detail regarding the different components in Fig. 3.
boundary for any parameter which distinguishes between a battery-
friendly or a harmful value. Depending on the decision methodology 5.1. Context prediction
used to implement the links, more detailed conditions can be used
instead of the values ‘‘low’’, ‘‘med’’ or ‘‘high’’. Overall, the predictions first start with the EV context in order to
The first row describes a charging context where both C-rate and determine upcoming use cases. There is a long-term context forecast
battery temperature are low. This shows that even with battery tem- that considers the next 24 h of a day. In the case of a commuter’s typical
perature conditioning and an ongoing charging process, the battery day, this prediction is a comparatively simple task. This is because
temperature cannot reach nominal values. Therefore, the advice is to the work commute starts and ends at more or less fixed times. Using
increase the C-rate to a high value. As can be seen from the table, the aggregated EV data, the timing of a commute or a charging process can
weight 𝑤 of Eq. (6) is not specified here, as it should be derived using a be trained in an ML algorithm.
separate formula. For instance, such a formula should output a priority The state 𝑠𝐷 can be derived from a falling SoC and a negative C-
that is proportional to the battery-harmfulness of a context. rate whereas 𝑠𝐶 inherits a rising SoC and positive C-rate. All other
Moreover, context-aware recommendations need to be defined fur- situations are then to be classified as 𝑠𝑃 . The battery temperature
ther, as seen with the rather non-intuitive recommendations 10 and as learning parameter is not relevant for determining the EV usage,
11. The recommendations describe bringing the ambient temperature as this is an implicit outcome of the usage. Using the derived states
to medium level. Of course, it is not possible for users to change at respective times of a day, the long-term context forecast can be
the environment, but there is a certain possibility that there is a trained. After training, the model uses a time horizon to predict the
4
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
EV context change during the day. This prediction can be realized with for specific values. As mentioned before, a falling SoC value and a
ML algorithms that output a classification based on a numerical input. negative C-rate determine 𝑠𝐷 . Both value trends are inverted for 𝑠𝐶 and
Examples for this purpose are decision trees (DTs), artificial neural otherwise, the state 𝑠𝑝 is determined.
networks (ANNs), support vector machines (SVMs) and so forth. Based on the mentioned steps, the state change 𝛿 from Table 1 can
Time is an essential information for context prediction. As com- now be determined. Still, the battery degradation parameters need to be
mutes take place on working days, the weekends need to be dis- calculated by forecasting methods as discussed in the next subsection.
tinguished. Also, the commuting times to and from the workplace
arrange around the working hours. It is further assumed in this work, 5.2. Parameter prediction
that driver’s EV usage behavior can be different during the day. For
example, a commuter may want to rush home after work. Therefore, Once the EV context is determined for all quarter-hours of the
the day of week 𝑑 = [1, 7] and quarter-hour of day 𝑡 = [1, 96] need to upcoming day, the EV parameters have to be forecasted. First, this
be considered. Instead of seconds or minutes, a resolution of quarter applies to the battery degradation parameters SoC and C-rate. In ML,
hours is proposed in this work, as this maintains sufficient accuracy regression approaches help to determine a continuous value based on
of ML models and still provides enough time for users to incorporate input parameters. Here, the SoC and the C-rate are derived by an ML
recommendations in their decisions. Assuming the long-term prediction model using the parameters 𝑡, 𝑑 (quarter-hour, day) and EV context
model determines the end of a commute in the next 15 minutes, then state. For training of such a model, a large volume of data is re-
advice for specific charging before the end of the commute is provided quired. Therefore, the EV usage and its parameters need to be gathered
with enough time to locate a respective charging station. It should throughout multiple months or years to include seasons. Otherwise, the
be noted here that the further in the future the context is to be ML model may not be trained well enough for predicting an EV context
predicted, the coarser the quarter-hour time resolution could be chosen at specific times accurately.
(e.g. 30 min). This choice can simplify a forecast model. The parameter 𝜗𝑎 can be extracted from weather forecast services
Besides commuting, there can be further kinds of trips as well, and of the Internet. As weather forecasting is a science in itself, bringing
these increase the complexity of a prediction. When considering the up a weather forecast in this work would go beyond the scope of this
daily life of an employee or a family, several types of car trips come to article. Therefore, we propose to connect the recommender system with
mind. For example, there are regular trips that take place at a relatively existing –either free or paid –weather forecast services. These provide
fixed time during the week. An example is the weekly shopping trip a more or less precise time series of ambient temperatures for at least
or driving to a fitness center. Compared to commuting, these trips 24 h.
should be easy to predict because of their regularity. In addition, there From the prediction of the other degradation parameters 𝜗𝑎 and C-
are one-time planned trips. These include doctor appointments or one- rate, the battery temperature 𝜗𝑏 is to be derived. Here, either physical
time shopping trips. Here, a prediction algorithm is clearly limited models or ML applications can help to calculate the change in the bat-
in determining the EV context due to the sparsity of such an event. tery pack temperature and hence 𝜗𝑏 at a specific moment in time. There
The only reliable sources of indication of one-time planned trips are are software projects such as PyBaMM [6,7] or liionpack [8] which
personal calendars, user inputs or other sources that provide user simulate LIB cell and pack parameters over time. These require specific
information. Lastly, extraordinary, spontaneous trips incorporate the battery characteristics to produce accurate values, as for example the
most challenging case. Here, only the driver knows when a trip is going cell temperature.
to take place. In an extreme example, a family’s child is feeling sick and As the EV parameters are dependent on previous values, ML models
requires examination by a physician as soon as possible. In this case, that can handle time-series forecasting need to be chosen. Examples for
however, it is not clear if a parent drives the child to the physician this are recurrent ANNs such as long–short term memory (LSTM) or
within a quarter-hour or within a few hours. Also, it is not possible applications in deep learning.
to determine if this emergency interferes with other appointments. In At this point, the main inputs of the ML models are identified.
the example, a parent could temporarily leave work to pick up the These are the day of the week and the quarter-hour. Further inputs
child at the school. Therefore, some occurrences lack machine-readable can be added as well, which have to be evaluated as influential using
information of state change at specific times. We hence assume that correlation analysis. For example, a candidate input to be considered
there are use cases that are impossible to predict. This not only covers is the occurrence of public holidays. Usually, a commute does not take
driving, but also spontaneous charging or parking. place on such a day.
To mitigate the problem of unknown user decisions, a short-term The outputs of the forecasting models are the EV contexts on a
context determination is necessary. Instead of using direct personal quarter-hour basis for the upcoming 24 h, as well as the EV parameters
data, as from an appointment calendar, it derives an unforeseen state in the quarter-hours. Concluding, the ML models predict both EV
change from current EV data. In the same way of preparing data for context and parameter in order to generate advice according to Table 1
training of long-term context forecast, current EV data are analyzed later on.
5
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
6
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
Table 2 in the top graph of the figure, the maximum charging rates exceed the
Columns in the output time series data of emobpy [11].
maximum driving consumption. In specific, this results in two peaks
Column Description with a battery charging power of 9.89 kW and 19.79 kW. The power
date Timestamp of a data row is lower than the capacities of the charging station capacities, as there
hh Hour as floating point value
is energy loss in the charging electronics calculated by emobpy. The
state emobpy EV context
distance Driven distance at state ’driving’ [km] discharge power on the other hand reaches 8.57 kW during driving.
consumption Energy consumption at state ’driving’ [kW] The SoC in Fig. 6 shows a constant range outside the time interval of
charging_point Type of charging station 8 a.m. and 17 p.m. This is 81 to 100%. The lowest level is reached at
charging_cap Available charging capacity [kW] commuting to work with 69%. Lastly, the temperature ranges between
actual_soc Current EV SoC [%]
−11 and 31 ◦ C throughout the year.
charge_battery Charging power to the battery [kW]
charge_grid Charging power from the grid [kW] The above-mentioned steps produce a dataset of 25,056 timestamps
with varying parameter values. However, there is the limitation that the
C-rate and the SoC do not represent all cases which are listed in Table 1.
In particular, the C-rate never reaches a value that can be considered
temperature data are not included in the outputs, but are added in a high during driving. In contrast, the SoC values are always high. This
separate step in this evaluation. must be taken into account when evaluating the guidance produced.
An interesting point is that the above-mentioned immediate charg-
ing happens directly after driving. However, this state transition is 7.2. An inference system using fuzzy logic
not reflected in Section 3. The reason is that charging cannot happen
instantly after driving as the driver has to stop at a charging station, and This section discusses the implementation of an inference system as
set up the charging process manually. This usually takes a few minutes. shown in Fig. 4. It uses the previously generated EV context data and
Therefore, charging processes in the output data are moved forward parameters to determine the necessity for guidance. Since Python was
in time by a quarter-hour slot to correctly interpret state transitions. used in the steps of the last subsection, it is applied here as well with
Further, this evaluation focuses on commuting, which is why weekend the library SciKit-Fuzzy [14].
entries can be omitted. In this time, the vehicle is parked at the home The inference system in this section needs to realize the rules of Ta-
and is not moved. ble 1. In a first step, the antecedent EV parameters need to be fuzzified
Regarding state, the column state contains the values home, work- from their crisp numeric values. As there are only the values ‘‘high’’
place and driving. The first two states are translated to a park- and ‘‘low’’ in the table, a simple membership function is sufficient. This
ing state if there is no significant value above zero in the column is shown in Fig. 7, where the lower and upper boundaries 𝑏𝐿 and 𝑏𝑈
charge_battery. Otherwise, the states are translated to charging. The are visualized. These boundaries are set at the value limits of the EV
latter entry is kept as is. In order to quickly identify a certain state parameters.
transition (see Section 3), the state of the last data row is added in a In a more abstract way, the membership function can be formulated
new column last_state. as in Eqs. (8) and (9). These describe the ‘‘high’’ and ‘‘low’’ member-
Converting EV parameters from the output data is done as follows. ships 𝜇ℎ𝑖 and 𝜇𝑙𝑜 by taking the EV parameter 𝑥 with its lowest (𝑏𝐿 ) and
The SoC values in column actual_soc are left unchanged, as these highest (𝑏𝑈 ) possible value.
already represent a percentage of the battery capacity. With the C-rate,
a more specific approach is required. As the output data provide the ⎧0 if 𝑥 < 𝑏𝐿
columns consumption while driving and charge_battery at charging, ⎪ 𝑥
𝜇ℎ𝑖 (𝑥, 𝑏𝐿 , 𝑏𝑈 ) = ⎨ 𝑏 if 𝑏𝐿 ≤ 𝑥 < 𝑏𝑈 (8)
both columns need to be first merged in a column c_rate. Here, the ⎪ 𝑈
⎩1 if 𝑥 ≥ 𝑏𝑈
power at driving needs to be inverted to represent power draw. Second,
the values have to be recalculated to be relative to the maximum ⎧1 if 𝑥 < 𝑏𝐿
charging power (22 kW) considered by emobpy. ⎪ 𝑥
𝜇𝑙𝑜 (𝑥, 𝑏𝐿 , 𝑏𝑈 ) = ⎨1 − 𝑏𝑈
if 𝑏𝐿 ≤ 𝑥 < 𝑏𝑈 (9)
Temperature data are taken from the open science and data platform ⎪
⎩0 if 𝑥 ≥ 𝑏𝑈
Zenodo [12] as done in emobpy. In specific, the dataset ERA5-NUTS1
was taken, where hourly 2-meter temperature [◦ C] data for the Munich The boundaries are selected as following. The C-rate in the data can
region were extracted for this article. The data originally stem from reach absolute values between 0 and 22 kW ∗ 45.61−1 kWh−1 . Therefore,
a climate data reanalysis of the European Centre for Medium-Range 𝑏𝐿 = 0 and 𝑏𝑈 = 0.48 h−1 . The SoC is handled with 𝑏𝐿 = 0 and 𝑏𝑈 = 1.
Weather Forecasts (ECMWF) and cover subsections of Europe. As the In the case of the ambient and battery temperature, the boundaries
time resolution of emobpy is in quarter-hours, a resampling from the are set as 𝑏𝐿 = −11 ◦ C and 𝑏𝑈 = 31 ◦ C, which are the minimum and
initial one-hour resolution of the ERA5-NUTS1 to quarter-hours was maximum temperatures in the data. In the end, the fuzzy logic should
necessary. This can be realized with a forward-filling algorithm (ffill) produce each recommendation number as a single output, as there can
of the Python library pandas [13]. In order to determine the battery be multiple recommendations for a quarter-hour timestamp. Here, 𝑏𝐿
temperature, one could use the liionpack library. However, no thermal is chosen as 0 (unimportant) and 𝑏𝑈 as 1 (high priority) to indicate the
specification of the Renault ZOE battery is known to the authors of necessity of a recommendation.
this article. Therefore, the ambient temperature is assumed as battery The fuzzy inference system uses a complete representation of Ta-
temperature. Of course, this does not reflect reality but provides a ble 1 including all permutations of ‘‘high’’ and ‘‘low’’ values. As there
certain parameter range for further evaluations. are four EV parameters, each with two states, this results in 24 fuzzy
Figs. 5 and 6 show the outcome of the data preparation of this rules. In each rule, the fuzzy values of the single recommendation are
implementation. Both figures show the properties of the whole dataset set with a respective value. The value here is ‘‘high’’, if the table rule
condensed in an average day. Fig. 5 shows that indeed the commutes can be found in a permutation. In other cases, the recommendation is
take place around work start and end. Followed by this are charging set to ‘‘low’’. This effort is necessary in order to define ‘‘low’’ values of
processes. Interestingly, most charging processes are performed at the the recommendations for the fuzzy system. Otherwise, the fuzzy rules
working place. are not clearly defined, and the fuzzy system cannot determine the
As shown in Fig. 6, the ranges of the EV parameters C-rate and SoC output values.
follow the pattern of the EV context states accordingly. Commuting After the fuzzy inference system is implemented, it can be applied
trips start at 8 a.m. and 16 p.m., followed by charging. As can be seen to the previously generated data. Depending on the individual state
7
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
Fig. 5. Probability of EV context states in emobpy generated data throughout working days.
Table 3
Frequency of recommendations.
R1 R3 R5 R9 R10 R11 R13 Count Freq. [%]
– – – – – – – 874 3.49
– – – – x – – 12484 49.82
– – – – – x – 9910 39.55
– – – x – – – 522 2.08
– – – – – – x 385 1.54
– – x – – – – 385 1.54
x x – – – – – 307 1.23
– x – – – – – 189 0.75
Fig. 7. Shape of antecedent and consequent membership functions.
change, some recommendations are set to ‘‘low’’. The reason for this At this point, recommendations can be identified that are rather
is that the recommendations are initially defined for certain state to be classified with priority values of ‘‘high’’ instead of ‘‘low’’. These
transitions. For example, the recommendation 1 is only valid if the are configured according to Table 1. This includes values used to
vehicle is kept in the charging state. In the contrary, recommendations determine the recommendation necessity as well as the user guidance.
4 to 13 cannot be applied in this situation. For example, with recommendation 5, the guidance tells the user to
Fig. 8 now shows the output of the fuzzy inference system using the implicitly decrease the SoC when switching from charging to parking.
data of one year. The upper three graphs show the input parameters, Therefore, the charging process should be stopped to maintain a lower
including colored bars indicating their classification as ‘‘high’’ (orange) SoC value.
or ‘‘low’’ (blue). In the figure, a data point is shown as member of one Further, it is interesting to analyze the frequency and permutations
of the two classes if the membership is above 50%. As already seen of the used recommendations based on the data. Table 3 shows the
from Fig. 6, the C-rate is seldom high and the SoC is high in all cases. overall frequency of recommendations in the 25,056 timestamps. It
The temperature data on the other hand allow for a balance of ‘‘high’’ shows that in 3.49% of the time, no guidance is provided at all. This
and ‘‘low’’ classifications. sums up to a time of 9.1 days. In the next rows, the table displays
The lower graph in the figure shows the ‘‘high’’ values of the recom- that the recommendations 3, 5, 9, 10, 11 and 13 are used individually
mendations as green bars. From the 𝑦-axis labels it becomes clear that and recommendations 1 and 3 are used at the same time (1.23%). The
there are missing recommendations. In specific, these are not generated simultaneous occurrence makes sense, as both recommendations are
as the input data lack certain cases of EV usage. For example, as the SoC independent in terms of their triggers EV context and EV parameters.
is always classified as ‘‘high’’, recommendations 4, 7, 8, 12 cannot reach Also, their user guidance sums up to use fast charging until a medium
a ‘‘high’’ level of importance. Also, the C-rate is not high enough in SoC. Hence, this summary shows that the guidance does not contradict
two consecutive charging timestamps as to trigger recommendations 2 in any timestamp.
and 6. Naturally, a software unit test was conducted before this step to The evaluation in this section is limited by the use of open data.
ensure the correct output value of each recommendation by the fuzzy When evaluating a PRS, it needs to be analyzed if the correct guidance
inference system. is provided before the right point in time. This means that in a first step,
8
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
Fig. 8. Event plot of the antecedent and consequent values. The top graphs show the change of the input parameters and their classification as low (blue) or high (orange) by
the fuzzy membership functions. The lower graph displays situations when the necessity for generating a guidance is high. (For interpretation of the references to color in this
figure legend, the reader is referred to the web version of this article.)
the PRS must predict the EV context and EV parameters correctly. Here, 9. Related work
metrics such as the mean squared error are usual key indicators for
the precision of classification or regression models. As the prediction This section highlights relevant scientific literature. Section 9.1 dis-
step was skipped in this evaluation by using data of emobpy, the EV cusses battery health degradation issues. Further, Section 9.3 provides
context and parameter prediction was not evaluated. If one of both an overview of prescriptive maintenance and the techniques used for
predictions is wrong, the fuzzy interference systems either produce a PRS.
guidance which is unsuitable in a causal sense or may be too early or
too late. 9.1. Battery degradation
9
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
In the following sections, the degradation causes of cyclic and by analyzing its data and by describing interrelations between causes
calendaric aging are explained. Here, cyclic aging describes the process and effects [51]. Predictive maintenance on top builds ML models that
of degradation due to charging and discharging cycles [26] in typical can predict the probability of certain events in the future [50–52].
EV use. Calendaric aging is observed during the course of time with the Prescriptive maintenance is the third level and provides guidance for
absence of current flow [42,43]. actions in the future [50–52].
10
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
CRediT authorship contribution statement [17] F. Leng, Z. Wei, C.M. Tan, R. Yazami, Hierarchical degradation processes in
lithium-ion batteries during ageing, Electrochim. Acta 256 (2017) 52–62, http:
//dx.doi.org/10.1016/j.electacta.2017.10.007.
Markus Eider: Writing, Conceptualization, Methodology. Bernhard
[18] H. Chaoui, C.C. Ibe-Ekeocha, State of Charge and State of Health Estimation for
Sick: Writing – review & editing, Supervision. Andreas Berl: Project Lithium Batteries Using Recurrent Neural Networks, IEEE Trans. Veh. Technol.
administration, Funding acquisition, Supervision. 66 (10) (2017) 8773–8783, http://dx.doi.org/10.1109/TVT.2017.2715333, URL
http://ieeexplore.ieee.org/document/7948779/.
Declaration of competing interest [19] L. Spitthoff, P.R. Shearing, O.S. Burheim, Temperature, ageing and thermal
management of lithium-ion batteries, Energies 14 (5) (2021) 1248, http://dx.doi.
org/10.3390/en14051248, URL https://www.mdpi.com/1996-1073/14/5/1248.
The authors declare that they have no known competing finan-
[20] D. Werner, S. Paarmann, T. Wetzel, Calendar aging of li-ion cells—experimental
cial interests or personal relationships that could have appeared to investigation and empirical correlation, Batteries 7 (2) (2021) 28, http://dx.
influence the work reported in this paper. doi.org/10.3390/batteries7020028, URL https://www.mdpi.com/2313-0105/7/
2/28.
Data availability [21] J. Tian, R. Xiong, Q. Yu, Fractional-Order Model-Based Incremental Capacity
Analysis for Degradation State Recognition of Lithium-Ion Batteries, IEEE Trans.
Ind. Electron. 66 (2) (2019) 1576–1584, http://dx.doi.org/10.1109/TIE.2018.
Data will be made available on request. 2798606.
[22] I. Semanjski, S. Gautama, Forecasting the state of health of electric vehicle
Acknowledgments batteries to evaluate the viability of car sharing practices, Energies 9 (12) (2016)
1025, http://dx.doi.org/10.3390/en9121025.
[23] R. Mathieu, I. Baghdadi, O. Briat, P. Gyan, J.M. Vinassa, D-optimal design of
This research was funded by the Bavarian Research Foundation
experiments applied to lithium battery for ageing model calibration, Energy 141
(Bayerische Forschungsstiftung), Germany under project number AZ- (2017) 2108–2119, http://dx.doi.org/10.1016/j.energy.2017.11.130.
1405-19 (Project SmiLE). The authors thank Mohammad Wazed Ali and [24] I. Baghdadi, O. Briat, J.Y. Delétage, P. Gyan, J.M. Vinassa, Lithium battery
Esther Kinateder for proofreading the article. aging model based on Dakin’s degradation approach, J. Power Sources 325
(2016) 273–285, http://dx.doi.org/10.1016/j.jpowsour.2016.06.036, URL https:
//linkinghub.elsevier.com/retrieve/pii/S0378775316307388.
References
[25] M.S. Ziegler, J.E. Trancik, Re-examining rates of lithium-ion battery technology
improvement and cost decline, Energy Environ. Sci. 14 (4) (2021) 1635–
[1] IEA, IEA, Global EV Data Explorer: Data Behind The Global EV Outlook
1651, http://dx.doi.org/10.1039/d0ee02681f, URL http://xlink.rsc.org/?DOI=
2021, Tech. Rep., IEA, 2021, URL https://www.iea.org/articles/global-ev-data-
D0EE02681F.
explorer.
[26] N. Bouchhima, M. Gossen, S. Schulte, K.P. Birke, Lifetime of self-reconfigurable
[2] K. Mizushima, P.C. Jones, P.J. Wiseman, J.B. Goodenough, LixCoO2 (0<x<-1):
batteries compared with conventional batteries, J. Energy Storage 15 (2018)
A new cathode material for batteries of high energy density, Mater. Res. Bull.
400–407, http://dx.doi.org/10.1016/j.est.2017.11.014, URL https://linkinghub.
15 (6) (1980) 783–789, http://dx.doi.org/10.1016/0025-5408(80)90012-4, URL
elsevier.com/retrieve/pii/S2352152X17301433.
https://linkinghub.elsevier.com/retrieve/pii/0025540880900124.
[27] X. Hu, J. Jiang, D. Cao, B. Egardt, Battery health prognosis for electric vehicles
[3] M. Eider, A. Berl, Dynamic EV Battery Health Recommendations, in: Proceedings
using sample entropy and sparse Bayesian predictive modeling, IEEE Trans.
of the Ninth International Conference on Future Energy Systems, ACM, 2018, pp.
Ind. Electron. 63 (4) (2016) 2645–2656, http://dx.doi.org/10.1109/TIE.2015.
586–592, http://dx.doi.org/10.1145/3208903.3213896, URL https://dl.acm.org/
2461523, URL http://ieeexplore.ieee.org/document/7169584/.
doi/10.1145/3208903.3213896.
[28] Y. Li, M. Abdel-Monem, R. Gopalakrishnan, M. Berecibar, E. Nanini-Maury,
[4] T. Nemeth, F. Ansari, W. Sihn, B. Haslhofer, A. Schindler, PriMa-X: A reference
N. Omar, P.v.d. Bossche, J.V. Mierlo, A quick on-line state of health esti-
model for realizing prescriptive maintenance and assessing its maturity enhanced
mation method for Li-ion battery with incremental capacity curves processed
by machine learning, Procedia CIRP 72 (2018) 1039–1044, http://dx.doi.org/10.
by Gaussian filter, J. Power Sources 373 (2018) 40–53, http://dx.doi.org/10.
1016/j.procir.2018.03.280.
1016/j.jpowsour.2017.10.092, URL https://linkinghub.elsevier.com/retrieve/pii/
[5] F. Biebl, R. Glawar, A. Jalali, F. Ansari, B. Haslhofer, P.d. Boer, W. Sihn, A
S0378775317314532.
conceptual model to enable prescriptive maintenance for etching equipment
[29] C. Zou, C. Manzie, D. Nesic, Model Predictive Control for Lithium-Ion Battery
in semiconductor manufacturing, Procedia CIRP 88 (2020) 64–69, http://
Optimal Charging, IEEE/ASME Trans. Mechatronics 23 (2) (2018) 947–957,
dx.doi.org/10.1016/j.procir.2020.05.012, URL https://linkinghub.elsevier.com/
http://dx.doi.org/10.1109/TMECH.2018.2798930.
retrieve/pii/S2212827120303279.
[6] V. Sulzer, S.G. Marquis, R. Timms, M. Robinson, S.J. Chapman, Python Battery [30] G. Giordano, V. Klass, M. Behm, G. Lindbergh, J. Sjoberg, Model-based lithium-
Mathematical Modelling (PyBaMM), J. Open Res. Softw. 9 (2021) http://dx.doi. ion battery resistance estimation from electric vehicle operating data, IEEE Trans.
org/10.5334/jors.309. Veh. Technol. 67 (5) (2018) 3720–3728, http://dx.doi.org/10.1109/TVT.2018.
[7] pybamm-team, GitHub - pybamm-team/PyBaMM. URL https://github.com/ 2796723, URL https://ieeexplore.ieee.org/document/8267081/.
pybamm-team/PyBaMM. [31] E. Redondo-Iglesias, P. Venet, S. Pelissier, Eyring acceleration model for pre-
[8] pybamm team, GitHub - pybamm-team/liionpack. URL https://github.com/ dicting calendar ageing of lithium-ion batteries, J. Energy Storage 13 (2017)
pybamm-team/liionpack. 176–183, http://dx.doi.org/10.1016/j.est.2017.06.009.
[9] M. Eider, A. Berl, Dynamic Generation of Recommendations for EV Battery [32] J. Yang, B. Xia, W. Huang, Y. Fu, C. Mi, Online state-of-health estimation
Health, in: 2018 International Conference of Electrical and Electronic Tech- for lithium-ion batteries using constant-voltage charging current analysis, Appl.
nologies for Automotive, IEEE, 2018, pp. 1–6, http://dx.doi.org/10.23919/EETA. Energy 212 (2018) 1589–1600, http://dx.doi.org/10.1016/j.apenergy.2018.01.
2018.8493182, URL https://ieeexplore.ieee.org/document/8493182/. 010, URL https://linkinghub.elsevier.com/retrieve/pii/S0306261918300102.
[10] C. Gaete-Morales, H. Kramer, W.-P. Schill, A. Zerrahn, An open tool for creating [33] Y. Cai, L. Yang, Z. Deng, X. Zhao, H. Deng, Online identification of lithium-
battery-electric vehicle time series from empirical data, emobpy, Sci. Data 8 (1) ion battery state-of-health based on fast wavelet transform and cross D-Markov
(2021) 152, http://dx.doi.org/10.1038/s41597-021-00932-9. machine, Energy 147 (2018) 621–635, http://dx.doi.org/10.1016/j.energy.2018.
[11] DIW EVU, DIW EVU / emobpy /emobpy - GitLab. URL https://gitlab.com/diw- 01.001, URL https://linkinghub.elsevier.com/retrieve/pii/S036054421830001X.
evu/emobpy/emobpy. [34] P. Shen, M. Ouyang, L. Lu, J. Li, X. Feng, The co-estimation of state of charge,
[12] Zenodo, ERA-NUTS: time-series based on C3S ERA5 for European regions. URL state of health, and state of function for lithium-ion batteries in electric vehicles,
https://zenodo.org/record/3663518. IEEE Trans. Veh. Technol. 67 (1) (2018) 92–103, http://dx.doi.org/10.1109/TVT.
[13] pandas, pandas - Python Data Analysis Library. URL https://pandas.pydata.org/. 2017.2751613.
[14] scikit-fuzzy development team, SciKit-fuzzy - skfuzzy v0.2 docs. URL https: [35] E. Paffumi, G. Martini, Real-world mobility and environmental data for the
//pythonhosted.org/scikit-fuzzy/overview.html. assessment of in-vehicle battery capacity fade, World Electr. Veh. J. 12 (1)
[15] S.M. Rezvanizaniani, Z. Liu, Y. Chen, J. Lee, Review and recent advances in (2021) 48, http://dx.doi.org/10.3390/wevj12010048, URL https://www.mdpi.
battery health monitoring and prognostics technologies for electric vehicle (EV) com/2032-6653/12/1/48.
safety and mobility, J. Power Sources 256 (2014) 110–124, http://dx.doi.org/ [36] P. Keil, S.F. Schuster, J. Wilhelm, J. Travi, A. Hauser, R.C. Karl, A. Jossen,
10.1016/j.jpowsour.2014.01.085, URL https://linkinghub.elsevier.com/retrieve/ Calendar Aging of Lithium-Ion Batteries, J. Electrochem. Soc. 163 (9) (2016)
pii/S0378775314001098. A1872–A1880, http://dx.doi.org/10.1149/2.0411609jes, URL http://jes.ecsdl.
[16] M.A. Hannan, M.S.H. Lipu, A. Hussain, A. Mohamed, A review of lithium-ion org/lookup/doi/10.1149/2.0411609jes.
battery state of charge estimation and management system in electric vehicle [37] C.Y. Chang, P. Tulpule, G. Rizzoni, W. Zhang, X. Du, A probabilistic approach
applications: Challenges and recommendations, Renew. Sustain. Energy Rev. for prognosis of battery pack aging, J. Power Sources 347 (2017) 57–68, http:
78 (2017) 834–854, http://dx.doi.org/10.1016/j.rser.2017.05.001, URL https: //dx.doi.org/10.1016/j.jpowsour.2017.01.130, URL https://linkinghub.elsevier.
//linkinghub.elsevier.com/retrieve/pii/S1364032117306275. com/retrieve/pii/S0378775317301404.
11
M. Eider et al. Sustainable Computing: Informatics and Systems 37 (2023) 100845
[38] C. Dudézert, Y. Reynier, J.M. Duffault, S. Franger, Fatigue damage approach [50] K. Lepenioti, A. Bousdekis, D. Apostolou, G. Mentzas, Prescriptive analytics: A
applied to Li-ion batteries ageing characterization, Mater. Sci. Eng. B 213 (2016) survey of approaches and methods, in: Lecture Notes in Business Information
177–189, http://dx.doi.org/10.1016/j.mseb.2016.04.017. Processing, vol. 339, Springer, Cham, 2019, pp. 449–460, ISSN: 18651348.
[39] G.S. Misyris, A. Marinopoulos, D.I. Doukas, T. Tengnér, D.P. Labridis, On battery [51] R. Soltanpoor, T. Sellis, Prescriptive analytics for big data, in: Lecture Notes in
state estimation algorithms for electric ship applications, Electr. Power Syst. Res. Computer Science (Including Subseries Lecture Notes in Artificial Intelligence
151 (2017) 115–124, http://dx.doi.org/10.1016/j.epsr.2017.05.009. and Lecture Notes in Bioinformatics), vol. 9877 LNCS, 2016, pp. 245–256, ISSN:
[40] L.C. Casals, A.M.S. Gonzalez, B. Garcia, J. Llorca, PHEV Battery Aging Study 16113349.
Using Voltage Recovery and Internal Resistance from Onboard Data, IEEE Trans. [52] C. Gröger, H. Schwarz, B. Mitschang, Prescriptive analytics for recommendation-
Veh. Technol. 65 (6) (2016) 4209–4216, http://dx.doi.org/10.1109/TVT.2015. based business process optimization, in: Lecture Notes in Business Information
2459760, URL http://ieeexplore.ieee.org/document/7169612/. Processing, vol. 176 LNBIP, 2014, pp. 25–37, ISSN: 18651348.
[41] C. Geisbauer, K. Wöhrl, D. Koch, G. Wilhelm, G. Schneider, H.G. Schweiger, [53] M. Eider, A. Berl, Requirements for Prescriptive Recommender Systems Extending
Comparative study on the calendar aging behavior of six different lithium- the Lifetime of EV Batteries, in: 2020 10th International Conference on Advanced
ion cell chemistries in terms of parameter variation, Energies 14 (11) Computer Information Technologies (ACIT), IEEE, Deggendorf, Germany, 2020,
(2021) 3358, http://dx.doi.org/10.3390/en14113358, URL https://www.mdpi. pp. 412–417, http://dx.doi.org/10.1109/ACIT49673.2020.9209011, URL https:
com/1996-1073/14/11/3358. //ieeexplore.ieee.org/document/9209011/.
[42] G. Lacey, T. Jiang, G. Putrus, R. Kotter, The effect of cycling on the state of [54] W.P. Wagner, Trends in expert system development: A longitudinal content
health of the electric vehicle battery, in: Proceedings of the Universities Power analysis of over thirty years of expert system case studies, Expert Syst. Appl.
Engineering Conference, IEEE, 2013, pp. 1–7, http://dx.doi.org/10.1109/UPEC. 76 (2017) 85–96, http://dx.doi.org/10.1016/j.eswa.2017.01.028.
2013.6715031. [55] P. Wang, R.M.P. Goverde, Development of a train driver advisory system: ETO,
[43] J.S. Neubauer, E. Wood, A. Pesaran, A Second Life for Electric Vehicle Batteries: in: 5th IEEE International Conference on Models and Technologies for Intelligent
Answering Questions on Battery Degradation and Value, SAE Int. J. Mater. Transportation Systems, MT-ITS 2017 - Proceedings, IEEE, 2017, pp. 140–145,
Manuf. 8 (2) (2015) 2015–01–1306, http://dx.doi.org/10.4271/2015-01-1306. http://dx.doi.org/10.1109/MTITS.2017.8005654.
[44] W. Song, M. Chen, F. Bai, S. Lin, Y. Chen, Z. Feng, Non-uniform effect on the [56] Z.J. Zhou, G.Y. Hu, C.H. Hu, C.L. Wen, L.L. Chang, A Survey of Belief Rule-Base
thermal/aging performance of Lithium-ion pouch battery, Appl. Therm. Eng. 128 Expert System, IEEE Trans. Syst. Man Cybern. Syst. 51 (8) (2021) 4944–
(2018) 1165–1174, http://dx.doi.org/10.1016/j.applthermaleng.2017.09.090. 4958, http://dx.doi.org/10.1109/TSMC.2019.2944893, URL https://ieeexplore.
[45] J. Wu, X. Wang, L. Li, C. Qin, Y. Du, Hierarchical control strategy with battery ieee.org/document/8894055/.
aging consideration for hybrid electric vehicle regenerative braking control, [57] G.v. Capelleveen, C. Amrit, D.M. Yazan, H. Zijm, The recommender canvas: A
Energy 145 (2018) 301–312, http://dx.doi.org/10.1016/j.energy.2017.12.138. model for developing and documenting recommender system design, Expert Syst.
[46] G.w. You, S. Park, D. Oh, Real-time state-of-health estimation for electric vehicle Appl. 129 (2019) 97–117, http://dx.doi.org/10.1016/j.eswa.2019.04.001.
batteries: A data-driven approach, Appl. Energy 176 (2016) 92–103, http://dx. [58] E. Bouzekri, A. Canny, C. Fayollas, C. Martinie, P. Palanque, E. Barboni, Y.
doi.org/10.1016/j.apenergy.2016.05.051, URL https://linkinghub.elsevier.com/ Deleris, C. Gris, Engineering issues related to the development of a recommender
retrieve/pii/S0306261916306456. system in a critical context: Application to interactive cockpits, Int. J. Hum.
[47] A.S. Mussa, M. Klett, M. Behm, G. Lindbergh, R.W. Lindström, Fast-charging to Comput. Stud. 121 (2019) 122–141, http://dx.doi.org/10.1016/j.ijhcs.2018.05.
a partial state of charge in lithium-ion batteries: A comparative ageing study, J. 001.
Energy Storage 13 (2017) 325–333, http://dx.doi.org/10.1016/j.est.2017.07.004. [59] R. Yera, L. Martínez, Fuzzy tools in recommender systems: A survey, Int. J.
[48] J. Lindgren, P.D. Lund, Effect of extreme temperatures on battery charging Comput. Intell. Syst. 10 (1) (2017) 776–803, http://dx.doi.org/10.2991/ijcis.
and performance of electric vehicles, J. Power Sources 328 (2016) 37– 2017.10.1.52.
45, http://dx.doi.org/10.1016/j.jpowsour.2016.07.038, URL http://linkinghub. [60] N. Nikzad-Khasmakhi, M.A. Balafar, M.R. Feizi-Derakhshi, The state-of-the-art
elsevier.com/retrieve/pii/S0378775316308941. in expert recommendation systems, Eng. Appl. Artif. Intell. 82 (2019) 126–147,
[49] F. Richter, P.J.S. Vie, S. Kjelstrup, O.S. Burheim, Measurements of ageing and http://dx.doi.org/10.1016/j.engappai.2019.03.020.
thermal conductivity in a secondary NMC-hard carbon Li-ion battery and the
impact on internal temperature profiles, Electrochim. Acta 250 (2017) 228–237,
http://dx.doi.org/10.1016/j.electacta.2017.07.173.
12