IDEAS home Printed from https://ideas.repec.org/a/sae/engenv/v33y2022i8p1583-1612.html

A comparative performance of machine learning algorithm to predict electric vehicles energy consumption: A path towards sustainability

Author

Listed:
  • Irfan Ullah
  • Kai Liu
  • Toshiyuki Yamamoto
  • Rabia Emhamed Al Mamlook
  • Arshad Jamal

Abstract

The rapid growth of transportation sector and related emissions are attracting the attention of policymakers to ensure environmental sustainability. Therefore, the deriving factors of transport emissions are extremely important to comprehend. The role of electric vehicles is imperative amid rising transport emissions. Electric vehicles pave the way towards a low-carbon economy and sustainable environment. Successful deployment of electric vehicles relies heavily on energy consumption models that can predict energy consumption efficiently and reliably. Improving electric vehicles’ energy consumption efficiency will significantly help to alleviate driver anxiety and provide an essential framework for operation, planning, and management of the charging infrastructure. To tackle the challenge of electric vehicles’ energy consumption prediction, this study aims to employ advanced machine learning models, extreme gradient boosting, and light gradient boosting machine to compare with traditional machine learning models, multiple linear regression, and artificial neural network. Electric vehicles energy consumption data in the analysis were collected in Aichi Prefecture, Japan. To evaluate the performance of the prediction models, three evaluation metrics were used; coefficient of determination ( R 2 ), root mean square error, and mean absolute error. The prediction outcome exhibits that the extreme gradient boosting and light gradient boosting machine provided better and robust results compared to multiple linear regression and artificial neural network. The models based on extreme gradient boosting and light gradient boosting machine yielded higher values of R 2 , lower mean absolute error, and root mean square error values have proven to be more accurate. However, the results demonstrated that the light gradient boosting machine is outperformed the extreme gradient boosting model. A detailed feature important analysis was carried out to demonstrate the impact and relative influence of different input variables on electric vehicles energy consumption prediction. The results imply that an advanced machine learning model can enhance the prediction performance of electric vehicles energy consumption.

