Next Article in Journal
A Novel Prediction Model for Thermal Conductivity of Open Microporous Metal Foam Based on Resonance Enhancement Mechanisms
Previous Article in Journal
Framework for Selecting the Most Effective State of Health Method for Second-Life Lithium-Ion Batteries: A Scientometric and Multi-Criteria Decision Matrix Approach
Previous Article in Special Issue
Advanced Energy Systems in Energy-Resilient and Zero/Positive Energy Buildings, Communities, and Districts
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Smart Charging Recommendation Framework for Electric Vehicles: A Machine-Learning-Based Approach for Residential Buildings

by
Nikolaos Tsalikidis
1,
Paraskevas Koukaras
1,2,*,
Dimosthenis Ioannidis
1 and
Dimitrios Tzovaras
1
1
Information Technologies Institute, Centre for Research & Technology, 6th km Charilaou-Thermi, 57001 Thessaloniki, Greece
2
School of Science and Technology, International Hellenic University, 14th km Thessaloniki-Moudania, 57001 Thessaloniki, Greece
*
Author to whom correspondence should be addressed.
Energies 2025, 18(6), 1528; https://doi.org/10.3390/en18061528
Submission received: 24 February 2025 / Revised: 17 March 2025 / Accepted: 18 March 2025 / Published: 19 March 2025

Abstract

:
The transition to a decarbonized energy sector, driven by the integration of Renewable Energy Sources (RESs), smart building technology, and the rise of Electric Vehicles (EVs), has highlighted the need for optimized energy system planning. Increasing EV adoption creates additional challenges for charging infrastructure and grid demand, while proactive and informed decisions by residential EV users can help mitigate such challenges. Our work develops a smart residential charging framework that assists residents in making informed decisions about optimal EV charging. The framework integrates a machine-learning-based forecasting engine that consists of two components: a stacking and voting meta-ensemble regressor for predicting EV charging load and a bidirectional LSTM for forecasting national net energy exchange using real-world data from local road traffic, residential charging sessions, and grid net energy exchange flow. The combined forecasting outputs are passed through a data-driven weighting mechanism to generate probabilistic recommendations that identify optimal charging periods, aiming to alleviate grid stress and ensure efficient operation of local charging infrastructure. The framework’s modular design ensures adaptability to local charging infrastructure within or nearby building complexes, making it a versatile tool for enhancing energy efficiency in residential settings.

1. Background

1.1. Introduction

The effects of climate change have heightened awareness about the need for energy sector decarbonization. This transition towards decarbonization is already reshaping the ways energy is produced, distributed, and consumed globally. The development of Renewable Energy Sources (RESs) and intelligent grid systems, coupled with the widespread adoption of Electric Vehicles (EVs), has made electric power system planning, scheduling, and operation central components of sustainability initiatives. EVs have become an established alternative to Internal Combustion Engine Vehicles (ICEVs), as policymakers worldwide incentivize a push towards realizing carbon neutrality [1,2]. In 2023, approximately 40 million electric passenger cars were in operation globally, with new EV sales surpassing the previous year by 3.5 million, accounting for 18% of all new vehicle sales [3]. At the same time, the growing adoption of smart building technologies, enabled by Internet of Things (IoT) technology and advanced data analytics, has revolutionized energy management strategies [4]. This shift is vital for enhancing overall energy efficiency and facilitating the effective integration of RESs into existing grids [5,6,7]. Looking ahead, smart residential buildings are envisioned to become proactive [8], integrating advanced sensor networks and communication technologies, thereby enabling seamless, bidirectional interaction with energy distribution systems and fostering more efficient, adaptive energy management [9,10,11]. Assessment tools such as the Smart Readiness Indicator (SRI) play a key role in evaluating a building’s capacity to optimize energy consumption through the integration of smart technologies. By quantitatively assessing factors like energy efficiency, grid interaction, and occupant requirements, the SRI facilitates more informed decision-making across various building types [12,13,14]. In smart building environments and EV charging scenarios, the integration of the SRI encourages adaptive energy strategies [15,16,17], ensuring grid-friendly charging and improved system resilience [18].
The primary objective of this research was to develop a smart charging recommendation framework that enhances the decision-making process for residents. This framework was contextualized through a real-world case study in Norway, where it leveraged residential EV charging session data alongside local passenger car mobility patterns. Our work initially focused on a comprehensive analysis of charging session characteristics, which informed the development of ML algorithms for predicting localized EV charge loads. These forecasting results were subsequently integrated into the recommender system, which identified prospective periods of both low national grid-level electricity demand and local charging demand. This approach contributes to optimizing grid flexibility and ensures the smooth operation of local charging infrastructure, mitigating the risk of overloads. Additionally, it potentially promotes cost-effectiveness and enhanced energy efficiency by aligning charging with off-peak periods for residential users. Beyond its immediate operational benefits for residential EV charging, our proposed recommendation framework distinguishes itself through its customizability and adaptability:
  • The modular design of the ML-based forecasting engine facilitates the integration of additional data streams—such as national grid energy flows—ensuring that the system remains responsive to evolving energy market dynamics as well as user requirements.
  • The framework employs a dynamic weighting mechanism for the forecast values, which underpins the generation of a probabilistic recommendation. This flexible mechanism can be recalibrated based on local and regional/national data streams, thereby optimizing energy usage recommendations across a broader spectrum of operational scenarios.

1.2. EV Charging Operations

EV charging operations pose significant challenges to the stability of local power substations, national grids, and electrical grids. One approach to addressing these challenges is Smart Charging (SC) [19,20,21]. SC can be implemented in two main ways: User-Managed Charging (UMC), where users independently decide when and for how long to charge based on available information and pricing policies, or Supplier-Managed Charging (SMC), where the charging process is controlled by the system operator using data provided by the user [22]. Our focus is on UMC, where users/residents can adopt more flexible energy consumption patterns supported by systems that provide signals to encourage them to make more intelligent decisions about their energy use. Coupled with the emergence of smart grids in urban areas [23,24] and the integration of building smart energy management systems [25], this has elevated the significance of enhanced decision-making in charging operations [26,27].
Understanding EV energy demands and charging patterns is crucial for developing accurate forecasting methods and optimizing charging infrastructure management [28,29]. Two major factors are involved: the quantity of energy required, and the timing of the charging activity [30]. However, the frequent unpredictability of users’ charging habits and behaviors—including variations in start time, duration, and energy demand—complicates the scheduling and optimization of charging sessions [31,32,33]. Consequently, the integration of EVs into existing power grids poses significant challenges to stability, necessitating the development of advanced forecasting and Demand Side Management (DSM) strategies that can dynamically adjust to real-time demand fluctuations [34]. The study of [35] reviewed various DSM strategies (load shifting, peak shaving), while also addressing the challenges of systemic uncertainties. It examined diverse modeling and optimization methods, including linear programming, metaheuristic algorithms (such as PSO), and hybrid approaches—used to enhance EV scheduling and energy management.
In the residential context, EV charging behavior can be generally categorized into three distinct patterns:
  • Peak Charging: Occurring when vehicle owners charge their vehicles immediately after work, coinciding with periods of heightened residential electricity demand. The simultaneous increase in residential electricity consumption and EV charging can significantly elevate grid load peaks, potentially requiring DSM interventions such as load-shifting strategies.
  • Off-Peak Charging: Involving delayed or controlled charging, this pattern typically occurs during night hours when electricity rates are lower and overall demand is reduced. Off-peak charging offers the opportunity to flatten the load curve and improve grid stability by shifting energy consumption to periods with surplus generation capacity.
  • Stochastic Charging: Characterized by sporadic charging events based on immediate needs or personal habits, this pattern is the most unpredictable. Its random nature complicates accurate forecasting. Nonetheless, such charging behavior tends to be less prevalent in residential scenarios compared to public charging in commercial areas.

1.3. Related Work

Advanced forecasting methods are essential to predict such charging patterns effectively, as they enable better optimization of the probabilistic profile of the EV charge load. The widespread deployment of EV charging stations—encompassing public networks as well as private facilities at residences and workplaces—has resulted in an extensive accumulation of charging-related data [36]. Traditionally, load forecasting has relied on statistical-based algorithms. However, with this exponential increase in available data, emerging studies suggest that data-driven algorithms demonstrate more robust behavior compared to conventional statistical methods for load forecasting [37,38,39]. Specifically, the shift towards ML and DL approaches reflects their enhanced ability to capture the complex, non-linear relationships and temporal dependencies inherent in EV charging data [40,41]. Recent research has focused on smart charging techniques that leverage data-driven methodologies and optimization algorithms to dynamically optimize charging schedules, mitigate grid stress, and enhance the integration of RES. In this section, we highlight key relevant studies.
Kara et al. [42] utilized charging events, encompassing EV arrival and departure times and charging power levels, to estimate EV charge load and assess the advantages of smart charging strategies. Their framework evaluated two case studies: one demonstrated that behind-the-meter EV aggregations could reduce monthly electricity costs by up to 24.8% under time-of-use pricing, and another showed that controlled charging reduced the EV peak load contribution by a median of 37%, shifting approximately 0.25 kWh (≈2.8%) per session from peak to off-peak periods.
Brady et al. [43] applied a stochastic simulation approach to generate schedules for daily travel and charging profiles. Their probabilistic charging decision model calculates the likelihood of an EV being charged upon arrival at a destination, taking into account the current State of Charge (SoC), available parking time, and the specific journey in progress.
The work of [44] proposed a hybrid CNN-LSTM model for multi-step EV charge load forecasting in smart buildings, outperforming traditional methods. By leveraging convolutional layers to extract localized temporal features and LSTM layers to capture long-term dependencies, the model effectively addresses complex dynamics, achieving high accuracy.
The work in [45] assessed the impact of ambient temperature, traffic conditions (e.g., congestion), and spatiotemporal distribution on EV charge load forecasting, utilizing Monte Carlo simulations. In particular, by incorporating ambient temperature and traffic condition factors, the forecasting accuracy was improved by around 38%.
In [46], a novel multilayer iterative stochastic dynamic programming (MISDP) framework was introduced for optimizing energy management in residential settings with integrated electric vehicles. The approach decomposes the problem into two iterative layers: an external layer that adapts to stochastic fluctuations in electricity prices and residential demand, and an internal layer that fine-tunes real-time EV battery charging and discharging strategies. This dual-layer scheme minimizes energy costs, while extending battery life and maintaining grid stability.
To enhance grid stability amid rising EV charging demands, researchers in [47] proposed an innovative integration strategy that leverages dynamic scheduling and control algorithms. By fusing real-time data—such as battery state-of-charge, arrival/departure times, and real-time pricing—from both distribution system operators and EV owners, the system continuously refines its charging and discharging schedules. This iterative optimization identifies optimal energy injection moments, reducing peak loads, improving voltage profiles, and minimizing losses, while maximizing the financial benefits for EV owners.
The work of [48] introduced a novel valley-filling heuristic for optimizing electric vehicle charging to enhance grid stability. It presented a Load Conservation Valley-Filling (LCVF) method that builds on classical and optimistic valley-filling strategies by preserving EV load allocation states across iterations, thereby reducing oscillatory behavior. Evaluated across various scenarios, LCVF achieved up to a 20% reduction in peak demand compared to traditional methods, demonstrating improved energy efficiency and grid reliability.
This paper [49] presents an integrated approach to optimize the sizing of battery energy storage systems (BESS) for residential households, specifically addressing the energy requirements of EV charging infrastructure in conjunction with PVs. Using LSTM to forecast monthly load profiles, the approach identifies the optimal BESS capacity needed to capture surplus solar energy and perform peak shaving. The integration of real-time pricing further refines energy management, reducing both operational costs and installation size.
The work in [50] presented a novel charging method that exploits a building’s idle power capacity to manage EV charging efficiently. Central to this solution is an intelligent scheduling and control algorithm that dynamically adjusts the charging current for each EV. By incorporating user-specific inputs (e.g., SoC, available charging time), the system formulates a non-linear minimization problem. The objective is to minimize the gap between the time needed to reach the desired SoC and the time available for charging, while also respecting the building’s power limitations. The algorithm employs a Sequential Least Squares Programming (SLSQP) method to iteratively determine the optimal charging current allocation for each vehicle, ensuring efficient power usage and overall system safety.

2. Methodology

2.1. Data Description

Our case study focuses on residential buildings with EV charging infrastructure, as detailed in [51]. The Risvollan housing complex in Trondheim, Norway, accommodates 2400 residents across 1113 apartments. Its EV charging network includes up to 764 Charging Points (CPs) in private and shared parking areas. CPs are located in individual parking spots for residents or shared parking zones.
The charging infrastructure balances the EV demand in each garage, ensuring they remain within the specified overall power limit. All charging sessions registered include plug-in times, plug-out times, and charged energy. From January 2019 to January 2020, 6878 charging sessions were registered. The EVs can charge at 24 different parking locations, each with an Advanced Measurement System (AMS) type of meter measuring the aggregated EV charge load. We focused on data from two main garages (Bl2 & A1), as more than 35% of the total charging sessions of the housing complex occurred in these garages. We also incorporated the hourly traffic flow data of passenger cars in six nearby traffic locations. The data were collected from a web portal [52], and more details can be found in this study [53]. The overall elements of the final dataset utilized in our work are described in Table 1.
Table 2 provides descriptive statistics for EV charge load for both garages. To provide a more intricate view of the dataset, a set of key figures was produced to visualize the notable patterns in EV charging behavior. Figure 1 presents a frequency histogram depicting the distribution of charging session durations, while Figure 2 shows the daily distribution of plug-in and plug-out times. Figure 3 shows the connection time, private and shared, for all CP sessions of the Risvollan complex.
Most charging sessions lasted fewer than five hours; however, a secondary peak in the 10–15 h range suggests that a subset of users intentionally left their vehicles plugged in for extended periods, such as overnight charging. There were clear differences between shared and private sessions with regard to plug-in and plug-out times. For private users, plug-in times for their vehicles primarily occurred during the afternoon (i.e., 3–9 PM), while shared chargers exhibited increased activity during the morning to early afternoon period (9 AM to 3 PM), especially on weekdays. Regarding plug-out times, the highest proportion of private users disconnected their vehicles between 6 and 9 AM, most likely to commence their daily commute. In contrast, shared chargers displayed a more balanced distribution of plug-out times. This suggests that shared chargers may be utilized by a broader range of residents (not solely those commuting to work), thereby allowing greater flexibility for charging during working hours, as seen with work-from-home residents.
Regarding connection times, in private charging arrangements, vehicle owners typically do not face external constraints when disconnecting once charging is complete. Consequently, vehicles often remain plugged in for extended periods (especially overnight). This contributed to the secondary peak in connection durations of 10–15 h (Figure 1). In shared charging, there is an expectation that users free up the charging station as soon as the SoC is sufficient, which generally encourages more targeted and shorter charging sessions.

2.2. Net Energy Exchange Data (Norway)

