Intelligent Electric Vehicle Route Planning System with ML-Based Energy Consumption Prediction
Article Sidebar
Main Article Content
As electric vehicles gain traction across the globe, one persistent worry among drivers is whether their battery will last long enough to reach the next charging point, a concern commonly referred to as range anxiety. In this paper, we describe a practical route planning tool that tackles this problem head-on. At its core sits a Gradient Boosting Regressor trained on 20,000 synthetically generated trip records whose parameters are rooted in real-world physics. The model takes in the vehicle type, how much cargo is on board, the trip distance, driving speed, terrain changes, and outside temperature, and outputs an energy consumption estimate. On the server side, a FastAPI application pulls together driving directions from OSRM, live weather readings from OpenWeatherMap, elevation data from Open-Elevation, and nearby charger locations from OpenChargeMap. A step-by-step greedy algorithm then figures out where the driver should stop to recharge, while also factoring in how much the battery may have degraded over time. The accompanying mobile app, built with Flutter, shows the planned route on an interactive map and even works offline thanks to local caching. In our tests, the prediction model achieved an R² above 0.95 on unseen data.
Downloads
References
IEA, “Global EV Outlook 2024,” Paris, 2024.
A. Artmeier et al., “Optimal routing for EVs,” KI 2010, pp. 309–316.
M. Baum et al., “Energy-optimal EV routes,” 21st SIGSPATIAL, pp. 54–63, 2013.
T. Chen, C. Guestrin, “XGBoost,” 22nd KDD, pp. 785–794, 2016.
J. Friedman, “Gradient boosting,” Ann. Stat., vol. 29, pp. 1189–1232, 2001.
S. De Cauwer et al., “Energy prediction,” Energies, vol. 10, p. 1013, 2017.
F. Pedregosa et al., “Scikit-learn,” JMLR, vol. 12, pp. 2825–2830, 2011.
S. Ramírez, “FastAPI,” 2024.
OSM, “Nominatim,” 2024.
D. Luxen, C. Vetter, “OSRM,” 19th SIGSPATIAL, pp. 513–516, 2011.
OpenChargeMap, “API docs,” 2024.
OpenWeatherMap, “Weather API,” 2024.
Flutter Team, “Flutter,” Google, 2024.
J. Vepsäläinen et al., “Electric bus energy,” Energy, vol. 169, pp. 433–443, 2019.
R. Galvin, “Speed effects on EVs,” Trans. Res. D, vol. 53, pp. 234–248, 2017.
A. Fetene et al., “Big data EV energy,” Trans. Res. D, vol. 54, pp. 1–11, 2017.
M. Steinstraeter et al., “Low temp EVs,” World EV J., vol. 12, p. 115, 2021.
J. Betz et al., “Autonomous driving,” IEEE Access, vol. 10, pp. 99131–99168, 2022.
P. Keil, A. Jossen, “Li-ion aging,” World EV J., vol. 7, pp. 41–51, 2015.
D. Wang et al., “EV battery degradation,” J. Power Sources, vol. 332, pp. 193–203, 2016.

This work is licensed under a Creative Commons Attribution 4.0 International License.
All articles published in our journal are licensed under CC-BY 4.0, which permits authors to retain copyright of their work. This license allows for unrestricted use, sharing, and reproduction of the articles, provided that proper credit is given to the original authors and the source.