Suggested Citation

  • Irfan Ullah & Kai Liu & Toshiyuki Yamamoto & Rabia Emhamed Al Mamlook & Arshad Jamal, 2022. "A comparative performance of machine learning algorithm to predict electric vehicles energy consumption: A path towards sustainability," Energy & Environment, , vol. 33(8), pages 1583-1612, December.
  • Handle: RePEc:sae:engenv:v:33:y:2022:i:8:p:1583-1612
    DOI: 10.1177/0958305X211044998
    as

    Download full text from publisher

    File URL: https://journals.sagepub.com/doi/10.1177/0958305X211044998
    Download Restriction: no

    File URL: https://libkey.io/10.1177/0958305X211044998?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Muhammad Zahid & Yangzhou Chen & Arshad Jamal & Khalaf A. Al-Ofi & Hassan M. Al-Ahmadi, 2020. "Adopting Machine Learning and Spatial Analysis Techniques for Driver Risk Assessment: Insights from a Case Study," IJERPH, MDPI, vol. 17(14), pages 1-15, July.
    2. Liu, Kai & Wang, Jiangbo & Yamamoto, Toshiyuki & Morikawa, Takayuki, 2018. "Exploring the interactive effects of ambient temperature and vehicle auxiliary loads on electric vehicle energy consumption," Applied Energy, Elsevier, vol. 227(C), pages 324-331.
    3. Anatole Desreveaux & Alain Bouscayrol & Elodie Castex & Rochdi Trigui & Eric Hittinger & Gabriel-Mihai Sirbu, 2020. "Annual Variation in Energy Consumption of an Electric Vehicle Used for Commuting," Energies, MDPI, vol. 13(18), pages 1-15, September.
    4. Weizhang Liang & Suizhi Luo & Guoyan Zhao & Hao Wu, 2020. "Predicting Hard Rock Pillar Stability Using GBDT, XGBoost, and LightGBM Algorithms," Mathematics, MDPI, vol. 8(5), pages 1-17, May.
    5. Fiori, Chiara & Ahn, Kyoungho & Rakha, Hesham A., 2016. "Power-based electric vehicle energy consumption model: Model development and validation," Applied Energy, Elsevier, vol. 168(C), pages 257-268.
    6. Anwar, Ahsan & Siddique, Muhammad & Eyup Dogan, & Sharif, Arshian, 2021. "The moderating role of renewable and non-renewable energy in environment-income nexus for ASEAN countries: Evidence from Method of Moments Quantile Regression," Renewable Energy, Elsevier, vol. 164(C), pages 956-967.
    7. Alobaidi, Mohammad H. & Chebana, Fateh & Meguid, Mohamed A., 2018. "Robust ensemble learning framework for day-ahead forecasting of household based energy consumption," Applied Energy, Elsevier, vol. 212(C), pages 997-1012.
    8. Cedric De Cauwer & Joeri Van Mierlo & Thierry Coosemans, 2015. "Energy Consumption Prediction for Electric Vehicles Based on Real-World Data," Energies, MDPI, vol. 8(8), pages 1-21, August.
    9. Arshad Jamal & Waleed Umer, 2020. "Exploring the Injury Severity Risk Factors in Fatal Crashes with Neural Network," IJERPH, MDPI, vol. 17(20), pages 1-22, October.
    10. Li, Pengshun & Zhang, Yuhang & Zhang, Yi & Zhang, Yi & Zhang, Kai, 2021. "Prediction of electric bus energy consumption with stochastic speed profile generation modelling and data driven method based on real-world big data," Applied Energy, Elsevier, vol. 298(C).
    11. Zhang, Jin & Wang, Zhenpo & Liu, Peng & Zhang, Zhaosheng, 2020. "Energy consumption analysis and prediction of electric vehicles based on real-world driving data," Applied Energy, Elsevier, vol. 275(C).
    12. Yavasoglu, H.A. & Tetik, Y.E. & Gokce, K., 2019. "Implementation of machine learning based real time range estimation method without destination knowledge for BEVs," Energy, Elsevier, vol. 172(C), pages 1179-1186.
    13. Stavros Lazarou & Vasiliki Vita & Christos Christodoulou & Lambros Ekonomou, 2018. "Calculating Operational Patterns for Electric Vehicle Charging on a Real Distribution Network Based on Renewables’ Production," Energies, MDPI, vol. 11(9), pages 1-15, September.
    14. Liu, Kai & Wang, Jiangbo & Yamamoto, Toshiyuki & Morikawa, Takayuki, 2016. "Modelling the multilevel structure and mixed effects of the factors influencing the energy consumption of electric vehicles," Applied Energy, Elsevier, vol. 183(C), pages 1351-1360.
    15. Jiangbo Wang & Kai Liu & Toshiyuki Yamamoto, 2017. "Improving Electricity Consumption Estimation for Electric Vehicles Based on Sparse GPS Observations," Energies, MDPI, vol. 10(1), pages 1-12, January.
    16. Wager, Guido & Whale, Jonathan & Braunl, Thomas, 2016. "Driving electric vehicles at highway speeds: The effect of higher driving speeds on energy consumption and driving range for electric vehicles in Australia," Renewable and Sustainable Energy Reviews, Elsevier, vol. 63(C), pages 158-165.
    17. Han, Xiaojuan & Wei, Zixuan & Hong, Zhenpeng & Zhao, Song, 2020. "Ordered charge control considering the uncertainty of charging load of electric vehicles based on Markov chain," Renewable Energy, Elsevier, vol. 161(C), pages 419-434.
    18. Muhammad Zahid & Yangzhou Chen & Sikandar Khan & Arshad Jamal & Muhammad Ijaz & Tufail Ahmed, 2020. "Predicting Risky and Aggressive Driving Behavior among Taxi Drivers: Do Spatio-Temporal Attributes Matter?," IJERPH, MDPI, vol. 17(11), pages 1-21, June.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Choi, Mingi & Cha, Junepyo & Song, Jingeun, 2025. "Impact of lightweighting and driving conditions on electric vehicle energy consumption: In-depth analysis using real-world testing and simulation," Energy, Elsevier, vol. 323(C).
    2. Huang, Haichao & Gao, Kun & Wang, Yizhou & Najafi, Arsalan & Zhang, Zhe & He, Hongdi, 2025. "Sequence-aware energy consumption prediction for electric vehicles using pre-trip realistically accessible data," Applied Energy, Elsevier, vol. 401(PA).
    3. Deng, Zhipeng & Li, Yuewei & Wang, Xuezheng & Jiang, Zixin & Dong, Bing, 2025. "Quantum computing-enhanced large-scale residential electric vehicle charging management," Applied Energy, Elsevier, vol. 401(PC).
    4. Zhi Lin Lee & Nur Haizum Abd Rahman & Jim Chong, 2025. "Predictive analysis of electric vehicle prices across various car brands in Germany," Quality & Quantity: International Journal of Methodology, Springer, vol. 59(2), pages 1081-1095, April.
    5. Dong, Changyin & Xiong, Zhuozhi & Li, Ni & Yu, Xinlian & Liang, Mingzhang & Zhang, Chu & Li, Ye & Wang, Hao, 2025. "A real-time prediction framework for energy consumption of electric buses using integrated Machine learning algorithms," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 194(C).
    6. Tan, Bifei & Liang, Zipeng & Chung, C.Y. & Tan, Hong & Wang, Hang & Yang, Haosen, 2025. "Risk-based data-driven energy management for integrated electrical and hydrogen microgrids with improved hydrogen vehicle charging prediction," Applied Energy, Elsevier, vol. 398(C).
    7. Luo, Weijia & Li, Ni & Xiong, Zhuozhi & Chen, Wang & Li, Ye & Tang, Chong & Li, Yu & Dong, Changyin, 2025. "Phase-based power prediction for quadrotor UAVs with RF-TLATT," Energy, Elsevier, vol. 335(C).
    8. Meshal Almoshaogeh & Arshad Jamal & Irfan Ullah & Fawaz Alharbi & Sadaquat Ali & Md Niamot Alahi & Majed Alinizzi & Husnain Haider, 2025. "Interpretive Structural Modeling of Influential Factors Affecting Electric Vehicle Adoption in Saudi Arabia," Energies, MDPI, vol. 18(19), pages 1-30, September.
    9. Dong, Changyin & Xiong, Zhuozhi & Zhang, Chu & Li, Ni & Li, Ye & Xie, Ning & Zhang, Jiarui & Wang, Hao, 2025. "A transformer-based approach for deep feature extraction and energy consumption prediction of electric buses based on driving distances," Applied Energy, Elsevier, vol. 380(C).
    10. Salas, Patricio & De la Fuente, Rodrigo & Astroza, Sebastian & Carrasco, Juan Antonio, 2025. "Analysis of attribute importance in multinomial logit models using Shapley values-based methods," Journal of choice modelling, Elsevier, vol. 54(C).
    11. Chen, Xin & Zhang, Lin & Huang, JiangBo & Jin, Lei & Song, YongShi & Zheng, XianHua & Zou, ZhiXiong, 2025. "A thermodynamics-consistent machine learning approach for ammonia-water thermal cycles," Energy, Elsevier, vol. 315(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kim, Dongmin & Yun, Jeongsik & Jang, Kitae & Woo, Soomin, 2025. "Auxiliary energy consumption of electric vehicles: Modeling and prediction using real-world vehicle data," Applied Energy, Elsevier, vol. 401(PB).
    2. Zhang, Xinfang & Zhang, Zhe & Liu, Yang & Xu, Zhigang & Qu, Xiaobo, 2024. "A review of machine learning approaches for electric vehicle energy consumption modelling in urban transportation," Renewable Energy, Elsevier, vol. 234(C).
    3. Al-Wreikat, Yazan & Serrano, Clara & Sodré, José Ricardo, 2021. "Driving behaviour and trip condition effects on the energy consumption of an electric vehicle under real-world driving," Applied Energy, Elsevier, vol. 297(C).
    4. Feng, Zhanyu & Zhang, Jian & Jiang, Han & Yao, Xuejian & Qian, Yu & Zhang, Haiyan, 2024. "Energy consumption prediction strategy for electric vehicle based on LSTM-transformer framework," Energy, Elsevier, vol. 302(C).
    5. Irfan Ullah & Muhammad Safdar & Jianfeng Zheng & Alessandro Severino & Arshad Jamal, 2023. "Employing Bibliometric Analysis to Identify the Current State of the Art and Future Prospects of Electric Vehicles," Energies, MDPI, vol. 16(5), pages 1-24, February.
    6. Choi, Ingyu & Rah, Chongkwan & Kim, Minjae & Kim, Hyojung & Kim, Seong-joon, 2025. "Pre-trip energy-use prediction for micro electric vehicles from a single input: Driving-Profile Extraction and the Single Feature Prediction Model," Energy, Elsevier, vol. 340(C).
    7. Andrea Di Martino & Seyed Mahdi Miraftabzadeh & Michela Longo, 2022. "Strategies for the Modelisation of Electric Vehicle Energy Consumption: A Review," Energies, MDPI, vol. 15(21), pages 1-20, October.
    8. Jiang, Yu & Guo, Jianhua & Zhao, Di & Li, Yue, 2024. "Intelligent energy consumption prediction for battery electric vehicles: A hybrid approach integrating driving behavior and environmental factors," Energy, Elsevier, vol. 308(C).
    9. Jiang, Junyu & Yu, Yuanbin & Min, Haitao & Cao, Qiming & Sun, Weiyi & Zhang, Zhaopu & Luo, Chunqi, 2023. "Trip-level energy consumption prediction model for electric bus combining Markov-based speed profile generation and Gaussian processing regression," Energy, Elsevier, vol. 263(PD).
    10. Jia, Zhenyu & Yin, Jiawei & Cao, Zeping & Wu, Lin & Wei, Ning & Zhang, Yanjie & Jiang, Zhiwen & Guo, Dongping & Zhang, Qijun & Mao, Hongjun, 2025. "Regional vehicle energy consumption evaluation framework to quantify the benefits of vehicle electrification in plateau city: A case study of Xining, China," Applied Energy, Elsevier, vol. 377(PC).
    11. Hong Gao & Kai Liu & Xinchao Peng & Cheng Li, 2020. "Optimal Location of Fast Charging Stations for Mixed Traffic of Electric Vehicles and Gasoline Vehicles Subject to Elastic Demands," Energies, MDPI, vol. 13(8), pages 1-16, April.
    12. Huang, Hai-chao & He, Hong-di & Peng, Zhong-ren, 2024. "Urban-scale estimation model of carbon emissions for ride-hailing electric vehicles during operational phase," Energy, Elsevier, vol. 293(C).
    13. Wang, Hua & Zhao, De & Meng, Qiang & Ong, Ghim Ping & Lee, Der-Horng, 2020. "Network-level energy consumption estimation for electric vehicles considering vehicle and user heterogeneity," Transportation Research Part A: Policy and Practice, Elsevier, vol. 132(C), pages 30-46.
    14. Sun, Xilei & Fu, Jianqin, 2024. "Many-objective optimization of BEV design parameters based on gradient boosting decision tree models and the NSGA-III algorithm considering the ambient temperature," Energy, Elsevier, vol. 288(C).
    15. Muhammad Ijaz & Lan Liu & Yahya Almarhabi & Arshad Jamal & Sheikh Muhammad Usman & Muhammad Zahid, 2022. "Temporal Instability of Factors Affecting Injury Severity in Helmet-Wearing and Non-Helmet-Wearing Motorcycle Crashes: A Random Parameter Approach with Heterogeneity in Means and Variances," IJERPH, MDPI, vol. 19(17), pages 1-24, August.
    16. Muhammed Alhanouti & Frank Gauterin, 2024. "A Generic Model for Accurate Energy Estimation of Electric Vehicles," Energies, MDPI, vol. 17(2), pages 1-21, January.
    17. Dong, Changyin & Xiong, Zhuozhi & Li, Ni & Yu, Xinlian & Liang, Mingzhang & Zhang, Chu & Li, Ye & Wang, Hao, 2025. "A real-time prediction framework for energy consumption of electric buses using integrated Machine learning algorithms," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 194(C).
    18. Zhang, Zhaosheng & Wang, Ruiyang & Liu, Peng & Wang, Zhenpo & Lin, Ni & Liang, Yiqiang & Tang, Chaoyang & Xia, Ling, 2025. "Research on energy consumption law and charging strategies design of electric buses," Energy, Elsevier, vol. 322(C).
    19. Jiangbo Wang & Kai Liu & Toshiyuki Yamamoto, 2017. "Improving Electricity Consumption Estimation for Electric Vehicles Based on Sparse GPS Observations," Energies, MDPI, vol. 10(1), pages 1-12, January.
    20. Lou, Benxiao & Tang, Jinjun & Hu, Lipeng & Ye, Junqing, 2025. "Multi-source data-driven short-term remaining driving range prediction for electric vehicles: A hybrid CNN-transformer framework," Energy, Elsevier, vol. 334(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:sae:engenv:v:33:y:2022:i:8:p:1583-1612. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: SAGE Publications (email available below). General contact details of provider: .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.