Norway, a leading renewable energy producer in the EU, relies heavily on hydroelectric power, leading to grid variations influenced by integration with renewable energy sources (RES). A notable characteristic of Norway’s hydropower system is its substantial storage capacity. The country accounts for half of Europe’s reservoir storage capacity, and over 75% of its production capacity is flexible [54]. This flexible system stores water during low demand, optimizing resource allocation during peak demand periods. A key metric of energy demand trends is the total net energy exchange, representing imports (negative values) and exports (positive values) on the national grid [55]. Day-ahead pricing data show electricity costs fluctuate within a 24 h cycle, typically lowest at night and weekends, and highest during the day [56]. This pattern aligns with hydropower operational practices, where plants often disengage from the energy grid during low-demand periods, typically during late-evening and night-time hours, to store water, ensuring there are sufficient reserves to be used for daytime peaks in energy demand. During these periods, the grid relies more on energy imports from neighboring countries’ thermal power plant-based output, which provides low-cost electricity during off-peak periods [55], hence driving the end-consumer electricity pricing downward. Figure 4 illustrates this operational strategy by highlighting the temporal variations in grid exchange. Negative values denote energy imports, while positive values indicate exports.
Specifically, selected days in 2019 reveal two distinct net energy exchange peaks—one occurring in the early morning (approximately 7–8 AM) and another in the late afternoon (around 5–6 PM). In contrast, during nighttime hours (i.e., from 10 PM to approximately 5–6 AM), the net energy exchanges trend toward zero and negative values, reflecting a period of increased reliance on energy imports.

2.3. Preprocessing and Feature Engineering

Since the target variable (EV charge load) exhibited differing magnitudes between the two garages (Table 2), normalization was applied using Min-Max scaling to rescale the target values to a common range, ensuring consistency for model training. Outliers exceeding the 99.99th percentile were capped at their respective maximum values to mitigate the influence of extreme observations. Additionally, time-based interpolation was used to fill in any missing values, thereby maintaining the continuity of the dataset for model training.
  • Temporal features: Seasonality features were generated by partitioning timestamps into categorical variables (e.g., hour, day, week, and month). Additional features, such as off-peak hours, were synthesized to better capture variations in charging and traffic patterns. Then, a sinusoidal positional encoding method was utilized to preserve the inherent periodicity of these features. For a given temporal feature x (e.g., the hour of the day) with a known maximum value x max (for instance, 24 for hours), cyclical encoding is defined by the following transformations:
    x sin = sin 2 π x x max , x cos = cos 2 π x x max .
    This mapping projects the value x onto the unit circle, ensuring that values near the cycle boundaries (e.g., 23:00 and 00:00) are close in the transformed space.
  • Other features: Two additional exogenous features were included in the dataset:
    Public/Private Charging Share: Charging sessions were classified into shared and private categories. The hourly proportion for each category was computed by aggregating the session durations, which were first recorded on a minute-by-minute basis and subsequently summed to obtain an hourly total.
    Local Traffic Flow Indicator: This feature quantifies the variability of local traffic patterns by employing dimensionality reduction. Specifically, Principal Component Analysis (PCA) was applied to traffic flow data collected from six nearby locations (Figure 5) over the preceding eight hours. The data were then projected onto the first principal component, which was subsequently utilized as a training feature.

2.4. Forecasting Approach

During implementation, various ML and DL algorithms were trained and tested for one-step-ahead forecasting, with the best-performing models selected for further tuning. The evaluation included tree-based and non-tree-based ML algorithms, as well as Recurrent Neural Networks (RNNs), which are well-suited for time series forecasting. Before applying regression techniques, data standardization was performed, since non-tree-based algorithms and RNNs require scaled features.
The final feature matrix was constructed using the Sliding Window (SW) technique [57], which creates lagged variables by shifting data in 24 h increments. Let
{ x t } t = 1 T , x t R F ,
denote the original time series data, where F is the number of features per time step. To generate lagged variables with a 24 h shift, a sliding window of length L is applied. Specifically, for the ith sample, the sliding window is defined as
X i = x i x i + 24 x i + ( L 1 ) · 24 R L × F .
For RNN models, the entire dataset was organized as a three-dimensional tensor:
X R N × L × F ,
where N is the total number of samples, L represents the number of time steps (lagged observations), and F is the number of features. For models that do not explicitly capture temporal dependencies (such as tree-based models), the sliding window samples are flattened into a two-dimensional feature matrix, where the time steps are concatenated along the feature dimension.
In our work, the window length L was chosen as 24, corresponding to 24 h. This decision was motivated by empirical knowledge and the observed daily cyclical patterns in residential EV charging behavior. Experiments confirmed that a 24 h lag effectively captured the daily recurring patterns in EV load, maximizing forecasting performance, while avoiding unnecessary expansion of the feature space.
The forecasting approach is specifically tailored to one-step-ahead prediction, where the model forecasts the immediate subsequent value based on historical data. This targeted strategy ensures timely and precise predictions, which are critical for dynamic EV charging recommendation, as it enables rapid updates with the most recent information, reducing forecast uncertainty. The overall forecast modeling methodology is illustrated in Figure 6.

2.4.1. EV Charge Load Forecasting

Based on empirical experience, for the forecast of the next hour EV charge load, we tested different key base ML regressors such as LightGBM (LGBM), HistGradientBoosting (HGB), XGBoost (XGB), CatBoost (CB), Gradient Boosting (GB), Extra Trees (ET), Huber Regressor (HR), and Lasso Lars CV (LLCV). Our strategy was to evaluate these base models and select the best-performing ones in terms of accuracy, to develop a meta-ensemble regressor that utilized both stacking and voting strategies. The selected models were hyperparameter-tuned using empirical knowledge and the grid search method.
Let f 1 , f 2 , , f M denote a set of M base regressors trained to forecast the next hour’s EV charge load. For an input x, each base model produces a prediction
y ^ j ( x ) = f j ( x ) , j = 1 , 2 , , M .
Stacking Strategy: In stacking, the forecasts of the selected base regressors are used as training features to form the vector:
y ^ ( x ) = y ^ 1 ( x ) y ^ 2 ( x ) y ^ M ( x ) ,
Then, a meta-learner g maps these features to the final output:
y ^ ( x ) = g y ^ 1 ( x ) , y ^ 2 ( x ) , , y ^ M ( x ) .
Voting Strategy: In this case, the final forecast is computed as the weighted average of the base regressors’ forecasts:
y ^ ( x ) = j = 1 M α j y ^ j ( x ) ,
subject to
j = 1 M α j = 1 and α j 0 , j .
The weights α j are chosen based on the relative performance of the base models.
Stacking and Voting Meta-Ensemble Regressor (SVMER): In our approach, we selected the best-performing base models based on their observed accuracy. Their predictions were then combined in the stacking framework, where the meta-learner was implemented as a voting regressor:
y ^ ( x ) = g y ^ 1 ( x ) , , y ^ M ( x ) = j = 1 M α j y ^ j ( x ) .
For the meta-learner, we selected a combination of linear (LLCV) and tree-based regressors (ET, GB). This selection enables the ensemble to capture both linear trends and potential nonlinear interactions among the base forecasts. To ensure robustness and mitigate overfitting, we employed a 5-fold Cross-Validation (CV) strategy during the meta-learning phase. Specifically, the training data were divided into five equal parts; for each fold, the base regressors were trained on four parts and used to generate predictions on the remaining part. These out-of-fold forecasts served as unbiased inputs for training the voting regressor. Since each forecast is produced by a model that has not been exposed to the corresponding subset of data, this approach yields more reliable estimates of model performance and enhances the overall generalization.

2.4.2. Net Energy Exchange Forecasting

Similarly to the localized EV charge load time series, based on the available historical data, we developed a forecasting model for Norway’s net electric energy exchange. Considering that the net energy exchange data comprise a large univariate time series spanning four years (2019–2023), a dataset substantially larger than that used for the local EV charge load, we opted to experiment with DL methods. In particular, RNN architectures were selected, due to their proven ability to capture long-term temporal dependencies in sequential data, especially when trained on extensive datasets. We developed and evaluated three established RNN-based models: Long Short-Term Memory (LSTM), its bidirectional variant (biLSTM), and Gated Recurrent Unit (GRU).
A comprehensive exploration of various network architectures and hyperparameter settings was conducted to optimize the one-step-ahead forecasting accuracy. Key hyperparameters were carefully optimized to balance model complexity and generalization ability. All three models employed a shared stacked architecture consisting of three recurrent layers with dropout regularization. In our configuration, each recurrent layer was set to 24 hidden units, and a dropout rate of 0.2 was applied to mitigate overfitting. We adopted the ReLU activation function and the Adam optimizer.

