Energy Consumption Prediction for an Electric Vehicle Using Machine Learning: A Comparative Study of Regression, Ensemble, and LSTM-Based Models

Accurate energy consumption prediction is fundamental for enhancing range estimation and trip planning in battery electric vehicles (BEVs) under real-world conditions. This study develops a route-level benchmark utilizing 1 Hz data acquired via ECU/OBD-II interfaces (CAN 500 kbps) across ten diverse real-world driving routes. The input feature set comprises vehicle speed, longitudinal acceleration, estimated motor torque, road altitude, and accelerator pedal position. Ground truth energy consumption was derived from battery voltage and current, integrated via the trapezoidal rule. We performed a comparative analysis between five memoryless regressors (FNN, SVR, GPR, QRNN, and Bagged Trees) and three sequence models (LSTM, GRU, and BiLSTM) trained on 20-second temporal windows. The results indicate that the GRU model achieved the highest overall performance (mean RMSE = 0.1142 kWh, R2 = 0.9545 and MAE = 0.072 kWh), while Bagged Trees emerged as the most robust static model (mean RMSE = 0.1587 kWh). Temporal models outperformed static ones on routes with high dynamic variability, whereas Bagged Trees excelled in five specific scenarios. These findings provide a controlled within-route benchmark for time-resolved cumulative energy estimation and highlight the need for chronological and cross-route validation before drawing deployment-oriented generalization claims.

Authors

Institutions

Publication Details

Journal
Vehicles
Published
2026-05-01
DOI
https://doi.org/10.3390/vehicles8050099
Primary Topic
Electric and Hybrid Vehicle Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Energy Consumption Prediction for an Electric Vehicle Using Machine Learning: A Comparative Study of Regression, Ensemble, and LSTM-Based Models

Juan Diego Valladolid, Juan P. Ortiz
Vehicles
Electric and Hybrid Vehicle Technologies
article

Energy Consumption Prediction for an Electric Vehicle Using Machine Learning: A Comparative Study of Regression, Ensemble, and LSTM-Based Models

Juan Diego Valladolid, Juan P. Ortiz
article en

Abstract

Accurate energy consumption prediction is fundamental for enhancing range estimation and trip planning in battery electric vehicles (BEVs) under real-world conditions. This study develops a route-level benchmark utilizing 1 Hz data acquired via ECU/OBD-II interfaces (CAN 500 kbps) across ten diverse real-world driving routes. The input feature set comprises vehicle speed, longitudinal acceleration, estimated motor torque, road altitude, and accelerator pedal position. Ground truth energy consumption was derived from battery voltage and current, integrated via the trapezoidal rule. We performed a comparative analysis between five memoryless regressors (FNN, SVR, GPR, QRNN, and Bagged Trees) and three sequence models (LSTM, GRU, and BiLSTM) trained on 20-second temporal windows. The results indicate that the GRU model achieved the highest overall performance (mean RMSE = 0.1142 kWh, R2 = 0.9545 and MAE = 0.072 kWh), while Bagged Trees emerged as the most robust static model (mean RMSE = 0.1587 kWh). Temporal models outperformed static ones on routes with high dynamic variability, whereas Bagged Trees excelled in five specific scenarios. These findings provide a controlled within-route benchmark for time-resolved cumulative energy estimation and highlight the need for chronological and cross-route validation before drawing deployment-oriented generalization claims.

VehiclesVol. 8(5)
Politecnica Salesiana University (EC)
Affordable and clean energy
Openalex Percentile: Top 9%
Electric and Hybrid Vehicle Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.