1. Introduction
The global transition toward sustainable transportation and clean energy systems has positioned battery energy storage systems (BESSs) as critical components in the evolution of modern power grids [
1]. Within this context, electric vehicles (EVs) are increasingly recognized for their dual potential—particularly given that they remain parked for significant portions of each day—to store excess electricity generated by renewable sources and provide power during peak demand periods [
2].
This emerging capability has fundamentally transformed the traditional role of vehicles from mere transportation devices into active participants in the energy ecosystem, enabling bidirectional energy exchange with electrical infrastructure through Vehicle-to-Grid (V2G) technologies [
3]. While the integration of EVs into smart grids presents unprecedented opportunities, it also introduces significant challenges that demand sophisticated modelling and simulation tools to effectively monitor and optimize future deployments [
4,
5].
The digital twin technology offers a revolutionary solution to these modelling challenges by creating virtual replicas of physical systems that enable real-time monitoring, analysis, and predictive capabilities [
6]. Building on this foundation, the authors have successfully applied digital twin technology across various micro-grid studies and implementations, notably within the PLATOON H2020 EU-funded project [
7] and the Smart Mobility Hub Italian initiative, funded by the Italian Ministry of Enterprises and Made in Italy [
8]. When applied to electric vehicle and smart grid integration, digital twins unlock exceptional opportunities for understanding complex energy flow patterns, optimizing charging strategies, and enhancing grid stability through intelligent energy management [
9,
10]. Moreover, these virtual representations may continuously learn from real-world data, adapt to evolving conditions, and generate valuable insights that inform optimization and control strategies [
11].
The foundation for this integration lies in smart grid technology itself, which represents a revolutionary advancement in electrical network infrastructure. By utilizing digital communication and automation, smart grids can detect and respond dynamically to changes in energy supply and demand [
12]. These intelligent systems facilitate real-time monitoring, analysis, and management of entire electrical networks while seamlessly integrating distributed energy resources to enhance overall system efficiency [
13]. When EVs are incorporated into this smart grid infrastructure, they create a sophisticated ecosystem simultaneously serving multiple critical functions: acting as energy consumers during charging operations, functioning as distributed energy storage systems when parked, and operating as potential energy suppliers [
14].
The significance of EV integration extends far beyond simple load addition to the electrical grid. Modern EVs, equipped with advanced battery systems and power electronic interfaces, in fact, spend approximately 90–95% of their operational time parked at various locations with potential charging infrastructure access [
15]. This substantial idle time presents remarkable opportunities for grid support services, including peak load management and renewable energy integration [
16]. Through coordinated fleet management via intelligent digital twin systems, EVs can provide ancillary services that enhance grid stability and reliability while delivering economic benefits to vehicle owners [
17].
On the other hand, it is to be considered that widespread EV adoption introduces critical technical challenges for the grid (grid-to-vehicle, G2V): uncoordinated charging of large vehicle populations can create significant demand peaks that stress existing infrastructure and potentially compromise system reliability [
18]. Furthermore, the intermittent and unpredictable nature of individual charging patterns, driven by diverse battery features, mobility needs, and user preferences, significantly complicates grid planning and operation [
19].
To address these complexities, artificial intelligence techniques have emerged as transformative tools for enhancing power system efficiency and reliability [
20]. AI-powered algorithms enable advanced predictive analytics, energy flow optimization, and intelligent management of distributed resources, making them particularly well-suited for V2G implementation [
21]. Machine learning approaches can process vast datasets encompassing EV charging patterns, grid conditions, and renewable generation to optimize scheduling and dispatch decisions in real-time [
22]. However, the effectiveness of these AI applications fundamentally depends on accurate, validated models that provide reliable energy consumption predictions of EVs over real use profiles, for both algorithm training and final robust operational deployment.
When combined with AI algorithms, digital twin technology creates a powerful framework for V2G optimization: virtual replicas can simulate diverse scenarios, predict system behaviour under varying conditions, and refine control strategies before real-world implementation [
23]. The capacity to test and validate algorithms in virtual environments reduces operational risks while enabling rapid prototyping of innovative energy management approaches [
24].
The intricate nature of EV–grid interactions, therefore, demands comprehensive simulation tools capable of modelling multifaceted relationships among vehicles, charging infrastructure, and power systems [
25]. Effective digital twin platforms must accurately represent vehicle behaviour patterns, charging dynamics, and grid response characteristics across various operational scenarios [
26]. Such capabilities are essential for evaluating the technical and economic feasibility of integration strategies, optimizing infrastructure deployment, and developing robust control algorithms for large-scale implementation [
27]. For electric vehicles specifically, multi-physics modelling approaches prove particularly crucial in capturing complex interactions between electrical, thermal, and mechanical systems [
28]. These models account for battery electrochemical dynamics, thermal management systems, power electronics behaviour, and mechanical drivetrain characteristics to deliver accurate performance and energy consumption predictions [
29]. Developing high-fidelity multi-physics models remains fundamental for creating reliable digital twins capable of supporting sophisticated AI-based optimization algorithms [
30,
31].
This work developed and validated a high-fidelity multi-physics EV model, serving as a fundamental building block for digital twin-enabled Vehicle-to-Grid (V2G) systems. Utilizing AVL CRUISE
TM M, this framework accurately captures complex EV electrical, thermal, and mechanical interactions. Experimentally validated with real urban driving data from Naples, Italy, the model demonstrates exceptional accuracy, proving its reliability for intelligent V2G applications and providing a basis for AI-driven energy management. Addressing the complexities of integrating EVs with power systems, computational scheduling methods have evolved to coordinate such systems [
32]. Despite advancements in EV modelling and V2G, a notable gap persists in high-fidelity, multi-physics EV models rigorously validated with real-world data. Specifically, foundational ‘computational engines’ within comprehensive digital twin architectures for AI-driven energy management in dynamic V2G scenarios are lacking. Existing approaches often sacrifice fidelity for speed, limiting predictive accuracy.
Our main contributions to filling these gaps are:
Development and comprehensive validation of a high-fidelity multi-physics EV model, accurately capturing powertrain, battery, and regenerative braking dynamics, against real-world driving data.
Establishment of this validated EV model as a core component within a digital twin framework, providing an essential physical representation for advanced AI-based energy management in V2G systems.
Demonstration of the model’s accuracy and reliability in predicting EV energy consumption and SoC under diverse real urban driving conditions, which is crucial for intelligent V2G optimization.
The remainder of this paper is organized as follows:
Section 2 details a new digital twin architecture suitable for exploiting the advantages of the developed multi-physics EV model to optimise V2G systems.
Section 3 outlines the main model features and the validation methodology.
Section 4 presents the results and discusses the model’s performance. Finally,
Section 5 concludes the paper and highlights future research directions.
Into detail,
Section 2 provides a detailed theoretical background for the proposed intelligent Vehicle-to-Grid (V2G) system, focusing on its digital twin architecture and the underlying multi-physics electric vehicle (EV) model. The overall digital twin architecture is described through its distinct layers, clarifying how real-world data is integrated and processed to enable predictive capabilities. Furthermore, the intricate structure of the multi-physics EV model is thoroughly explained, detailing its sub-models and their interactions that capture electrical, thermal, and mechanical dynamics. The data flow within the entire system, from sensor inputs to model outputs and their use in energy management, is also comprehensively elaborated to ensure a clear understanding of the framework’s operation.
2. Digital Twin Technology for V2G
2.1. Digital Twin Architecture and Implementation Framework
The implementation of the digital twin technology for electric vehicle systems requires a structured, multi-layered architecture that facilitates real-time interactions between physical and virtual components. Recent advances in distributed energy systems have highlighted the significant impact of artificial intelligence on the planning and operation of smart grids [
33], making digital twin architectures essential for managing the complex interactions between EVs and the grid infrastructure. This architecture consists of four primary layers that work synergistically to enable comprehensive system monitoring and control.
The physical layer encompasses the actual electric vehicle with its embedded sensors, control units, and communication interfaces. This layer continuously generates operational data, including battery state, energy consumption patterns, location information, charging status, and environmental conditions. The data collection framework must be robust enough to handle the dynamic nature of vehicle operations while maintaining data integrity across diverse operating conditions.
The communication and data acquisition layer serves as the critical interface between physical and digital systems. This layer manages bidirectional data flow through various communication protocols, including cellular networks, WiFi, and dedicated short-range communications (DSRC). The implementation must ensure low-latency data transmission while maintaining security protocols to protect sensitive vehicle and user information.
The digital model layer represents the core computational engine where the virtual replica of the physical vehicle resides. This layer processes incoming data streams, executes multi-physics simulations, and generates predictive insights based on validated mathematical models. The model layer must be capable of real-time parameter adjustment and adaptive learning to maintain accuracy across varying operational scenarios.
The
application service layer provides the interface for end-users and system operators, delivering actionable insights, control commands, and optimization recommendations. This layer integrates with broader energy management systems and smart grid infrastructure to enable coordinated V2G operations. The integration of electric vehicles into smart grids requires sophisticated algorithms for energy management between V2G and G2V operations [
34], which are facilitated through this application layer architecture.
The multi-physics electric vehicle model developed in this work serves as a fundamental building block within the digital model layer of the proposed digital twin architecture. Specifically, the validated AVL CRUISE™ M model operates as a specialized component of the computational engine that can process real-time data streams from the physical layer and generates predictive insights for the application service layer. The EV model functions primarily as a tool for effective energy consumption evaluation of electric vehicles over real use profiles, providing the essential foundation for AI-driven energy management algorithms.
The integration mechanism works as follows: (1) Real-time vehicle sensor data (battery voltage, current, temperature, GPS coordinates) are collected through the communication and data acquisition layer; (2) These data streams are fed into the digital model layer where our multi-physics model performs parameter adaptation and state estimation; (3) The model executes forward simulations to predict energy consumption, optimal charging strategies, and grid interaction opportunities; (4) Results are propagated to the application service layer where AI algorithms utilize these predictions for V2G optimization decisions.
This tight integration ensures that the digital twin maintains synchronization with the physical vehicle while providing the computational fidelity necessary for sophisticated energy management algorithms. The 1.28% RMSE accuracy demonstrated in our validation directly translates to reliable state estimation within the digital twin framework, enabling confident decision-making in real-world V2G applications.
2.2. Real-Time Data Integration and Processing
The effectiveness of digital twins fundamentally depends upon data integration mechanisms that can process heterogeneous data streams while maintaining temporal consistency and ensuring quality. For EV digital twins, this involves managing data from multiple sources, including onboard vehicle sensors, charging infrastructure systems, grid monitoring devices, weather stations, and traffic management systems.
The data integration framework must address several critical challenges: temporal synchronization between different data sources operating at varying sampling rates, data quality assurance through validation and filtering algorithms, and scalability to accommodate large-scale fleet operations. Advanced filtering techniques, including Kalman filters and machine learning-based anomaly detection, can be essential for maintaining data integrity in noisy operational environments.
On the other hand, adaptive model calibration represents a crucial aspect of real-time data integration, where model parameters can be continuously adjusted based on observed vehicle behaviour. This process involves comparing predicted vs. actual performance metrics and implementing feedback mechanisms to minimize prediction errors. The optimization of demand-response and load balancing in smart EV charging networks using AI-integrated blockchain frameworks has demonstrated significant improvements in handling these complex calibration processes [
35]. The calibration algorithms must be computationally efficient to enable real-time operation while maintaining model accuracy across diverse operating conditions.
In the specific case considered here, a straightforward implementation can employ Extended Kalman Filters for state estimation, particularly for battery state-of-charge estimation where sensor accuracy is compromised during dynamic driving conditions. Battery SoC sensors are notoriously imprecise during acceleration and braking events when current fluctuations affect measurement accuracy. The Extended Kalman Filter addresses this limitation by combining the validated multi-physics model predictions with real sensor data, weighing physical model predictions more heavily than unreliable sensor readings during transient conditions, then continuously adjusting the state estimate as conditions stabilize. This model–sensor fusion approach provides accurate and stable SoC estimation, which is crucial for determining optimal timing for charging and discharging energy to the grid in V2G applications.
2.3. Predictive Analytics and Optimization Capabilities
Digital twin platforms for electric mobility may leverage advanced predictive analytics to enable proactive system management and optimization. These capabilities extend beyond simple data visualization to provide business insights for energy management, maintenance planning, and operational optimization.
Generally speaking, energy consumption prediction for EV utilizes historical data patterns, route information, and environmental conditions to forecast future energy requirements. This prediction can be used for intelligent pre-conditioning of battery systems, optimal route planning, and strategic charging schedule optimization. Machine learning algorithms, particularly recurrent neural networks and time series analysis methods, prove particularly effective for capturing the complex relationships between energy consumption data collected under real driving patterns and environmental conditions. As an alternative, the model-based approach presented here can be used for battery discharge calculations over real use profiles, offering high-fidelity predictions that may also complement data-driven methods.
On the other hand, grid interaction optimization represents a critical application area where digital twins can analyse grid conditions, electricity pricing and vehicle availability to overall optimize V2G operations. This involves complex multi-objective optimization considering factors such as grid stability requirements, user mobility needs, energy consumptions and costs and battery health preservation. Digital twins for future power systems indicate substantial potential for transforming electrical grid operations, with particular emphasis on sustainability and security enhancements [
36]. These can therefore play a fundamental role in V2G deployment.
The here presented multi-physics model can be utilized in two complementary ways for AI optimization of V2G systems, both in the design phase and in the digital twin real-world implementation as in the following:
For neural network training, the model generates high-fidelity simulation data through thousands of diverse operational scenarios, enabling networks to learn complex relationships between driving conditions and energy consumption. Once trained, these networks can provide real-time predictions with millisecond response times, although they may require periodic retraining if vehicle characteristics change or evolve (such as due to battery deterioration).
Alternatively, the model can serve as a simulation environment for reinforcement learning algorithms, where virtual agents experiment with different charging and discharging strategies while receiving performance feedback. This approach offers adaptive learning capabilities that can automatically adjust to changes in vehicle characteristics but require computationally intensive training periods.
The model accuracy is crucial for both modalities, ensuring that both training data for neural networks and feedback for reinforcement learning are sufficiently reliable to develop robust optimization strategies for V2G optimisation.
2.4. Integration with Smart Grid Infrastructure
The integration of EV digital twins with smart grid infrastructure creates opportunities for coordinated energy management that benefits both individual vehicle owners and the broader electrical system. This integration requires sophisticated communication protocols and standardized interfaces to enable seamless data exchange between vehicle systems and grid management platforms.
Distributed energy resource management enables electric vehicles to participate in grid services such as frequency regulation, voltage support, and peak load management. Digital twins provide the necessary real-time modelling capabilities to predict vehicle availability, energy capacity, and optimal participation strategies for different grid services. This participation can provide economic benefits to vehicle owners while contributing to grid stability and renewable energy integration.
Demand response optimization utilizes digital twin predictions to coordinate charging activities across vehicle fleets, minimizing grid stress during peak demand periods while ensuring vehicle availability for transportation needs. Advanced optimization algorithms consider factors such as time-of-use electricity pricing, renewable energy availability, and individual user preferences to develop optimal charging strategies.
Renewable energy integration is facilitated through digital twin platforms that can predict renewable energy generation patterns and coordinate vehicle charging to maximize utilization of clean energy resources. This capability is particularly valuable for integrating intermittent renewable sources such as solar and wind power into the transportation sector. The role of AI in advancing smart, sustainable, and secure energy systems has positioned digital twins as fundamental components for next-generation grid management [
37]. In addition, researchers are exploring advanced energy management strategies within electricity markets, leveraging game-theoretical methods as discussed by Cheng et al. [
38] to model strategic interactions between EVs and the grid, optimizing energy flow and grid stability.
The digital twin framework, therefore, can have a broad applicability since it provides the necessary modelling and prediction capabilities to enable these advanced integration scenarios while maintaining system reliability and user satisfaction.
4. Results
This section reports the results of simulations conducted on the developed electric vehicle model. The simulations were conducted based on the urban route detected and shown in
Figure 5, executed in the city of Naples. The detected route, as presented in the previous section, is characterized by a speed profile and an altitude profile, the two input elements required by the model to simulate vehicle dynamics during its operation. The vehicle with which the experimental survey was carried out is the Citroen Ami; based on the surveys conducted, validation of the vehicle dynamics model was performed with respect to the State of Charge (SoC) variable, comparing experimental data with simulated data and quantifying the model’s goodness through evaluation of root mean square error (RMSE). Before showing the results obtained in the validation process, some of the main data of the Citroen Ami are reported.
Table 1 reports the main data in terms of arrangement of elements that compose the battery (number of elements in series and parallel), the allowable voltage range on the single element, and the overall capacity of the entire battery.
Figure 7 reports the curve defined as OCV, namely open circuit voltage, relative to the single cell that composes the battery.
Furthermore,
Figure 8 reports two key performance maps characterizing the electric motor and battery system adopted for the Citroën Ami, which served as a reference vehicle in this study. The left-hand plot illustrates the torque versus speed behaviour of the e-motor in both motoring (positive torque) and generating (negative torque) modes. It can be observed that maximum torque is available at low rotational speeds and gradually decreases with increasing speed, consistent with the typical behaviour of small permanent magnet electric motors. The right-hand plot shows the power limits during battery charge and discharge as a function of the state of charge. The discharge power capability increases with SoC until a saturation threshold is reached, while the charging power progressively decreases as the battery approaches full charge. This mapping plays a crucial role in defining the dynamic limits imposed by the battery management system and is integrated into the AVL CRUISE
TM M simulation to ensure realistic energy flow calculations.
The validation process was conducted by comparing SoC values monitored during the route performed with the Citroen Ami and the values obtained from simulation of the same route on the vehicle dynamics model.
Figure 9 reports the graph of the state of charge detected experimentally and that simulated. The comparison between experimental and simulated SoC values highlights excellent adherence of the model to the vehicle’s real behaviour. The root mean square error (RMSE) value of 1.28%, along with the man absolute error (MAE) of 0.82 and the coefficient of determination (R2) equal to 0.97, confirms the good capacity of the model developed in AVL CRUISE
TM M to reproduce the system’s energy dynamics. The discrepancy observed starting from approximately 1000 s can be attributed not so much to a modelling deficiency but to dynamic vehicle conditions that prevent regeneration activation. In this time interval, in fact, despite the route slope being negative (downhill), the vehicle shows an increasing speed profile and infrequently engages in actual braking, which indicates that the electric motor continues to work in motor mode, absorbing energy from the battery, rather than in regeneration. Additionally, the absence of detailed experimental information on the braking system characteristics has limited the possibility of precisely calibrating the transition logic between regenerative and mechanical braking. The integration of this data represents a natural margin for model improvement.
To further assess the robustness of the model, the same comparison was carried out on the return route along the same road segment. Although this second profile presents a different duration and slightly different dynamics, the simulation results remain consistent with the real measurements. As shown in
Figure 10, the RMSE, MAE and R
2 values for the return segment were 1.50%, 0.82, and 0.96, respectively. These results confirm the model’s ability to generalize under varying conditions and validate its reliability in replicating energy dynamics even in slightly different scenarios.
The model’s behaviour results are consistent with the system’s physical reality and the residual discrepancies are justified and technically interpretable.
During the model development and validation process, sensitivity analyses were conducted on critical parameters to ensure robust performance across varying operational conditions. Key parameters investigated included brake pedal pressure calibration and regenerative braking percentage tuning, which directly affect the energy recovery efficiency and overall vehicle energy consumption patterns.
The model demonstrated stable behaviour across the range of driving conditions encountered in the experimental validation, including varying speed profiles (0–50 km/h), diverse braking intensities, and road gradient changes (−5% to +3%) present in the urban Naples route. The brake blending logic successfully adapted to different deceleration requirements, while the regenerative braking system responded appropriately to varying road conditions and driver inputs.
While comprehensive sensitivity analysis results are beyond the scope of this foundational modelling work, the consistent accuracy achieved across both outbound and return journeys (RMSE of 1.28% and 1.50% respectively) with different driving dynamics demonstrates the model’s inherent robustness to operational parameter variations. Future work will focus on systematic sensitivity studies across broader parameter ranges to further characterize model behaviour for diverse fleet applications.
The validation conducted on the Citroen AMI, based on a comparison between experimental and simulated data in terms of state of charge (SoC), has confirmed the reliability of integrated logics within the model. This result represents a fundamental step, as it allows for considering the developed model as a reliable tool for analysing further case studies related to other electric vehicles. Therefore, based on this validation, further results referring to another electric vehicle, namely the Nissan Leaf, will be presented. In
Figure 11 and
Table 2 the main characteristics of a Nissan Leaf’s battery are shown.
Figure 12 presents the performance characteristics of the electric powertrain for the Nissan Leaf, used as a secondary reference for comparison.
On the left, the torque-speed map highlights the broader operating envelope of the Leaf’s electric motor, which delivers a maximum torque of approximately 320 N·m at low rotational speeds, with a gradual decrease beyond 3000 rpm. The regenerative (generator) torque follows a similar profile, reaching a peak of about −300 N·m. This behaviour reflects the vehicle’s higher power class and more robust motor design, capable of sustaining high torque over an extended speed range. The right-hand graph illustrates the charge and discharge power limits of the battery as a function of SoC. Notably, the battery supports significantly higher power rates—up to 30 kW for charging and 120 kW for discharging—compared to the Citroën Ami. These characteristics confirm the Leaf’s suitability for high-performance applications and justify the higher current thresholds included in the simulation constraints. As in the previous case, these maps were integrated into the AVL CRUISE MTM environment to model the energy flow accurately and replicate realistic powertrain behaviour. The developed model, characterized with Nissan Leaf data, was therefore tested on the same driving profile detected with the Citroen Ami in order to find coherence in logic operation based on a known profile.
The first pair of graphs shows the trend of pressure exerted by the driver on the brake pedal, reproduced by the “Cockpit” type (which in AVL CRUISE™ M represents the cockpit and characteristics of the brake and accelerator pedals). An ordinary urban route can be characterized by different conditions (e.g., slowdowns due to traffic, traffic lights, etc.); however, from the graphs shown in
Figure 13, it is possible to appreciate how as speed decreases, brake action is more or less incisive (in terms of numerical pressure value) and a function of the desired deceleration of the vehicle. In the right panel of
Figure 13, it is possible to appreciate how, between 280 s–300 s, as pressure increases, the speed maintained by the vehicle decreases, progressively passing from about 35 km/h until a complete stop around 300 s.
In the two subsequent graphs (
Figure 14), voltage, current, and power trends of the onboard battery are proposed. Negative trends are useful for describing the operating logic (they are therefore a convention). In fact, when quantities assume negative values, it means the battery is delivering power, and therefore, the vehicle is operating in traction. In the right panel, it is possible to better appreciate the differences between the power delivery phase by the battery and the accumulation phase during braking, which bes regenerative. In fact, recalling the previously analysed trends, reported in
Figure 13, corresponding to brake pedal actuation between 280 s and 300 s, a positive power trend of about 10 kW is recorded. The positive sign, in this case, suggests a power input into the battery due precisely to “regenerative braking.” Conversely, power delivery by the battery for traction purposes involves negative power trends. Around 320 s, this trend is clearly visible, corresponding to increasing speed trends (as reported in
Figure 10) as the power is delivered by the battery with values significantly higher (about 20 kW) compared to those of the accumulation phase.
Finally, the SoC trend throughout the entire route (
Figure 15), with the relative focus on the same time interval of the previous graphs. The simulation was conducted starting from a state of charge equal to 100%. Consistent with what is shown in the previous graphs, the state of charge trend shows an evident reduction of charge present within the battery with various moments in which this is restored thanks to the modelled regenerative braking integrated in the electric vehicle model. In the right graph, as for the previous ones, it is interesting to note how the state of charge increases during regenerative braking, therefore managed by the onboard electric motor in generator drive, which is interrupted when mechanical braking intervenes, leading to a complete vehicle stop. In this situation, in fact, the state of charge remains constant for the entire duration of the stop (from about 290 s to 315 s), decreasing significantly upon restart (about 320 s).
Based on the results obtained and the consistency observed between the simulated and experimental data, further considerations can be drawn regarding the reliability and potential applicability of the developed digital model. The vehicle dynamics model developed in this work demonstrates a high level of accuracy in reproducing the energy behaviour of the electric powertrain, as confirmed by the strong agreement between the simulated and experimental SoC profiles. The low values of RMSE and MAE, together with a high R2, reflect the model’s ability to reliably capture the essential dynamics of real-world operation, even under varying road slope and braking conditions. While the present study focuses on simulation-based validation, the consistency between simulation and experimental data reinforces the credibility of the model and its suitability as a digital twin for predictive applications. The modular structure and the physical soundness of the modelling framework make it well-suited for future integration into real-time control systems, such as Hardware-in-the-Loop (HiL) platforms or embedded prototypes. To enable full experimental validation of the entire system—including real-time energy management and brake blending logic—additional steps would involve the implementation of real-time interfaces, acquisition of high-frequency sensor data, and actuator feedback. However, thanks to the quality and robustness of the digital model already demonstrated in this work, the transition toward such experimental integration is technically feasible and represents a natural extension of the present study.
While direct comparative validation against a broad spectrum of external models presents inherent challenges due to differing scopes, abstraction levels, and data availability, the significance of our proposed multi-physics EV model lies in its unique combination of high-fidelity representation and comprehensive validation against real-world operational data. This level of detail and empirical grounding, specifically tailored for integration within a digital twin framework, provides a precision for dynamic V2G energy management that simpler, generalized models often cannot achieve. The model’s verified accuracy under diverse driving conditions highlights its reliability as a foundational tool for developing intelligent, AI-driven V2G solutions.
5. Conclusions
This research presents a comprehensive framework for digital twin-enabled Vehicle-to-Grid systems through the development and validation of a high-fidelity multi-physics electric vehicle model that serves as a fundamental building block for AI-driven energy management applications in novel power systems.
The developed multi-physics electric vehicle model demonstrates exceptional accuracy with an RMSE between 1.28% (outbound path) and 1.50% (return path) for state of charge prediction, validated through experimental data from real-world urban driving conditions in Naples, Italy. This precision provides the data quality necessary for training machine learning algorithms that can optimize V2G operations in real-time. The model’s transferability across different vehicle platforms (Citroën Ami and Nissan Leaf) establishes its versatility for fleet-scale AI implementations.
The validated digital twin framework addresses critical challenges in applying artificial intelligence to novel power systems by providing high-fidelity training data for machine learning algorithms, real-time simulation capabilities for testing AI optimization strategies, and scalable architecture supporting both individual vehicle and fleet-level AI applications.
AI Algorithm Implementation Example
To demonstrate the model’s AI integration capabilities, consider a reinforcement learning algorithm for optimal charging scheduling. The digital twin model serves as the environment where an AI agent learns to optimize charging decisions based on real-time grid conditions, electricity pricing, and user mobility patterns. The agent receives state information including current SoC, grid load, energy prices, and predicted trip requirements from the validated multi-physics model. Through trial-and-error learning, the AI algorithm discovers optimal policies that minimize charging costs while ensuring vehicle availability. The 1.28% RMSE accuracy ensures the AI agent learns from reliable state representations, leading to robust charging strategies that can be deployed in real-world V2G systems. The validated model provides the necessary simulation fidelity for the AI algorithm to generalize effectively from training to actual deployment scenarios.
This work significantly advances artificial intelligence applications in power systems by establishing the foundational modelling infrastructure required for intelligent V2G implementations. The validated model enables AI algorithms to optimize complex multi-objective problems including energy demand forecasting, intelligent charging scheduling, and automated grid balancing strategies. This research demonstrates how digital twin technology serves as a critical enabler of AI applications in decentralized energy systems, where electric vehicles function as distributed energy storage resources supporting grid resilience through AI-coordinated participation in ancillary services.
Future research directions include implementing deep reinforcement learning algorithms for V2G optimization using the validated model as the training environment, developing federated learning approaches for privacy-preserving AI coordination across distributed vehicle fleets, and scaling the digital twin framework to accommodate large EV fleets with distributed AI processing capabilities. Advanced applications encompass integrating weather forecasting and renewable energy prediction models for enhanced AI-driven energy management and developing explainable AI frameworks for transparent V2G decision-making processes.
This research contributes significantly to the evolution of intelligent power systems by providing validated tools for AI-driven optimization of EV-grid interactions. The demonstrated capability to accurately predict vehicle energy consumption enables more efficient AI-coordinated utilization of renewable energy resources while reducing the environmental impact of transportation systems. The successful integration of digital twin technology with AI-based optimization algorithms represents a significant advancement in smart grid systems, providing a robust foundation for widespread deployment of intelligent V2G systems that leverage artificial intelligence for optimal performance and reliability.
Future work will extend our validated multi-physics EV model for V2G systems by focusing on optimizing computational efficiency for large-scale fleet deployment and real-time operations. Privacy issues will be considered, although not directly by the authors. We will also explore applications to advanced grid services, so to develop robust frameworks for seamless integration with smart grid infrastructure and energy markets and enhance the model’s adaptability for diverse EV configurations and grid conditions.