2.5. Smart Charging Recommendation Framework

In our recommendation framework, we integrate local EV charge load data with Norway’s net electric energy fluctuation profile to generate smart charging recommendations. Benefiting the outcomes of the two developed forecasting models, the framework is designed to be reproducible and easily adaptable to diverse use cases and building configurations, making it a versatile tool for residents and EV users to optimize their charging decisions.
The framework determines a confidence level that assesses the energy efficiency of EV charging within the next hour based on the forecast EV charge load and the national net energy exchange. Confidence levels are calculated using a weighting mechanism applied to the forecast values. The weighting is guided by boundary conditions, which are defined based on the data distribution; in particular, the quartiles extracted for the period analyzed (2019). Lower values (below Q 1 ) for both the EV charge load and net energy exchange are assigned higher weights, while higher values are penalized. These weights, combined with the forecasting model accuracies ( R 2 ), yield the final confidence level.
We define the forecast variables as follows:
F EV = Forecast EV charging load ( kWh ) , F NEE = Forecast net energy exchange ( MWh ) .
The historical quartiles are denoted by
Q 1 , EV , Q 3 , EV ( for EV charge load ) , Q 1 , NEE , Q 3 , NEE ( for net energy exchange ) .
For any forecast value x (either F EV or F NEE ) with corresponding quartiles Q 1 and Q 3 , define the weight function as
ω ( x ; Q 1 , Q 3 ) = 1 , if x Q 1 , Q 3 x Q 3 Q 1 , if Q 1 < x < Q 3 , 0 , if x Q 3 .
Thus, the weights for the forecasts are
ω EV = ω F EV ; Q 1 , EV , Q 3 , EV , ω NEE = ω F NEE ; Q 1 , NEE , Q 3 , NEE .
Let the forecasting accuracies ( R 2 values) be:
A EV = Accuracy for the EV charge load model , A NEE = Accuracy for the net energy exchange model .
Using a balancing parameter λ [ 0 , 1 ] , the overall confidence score C is computed as
C = λ ( ω EV · A EV ) + ( 1 λ ) ( ω NEE · A NEE )
Finally, the continuous confidence score C is mapped to five discrete probability classes, ranging from ’Very Low’ to ’Very High’. These categories aim to provide a qualitative assessment of the confidence in energy-efficient EV charging.
Confidence Level = Very High , if C 0.8 , High , if 0.6 C < 0.8 , Medium , if 0.4 C < 0.6 , Low , if 0.2 C < 0.4 , Very Low , if C < 0.2 .
The overall methodological concept of the residential recommendation framework is depicted in Figure 7.
Utilizing the forecasts generated by the trained models and the developed smart charging recommendation methodology, residents and EV users can be promptly notified of favorable charging conditions. These conditions are determined based on two main factors:
  • A lower national energy demand, which typically correlates with reduced electricity costs for residential users.
  • A short-term assessment of the anticipated charging load, ensuring that the cumulative demand remains within the normal operating power limit of the residential block’s charging infrastructure and serving as an indicator of increased availability of shared CP.

3. Experimental Results and Discussion

3.1. Forecasting Results

This research demonstrates a step-by-step approach for forecasting EV charge load and national net energy exchange using both ML and DL models. The experimental results validated the proposed methods, with high forecasting accuracy achieved for both targets. The developed smart charging recommendation framework shows promising potential for guiding EV users to charge during periods of lower grid demand, thereby enhancing energy efficiency and reducing electricity costs. Seasonal variations and external factors (such as weather conditions and traffic diversions) may influence the variability in forecast outcomes.
Table 3 illustrates the base regression models utilized and tested against the SVMER. The results indicate that the developed SVMER model clearly outperformed the base models, providing more accurate forecasts. By combining multiple models, SVMER can aggregate their strengths, reducing the risk that an error in a single base model will disproportionately affect the final prediction and mitigate their weaknesses, leading to improved overall performance.
Based on the experimental modeling results, we selected the best-performing base models to develop a meta-ensembling learner (SVMER). The selected models and overall structure of the meta-ensembling learner are depicted in Figure 8.
For the net energy exchange case, the RNNs proved more accurate than traditional ML algorithms. The results of the tested RNN models showed that all models achieved high forecasting accuracies in predicting the next hour’s net energy exchange (Table 4). The observed high forecasting accuracy can be attributed to the clear periodic pattern exhibited by the net energy exchange between daytime and nighttime. This recurring cycle was effectively captured by the implemented RNNs, showcasing their ability to discern and replicate complex temporal dependencies. This was further enhanced by the substantial volume of data used for training (about three years of historical data). The biLSTM model had a slightly better performance, most likely due to its ability to capture both past and future contextual information—a critical factor for modeling complex sequential dependencies. Hence, it was finally chosen to predict the values to be fed into the recommendation framework.
Concerning potential overfitting effects, as illustrated in Figure 9, the training and validation metrics remained closely aligned throughout the training process, showing no significant deviations that would suggest overfitting. Both curves steadily decreased and eventually converged to stable values, indicating that the model was effectively learning underlying patterns in the data, while maintaining a robust generalization performance.

3.2. Charging Recommendations

We selected indicative results for most hours of the day to showcase the outcome of the developed charging recommendation framework, as depicted in Table 5. Initially, we noticed that in certain instances—such as the case on 16 March 2019 at 12:00:00—the probability of efficient charging remained low or medium, despite a negative net energy forecast. This apparent inconsistency is attributable to the balancing parameter, λ , which was set to 0.5 in our study. By assigning equal weight to the net energy forecast and the local EV charge load, the framework allows for the possibility that a high local load, even in the presence of a negative net energy forecast, may moderate the overall recommendation probability.
From a 24 h periodic point of view, during late night hours and very early morning hours, the probability of a more efficient charge was high, likely due to the lower power demand, highlighted by the energy imports. For mid-day and afternoon hours, there was an indication of a low probability of an efficient charge. This can probably be attributed to the fact that these are mostly peak hours in terms of energy consumption on the national grid level and to the high number of EV plug-ins.
Concerning the morning hours (i.e., 06:00–11:00), the patterns seemed less clear in terms of consistency. There were mornings with a low-to-medium probability of efficient charging, but there were also cases with an indication for more efficient charging. This could be partly attributed to fluctuations in the net energy exchange, potentially influenced by weather conditions and seasonal shifts, such as increased solar energy in summer or reduced hydropower during freezing conditions.

4. Conclusions

