hig.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Prediktion av bränsleförbrukning utifrån fordonsdata och yttre faktorer: En jämförelse av maskininlärningsmodellers prediktionsförmåga
University of Gävle, Faculty of Engineering and Sustainable Development, Department of Computer and Geospatial Sciences, Computer Science.
University of Gävle, Faculty of Engineering and Sustainable Development, Department of Computer and Geospatial Sciences, Computer Science.
2025 (Swedish)Independent thesis Basic level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

To reduce fuel costs and the environmental impacts of the transportation sector, efficient fuel management is crucial. Traditionally, fuel consumption in the transportation sector has been predicted using empirical and simple analytical models, which has contributed to further research into how machine learning models can improve these predictions. This study investigates and compares how well the machine learning models Linear regression, Random Forest and LightGBM can predict fuel consumption, as well as which driving style-related parameters and external factors mainly affects the predicted consumption. 

In the study, the quantitative approach and the experimental research method are central, where machine learning models are trained and then evaluated. The data the models are trained on is collected from two cars, and to increase the possibility of the training process returning the most optimal results, the data is pre-processed. After the machine learning models are trained, they are evaluated using the evaluation metrics R2-score, Mean Absolute Error (MAE) and Root Mean Square Error (RMSE). Finally, the most prominent parameters related to fuel consumption are evaluated and identified, using a SHAP (Shapley Additive exPlanations) analysis. 

The results of the study show that LightGBM predicted fuel consumption with the highest accuracy of all the models, followed by Random Forest with a slightly reduced accuracy. The linear regression model performed significantly worse, mainly due to its inability to discover complex and non-linear relationships. Furthermore, the SHAP analysis shows that the variables EngineCoolantTemperature and VehicleSpeedInstantaneous were assigned the highest weight in the predictions of all models, meaning that the engine temperature and the instantaneous speed of a vehicle have the highest impact on the predicted fuel consumption out of the factors included in this study. 

Place, publisher, year, edition, pages
2025. , p. 46
Keywords [en]
Machine learning, Fuel consumption, Prediction, SHAP analysis
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hig:diva-47426OAI: oai:DiVA.org:hig-47426DiVA, id: diva2:1972014
External cooperation
Syntronic
Subject / course
Computer science
Educational program
Högskoleingenjör
Supervisors
Examiners
Available from: 2025-06-24 Created: 2025-06-18 Last updated: 2025-10-02Bibliographically approved

Open Access in DiVA

fulltext(1753 kB)45 downloads
File information
File name FULLTEXT01.pdfFile size 1753 kBChecksum SHA-512
2f7922e6880d397b28760cab6f1757d05ebecb687db44635d8e824c37546195f04a8025b4f930b8527d59dcd7e5d285deb7b52e228c7c0483ab53dec5a4defd7
Type fulltextMimetype application/pdf

By organisation
Computer Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 45 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 170 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard-cite-them-right
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • sv-SE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • de-DE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf