IDEAS home Printed from https://ideas.repec.org/a/eee/appene/v380y2025ics0306261924013242.html
   My bibliography  Save this article

A transformer-based approach for deep feature extraction and energy consumption prediction of electric buses based on driving distances

Author

Listed:
  • Dong, Changyin
  • Xiong, Zhuozhi
  • Zhang, Chu
  • Li, Ni
  • Li, Ye
  • Xie, Ning
  • Zhang, Jiarui
  • Wang, Hao

Abstract

Electric buses (EBs) are widely recognized as an environmentally friendly and energy-efficient alternative to traditional diesel buses. However, the issue of driving range anxiety hinders their further adoption and popularity. This study proposes a transformer-based approach to predict the energy consumption rate (ECR) of EBs based on driving distances by extracting implicit features from dynamic characteristics. First, high-resolution bus data is acquired and divided into trip segments, which are then fused with meteorological and road network data. Second, sliding windows are employed for different travel ranges to construct the dataset. Each sample in the dataset contains 12 historical dynamic feature time series and 12 predetermined features within the predicted range. The historical dynamic features are deeply extracted using the Transformer encoder module to obtain implicit features like driver behavior and bus kinematic characteristics. They are then fused with other factors, and the prediction of the ECR is performed using a fully connected neural network. Finally, a sensitivity analysis is conducted for each feature to demonstrate its impact and variations under different implicit features and travel distances. The results indicate that the prediction accuracy improves as the driving range increases. The mean absolute error (MAE) decreases from 0.28kWh/km for 250 m to 0.09kWh/km for 10 km. Compared to seven methods in the literature, this approach reduces the MAE by 1% to 39% in various conditions. This research contributes to accurate prediction of energy consumption for future distances, and supports the real-time calculation of remaining battery-supported distance.

Suggested Citation

  • 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).
  • Handle: RePEc:eee:appene:v:380:y:2025:i:c:s0306261924013242
    DOI: 10.1016/j.apenergy.2024.123941
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0306261924013242
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.apenergy.2024.123941?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
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:eee:appene:v:380:y:2025:i:c:s0306261924013242. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/405891/description#description .

    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.