Smart EV charging, empowered by data-driven forecasting methods, has the potential to enhance user decision-making and ensure the optimal operation of local charging infrastructure, while providing the flexibility needed to alleviate peak electricity demand on the grid. This study investigated the time series forecasting of EV charge load and net energy exchange, two critical inputs for a smart EV charging recommendation framework designed to assist residents in making informed charging decisions.
The first step was a one-step time series forecasting of EV charge load and net energy exchange. A variety of ML and DL models were tested, and the best-performing models were selected. In particular, for forecasting EV charge load, a robust meta-learner—referred to as the Stacking and Voting Meta-Ensemble Regressor (SVMER)—was developed by combining multiple base models using stacking and voting strategies. This ensemble approach leveraged the diversity of models to generalize better to unseen data, a crucial aspect in time series forecasting, where future conditions may diverge from historical data.
The second step was to develop a data-driven charging recommendation mechanism. This mechanism suggests optimal strategies for residents to charge their EVs based on the forecasting engine output. It probabilistically identifies prospective periods of low grid-level electricity and local charging demand and advises EV users to charge their vehicles within the next hour. In alignment with the SRI’s primary objectives, this empowers residents to optimize energy efficiency by responding to dynamic grid signals, thereby enhancing the overall intelligence and energy performance of their smart homes.
The experimental results revealed that efficient EV charging was typically highest when a negative net energy forecast, indicating a surplus of energy, aligned with a low local EV charge load. In accordance with that, charging efficiency was generally higher during off-peak hours (late night and early morning) and lower during peak periods (mid-day and afternoon). That said, although some recommendations indicated high efficiency, others only achieved moderate or low efficiency, even under favorable grid conditions. This variation is largely driven by the balancing parameter λ , which in our study was set to equally weight the net energy forecast and local EV charge load. Under this configuration, a high local load affects the overall recommendation probability, even when surplus energy is available. The framework also prioritizes the optimal performance of the local charging infrastructure, mitigating the risk of overloading. Additionally, the charging efficiency was generally higher during off-peak hours (late night and early morning) and lower during peak periods (mid-day and afternoon), with some morning variability likely due to weather and seasonal effects.
The added value of our recommendation framework is its inherent adaptability and modular design. Designed to accommodate evolving energy market dynamics, the framework allows seamless integration of additional data streams, such as energy flows from the national grid. This adaptability ensures that the system remains responsive to regional energy variations and policy changes, and thus adaptable to a wide range of geographical locations. Importantly, the framework functions as a decision-making indicator system for residential users, guiding them toward optimal charging times, without attempting to synchronize EV charging with intermittent RESs on a national scale, a task better suited to top-down grid-level management.

4.1. Implications

The outcomes of this study have several broader implications for stakeholders, with a particular focus on benefiting the end-user:
  • Residents of future smart buildings who also drive EVs. The proposed framework offers a user-centric decision support tool that enables them to optimize their charging schedules.
  • Charge Point Operators (CPOs) can offer personalized recommendations to users and implement dynamic pricing and service strategies. For instance, during peak grid demand, prices at certain charging points might increase to incentivize users to charge at off-peak times or locations with lower grid stress.
  • If implemented on a larger scale, Distribution System Operators (DSOs) and CPOs can collaborate to create more efficient Demand Response (DR) solutions. The predictive capabilities not only support the synchronization of local charging decisions with broader grid conditions but can also help facilitate the incorporation of RESs and Vehicle-to-Grid (V2G) technologies.

4.2. Limitations and Future Work

This work has certain limitations that need to be acknowledged. Starting from the training process, the training dataset was confined to charging data from only two garages, which may not adequately capture the diverse patterns and variations inherent in broader time series datasets. The forecasting engine’s predictive performance could benefit from incorporating additional data from a diverse range of case study building complexes with EV infrastructure. This enrichment would ensure that the model more accurately reflects local conditions. In certain cases, the framework produced inconsistent recommendations and lacked a concrete pattern. These findings underscore the need for further research. Potential areas of future expansion involve the following main aspects:
  • A more detailed sensitivity analysis of the balancing parameter, λ . Future work should explore the development of an adaptive weighting scheme that dynamically adjusts based on real-time grid conditions and local charging infrastructure constraints, which could further enhance the robustness of the recommendations.
  • Enhance the methodology by incorporating multi-step ahead forecasting and expanding the training dataset to include additional charging data and longer timeframes. Validate the models on new data and investigate their improvement in terms of forecasting accuracy and generalization.
  • Regarding the cost-effectiveness aspect, the framework could be further enhanced by incorporating Day-ahead Market (DAM) energy price data. This enhancement would enable the framework to provide more accurate recommendations during periods of low electricity pricing. This could contribute to establishing economic incentives for EV users with respect to charging operations.

Author Contributions

Conceptualization, N.T.; methodology, N.T. and P.K.; validation, P.K. and D.I.; formal analysis, N.T.; investigation, N.T.; resources, D.I. and D.T.; data curation, N.T.; writing—original draft preparation, N.T. and P.K.; writing—review and editing, N.T., P.K. and D.I.; visualization, N.T.; supervision, P.K.; project administration, D.I. and D.T.; funding acquisition, D.I. and D.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the EU’s LIFE Programme program under grant agreement No. 101077169.

Data Availability Statement

The datasets used for modeling in this study are openly available and can be extracted. EV charge load: Available in Mendeley Data at https://data.mendeley.com/datasets/jbks2rcwyj/1 under the **Creative Commons Attribution (CC BY 4.0)** license (accessed on 10 December 2024). Traffic flow: Can be retrieved from Norwegian Public Roads Administration, Trafikkdata website [52]. Net energy exchange (import/export): Can be retrieved from Statnett [55].

Acknowledgments

The authors would like to thank all the data providers and institutions whose open data repositories made this study possible.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
A EV Accuracy ( R 2 ) of the EV charging load forecasting model
A NEE Accuracy ( R 2 ) of the net energy exchange forecasting model
AMSAdvanced Measurement Systems
biLSTMbidirectional Long Short-Term Memory
BESSBattery Energy Storage System
CBCatBoost
CNNConvolutional Neural Network
CPCharging Point
CVCross-Validation
CVRMSECoefficient of Variation in the Root Mean Square Error
DAMDay-ahead Market
DRDemand Response
DSMDemand Side Management
DLDeep Learning
DSODistribution System Operator
DTRDecision Tree Regressor
EVElectric Vehicle
ETExtra Trees
F EV Forecast EV charge load (kWh)
F NEE Forecast net energy exchange (MWh)
GBGradient Boosting
GRUGated Recurrent Unit
HGBRHistGradientBoosting Regressor
HRHuber Regressor
ICEVInternal Combustion Engine Vehicle
IoTInternet of Things
KNNK-Nearest Neighbors
λ Balancing factor between local charge load & net energy exchange forecasts ( 0 λ 1 )
LCVFLoad Conservation Valley-Filling
LGBMLightGBM
LLCVLasso Lars Cross-Validation
LSTMLong Short-Term Memory
MAEMean Absolute Error
MISDPMultilayer Iterative Stochastic Dynamic Programming
MLMachine Learning
MLPMulti-Layer Perceptron
NEENet Energy Exchange
NRMSENormalized Root Mean Square Error
PCAPrincipal Component Analysis
PSOParticle Swarm Optimization
Q 1 , EV First quartile of EV charging load
Q 1 , NEE First quartile of net energy exchange
PVPhotovoltaics
R2Coefficient of Determination
RFRandom Forest
RNNRecurrent Neural Network
RESRenewable Energy Sources
SCSmart Charging
SLSQPSequential Least Squares Programming
SRISmart Readiness Indicator
SVMERStacking and Voting Meta-Ensemble Regressor
UMCUser-managed Charging
V2GVehicle-to-Grid
XGBXGBoost

References

  1. Alanazi, F. Electric Vehicles: Benefits, Challenges, and Potential Solutions for Widespread Adaptation. Appl. Sci. 2023, 13, 6016. [Google Scholar] [CrossRef]
  2. Farzaneh, F.; Jung, S. Lifecycle carbon footprint comparison between internal combustion engine versus electric transit vehicle: A case study in the U.S. J. Clean. Prod. 2023, 390, 136111. [Google Scholar] [CrossRef]
  3. International Energy Agency. Global EV Outlook 2024: Moving Towards Increased Affordability; Technical Report; IEA: Paris, France, 2024. [Google Scholar]
  4. Olatomiwa, L.; Mekhilef, S.; Ismail, M.; Moghavvemi, M. Energy management strategies in hybrid renewable energy systems: A review. Renew. Sustain. Energy Rev. 2016, 62, 821–835. [Google Scholar] [CrossRef]
  5. Ukoba, K.; Olatunji, K.O.; Adeoye, E.; Jen, T.C.; Madyira, D.M. Optimizing renewable energy systems through artificial intelligence: Review and future prospects. Energy Environ. 2024, 35, 3833–3879. [Google Scholar] [CrossRef]
  6. Barman, P.; Dutta, L.; Bordoloi, S.; Kalita, A.; Buragohain, P.; Bharali, S.; Azzopardi, B. Renewable energy integration with electric vehicle technology: A review of the existing smart charging approaches. Renew. Sustain. Energy Rev. 2023, 183, 113518. [Google Scholar] [CrossRef]
  7. Saxena, V.; Manna, S.; Rajput, S.K.; Kumar, P.; Sharma, B.; Alsharif, M.H.; Kim, M.K. Navigating the complexities of distributed generation: Integration, challenges, and solutions. Energy Rep. 2024, 12, 3302–3322. [Google Scholar] [CrossRef]
  8. Koukaras, P.; Dimara, A.; Herrera, S.; Zangrando, N.; Krinidis, S.; Ioannidis, D.; Fraternali, P.; Tjortjis, C.; Anagnostopoulos, C.N.; Tzovaras, D. Proactive Buildings: A Prescriptive Maintenance Approach. In Proceedings of the Artificial Intelligence Applications and Innovations. AIAI 2022 IFIP WG 12.5 International Workshops, Crete, Greece, 17–20 June 2022; Maglogiannis, I., Iliadis, L., Macintyre, J., Cortez, P., Eds.; Springer: Cham, Switzerland, 2022; pp. 289–300. [Google Scholar]
  9. Boasso, E.; Manganelli, M.; Martirano, L. Impact of EV Charging on the Electric Load of Smart Buildings and Energy Communities. In Proceedings of the 2021 IEEE Industry Applications Society Annual Meeting (IAS), Vancouver, BC, Canada, 10–14 October 2021; pp. 1–7. [Google Scholar] [CrossRef]
  10. Muñiz, R.; del Coso, R.; Nuño, F.; Villegas, P.J.; Álvarez, D.; Martínez, J.A. Solar-Powered Smart Buildings: Integrated Energy Management Solution for IoT-Enabled Sustainability. Electronics 2024, 13, 317. [Google Scholar] [CrossRef]
  11. Rodriguez-Gil, J.A.; Mojica-Nava, E.; Vargas-Medina, D.; Arevalo-Castiblanco, M.F.; Cortes, C.A.; Rivera, S.; Cortes-Romero, J. Energy management system in networked microgrids: An overview. Energy Syst. 2024. [Google Scholar] [CrossRef]
  12. Chatzikonstantinidis, K.; Giama, E.; Fokaides, P.A.; Papadopoulos, A.M. Smart Readiness Indicator (SRI) as a Decision-Making Tool for Low Carbon Buildings. Energies 2024, 17, 1406. [Google Scholar] [CrossRef]
  13. Siddique, M.T.; Koukaras, P.; Ioannidis, D.; Tjortjis, C. A Methodology Integrating the Quantitative Assessment of Energy Efficient Operation and Occupant Needs into the Smart Readiness Indicator. Energies 2023, 16, 7007. [Google Scholar] [CrossRef]
  14. Märzinger, T.; Österreicher, D. Supporting the Smart Readiness Indicator—A Methodology to Integrate A Quantitative Assessment of the Load Shifting Potential of Smart Buildings. Energies 2019, 12, 1955. [Google Scholar] [CrossRef]
  15. Mu, C.; Liu, W.; Xu, W. Hierarchically Adaptive Frequency Control for an EV-Integrated Smart Grid With Renewable Energy. IEEE Trans. Ind. Informatics 2018, 14, 4254–4263. [Google Scholar] [CrossRef]
  16. Sidharthan, V.P.; Kashyap, Y.; Kosmopoulos, P. Adaptive-Energy-Sharing-Based Energy Management Strategy of Hybrid Sources in Electric Vehicles. Energies 2023, 16, 1214. [Google Scholar] [CrossRef]
  17. Korkas, C.D.; Baldi, S.; Yuan, S.; Kosmatopoulos, E.B. An Adaptive Learning-Based Approach for Nearly Optimal Dynamic Charging of Electric Vehicle Fleets. IEEE Trans. Intell. Transp. Syst. 2018, 19, 2066–2075. [Google Scholar] [CrossRef]
  18. Johnsen, D.; Ostendorf, L.; Bechberger, M.; Strommenger, D. Review on Smart Charging of Electric Vehicles via Market-Based Incentives, Grid-Friendly and Grid-Compatible Measures. World Electr. Veh. J. 2023, 14, 25. [Google Scholar] [CrossRef]
  19. Henriksen, I.M.; Throndsen, W.; Ryghaug, M.; Skjølsvold, T.M. Electric vehicle charging and end-user motivation for flexibility: A case study from Norway. Energy Sustain. Soc. 2021, 11, 44. [Google Scholar] [CrossRef]
  20. Ahmad, A.; Khalid, M.; Ullah, Z.; Ahmad, N.; Aljaidi, M.; Malik, F.A.; Manzoor, U. Electric Vehicle Charging Modes, Technologies and Applications of Smart Charging. Energies 2022, 15, 9471. [Google Scholar] [CrossRef]
  21. Pareek, S.; Sujil, A.; Ratra, S.; Kumar, R. Electric Vehicle Charging Station Challenges and Opportunities: A Future Perspective. In Proceedings of the 2020 International Conference on Emerging Trends in Communication, Control and Computing (ICONC3), Lakshmangarh, India, 21–22 February 2020; pp. 1–6. [Google Scholar] [CrossRef]
  22. Libertson, F. Requesting control and flexibility: Exploring Swedish user perspectives of electric vehicle smart charging. Energy Res. Soc. Sci. 2022, 92, 102774. [Google Scholar] [CrossRef]
  23. Tuballa, M.L.; Abundo, M.L. A review of the development of Smart Grid technologies. Renew. Sustain. Energy Rev. 2016, 59, 710–725. [Google Scholar] [CrossRef]
  24. De Dutta, S.; Prasad, R. Digitalization of Global Cities and the Smart Grid. Wirel. Pers. Commun. 2020, 113, 1385–1395. [Google Scholar] [CrossRef]
  25. Tsalikidis, N.; Mystakidis, A.; Tjortjis, C.; Koukaras, P.; Ioannidis, D. Energy load forecasting: One-step ahead hybrid model utilizing ensembling. Computing 2023, 106, 241–273. [Google Scholar] [CrossRef]
  26. Wu, Y.; Wang, Z.; Huangfu, Y.; Ravey, A.; Chrenko, D.; Gao, F. Hierarchical Operation of Electric Vehicle Charging Station in Smart Grid Integration Applications—An Overview. Int. J. Electr. Power Energy Syst. 2022, 139, 108005. [Google Scholar] [CrossRef]
  27. Shi, Y.; Tuan, H.D.; Savkin, A.V.; Duong, T.Q.; Poor, H.V. Model Predictive Control for Smart Grids With Multiple Electric-Vehicle Charging Stations. IEEE Trans. Smart Grid 2019, 10, 2127–2136. [Google Scholar] [CrossRef]
  28. Al-Ogaili, A.S.; Tengku Hashim, T.J.; Rahmat, N.A.; Ramasamy, A.K.; Marsadek, M.B.; Faisal, M.; Hannan, M.A. Review on Scheduling, Clustering, and Forecasting Strategies for Controlling Electric Vehicle Charging: Challenges and Recommendations. IEEE Access 2019, 7, 128353–128371. [Google Scholar] [CrossRef]
  29. Sumanasena, V.; Gunasekara, L.; Kahawala, S.; Mills, N.; De Silva, D.; Jalili, M.; Sierla, S.; Jennings, A. Artificial Intelligence for Electric Vehicle Infrastructure: Demand Profiling, Data Augmentation, Demand Forecasting, Demand Explainability and Charge Optimisation. Energies 2023, 16, 2245. [Google Scholar] [CrossRef]
  30. Crozier, C.; Morstyn, T.; McCulloch, M. The opportunity for smart charging to mitigate the impact of electric vehicles on transmission and distribution systems. Appl. Energy 2020, 268, 114973. [Google Scholar] [CrossRef]
  31. Pagani, M.; Korosec, W.; Chokani, N.; Abhari, R. User behaviour and electric vehicle charging infrastructure: An agent-based model assessment. Appl. Energy 2019, 254, 113680. [Google Scholar] [CrossRef]
  32. Chung, Y.W.; Khaki, B.; Li, T.; Chu, C.; Gadh, R. Ensemble machine learning-based algorithm for electric vehicle user behavior prediction. Appl. Energy 2019, 254, 113732. [Google Scholar] [CrossRef]
  33. Shahriar, S.; Al-Ali, A.R.; Osman, A.H.; Dhou, S.; Nijim, M. Machine Learning Approaches for EV Charging Behavior: A Review. IEEE Access 2020, 8, 168980–168993. [Google Scholar] [CrossRef]
  34. Nimalsiri, N.I.; Mediwaththe, C.P.; Ratnam, E.L.; Shaw, M.; Smith, D.B.; Halgamuge, S.K. A Survey of Algorithms for Distributed Charging Control of Electric Vehicles in Smart Grid. IEEE Trans. Intell. Transp. Syst. 2020, 21, 4497–4515. [Google Scholar] [CrossRef]
  35. Mohanty, S.; Panda, S.; Parida, S.M.; Rout, P.K.; Sahu, B.K.; Bajaj, M.; Zawbaa, H.M.; Kumar, N.M.; Kamel, S. Demand side management of electric vehicles in smart grids: A survey on strategies, challenges, modeling, and optimization. Energy Rep. 2022, 8, 12466–12490. [Google Scholar] [CrossRef]
  36. Amara-Ouali, Y.; Goude, Y.; Massart, P.; Poggi, J.M.; Yan, H. A review of electric vehicle load open data and models. Energies 2021, 14, 2233. [Google Scholar] [CrossRef]
  37. Makridakis, S.; Spiliotis, E.; Assimakopoulos, V. M5 accuracy competition: Results, findings, and conclusions. Int. J. Forecast. 2022, 38, 1346–1364. [Google Scholar] [CrossRef]
  38. Ma, T.; Antoniou, C.; Toledo, T. Hybrid machine learning algorithm and statistical time series model for network-wide traffic forecast. Transp. Res. Part C Emerg. Technol. 2020, 111, 352–372. [Google Scholar] [CrossRef]
  39. Kożuch, A.; Cywicka, D.; Adamowicz, K. A Comparison of Artificial Neural Network and Time Series Models for Timber Price Forecasting. Forests 2023, 14, 177. [Google Scholar] [CrossRef]
  40. Helmus, J.R.; Lees, M.H.; van den Hoed, R. A data driven typology of electric vehicle user types and charging sessions. Transp. Res. Part C Emerg. Technol. 2020, 115, 102637. [Google Scholar] [CrossRef]
  41. Dai, X.; Li, H.; Olanrewaju, I.; Kotter, R.; Putrus, G.; Aslam, N.; Bentley, E.; Wang, Y.; Marzband, M.; Das, R.; et al. Data-Driven EV Charging Load Forecasting and Smart Charging. Transp. Res. Procedia 2022, 72, 2832–2839. [Google Scholar] [CrossRef]
  42. Kara, E.C.; Macdonald, J.S.; Black, D.; Bérges, M.; Hug, G.; Kiliccote, S. Estimating the benefits of electric vehicle smart charging at non-residential locations: A data-driven approach. Appl. Energy 2015, 155, 515–525. [Google Scholar] [CrossRef]
  43. Brady, J.; O’Mahony, M. Modelling charging profiles of electric vehicles based on real-world electric vehicle charging data. Sustain. Cities Soc. 2016, 26, 203–216. [Google Scholar] [CrossRef]
  44. Tsalikidis, N.; Koukaras, P.; Ioannidis, D.; Tzovaras, D. Hybrid CNN-LSTM Forecasting Model for Electric Vehicle Charging Demand in Smart Buildings. In Proceedings of the 2024 6th Global Power, Energy and Communication Conference (GPECOM), Budapest, Hungary, 4–7 June 2024; pp. 590–595. [Google Scholar] [CrossRef]
  45. Feng, J.; Chang, X.; Fan, Y.; Luo, W. Electric Vehicle Charging Load Prediction Model Considering Traffic Conditions and Temperature. Processes 2023, 11, 2256. [Google Scholar] [CrossRef]
  46. Aljohani, T.M. Multilayer Iterative Stochastic Dynamic Programming for Optimal Energy Management of Residential Loads with Electric Vehicles. Int. J. Energy Res. 2024, 2024, 6842580. [Google Scholar] [CrossRef]
  47. Abdelfattah, W.; Abdelhamid, A.S.; Hasanien, H.M.; Rashad, B.A.E. Smart vehicle-to-grid integration strategy for enhancing distribution system performance and electric vehicle profitability. Energy 2024, 302, 131807. [Google Scholar] [CrossRef]
  48. Souza, G.G.d.; Santos, R.R.d.; Godoy, R.B. Optimizing power grids: A valley-filling heuristic for energy-efficient electric vehicle charging. PLoS ONE 2025, 20, e0316677. [Google Scholar] [CrossRef] [PubMed]
  49. Promasa, N.; Songkoh, E.; Phonkaphon, S.; Sirichunchuen, K.; Ketkaew, C.; Unahalekhaka, P. Optimization of Sizing of Battery Energy Storage System for Residential Households by Load Forecasting with Artificial Intelligence (AI): Case of EV Charging Installation. Energies 2025, 18, 1245. [Google Scholar] [CrossRef]
  50. Carvalhosa, S.; Ferreira, J.R.; Araújo, R.E. Electric Vehicle Charging Method for Existing Residential Condominiums. IEEE Access 2024, 12, 166537–166552. [Google Scholar] [CrossRef]
  51. Sorensen, L.; Lindberg, K.B.; Sartori, I.; Andresen, I. Analysis of residential EV energy flexibility potential based on real-world charging reports and smart meter data. Energy Build. 2021, 241, 110923. [Google Scholar] [CrossRef]
  52. Norwegian Public Roads Administration. Trafikkdata. 2023. Available online: https://trafikkdata.atlas.vegvesen.no (accessed on 1 September 2023).
  53. Tsalikidis, N.; Mystakidis, A.; Koukaras, P.; Ivaškevičius, M.; Morkunaite, L.; Fokaides, P.; Tjortjis, C.; Tzovaras, D. Urban Traffic Congestion Prediction: A Multi-Step Approach Utilizing Sensor Data and Weather Information. Smart Cities 2024, 7, 10. [Google Scholar] [CrossRef]
  54. Norwegian Ministry of Energy. Key Facts About the Norwegian Renewable Energy Sector. 2024. Available online: https://energifaktanorge.no/en/norsk-energiforsyning/kraftproduksjon/ (accessed on 30 November 2024).
  55. Statnett. Data from the Power System—Statnett. 2023. Available online: https://www.statnett.no/en/for-stakeholders-in-the-power-industry/data-from-the-power-system/#import-and-export (accessed on 1 September 2023).
  56. Nord Pool. Day-Ahead Electricity Prices—Nordpool Group. 2023. Available online: https://data.nordpoolgroup.com/auction/day-ahead/prices (accessed on 30 November 2023).
  57. Lee, C.H.; Lin, C.R.; Chen, M.S. Sliding-Window Filtering: An Efficient Algorithm for Incremental Mining. In Proceedings of the International Conference on Information and Knowledge Management, Atlanta, GA, USA, 5–10 October 2001; pp. 263–270. [Google Scholar] [CrossRef]
Figure 1. Frequency histogram of EV charging session duration framework (lighter shades of blue correspond to longer charging durations).
Figure 1. Frequency histogram of EV charging session duration framework (lighter shades of blue correspond to longer charging durations).
Energies 18 01528 g001
Figure 2. Daily distributions of plug-in and plug-out times (All CPs).
Figure 2. Daily distributions of plug-in and plug-out times (All CPs).
Energies 18 01528 g002
Figure 3. Daily distributions of charging connection time (All CPs).
Figure 3. Daily distributions of charging connection time (All CPs).
Energies 18 01528 g003
Figure 4. Hourly net energy exchange flow in Norway.
Figure 4. Hourly net energy exchange flow in Norway.
Energies 18 01528 g004
Figure 5. Locations of measured traffic flow near the Risvolan area.
Figure 5. Locations of measured traffic flow near the Risvolan area.
Energies 18 01528 g005
Figure 6. Overview of the forecasting approach.
Figure 6. Overview of the forecasting approach.
Energies 18 01528 g006
Figure 7. Design overview of the residential EV recommendation framework, based on Equations (1)–(3).
Figure 7. Design overview of the residential EV recommendation framework, based on Equations (1)–(3).
Energies 18 01528 g007
Figure 8. SVMER model primary structure.
Figure 8. SVMER model primary structure.
Energies 18 01528 g008
Figure 9. Net energy exchange biLSTM model train–validation metrics.
Figure 9. Net energy exchange biLSTM model train–validation metrics.
Energies 18 01528 g009
Table 1. Dataset description.
Table 1. Dataset description.
FieldDescriptionUnits
Charging sessions
session_IDUnique charging session ID
Garage_IDGarage address identifier
User_IDUser identifier
User_typeCharger ownership (Private/Shared)
Start_pluginPlug-in date and timeDateTime
Start_plugin_hourHour of plug-in (00–23)
End_plugoutPlug-out date and timeDateTime
El_kWhCharged energykWh
Duration_hoursEV connection durationHours
weekdays_startPlug-in weekdayMonday–Sunday
Plugin_category3-h interval categorye.g., morning, afternoon
EV charge load (Garages B12 & A1)
date_fromStart timeDateTime
date_toEnd timeDateTime
AMS_kWhHourly aggregated loadkWh
Local traffic flow
date_fromStart timeDateTime
date_toEnd timeDateTime
Nearby LocationsHourly number of vehiclesCount
Net energy exchange (Norway)
dateTimestampDateTime
Net energy exchangeAmount of electric energy imported/exportedMWh
Table 2. Descriptive statistics for EV charge load (kWh).
Table 2. Descriptive statistics for EV charge load (kWh).
Descriptive StatisticsGarage B12Garage A1
Count94248285
Mean2.97721.0314
Std.4.27232.0760
Min.0.00000.0280
25th Percentile0.05000.0290
Median0.40000.0290
75th Percentile4.50000.6400
Max.26.458818.2180
Table 3. EV charge load forecasting model performance metrics (best values shown in bold).
Table 3. EV charge load forecasting model performance metrics (best values shown in bold).
Model R 2 RMSEMAECVRMSENRMSE
Test data-Garage B12
SVMER0.7981.9501.2010.6420.079
LGBM0.7582.1051.2570.7080.088
HGBR0.7572.1111.2660.7100.088
CB0.7632.0851.2860.7010.087
XGB0.7352.2011.3310.7400.092
DTR0.6962.3581.3920.7930.098
KNN0.6552.5141.5980.8450.105
RF0.7532.1271.2570.7150.089
HR0.6882.3891.3520.8030.100
Test data-Garage A1
SVMER0.8090.9330.4670.9080.056
LGBM0.7750.9550.4770.9320.066
HGBR0.7720.9610.4850.9370.066
CB0.7760.9520.4900.9280.066
XGB0.7501.0070.5040.9820.070
DTR0.7191.0670.5251.0410.074
KNN0.5241.3900.7651.3550.096
RF0.7700.9650.4750.9410.067
HR0.7121.0810.4941.0540.075
Train data
SVMER (Garage B12)0.8271.4170.9030.4770.059
SVMER (Garage A1)0.8390.7380.3890.7250.041
Table 4. Net energy exchange model performance metrics.
Table 4. Net energy exchange model performance metrics.
Model R 2 RMSEMAECVRMSENRMSE
Test data
LSTM0.96170.0310.0230.0610.043
biLSTM0.96240.0310.0230.060.043
GRU0.95670.0330.0240.0640.046
Table 5. Smart charging recommendation framework selected results.
Table 5. Smart charging recommendation framework selected results.
Time (Local)Net Energy Forecast (MWh)EV Charge Load Forecast (kWh)Probability of Efficient Charge
2019-03-01 06:00:001746.580.32Low
2019-03-01 07:00:00−815.200.70Medium
2019-03-01 08:00:00164.160.63Medium
2019-08-16 09:00:002744.520.35Low
2019-08-16 10:00:001704.579.09Very Low
2019-08-16 11:00:001550.410.22Low
2019-03-16 10:00:00−3436.450.22Very High
2019-03-16 11:00:00−3389.840.19Very High
2019-03-16 12:00:00−3494.6910.05Medium
2019-04-07 12:00:001760.570.49Low
2019-04-07 13:00:00−1290.923.25Low
2019-04-07 14:00:00−453.226.05Low
2020-01-29 12:00:003130.090.13Low
2020-01-29 13:00:002941.380.41Low
2020-01-29 14:00:002765.866.32Very Low
2019-07-16 14:00:00−221.960.29Medium
2019-07-16 15:00:00−1757.870.93Medium
2019-07-16 16:00:001744.214.54Low
2019-07-16 17:00:00362.663.30Low
2019-07-16 18:00:001059.234.66Low
2019-05-08 19:00:002462.334.67Very Low
2019-05-08 20:00:002168.858.59Very Low
2019-05-08 21:00:001986.109.89Very Low
2019-06-01 23:00:00−2897.511.03Very High
2019-06-02 00:00:00−2798.594.67High
2019-06-02 01:00:00−2558.050.22Very High
2019-05-05 02:00:00−2722.135.03High
2019-05-05 03:00:00−2584.820.17Very High
2019-05-05 04:00:00−2490.525.75High
2019-05-05 05:00:00−2592.870.19Very High
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Tsalikidis, N.; Koukaras, P.; Ioannidis, D.; Tzovaras, D. Smart Charging Recommendation Framework for Electric Vehicles: A Machine-Learning-Based Approach for Residential Buildings. Energies 2025, 18, 1528. https://doi.org/10.3390/en18061528

AMA Style

Tsalikidis N, Koukaras P, Ioannidis D, Tzovaras D. Smart Charging Recommendation Framework for Electric Vehicles: A Machine-Learning-Based Approach for Residential Buildings. Energies. 2025; 18(6):1528. https://doi.org/10.3390/en18061528

Chicago/Turabian Style

Tsalikidis, Nikolaos, Paraskevas Koukaras, Dimosthenis Ioannidis, and Dimitrios Tzovaras. 2025. "Smart Charging Recommendation Framework for Electric Vehicles: A Machine-Learning-Based Approach for Residential Buildings" Energies 18, no. 6: 1528. https://doi.org/10.3390/en18061528

APA Style

Tsalikidis, N., Koukaras, P., Ioannidis, D., & Tzovaras, D. (2025). Smart Charging Recommendation Framework for Electric Vehicles: A Machine-Learning-Based Approach for Residential Buildings. Energies, 18(6), 1528. https://doi.org/10.3390/en18061528

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop