Next Article in Journal
FP-YOLOv8: Surface Defect Detection Algorithm for Brake Pipe Ends Based on Improved YOLOv8n
Previous Article in Journal
Securing the Future of Railway Systems: A Comprehensive Cybersecurity Strategy for Critical On-Board and Track-Side Infrastructure
Previous Article in Special Issue
Using Graphs to Perform Effective Sensor-Based Human Activity Recognition in Smart Homes
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Machine Learning to Predict CO2 Emissions in Light-Duty Vehicles

Department of Computer Science, School of Computing and Engineering, University of Huddersfield, Queensgate, Huddersfield HD1 3DH, UK
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(24), 8219; https://doi.org/10.3390/s24248219
Submission received: 25 October 2024 / Revised: 15 December 2024 / Accepted: 18 December 2024 / Published: 23 December 2024
(This article belongs to the Special Issue Intelligent Sensors in Smart Home and Cities)

Abstract

:
Climate change caused by greenhouse gas (GHG) emissions is an escalating global issue, with the transportation sector being a significant contributor, accounting for approximately a quarter of all energy-related GHG emissions. In the transportation sector, vehicle emissions testing is a key part of ensuring compliance with environmental regulations. The Vehicle Certification Agency (VCA) of the UK plays a pivotal role in certifying vehicles for compliance with emissions and safety standards. One of the primary methods employed by the VCA to measure vehicle emissions for light-duty vehicles is the Worldwide Harmonized Light Vehicles Test Procedure (WLTP). The WLTP is a global standard for testing vehicle emissions and fuel consumption, and sensors are crucial in ensuring accurate, real-time data collection in laboratories. Using the data collected by the VCA, regression machine learning models were trained to predict CO2 emissions in light-duty vehicles. Among six regression models tested, the Decision Tree Regression model achieved the highest accuracy, with a Mean Absolute Error (MAE) of 2.20 and a Mean Absolute Percentage Error (MAPE) of 1.69%. It was then deployed as a web application that provides users with accurate CO2 emission estimates for vehicles, enabling informed decisions to reduce GHG emissions. This research demonstrates the efficacy of machine learning and AI-driven approaches in fostering sustainability within the transportation sector.

1. Introduction

Climate change is one of the most pressing global challenges, characterized by rising temperatures, extreme weather events, and significant disruptions to ecosystems and human society [1]. Consequently, reducing greenhouse gas emissions, especially of CO2, has become a shared and essential objective to mitigate the effects of climate change [2]. The report by BEIS (Department for Business, Energy & Industry Strategy, UK, now replaced by Department for Energy Security and Net Zero, Department for Science, Innovation and Technology, and Department for Business and Trade, UK) revealed that the transport sector had the highest greenhouse gas emissions in 2021, and made up 26% of the total emitted greenhouse gases [3].
The rapid advancement of the global technological revolution has sped up the digital transformation of numerous industries, and climate change has been significantly impacted by digital transformation across various sectors [4]. Digital transformation in transportation refers to the integration of electronic data and cutting-edge technology that provides an efficient and effective service delivery in the sector [5]. Various integrations of data and information technologies, including but not limited to Internet of Things (IoT) devices, Artificial Intelligence (AI), big data, and smart infrastructure, aim to improve efficiency, implement effective pricing systems, enhance safety for users, and promote sustainability within the transportation sector [6].
Vehicle emissions testing is a key part of ensuring compliance with environmental regulations. In vehicle emissions testing, the data collection process is critical for determining the amount and type of pollutants emitted by vehicles under simulated real-world driving conditions. In the WLTP, various sensors are used to ensure that data are captured accurately and in real time. These sensors are integrated into different stages of the testing process, including the measurement of exhaust gases, particulate matter, ambient conditions, and vehicle performance on the chassis dynamometer [7].

1.1. Research Objectives

The objectives and contribution of this research are as follows:
i.
An exploration of the ideas and conceptual framework of digital transformation in transportation, and the impact on GHG emissions.
ii.
The identification of significant features influencing vehicular CO2 emissions.
iii.
The development and evaluation of an ML model for predicting CO2 emissions in light-duty vehicles.
iv.
The deployment of a web-based application as a practical tool for stakeholders to estimate the CO2 emitted by a vehicle.

1.2. Problem Statement

Since the 1980s, there has been growing concern about climate change due to human activities that emit greenhouse gases. The United Nations Environment Programme (UNEP) and the World Meteorological Organization (WMO) established the Intergovernmental Panel on Climate Change (IPCC) to oversee climate change and its related activities. Since its inception, the IPPC has published five comprehensive reports, and these reports all concluded that the Earth is warming, and this is caused by greenhouse gas emissions from human activities [8]. A report by the Emissions Database for Global Atmospheric Research (EDGAR) revealed that over the years, there has been an increase in global greenhouse gases as a result of the increase in CO2 emissions from various countries, and countries like China, the United States, the EU27, India, Russia, and Japan are considered the biggest emitters of CO2 and other greenhouse gases [9]. A report by the U.S. Environmental Protection Agency reveals that carbon dioxide made up 65% of the global greenhouse gases emitted [10], while a report by the Department for Business, Energy & Industrial Strategy released in 2023 revealed that, in 2022, CO2 made up 80% of the greenhouse gas emitted in the UK [3]. See Figure 1.
The transportation sector is made up of industries that provide services to enable the movement of people and goods from one point to another; this includes airlines, roads, rail, air freight, sea freight, etc. [11]. It is a significant contributor to air pollution in both urban and rural areas due to its heavy reliance on fossil fuels [12]. Over the years, there has been a steady increase in the amount of greenhouse gases emitted by the industries in the transport sector, having an annual average growth rate of 1.7% from the year 1990 to 2022, surpassing the annual average rate of the other end-use sectors [13].

1.3. Research Scope

The scope of this research includes a discussion on the digital transformation of the transportation sector, and the predictive analysis of CO2 emitted by passenger vehicles, using the data collected by sensors. The machine learning predictive model will consider the important features that correlate with CO2 emissions in light-duty vehicles, and use them in developing a predictive model with high accuracy. The case study of this research is on the United Kingdom, as the United Kingdom is considered as a leading advocate for climate change awareness.

2. Literature Review

2.1. The Concept of Digital Transformation

Digital transformation is understood to be a fundamental change in the utilization of digital technologies to improve efficiency, enrichment, and innovation. Digital transformation is a comprehensive initiative that integrates digital technologies into every function of an organization, transforming its delivery model and value proposition [14]. It goes beyond simply acquiring digital tools; it involves drastic change and reworking business structures to suit the transformation of needs in a digitized world [15].
Also, digital transformation can refer to the introduction of advanced technologies including Artificial Intelligence (AI), machine learning (ML), and Internet of Things, and data analysis capabilities. These technologies make up the digital spine that allows companies to gather, process, and gain insight from mountains of data. Delivering improved and innovative experiences is one of the main drivers of digital transformation. Digital tools are used by organizations to identify customer preferences, customize engagement, and provide smooth experiences [14]. However, data are at the heart of digital transformation since analytics allows for the extraction of actionable insights. The aim is to transform raw data into useful information that guides decision-making practices, reveals patterns, and helps introduce a more reactive approach toward changes in market dynamics. This data-informed approach is also applicable to customer behavior, preferences, and needs that can be used in organizations where products or services need adjustment according to evolving requirements.
In addition, digital transformation is about improving or re-engineering the business processes already in place. This entails a detailed assessment and remodeling of the workflows so that they suit what is available in digital technologies. Organizations use data analytics and AI to forecast equipment failure and perform preventative maintenance ahead of time, thus minimizing inactivity [16].

2.2. Emerging Technologies and Their Contribution to Transformation in Transportation

The transportation sector has several emerging technologies, some fully functional, providing quality data and information to tackle issues, while others are still yet to achieve a wider audience to obtain adequate data for use. The vast number of emerging technologies include the Internet of Things (IoT), which is widely used for inventory and fleet management, payment, and ticketing; this provides data that can be analyzed and interpreted. Artificial Intelligence, although still contributing to transportation transformation, within the next decade, is expected to provide quality data for use. These emerging technologies will improve the efficiency of the transportation system, with exponential increments expected within the next decade.

2.2.1. Internet of Things (IoT) in Transportation

The Internet of Things (IoT) has emerged as a key enabler in the transportation sector. IoT involves connecting physical devices and vehicles to the internet, allowing them to collect and exchange data in real time. In transportation, it refers to the interconnected network of physical devices and vehicles embedded with sensors, software, and other technologies to collect and exchange data. This interconnected ecosystem facilitates the seamless flow of information, enabling smarter and more efficient transportation systems. Through IoT, vehicles become intelligent nodes in a broader network. Sensors embedded in vehicles monitor performance metrics, fuel consumption, and maintenance needs. This real-time data allow for predictive maintenance, reducing downtime and enhancing the lifespan of transportation assets [17].
One crucial aspect of IoT in transportation is in the domain of Intelligent Transportation Systems (ITSs). These systems leverage IoT technologies to optimize traffic flow, vehicle congestion, and overall safety on roads. For example, connected vehicles can communicate with each other and with traffic infrastructure to receive real-time updates on road conditions, accidents, and other critical information [18]. This enables drivers to make informed decisions, improving road safety and reducing the likelihood of accidents.
IoT also plays a pivotal role in fleet management as companies can utilize IoT devices to monitor the condition and performance of their vehicles in real time. Sensors on trucks or buses provide data on fuel efficiency, engine health, and maintenance needs. This proactive approach to vehicle management helps reduce downtime, lowers maintenance costs, and contributes to the overall sustainability of the transportation fleet [19].
The Internet of Things is reshaping the landscape of transportation by fostering connectivity, automation, and data-driven decision-making. The integration of IoT technologies in vehicles, infrastructure, and logistics systems enhances safety, efficiency, and sustainability, ultimately contributing to the evolution of smarter and more resilient transportation ecosystems. Smart traffic management and route optimization both contribute to reduced fuel consumption and emissions. In addition, IoT sensors can monitor the air quality and provide insights for urban planners to implement sustainable transportation policies. IoT facilitates smart traffic management, enabling cities to optimize traffic flow and reduce congestion through real-time monitoring and data analysis [20].

2.2.2. Artificial Intelligence (AI) in Transportation

Artificial Intelligence (AI) is revolutionizing the transportation sector by introducing innovative solutions that enhance efficiency, safety, and sustainability. In the realm of transportation, AI refers to the application of advanced algorithms and computational models to process, analyze, and interpret data, enabling intelligent decision-making across various components of the transportation ecosystem. In autonomous vehicles, AI algorithms analyze data from sensors, cameras, and radar systems to make real-time driving decisions. This technology holds the promise of safer and more efficient transportation, with the potential to reduce accidents and improve traffic flow [21].
One significant application of AI in transportation is in the development of autonomous vehicles. These vehicles leverage machine learning algorithms and sensor technologies to perceive their environment, interpret road conditions, and make decisions without human intervention. Companies such as Waymo and Tesla have been at the forefront of integrating AI into self-driving cars, aiming to reduce accidents, increase road safety, and optimize traffic flow [22].
In public transportation, AI is used to improve operational efficiency and passenger experience [23]. AI is instrumental in predictive maintenance for transportation fleets. By analyzing data from sensors embedded in vehicles, AI algorithms can predict potential mechanical issues before they escalate. This proactive approach helps transportation companies minimize downtime, reduce maintenance costs, and enhance the overall fleet reliability.
Artificial Intelligence contributes to the development of smart traffic management systems in smart cities. By analyzing historical traffic patterns and current data, AI algorithms can recommend optimal routes for drivers; this not only improves the efficiency of individual journeys but also contributes to the overall sustainability of urban transportation. Machine learning algorithms can analyze historical data to identify patterns and trends, allowing transportation companies to make informed decisions and respond dynamically to changing conditions [24].

2.2.3. Intelligent Transportation Systems (ITSs)

Intelligent Transportation Systems represent a comprehensive framework that applies advanced technologies to various modes of transportation. It encompasses a wide array of applications, including traffic management, public transportation, and vehicle-to-infrastructure communication; its primary objective is to enhance the efficiency, safety, and sustainability of transportation systems [25]. Some of the components of ITSs include real-time traffic monitoring, adaptive traffic signal control, the integration of smart infrastructure, and many more, and these elements work in harmony to not only optimize traffic flow but also reduce travel time and minimize collisions with buildings. In addition, ITSs facilitate the implementation of smart parking solutions, electric vehicle charging infrastructure, and real-time public transportation information systems [26].
A study performed by [27] defines the integration of ITSs and smart cities as emphasizing the role of information technology and addressing urbanizing them to solve transportation challenges. Mobility is a key focus of smart cities; it underlines the development of Intelligent Transportation solutions that greatly reduce congestion, enhance safety, and promote sustainable modes of travel. The integration of advanced technologies, such as the Internet of Things (IoT), Artificial Intelligence (AI), and data analytics, plays a pivotal role in achieving these goals [28].

2.3. Sensor-Based Emission Measurement Systems

The rising concern over air pollution and climate change necessitates accurate and efficient methods for monitoring vehicle emissions. Traditional emission measurement systems are often expensive and time-consuming. Sensor-based emission measurement systems offer a promising alternative, enabling the real-time monitoring and assessment of vehicle emissions. A study by [29] developed a low-cost sensor system for measuring CO, NO2, CO2, PM2.5, and the temperature in motor vehicle exhaust gases. In the study, there was a notable difference between the sensor results and the official results, due to the limited reading range of the low-cost sensor. Research by [30] investigated the use of portable and laboratory instrumentation for measuring gaseous exhaust emissions from light-duty vehicles; it used a low-cost sensor similar to that used in the study by [31], which aimed to determine the exhaust emission values from motor vehicles. The study offered unique insights into the key parameters needed for emission calculations, including pollutant concentrations, exhaust flow, and engine work cycles. The research presented by [32] examines the relationship between traffic patterns and CO2 emissions. By leveraging IoT traffic sensors, their model offers a more precise method for estimating emissions in real time, accounting for both congestion and seasonal variations.
The paper by [33] presents the design and implementation of a portable, non-invasive sensor-based CO2 emission monitoring system that integrates directly with a vehicle’s Controller Area Network (CAN) bus. For the research, a SprintIR-R CO2 Sensor was used. It is a Non-Dispersive Infrared (NDIR) sensor designed to measure CO2 concentrations of up to 20%, which makes it suitable for the high concentrations often found in vehicle exhaust emissions. NDIR technology works by measuring the absorption of infrared light by CO2 molecules, which provides a reliable and accurate indication of the gas concentration [34].

2.4. Machine Learning Models for Calculating CO2 Emissions in Cars

There are several machine learning models and programs that have been implemented to ascertain and predict GHG emissions (particularly of CO2) in various sectors. One of the most popular programs for calculating GHG emissions is COPERT (Computer Programme to Calculate Emissions from Road Transport). COPERT (v5.7.2) is a computer software developed by the Laboratory of Applied Thermodynamics (LAT) at the Aristotle University of Thessaloniki. The development was funded by the European Environment Agency (EEA), and the majority of GHG emissions in Europe are calculated using COPERT [35]. Unlike most models, COPERT can be used in calculating GHG emissions and air pollutants like NH3, SO2, CO2, N2O, VOC, CO, NOx, and CH4, among others, emitted by passenger cars, large goods vehicles, light goods vehicles, motorcycles, and mopeds [36]. The equation for calculating the emissions from vehicles with the COPERT model is as follows:
E T O T A L = E U R B A N + E R U R A L + E H I G H W A Y
where
EURBAN—emissions during driving in an urban environment (on local roads).
ERURAL—emissions during driving in inter-city roads.
EHIGHWAY—emissions during driving on highways.
The COPERT model has some limitations when calculating the annual CO2 emissions from vehicles in a specific country because when calculating the emissions from vehicles, there is a need to consider factors like driver behavior, driving conditions, environmental impact, and more. According to the research in [37], aggressive driving, when compared to regular driving, results in higher emissions. These factors vary significantly based on a country’s historical, social, economic, and cultural context, as well as the general and technical education levels of its population. This led to the development of the REMODIO (Racunanje EMisije Ogljikovega DIOksida) model at the Institute for Energy, Process and Environmental Engineering. This model is tailored to account for the specific factors influencing CO2 emissions from vehicles in different regions or countries [38]. The equation for calculating the annual CO2 emission from vehicles with the REMODIO model is as follows:
E C O 2 = g = 1 2 ( N r · l r · g r · K z ) g   k g   C O 2 g o g i n i
where
Nr—the number of registered passenger cars at the end of a fiscal year.
lr—the average annual traversed road of “average vehicle” [km/year].
gr—the average specific fuel consumption of “an average vehicle” [L/100 km].
Kz—the emission factor, namely, the formation factor CO2 [kg CO2/L fuel].
g = 1—vehicles with a petrol engine.
g = 2—vehicles with a diesel engine.
Researchers at the Institute for Energy, Process, and Engineering of the Environment at the Faculty for Mechanical Engineering in Maribor, combined the unique features of the COPERT and REMODIO models to create a new model capable of predicting the decrease in the amount of CO2 emitted because of inefficient combustion, ineffective exhaust gas treatment system, and some additional factors not included in earlier models [39]. This model is known as the REPAS model (Računanje Emisije Putničkih Automobila u Saobraćaju), and the software created from this is known as REPAS 1.1. This software was used to calculate the individual CO2 emissions and total CO2 emissions of vehicles registered in Montenegro in the year 2003 [40]. The current REPAS model is limited to calculating only CO2 emissions, and the program has not been updated for some years now. The equation for calculating the annual CO2 emission from vehicles with the REPAS model is as follows:
E CO 2 = i = 1 n [ N i · l i ( j = 1 m g ECE j · r i ) · K g ECDi · K z i · K n s i ] [ tons years ]
where
i—the number of vehicle categories (i = 1, …, 32).
Ni—the number of registered vehicles in the observed category “i” [vehicles/year].
li—the average annual mileage of category “i” [km/vehicle, year].
j—the number of types per category “i” (j = 1, …, m).
g E C E j —manufacturer ECE test specific fuel consumption of PC model “j” of category “i” [1 fuel/100 km].
rj—the share of type ”j” in category ”i”.
K g E C D i —the worsening degree of the manufacturer-indicated fuel consumption of vehicle category “i”.
Kzi—the emission factor of vehicle category “i” [kg CO2/liters of fuel].
Knsi—the incomplete combustion coefficient of vehicle category “i”.
Using a traffic simulation model (VISSIM) and an emissions model (MOVES), researchers have predicted the greenhouse gas emitted by vehicles on a limited-access roadway [41]. MOVES (MOtor Vehicle Emission Simulator) is a model created by the U.S. Environmental Protection Agency (EPA) for estimating greenhouse gases, air pollutants, and toxic air emissions from vehicles at the national, county, and project levels [42]. The research by [43] on using a revamped VSP-based MOVES model in Hyderabad, India, revealed that MOVES may not be applicable in countries with bad roads and traffic congestion, because the emission rates calculated in the research were higher than the base rates from MOVES.
CORSIM is a micro-scale model that uses look-up tables to predict HC, CO, and NOx emissions using dynamometer data. CORSIM calculates the total emissions for each link by applying default emission rates to each vehicle for every second the vehicle travels on a specific connection based on its speed and acceleration [44].
The Georgia Institute of Technology created the Mobile Emission Assessment System for Urban and Regional Evaluation to estimate CO, NOx, and VOCs [45]. MEASURE is a model that considers the vehicle’s operating modes, including cruising, acceleration, deceleration, and idle status for predicting GHG emissions, instead of estimating exhaust emissions based on the average vehicle speed. The model is data-intensive to use because it includes more than 30 variables and it also does not estimate CO2 emissions [46].
Research by [47] on NO2 and NOx emissions in vehicles for the Sheffield City Council revealed that diesel vehicles were the top contributors of NO2 and NOx emissions in urban Sheffield. The vehicle emissions were estimated using PHEM. PHEM (Passenger Car and Heavy-Duty Emission Model) is a leading Instantaneous Emission Model (IEM) that can simulate fuel consumption as well as the tailpipe emissions of NOx, NO2, and HCs, particulate mass (PM10), particle number (PN), carbon monoxide (CO), and hydrocarbons (HCs) from an entire fleet of vehicles, ranging from Euro 0 to Euro 6 [48]. This includes heavy-duty vehicles, passenger cars, and light commercial vehicles. PHEM was developed in 2000 as part of the ARTEMIS, COST346, and HBEFA research programs at the Technical University of Graz (TUG, AU). The PHEM model is based on the engine speed–power emission maps of light-duty and heavy-duty vehicles, which were created from engine and chassis dynamometer measurements [47]. See Table 1.
Recently, researchers have been using machine learning and deep learning models for predicting CO2 emissions in vehicles. In the research conducted by [59], they trained and tested an artificial neural network (ANN) model, which was used for predicting the combustion and ignition characteristics of diesel–biodiesel–gasoline blend combustion using variables like speed, load, compression ratio, injection temperature, injection pressure, etc., for training the model [59]. ANN was also used in creating Extreme Learning Machine (ELM) models to predict the pressure of a spark ignition single-cylinder engine, which was able to predict the mean effective pressure and was consistent with the experimental results [60]. The researchers at West Virginia University developed ANN models for predicting CO2 emissions and NOx emissions in heavy-duty vehicles. The models were trained on the data gathered from transient dynamometer testing of heavy-duty diesel engines, and the predicted CO2 emissions and NOx emissions were compared against the real emission data gathered from chassis dynamometer tests of similar vehicles. Although the ANN model did not accurately predict the emissions in lightweight trucks, the prediction accuracy increased as the weight of the trucks increased [61].
An ANN model was used in a study [62] to identify the torque and fuel consumption characteristics of gasoline engines. The brake-specific fuel consumption and engine torque were accurately predicted using an ANN model with a back-propagation learning algorithm. A study by [63] used a similar ANN for predicting a gasoline engine’s performance and exhaust emissions. According to that study, the ANN model can reliably estimate brake-specific fuel consumption, CO emissions, and HC emissions, suggesting that it may be used in place of more traditional modeling methods to predict the Internal Combustion Engine performance and emissions.
In the research conducted by [64], several machine learning models were developed to predict CO2 emissions and estimate the fuel consumption of light-duty vehicles. With an accuracy of up to 98.6%, the results revealed that the Univariate Polynomial Regression model is the best model for making predictions based on a single vehicle attribute input. With an accuracy of around 75%, multiple linear regression and multivariate polynomial regression are also useful models for making predictions from various vehicle attribute inputs. The prediction accuracy of the Convolutional Neural Network is over 70%, making it a reliable and promising technology that needs to be further explored [64]. Similarly, a Random Forest regression model was used to predict NOx and CO2 emissions after modifying a diesel engine to operate with two types of fuel—diesel and natural gas. Using feature engineering, the RF model was able to accurately predict the NOx emissions [65].
Research by Ağbulut estimated Turkey’s energy consumption and CO2 emissions from transportation by using three machine learning algorithms: support vector machine (SVM), artificial neural network (ANN), and deep learning (DL) [66]. The input parameters used to train the algorithms were the population, year, gross domestic product per capita (GDP), and vehicle-kilometer between 1970 and 2016. To compare the predicted outcomes, six statistical metrics were evaluated: mean absolute bias error (MABE), relative root mean square error (rRMSE), mean bias error (MBE), coefficient of determination (R2), Mean Absolute Percentage Error (MAPE), and root mean square error (RMSE). They developed two mathematical models for predicting the energy demand and CO2 emissions from transportation, and the results predicted up to the year 2050 [66].

3. Methodology

3.1. Quantitative and Predictive Analysis

While conducting this research, various datasets were considered, one of which was the dataset on Fuel Consumption Ratings, collected by the Government of Canada for estimating CO2 emissions and fuel consumption in light-duty vehicles sold by retailers [67]. This dataset has been used by different researchers in predicting CO2 emissions in passenger vehicles. The data are only limited to predicting CO2 emission and do not apply to other greenhouse gases and air pollutants like NOx, CO, and THC. Another dataset considered is the dataset provided by the European Environment Agency on the CO2 emissions from new passenger cars [68]. It is a comprehensive dataset with over 9,000,000 entries, and multiple fields to describe the vehicle. Exploring the EEP data revealed that a large number of rows were duplicated, and the size of the dataframe is not suitable for tools like Jupyter Notebook because of its large size. The third option was the datasets collated by the Vehicle Certification Agency of the United Kingdom for car fuel and emission information. It has data collected from the years 2000 to 2023, although the various datasets used different methods for the measurements of variables over the years. The recent datasets utilized the WLTP for measuring fuel economy and CO2 emission [69]. See Figure 2.

3.2. Dataset Selection

In this research, to analyze the digital transformation of the transportation sector and its impact on greenhouse gas emissions, the dataset used for the quantitative and predictive analysis was one collated by the Vehicle Certification Agency of the United Kingdom [70]. This dataset contains the fuel consumption, CO2 emission, NOx emission, and other tailpipe emission performance figures of new cars currently being sold in the UK. The available version of the dataset is somewhat raw and requires cleaning. The dataset from the years 2020 to 2023 was downloaded and loaded onto Jupyter Notebook using ISO-8859-1 [71]. Jupyter Notebook is an open-source interactive web application that is used as a computational notebook. It is compatible with programming languages like Python (v3.12.0) (Py), R (v4.3.2), and Julia (v1.10.0-rc2) (Ju), and allows researchers to create documents that include software code, computational output, explanatory texts, data visualization, and multimedia files. Although computational notebooks have been around for a while, Jupyter Notebook has become a very popular tool used for data science-related projects [72].
The datasets were loaded on Jupyter Notebook, and the shape of each dataset was checked. The output (Figure A1) revealed that the dataset for 2020 has 4879 rows and 45 columns, the 2021 dataset has 4732 rows and 45 columns, the 2022 dataset has 4727 rows and 45 columns, and the 2023 dataset has 4473 rows and 45 columns.
The datasets were merged to create a unique dataset with 20,644 rows and 47 columns; the reason for the increased number of rows is because of standardization of the column names.
The merged dataset contains some columns with missing values. Here is a summary of the missing values along with their percentages:
i.
Manufacturer, model, description, etc.: minor missing values, around 0.2%.
ii.
Transmission: about 3.66% missing.
iii.
Engine power (Kw/PS): missing values range from about 1.19% to 1.86%.
iv.
Electric energy consumption Miles/kWh, wh/km, maximum range (Km/Miles), etc.: high percentage of missing values, exceeding 50%.
v.
WLTP metrics: varies significantly, with some columns having a small percentage of missing values and others having more.
vi.
Annual costs, noise level, emissions data: varying degrees of missing data, with some columns missing over 50% of their values.

3.3. Data Cleaning

The large amount of missing data in certain columns, especially those related to electric energy consumption, ranges, and emissions, is due to the type of components of the vehicles. For instance, electric vehicle-specific metrics like ‘electric energy consumption’ or ‘electric range’ do not apply to Internal Combustion Engine (ICE) vehicles. Similarly, the emissions columns do not apply to vehicles using only electricity as their fuel type. This could result in missing values for these columns in rows representing non-electric vehicles.
There are several methods for handling missing data in a dataset, and one needs to consider the impact of the selected method on the dataset. The research by [73] discusses the advantages and disadvantages of using methods like listwise deletion, mean replacement, and multiple imputation, and the impact it can have on the results. Considering the focus of this research is on greenhouse gas emissions, most of the columns with missing values are not relevant for the prediction of CO2 emitted by light-duty vehicles. Dropping some of the attributes like annual costs, electric energy consumption Miles/kWh, etc., would not have a negative impact on the dataset. Also, in the United States and the United Kingdom, fuel consumption is commonly measured in miles per gallon (mpg). But, for evaluating fuel consumption in this dataset, fuel consumption measured in liters per 100 km (L/100 km) serves as a more practical metric, because CO2 emission is measured in grams per kilometers (g/km). As fuel economy becomes better, the mpg value rises, while an enhanced fuel efficiency leads to a decrease in liters per 100 km [74].
While the research in [75] discusses both the noise and CO2 emissions from vehicles, it does not explicitly establish a direct relationship between the two. Each is influenced by similar factors like vehicle speed and acceleration, but they are assessed independently in terms of their environmental impact. For instance, noise emissions are heavily influenced by acceleration and speed, while CO2 emissions are tied to factors like acceleration patterns and the overall vehicle efficiency. Although the focus of the study is primarily on assessing noise and pollutant emissions (including CO2) as separate entities, influenced by various factors like vehicle speed, acceleration, and road slope, it does not directly indicate a correlation between noise levels and CO2 emissions from vehicles. These findings informed the decision to remove the “noise level dB(A)” column in the dataset.
The engine capacity of a vehicle is measured by the amount of fuel and air that can pass through the cylinders of the measured vehicle and is measured in cubic centimeters (cc). For this research, the engine capacity of the dataset is converted to liters, which is the metric for measuring the size of an engine [76]. After converting the engine capacity to liters, it was approximated to 1 decimal place to obtain the exact engine size of the vehicle.
E n g i n e   C a p a c i t y L = E n g i n e   C a p a c i t y   ( c c ) 1000
After dropping the null values and duplicate rows, the cleaned dataset is exported as a CSV file. This is the dataset that is used for developing/training the machine learning model for predicting the CO2 emissions in light-duty vehicles.

3.4. Data Exploration and Pre-Processing

3.4.1. Descriptive Categorical and Statistical Analysis

Loading the cleaned dataset and checking its shape showed it has 6629 rows and 9 columns. A categorical analysis of the dataset revealed that there are 40 manufacturers, and MERCEDES-BENZ, FORD, RENAULT, KIA, and SEAT have the highest number of vehicles in the dataset. Also, there are several models produced by each manufacturer. There is a wide range of transmission technologies used by various manufacturers. These include manual transmissions, automatic transmissions, continuously variable transmissions (CVTs), dual-clutch transmissions (DCTs), semi-automatic transmissions (SATs), and All-Wheel Drive Variants. In the dataset, manual transmission is usually denoted by ‘M’ followed by a number (e.g., M5, M6, MT5, MT6). Automatic transmissions are symbolized by ‘A’ followed by a number (e.g., A6, A7, A8, AT). Continuously variable transmissions (CVTs) are represented by ‘CVT’ or variations like ‘E-CVT’. The dual-clutch transmissions (DCTs) can be identified by ‘DCT’ followed by a number (e.g., DCT6, DCT7, DCT8). Similarly, the semi-automatic transmissions are indicated by ‘SAT’ (e.g., SAT5, SAT6), and the All-Wheel Drive Variants are for transmission types with an AWD (All-Wheel Drive) feature, such as ‘A8-AWD’, ‘M6-AWD’, ‘MPS6-AWD’, ‘8A AWD’, ‘8A-AWD’, ‘A6-AWD’, or ‘8AT-AWD’. See Figure 3.
The dataset has 7 categories of fuel types, which are petrol, diesel, electricity/petrol, petrol electric, diesel electric, petrol/LPG (liquefied petroleum gas), and petrol hybrid. The most popular fuel is petrol, which is used by 3207 vehicles. Petrol, which is also known as gasoline or ‘gas’ in North America, is produced from crude oil. Examining the dataset revealed that the most popular powertrain being used by the vehicle is the Internal Combustion Engine (ICE). Internal Combustion Engine (ICE) vehicles use petrol, diesel, compressed natural gas (CNG), or liquefied petroleum gas (LPG) as their fuel type. Vehicles with ICEs tend to emit more CO2 from the tailpipe when compared with hybrid electrical vehicles. See Table 2.

3.4.2. Managing Outliers

Outliers are extreme data points in a group of results, significantly different from the other values in the group. Outliers can negatively impact the output received when training a predictive model. It is essential that outliers are checked and removed before analyzing a dataset or training a machine learning model to preventing skewing [77]. See Figure 4 and Figure 5.

3.4.3. Correlation

A heatmap diagram is used to display the correlation coefficient of two variables in the numerical categories of the dataset. Correlation is used to show the relationship between variables. The numerical values range from −1 to +1, with −1 being the maximum negative correlation of the variables, −1 being the maximum positive correlation between the selected features, and 0 showing there is no sign of correlation [78]. See Figure 6.

Insights from the Correlation

  • The correlation between engine power (PS) and fuel consumption comb (L/100 km) is 0.81, indicating that there is a very strong positive correlation between the variables. So, an increase in the engine power of a vehicle will increase the quantity of fuel consumed by the vehicle.
  • The correlation between engine power (PS) and CO2 emissions (G/Km) is strong at 0.77, meaning CO2 emissions are likely to be low in vehicles with low engine power (PS).
  • There is a 0.87 correlation between engine power (PS) and engine capacity (L), meaning a car with a large engine size will be more powerful than a car with a smaller engine capacity.
  • There is a very high positive correlation (0.94) between fuel consumption comb (L/100 km) and CO2 emissions (G/km), meaning the more fuel a vehicle consumes, the more CO2 emissions it produces.
  • The relationship between fuel consumption comb (L/100 km) and engine capacity (L) has a correlation coefficient of 0.76, so it is a strong positive relationship.
  • Similarly, the correlation between CO2 emissions (G/Km) and engine capacity (L) is a little below average at 0.78. This indicates a strong positive relationship between the variables.
In summary, the engine power (PS), engine capacity (L), and fuel consumption (L/100 km) are features of a vehicle that impact the CO2 emissions of vehicles. This answers the third research question.

3.5. Building the Machine Learning Model

Artificial Intelligence (AI) refers to the process by which systems or machines imitate human intelligence. This includes features and abilities such as perception, prediction, planning, reasoning, and learning. The field of AI research is rapidly growing due to the interest and contributions of scientists and organizations working towards creating autonomous systems [79]. Some of the key areas of AI research include deep learning (DL) algorithms, knowledge graphs, natural language processing, and machine learning (ML) algorithms [80]. In this research, six regression models were developed, trained, and tested, and the best-performing model was selected for predicting the CO2 emissions of light-duty vehicles.

3.5.1. Cleaned Dataset Variables

The dataset’s attributes can be categorized into the following types:
i.
Numerical Variables:
  • Target variable: CO2 emissions (g/km)—This variable represents the grams of CO2 emitted per kilometer driven. It is the variable we aim to predict.
  • Engine power (PS): This variable is directly related to fuel consumption and CO2 emissions. Higher power generally implies higher fuel consumption and emissions.
  • Fuel consumption comb (L/100 km): Combined fuel consumption liters per 100 km. This is a highly relevant and strongly correlated predictor of CO2 emissions.
  • Engine capacity (L): Engine displacement in liters. A larger engine capacity often, but not always, correlates with higher power and fuel consumption.
ii.
Categorical Variables:
  • Manufacturer: The brand of the vehicle. This is a high-cardinality categorical variable with numerous unique values (initially 40).
  • Model: The specific model of the vehicle. This is a very high-cardinality categorical variable (initially 656 unique values).
  • Transmission: Describes the type of transmission (e.g., manual, automatic, CVT). It is a moderately high-cardinality categorical variable (initially 54 unique values), with some ambiguity in naming conventions.
  • Fuel type: Indicates the type of fuel used (e.g., petrol, diesel, petrol electric). This is a low-cardinality categorical variable (initially 7 unique values) with significant influence on CO2 emissions.
  • Powertrain: Specifies the powertrain configuration (e.g., Internal Combustion Engine (ICE) or Hybrid Electric Vehicle (HEV)). This low-cardinality categorical variable (initially 5 unique values) is a strong predictor, as different powertrain types vary considerably in their fuel efficiency.

3.5.2. Feature Selection Process

The feature selection process was crucial due to the presence of high-cardinality categorical features and the need to balance predictive accuracy with model interpretability and computational efficiency. The steps involved were as follows:
i.
Initial Feature Elimination: The high-cardinality features manufacturer and model were removed. Including these features would lead to a very high-dimensional feature space after one-hot encoding, increasing computational complexity and significantly increasing the risk of overfitting. The impact of these features may be implicitly captured by other features (e.g., engine type and fuel efficiency). This step is a common practice when dealing with high-cardinality categorical predictors in regression tasks.
ii.
Pre-processing of Remaining Categorical Features: The remaining categorical features (transmission, fuel type, powertrain) were pre-processed to ensure consistency. This involved replacing spaces and hyphens with underscores (“_”) to standardize the categorical variable labels, preventing issues caused by inconsistent representations. This is standard practice to improve model performance with categorical data.
iii.
One-Hot Encoding: One-hot encoding was applied to the pre-processed categorical variables to transform them into numerical representations suitable for model training. This is a widely used and effective method for encoding categorical data in machine learning.
iv.
Standardization of Numerical Features: The continuous features (engine power (PS), fuel consumption comb (L/100 km), engine capacity (L)) were standardized to ensure they have zero mean and unit variance. This helps prevent features with larger scales from dominating the model and improves the performance of some algorithms like linear regression.
v.
Outlier Removal: Exploratory data analysis using scatter plots revealed outliers, primarily in the relationship between fuel consumption and CO2 emissions, indicating potential data errors. These outliers were removed. This step is crucial because outliers can disproportionately affect the performance of some regression models, particularly linear ones.

3.5.3. Regression Analysis

Regression analysis is a method for developing predictive models by analyzing the relationship between a dependent variable and an independent variable [81]. In this research, the target variable is CO2 emissions, and the dependent variables are the selected features.
Before training the model, the data were split into a training and testing ratio using the “train_test_split” function from scikit-learn. The test size of the splitting was 0.2, meaning 80% of the dataset was used for training the model, while the remaining 20% was allocated for testing the model.
Several regression models were created and used in predicting the CO2 emitted by light-duty vehicles using the United Kingdom VCA dataset.
I.
Linear regression: Linear regression is applicable when the dependent variables and the variable to be predicted are in a linear relationship. The most popular types of linear regression are simple linear regression and multiple linear regression [82]. Linear regression models can be quickly trained, are easy to understand, and have a stable performance compared to other algorithms [83].
y = w 1 x 1 + w 2 x 2 + w n x n + b
where y is the dependent value to be predicted, x is the independent value, and w is the intercepted values when the value of y and x is zero.
II.
Random Forest regression: This is a machine learning algorithm that uses the ensemble method to group and use the decisions from multiple models to accurately make a prediction [84].
g x = f 0 x + f 1 x + f 2 x
where g is the final predicted model, and f 0 ,   f 1 ,   f 2 etc., are the base models.
Other algorithms used in creating models during the modeling phase are Decision Tree Regression, Gradient Boosting regression, Lasso Regression, and Ridge Regression.

3.6. Performance Parameters

The below performance metrics were used for evaluating the models.

3.6.1. Mean Squared Error

The mean square error (MSE) of a model (of a process for assessing an unobserved variable) is the average of the squares of the errors or the average squared difference between the estimated values and the actual value. MSE is a risk function that represents the expected value of the squared error loss. With the MSE, a model’s performance is assessed.
M S E = 1 N i = 1 N ( y i y ) 2
where
N = number of forecasts, y i = expected result, and y = predicted result.

3.6.2. Root Mean Squared Error

This metric measures the square root of the mean squared error.
R M S E = i = 1 N ( y i y ) 2 N
where
N = number of data points, y i = expected result, and y = predicted result.

3.6.3. Mean Absolute Error (MAE)

The Mean Absolute Error is derived by dividing the total absolute error by the sample size in the dataset.
M A E = 1 N i = 1 N y i y
where
N = number of data points, y i = predicted value of y, and y = mean value of y.

3.6.4. Mean Absolute Percentage Error (MAPE)

Mean Absolute Percentage Error (MAPE) is a statistical measure used to assess the accuracy of a forecasting or prediction model. It calculates the percentage difference between the predicted and actual values, providing a sense of how far off the model’s predictions are on average.
M A P E = 1 N i = 1 N A i F i A i
where
N = number of data points, A i = actual value, and F i = predicted value.

4. Results and Discussion

The results from Table 3 revealed that the Decision Tree Regression model has the lowest MAE among the various models. With an MAE of 2.20, it is the most accurate prediction of the CO2 emissions of the vehicles when compared to the actual values on the dataset. The models with high RMSE scores like the Lasso Regression model might not be able to accurately predict the CO2 emissions in the dataset. The models with the lowest RMSE scores are Gradient Boosting (4.57) and Random Forest regression (4.62). The Gradient Boosting and Random Forest models have the highest performance with the MSE metric; this indicates that these ensemble methods are effective for this particular dataset. With an MAPE score of 1.69%, the Decision Tree model is the most accurate model for predicting CO2 emissions in vehicles using the features in the dataset. See Figure 7.
Using the performance metrics, it is established that the Decision Tree Regression model is the best for developing the vehicle CO2 prediction application. The model is saved using the joblib library in Python; this is performed to preserve all the model has learned and make it possible to be deployed to other environments without having to retrain the model.

4.1. Comparative Analysis of the Regression Models

The analysis is based on the Mean Absolute Error (MAE), root mean squared error (RMSE), mean squared error (MSE), and Mean Absolute Percentage Error (MAPE) metrics of the models.
i.
Random Forest Regressor:
Random Forest is an ensemble method that is less prone to overfitting due to its ability to handle both categorical and numerical features directly.
  • Performance: In this research, the Random Forest Regressor demonstrated excellent performance, achieving a low MAE (2.33), RMSE (6.67), and MAPE (1.81%). This suggests high accuracy and relatively small prediction errors.
  • Strengths: Handles non-linear relationships effectively, is less prone to overfitting than individual Decision Trees, is relatively insensitive to outliers, and can manage high-dimensional data.
  • Weaknesses: The model can be a “black box”, making interpretation difficult.
ii.
Linear Regression:
Linear regression models the relationship between a dependent variable (CO2 emissions) and one or more independent variables (features) as a linear equation.
  • Performance: Linear regression exhibited a comparatively higher MAE (3.61), RMSE (7.48), and MAPE (2.73%). This indicates lower accuracy than the ensemble methods.
  • Strengths: Simple to understand and interpret.
  • Weaknesses: Assumes a linear relationship, highly sensitive to outliers, performs poorly with non-linear relationships, and requires careful feature scaling (handled here by StandardScaler during modeling).
iii.
Decision Tree Regressor:
Decision Tree Regression builds a tree-like model where each branch represents a feature, each node represents a decision based on a feature value, and each leaf node represents a predicted value.
  • Performance: Surprisingly, the Decision Tree Regressor achieved the lowest MAE (2.20) and MAPE (1.69%) among all the models. This indicates high accuracy, but the RMSE (7.26) was higher, suggesting some outliers had a bigger impact on the MSE.
  • Strengths: Simple to interpret, handles both categorical and numerical features well, and can capture non-linear relationships.
  • Weaknesses: Highly prone to overfitting, and sensitive to small changes in the training data. The low MAE/MAPE and high RMSE suggest potential overfitting.
iv.
Gradient Boosting Regressor:
Gradient Boosting is another ensemble method that sequentially builds trees, where each subsequent tree corrects the errors made by its predecessors.
  • Performance: Gradient Boosting showed good performance in terms of the MAE (3.13), RMSE (6.37), and MAPE (2.27%). The RMSE was slightly lower than that of Random Forest, suggesting it may be a bit more robust to outliers in this dataset.
  • Strengths: High accuracy, handles non-linear relationships effectively, and less prone to overfitting than a single Decision Tree.
  • Weaknesses: The model is more complex to interpret than linear regression.
v.
Lasso Regression:
Lasso Regression is a linear model that incorporates L1 regularization to shrink coefficients towards zero, effectively performing feature selection and reducing overfitting. The alpha parameter controls the strength of regularization.
  • Performance: Lasso Regression demonstrated the highest MAE (4.54) and RMSE (9.06) and a relatively high MAPE (3.41%). This suggests its performance was inferior to other models, likely due to the alpha value chosen and the non-linear nature of the data.
  • Strengths: Reduces overfitting and performs feature selection.
  • Weaknesses: Sensitive to outliers, assumes a linear relationship. The choice of alpha is crucial and requires careful tuning using techniques such as cross-validation.
vi.
Ridge Regression:
Similarly to Lasso, Ridge Regression is a linear model that uses L2 regularization to constrain coefficient magnitudes. It does not perform feature selection as aggressively as Lasso.
  • Performance: Ridge Regression performed similarly to linear regression, with a relatively high MAE (7.48), RMSE (7.48), and MAPE (2.73%), indicating less predictive power compared to the tree-based and ensemble models.
  • Strengths: Reduces overfitting and handles multicollinearity better than linear regression.
  • Weaknesses: Assumes a linear relationship and does not perform feature selection.
The comparative analysis reveals that tree-based models (Random Forest and Decision Tree) generally outperformed linear models (linear regression, Lasso Regression, and Ridge Regression) while training the models. This is likely because the relationship between the features and CO2 emissions is non-linear. While the Decision Tree achieved the lowest MAE and the MAPE indicates its high accuracy, its high RMSE suggests potential overfitting. Gradient Boosting also performed competitively.

4.2. Deployment to Streamlit

Streamlit is a Python library for creating interactive web applications for data science and machine learning projects [85]. The trained model was deployed on Streamlit with a user-friendly interface, to enable users to predict and rate the CO2 emissions of vehicles by selecting input values on the front end of the web application. Streamlit processes the data entered by the user with the help of the trained model, and the output (CO2 emission) is displayed on the front end.
The web application is developed using Python programming language, and Visual Studio Code. After installing the Streamlit library in the vs. code, the application (app.py) was created and coded to enable it to use the trained model that is saved as a joblib file. After developing the app on vs. code, it can be deployed via localhost or online, allowing users to interact with the web app.

5. Conclusions

This research revealed the positive impact of digital transformation, and how it integrated emerging technologies to solve problems and improve the way of life of individuals or corporations using different transportation means. It showed how important data are to the digital transformation of the transportation sector and the importance of data analytics and machine learning. Also, it elucidated how Artificial Intelligence can be used in developing efficient, cost-effective, and green solutions for the different modes of transportation. For example, Ultra-Low-Emission Vehicles (ULEVs) and electric vehicles help in reducing the emission of greenhouse gases in our environment, because electric vehicles produce zero (CO2) emissions, and the CO2 emissions from hybrid vehicles are low when compared with petrol- or diesel fuel-type vehicles.
Sensor-based emission measurement systems are playing an increasingly important role in monitoring and mitigating vehicle emissions. These systems offer advantages in terms of real-time monitoring, cost-effectiveness, and portability. However, addressing challenges related to sensor calibration, environmental factors, and data management is crucial to ensure accurate and reliable emission measurements.
Using a machine learning algorithm and Python programming language, the dataset from the United Kingdom Vehicle Certification Agency (VCA) was used in training the ML model for predicting the CO2 emissions of light-duty passenger vehicles. Out of all the models, the Decision Tree Regression model has the lowest MAE. When compared to the actual values on the dataset, it is the most accurate estimate of the vehicles’ CO2 emissions, with an MAE of 2.20 and MAPE of 1.69%. The trained model was then deployed as a web application, where users can obtain an estimated CO2 emission by inputting values and selecting variables on the web application. This cost-effective solution can be used by car manufacturers, organizations, government agencies, and individuals.

Limitations and Future Work

This study has potential limitations. The research utilizes data from the UK VCA on light-duty vehicles, and does not consider medium-duty and heavy-duty vehicles, limiting the model’s applicability to other vehicle types. The vehicle’s CO2 emissions from the VCA datasets were measured usings WLTP laboratory tests, and external factors such as driver behavior, traffic congestion, or seasonal variations that influence real-world emissions were not considered. Also, this research does not address other greenhouse gases like NOx or THC, which also have significant environmental impacts [86].
Future research will include predictions for other GHGs like NOx, THC, and CH4 and an exploration of more sophisticated algorithms to improve the prediction accuracy and capture complex relationships among the features of the datasets.

Author Contributions

Methodology, J.U. and J.L.; Formal analysis, J.U.; Investigation, J.U.; Data curation, J.U.; Writing—original draft, J.U.; Writing—review & editing, J.L. and Q.X.; Supervision, J.L.; Project administration, J L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Figure A1. Loading of dataset in Jupyter Notebook [71].
Figure A1. Loading of dataset in Jupyter Notebook [71].
Sensors 24 08219 g0a1
Figure A2. Shape of merged data.
Figure A2. Shape of merged data.
Sensors 24 08219 g0a2
Table A1. Features/variables of the dataset.
Table A1. Features/variables of the dataset.
Features of the Datasets
Manufacturer: The company that manufactures the vehicle.
Model: The specific model of the vehicle.
Description: A detailed description of the vehicle, possibly including sub-model or variant.
Transmission: The type of transmission used in the vehicle (e.g., automatic or manual).
Engine capacity: The size of the engine in the vehicle, typically measured in cubic centimeters (cc) or liters.
Fuel type: The type of fuel the vehicle uses (e.g., petrol, diesel, electricity/petrol).
Powertrain: The mechanism by which power is transmitted from the engine to the wheels of the vehicle. (e.g., Internal Combustion Engine (ICE), Hybrid Electric Vehicle (HEV), Plug-in Hybrid Electric Vehicle (PHEV))
Engine power (Kw): The power output of the engine in kilowatts.
Engine power (PS): The power output of the engine in metric horsepower (PS).
Testing scheme: The protocol under which the vehicle was tested (e.g., WLTP—Worldwide Harmonised Light Vehicle Test Procedure).
Euro standard: The European emission standard the vehicle conforms to. The Euro standard for the datasets is Euro 6.
Diesel VED supplement: Indicates whether the vehicle is subject to the Diesel Vehicle Excise Duty supplement.
Electric energy consumption Miles/kWh: The vehicle’s energy efficiency in miles per kilowatt-hour.
Wh/km: Energy consumption in watt-hours per kilometer.
Maximum range (km): The maximum distance the vehicle can travel on a single charge or full tank in kilometers.
Maximum range (miles): The maximum distance the vehicle can travel on a single charge or full tank in miles.
WLTP imperial low/medium/high/extra high/combined: Fuel economy metrics under different WLTP conditions (low, medium, high, extra high, and combined) measured in miles per gallon (MPG).
WLTP metric low/medium/high/extra high/combined: Fuel economy metrics under different WLTP conditions (low, medium, high, extra high, and combined) measured in liters per 100 km.
WLTP CO2: Carbon dioxide emissions under the WLTP test cycle, measured in grams per kilometer.
Equivalent all-electric range Miles/km: The range of the vehicle when operating in all-electric mode, measured in miles and kilometers.
Electric range city Miles/km: The electric range of the vehicle in urban settings, in miles and kilometers.
Annual fuel cost 10,000 miles: The estimated annual fuel cost for 10,000 miles.
Annual electricity cost/10,000 miles: The estimated annual electricity cost for 10,000 miles.
Total cost/10,000 miles: The total estimated cost (fuel or electricity) for 10,000 miles.
Noise level dB(A): The noise level of the vehicle in decibels.
Emissions CO [mg/km]: Carbon monoxide emissions in milligrams per kilometer.
THC emissions [mg/km]: Total hydrocarbon emissions in milligrams per kilometer.
Emissions NOx [mg/km]: Nitrogen oxide emissions in milligrams per kilometer.
THC + NOx emissions [mg/km]: Combined total hydrocarbon and nitrogen oxide emissions in milligrams per kilometer.
Particulates [No.] [mg/km]: The number of particulate matter emissions in milligrams per kilometer.
RDE NOx urban/combined: Real driving emissions of nitrogen oxides in urban and combined conditions.
Figure A3. VS Code interface for Streamlit app development.
Figure A3. VS Code interface for Streamlit app development.
Sensors 24 08219 g0a3
Figure A4. Web application for predicting CO2 emissions.
Figure A4. Web application for predicting CO2 emissions.
Sensors 24 08219 g0a4

References

  1. Abbass, K.; Qasim, M.Z.; Song, H.; Murshed, M.; Mahmood, H.; Younis, I. A Review of the Global Climate Change Impacts, Adaptation, and Sustainable Mitigation Measures. Environ. Sci. Pollut. Res. 2022, 29, 42539–42559. [Google Scholar] [CrossRef] [PubMed]
  2. Wang, F.; Harindintwali, J.D.; Yuan, Z.; Wang, M.; Wang, F.; Li, S.; Yin, Z.; Huang, L.; Fu, Y.; Li, L.; et al. Technologies and Perspectives for Achieving Carbon Neutrality. Innovation 2021, 2, 100180. [Google Scholar] [CrossRef] [PubMed]
  3. BEIS. 2021 UK Greenhouse Gas Emissions, Final Figures; National Statistics: London, UK, 2023. Available online: https://assets.publishing.service.gov.uk/media/63e131dde90e07626846bdf9/greenhouse-gas-emissions-statistical-release-2021.pdf (accessed on 18 October 2024).
  4. Lange, S.; Pohl, J.; Santarius, T. Digitalization and Energy Consumption. Does ICT Reduce Energy Demand? Ecol. Econ. 2020, 176, 106760. [Google Scholar] [CrossRef]
  5. Huang, Y.; Hu, M.; Xu, J.; Jin, Z. Digital Transformation and Carbon Intensity Reduction in Transportation Industry: Empirical Evidence from a Global Perspective. J. Environ. Manag. 2023, 344, 118541. [Google Scholar] [CrossRef] [PubMed]
  6. Li, F.; Trappey, A.J.C.; Lee, C.-H.; Li, L. Immersive Technology-Enabled Digital Transformation in Transportation Fields: A Literature Overview. Expert Syst. Appl. 2022, 202, 117459. [Google Scholar] [CrossRef]
  7. UNECE. Technical Report on the Development of a Worldwide Harmonised Light Duty Driving Test Procedure (WLTP). Available online: https://unece.org/fileadmin/DAM/trans/doc/2015/wp29grpe/GRPE-72-02.pdf (accessed on 18 October 2024).
  8. Intergovernmental Panel on Climate Change (IPCC). Summary for Policymakers. In Climate Change 2013: The Physical Science Basis; Contribution of Working Group I to the Fifth Assessment Report of the IPCC; Stocker, T.F., Qin, D., Plattner, G.-K., Tignor, M., Allen, S.K., Boschung, J., Eds.; Cambridge University Press: Cambridge, UK, 2013; pp. 1–30. [Google Scholar]
  9. Crippa, M.; Guizzardi, D.; Banja, M.; Solazzo, E.; Muntean, M.; Schaaf, E.; Pagani, F.; Monforti-Ferrario, F.; Olivier, J.; Quadrelli, R.; et al. CO2 Emissions of All World Countries—JRC/IEA/PBL 2022 Report; Publications Office of the European Union: Luxembourg, 2022. [Google Scholar] [CrossRef]
  10. EPA. Global Greenhouse Gas Emissions Data; US Environmental Protection Agency: Washington, DC, USA, 2022. Available online: https://www.epa.gov/ghgemissions/global-greenhouse-gas-emissions-data (accessed on 18 October 2024).
  11. Hayes, A. Transportation Sector; Investopedia: New York, NY, USA, 2021; Available online: https://www.investopedia.com/terms/t/transportation_sector.asp (accessed on 18 October 2024).
  12. UNEP. Transport; UNEP—UN Environment Programme: Nairobi, Kenya, 2017; Available online: https://www.unep.org/explore-topics/energy/what-we-do/transport (accessed on 18 October 2024).
  13. International Energy Agency. Transport—Energy System; IEA: Paris, France, 2023; Available online: https://www.iea.org/energy-system/transport (accessed on 18 October 2024).
  14. Westerman, G.; Bonnet, D.; McAfee, A. Leading Digital: Turning Technology into Business Transformation; Harvard Business Review Press: Boston, MA, USA, 2014. [Google Scholar]
  15. Ross, J.W.; Sebastian, I.M.; Beath, C.M. Designed for Digital: How to Architect Your Business for Sustained Success; MIT Press: Cambridge, MA, USA, 2019. [Google Scholar]
  16. Zhao, Y.; Li, X.; Wang, W.; Dai, P.; Liang, J. Smart Maintenance for Railway Transportation Systems: A Review. Transp. Res. Part C Emerg. Technol. 2017, 80, 44–63. [Google Scholar]
  17. Evans, D. Smart Cities: Infrastructure, Technology, and Transportation; Routledge: London, UK, 2019. [Google Scholar]
  18. Zanella, A.; Bui, N.; Castellani, A.; Vangelista, L.; Zorzi, M. Internet of Things for Smart Cities. IEEE Internet Things J. 2014, 1, 22–32. [Google Scholar] [CrossRef]
  19. Lee, I.; Lee, K. The Internet of Things (IoT): Applications, Investments, and Challenges for Enterprises. Bus. Horiz. 2015, 58, 431–440. [Google Scholar] [CrossRef]
  20. Ejaz, W.; Anpalagan, A.; Imran, M.A.; Jo, M.; Naeem, M.; Qaisar, S.B.; Wang, W. Internet of Things (IoT) in 5G Wireless Communications. IEEE Access 2016, 4, 10310–10314. [Google Scholar] [CrossRef]
  21. Panagiotopoulos, E. Autonomous Vehicles; Elsevier: Amsterdam, The Netherlands, 2021; pp. 125–155. [Google Scholar]
  22. Fagnant, D.J.; Kockelman, K. Preparing a Nation for Autonomous Vehicles: Opportunities, Barriers and Policy Recommendations. Transp. Res. Part A Policy Pract. 2015, 77, 167–181. [Google Scholar] [CrossRef]
  23. Zhang, S.; Yao, Y.; Hu, J.; Zhao, Y.; Li, S.; Hu, J. Deep Autoencoder Neural Networks for Short-Term Traffic Congestion Prediction of Transportation Networks. Sensors 2019, 19, 2229. [Google Scholar] [CrossRef] [PubMed]
  24. Tang, R.; De Donato, L.; Besinović, N.; Flammini, F.; Goverde, R.M.P.; Lin, Z.; Liu, R.; Tang, T.; Vittorini, V.; Wang, Z. A Literature Review of Artificial Intelligence Applications in Railway Systems. Transp. Res. Part C Emerg. Technol. 2022, 140, 103679. [Google Scholar] [CrossRef]
  25. Ghosh, S.; Ghosh, S.; Lee, T.; Lee, T.S. Intelligent Transportation Systems; Informa: London, UK, 2000. [Google Scholar]
  26. Ramos, A.L.; Ferreira, J.V.; Barceló, J. Modeling & Simulation for Intelligent Transportation Systems. Int. J. Model. Optim. 2012, 2, 274–279. [Google Scholar] [CrossRef]
  27. Dong, K.; Jiang, H.; Sun, R.; Dong, X. Driving Forces and Mitigation Potential of Global CO2 Emissions from 1980 through 2030: Evidence from Countries with Different Income Levels. Sci. Total Environ. 2019, 649, 335–343. [Google Scholar] [CrossRef] [PubMed]
  28. Albino, V.; Berardi, U.; Dangelico, R.M. Smart Cities: Definitions, Dimensions, Performance, and Initiatives. J. Urban Technol. 2015, 22, 3–21. [Google Scholar] [CrossRef]
  29. Kurniawan, M.; Ardiles, S.A.; Adiwidya, A.S.; Ummi, A.Z.; Halinda, M.F.A.; Gyfary, A.; Marwan, A.; Hidayat, A.; Lalintia, I.J.; Kampong, P.A.; et al. Measurement of Motor Vehicle Emissions Based on Low-Cost Sensors. J. Meas. Electron. Commun. Syst. 2023, 10, 67–76. [Google Scholar] [CrossRef]
  30. Rajagukguk, J.; Pratiwi, R.A.; Kaewnuam, E. Emission Gas Detector (EGD) for Detecting Vehicle Exhaust Based on Combined Gas Sensors. J. Phys. Conf. Ser. 2018, 1120, 012020. [Google Scholar] [CrossRef]
  31. Hirawan, D.; Sidik, P. Prototype Emission Testing Tools for L3 Category Vehicle. IOP Conf. Ser. Mater. Sci. Eng. 2018, 407, 012099. [Google Scholar] [CrossRef]
  32. Bilotta, S.; Nesi, P. Estimating CO2 Emissions from IoT Traffic Flow Sensors and Reconstruction. Sensors 2022, 22, 3382. [Google Scholar] [CrossRef] [PubMed]
  33. Tena-Gago, D.; Wang, Q.; Alcaraz-Calero, J.M. Non-Invasive, Plug-And-Play Pollution Detector for Vehicle On-Board Instantaneous CO2 Emission Monitoring. Internet Things 2023, 22, 100755. [Google Scholar] [CrossRef]
  34. Teng, T.-P.; Chen, W.-J. A Compensation Model for an NDIR-Based CO2 Sensor and Its Energy Implication on Demand Control Ventilation in a Hot and Humid Climate. Energy Build. 2023, 281, 112738. [Google Scholar] [CrossRef]
  35. Ntziachristos, L.; Gkatzoflias, D.; Kouridis, C.; Samaras, Z. COPERT: A European Road Transport Emission Inventory Model. In Information Technologies in Environmental Engineering; Springer: Berlin/Heidelberg, Germany, 2009; pp. 491–504. [Google Scholar] [CrossRef]
  36. Saharidis, G.K.D.; Konstantzos, G.E. Critical Overview of Emission Calculation Models in Order to Evaluate Their Potential Use in Estimation of Greenhouse Gas Emissions from In-Port Truck Operations. J. Clean. Prod. 2018, 185, 1024–1031. [Google Scholar] [CrossRef]
  37. De Vlieger, I.; De Keukeleere, D.; Kretzschmar, J.G. Environmental Effects of Driving Behaviour and Congestion Related to Passenger Cars. Atmos. Environ. 2000, 34, 4649–4655. [Google Scholar] [CrossRef]
  38. Vujadinovic, R.; Petrovic, S. Use of Models for the Calculation of CO2 Emissions for Passenger Cars in Montenegro. In Proceedings of the Society of Thermal Engineers of Serbia, Sokobanja, Serbia, 20–23 October 2015. [Google Scholar]
  39. Vujadinovic, R.; Nikolić, D. Innovated Model REPAS for Calculation of CO2 Emission from Passenger Cars in Developing Countries. In Proceedings of the EnviroInfo 2007, Warsaw, Poland, 12–14 September 2007. [Google Scholar]
  40. Knez, M. A Review of Vehicular Emission Models. In Proceedings of the 10th International Conference on Logistics & Sustainable Transport, Celje, Slovenia, 13–15 June 2013. [Google Scholar]
  41. Abou-Senna, H.; Radwan, E.; Westerlund, K.; Cooper, C.D. Using a Traffic Simulation Model (VISSIM) with an Emissions Model (MOVES) to Predict Emissions from Vehicles on a Limited-Access Highway. J. Air Waste Manag. Assoc. 2013, 63, 819–831. [Google Scholar] [CrossRef] [PubMed]
  42. US EPA. Latest Version of MOtor Vehicle Emission Simulator (MOVES); US Environmental Protection Agency: Washington, DC, USA, 2016. Available online: https://www.epa.gov/moves/latest-version-motor-vehicle-emission-simulator-moves (accessed on 10 October 2023).
  43. Perugu, H. Emission Modelling of Light-Duty Vehicles in India Using the Revamped VSP-Based MOVES Model: The Case Study of Hyderabad. Transp. Res. Part D Transp. Environ. 2019, 68, 150–163. [Google Scholar] [CrossRef]
  44. Afotey, B.; Sattler, M.; Mattingly, S.P.; Chen, V.C.P. Statistical Model for Estimating Carbon Dioxide Emissions from a Light-Duty Gasoline Vehicle. J. Environ. Prot. 2013, 4, 8–15. [Google Scholar] [CrossRef]
  45. Fomunung, I.; Washington, S.; Guensler, R. Comparison of MEASURE and MOBILE5a Predictions Using Laboratory Measurements of Vehicle Emission Factors; American Society of Civil Engineers: Reston, VA, USA, 2000. [Google Scholar]
  46. Hadi-Vencheh, A.; Wanke, P.; Jamshidi, A.; Chen, Z. Sustainability of Chinese Airlines: A Modified Slack-Based Measure Model for CO2 Emissions. Expert Syst. 2018, 37, e12302. [Google Scholar] [CrossRef]
  47. Tate, J. Vehicle Emission Measurement and Analysis; Sheffield City Council: Sheffield, UK, 2016. Available online: https://www.sheffield.gov.uk/sites/default/files/docs/pollution-and-nuisance/air-pollution/air-quality-management/Vehicle%20Emission%20Measurement%20and%20Analysis%202013.pdf (accessed on 10 October 2023).
  48. Boulter, P.; McCrae, I.; Barlow, T. A Review of Instantaneous Emission Models for Road Vehicles; TRL Ltd.: Wokingham, UK, 2007. [Google Scholar]
  49. O’Driscoll, R.; ApSimon, H.M.; Oxley, T.; Molden, N.; Stettler, M.E.J.; Thiyagarajah, A. A Portable Emissions Measurement System (PEMS) Study of NOx and Primary NO2 Emissions from Euro 6 Diesel Passenger Cars and Comparison with COPERT Emission Factors. Atmos. Environ. 2016, 145, 81–91. [Google Scholar] [CrossRef]
  50. Bond, T.C. A Technology-Based Global Inventory of Black and Organic Carbon Emissions from Combustion. J. Geophys. Res. 2004, 109. [Google Scholar] [CrossRef]
  51. Wyatt, D.W.; Li, H.; Tate, J.E. The Impact of Road Grade on Carbon Dioxide (CO2) Emission of a Passenger Vehicle in Real-World Driving. Transp. Res. Part D Transp. Environ. 2014, 32, 160–170. [Google Scholar] [CrossRef]
  52. Oswald, D.; Scora, G.; Williams, N.; Hao, P.; Barth, M. Evaluating the Environmental Impacts of Connected and Automated Vehicles: Potential Shortcomings of a Binned-Based Emissions Model. In Proceedings of the 2019 IEEE Intelligent Transportation Systems Conference (ITSC), Auckland, New Zealand, 27–30 October 2019. [Google Scholar] [CrossRef]
  53. De Coensel, B.; Can, A.; Degraeuwe, B.; De Vlieger, I.; Botteldooren, D. Effects of Traffic Signal Coordination on Noise and Air Pollutant Emissions. Environ. Model. Softw. 2012, 35, 74–83. [Google Scholar] [CrossRef]
  54. Rakha, H.; Ahn, K.; Trani, A. Development of VT-Micro Model for Estimating Hot Stabilized Light Duty Vehicle and Truck Emissions. Transp. Res. Part D Transp. Environ. 2004, 9, 49–74. [Google Scholar] [CrossRef]
  55. Šarić, A.; Sulejmanović, S.; Albinović, S.; Pozder, M.; Ljevo, Ž. The Role of Intersection Geometry in Urban Air Pollution Management. Sustainability 2023, 15, 5234. [Google Scholar] [CrossRef]
  56. de Haan, P.; Keller, M. Emission Factors for Passenger Cars: Application of Instantaneous Emission Modeling. Atmos. Environ. 2000, 34, 4629–4638. [Google Scholar] [CrossRef]
  57. Shah, S.D.; Johnson, K.C.; Miller, J.W.; Cocker, D.R. Emission Rates of Regulated Pollutants from On-Road Heavy-Duty Diesel Vehicles. Atmos. Environ. 2006, 40, 147–153. [Google Scholar] [CrossRef]
  58. Esteves-Booth, A.; Muneer, T.; Kubie, J.; Kirby, H. A Review of Vehicular Emission Models and Driving Cycles. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2002, 216, 777–797. [Google Scholar] [CrossRef]
  59. Zandie, M.; Ng, H.K.; Gan, S.; Said, M.F.M.; Cheng, X. Multi-Input Multi-Output Machine Learning Predictive Model for Engine Performance and Stability, Emissions, Combustion and Ignition Characteristics of Diesel-Biodiesel-Gasoline Blends. Energy 2023, 262, 125425. [Google Scholar] [CrossRef]
  60. Mariani, V.C.; Och, S.H.; Leandro, D.E. Pressure Prediction of a Spark Ignition Single Cylinder Engine Using Optimized Extreme Learning Machine Models. Appl. Energy 2019, 249, 204–221. [Google Scholar] [CrossRef]
  61. Tóth-Nagy, C.; Conley, J.J.; Jarrett, R.P.; Clark, N.N. Further Validation of Artificial Neural Network-Based Emissions Simulation Models for Conventional and Hybrid Electric Vehicles. J. Air Waste Manag. Assoc. 2006, 56, 898–910. [Google Scholar] [CrossRef] [PubMed]
  62. Togun, N.; Baysec, S. Prediction of Torque and Specific Fuel Consumption of a Gasoline Engine by Using Artificial Neural Networks. Appl. Energy 2010, 87, 349–355. [Google Scholar] [CrossRef]
  63. Sayin, C.; Ertunc, H.M.; Hosoz, M.; Kilicaslan, I.; Canakci, M. Performance and Exhaust Emissions of a Gasoline Engine Using Artificial Neural Network. Appl. Therm. Eng. 2007, 27, 46–54. [Google Scholar] [CrossRef]
  64. Hien, N.L.H.; Kor, A.-L. Analysis and Prediction Model of Fuel Consumption and Carbon Dioxide Emissions of Light-Duty Vehicles. Appl. Sci. 2022, 12, 803. [Google Scholar] [CrossRef]
  65. Nogueira, S.C.L.; Och, S.H.; Moura, L.M.; Domingues, E.; Coelho, L.S.; Mariani, V.C. Prediction of the NOx and CO2 Emissions from an Experimental Dual Fuel Engine Using Optimized Random Forest Combined with Feature Engineering. Energy 2023, 280, 128066. [Google Scholar] [CrossRef]
  66. Ağbulut, Ü. Forecasting of Transportation-Related Energy Demand and CO2 Emissions in Turkey with Different Machine Learning Algorithms. Sustain. Prod. Consum. 2022, 29, 141–157. [Google Scholar] [CrossRef]
  67. Treasury Board of Canada Secretariat Fuel Consumption Ratings—Open Government Portal. Available online: https://open.canada.ca/data/en/dataset/98f1a129-f628-4ce4-b24d-6f16bf24dd64#wb-auto-6 (accessed on 12 October 2024).
  68. European Environment Agency Monitoring of CO2 Emissions from Passenger Cars. Available online: https://CO2cars.apps.eea.europa.eu (accessed on 12 October 2024).
  69. BVRLA. WLTP Guidance for the Automotive Industry; BVRLA: Amersham, UK, 2018; Available online: https://www.bvrla.co.uk/resource/wltp-guidance-for-the-automotive-industry.html (accessed on 17 October 2023).
  70. VCA. Fuel Consumption and CO2. 2021. Available online: https://www.vehicle-certification-agency.gov.uk/fuel-consumption-co2/ (accessed on 17 October 2023).
  71. ISO 8859-1:1998; Information Technology—8-Bit Single-Byte Coded Graphic Character Sets—Part 1: Latin Alphabet No. 1. International Organization for Standardization (ISO): Geneva, Switzerland, 1998.
  72. Perkel, J.M. Why Jupyter Is Data Scientists’ Computational Notebook of Choice. Nature 2018, 563, 145–146. [Google Scholar] [CrossRef]
  73. Curley, C.; Krause, R.M.; Feiock, R.; Hawkins, C.V. Dealing with Missing Data: A Comparative Exploration of Approaches Using the Integrated City Sustainability Database. Urban Aff. Rev. 2017, 55, 591–615. [Google Scholar] [CrossRef]
  74. Wadud, Z. New Vehicle Fuel Economy in the UK: Impact of the Recession and Recent Policies. Energy Policy 2014, 74, 215–223. [Google Scholar] [CrossRef]
  75. Pascale, A.; Fernandes, P.; Guarnaccia, C.; Coelho, M.C. A Study on Vehicle Noise Emission Modelling: Correlation with Air Pollutant Emissions, Impact of Kinematic Variables and Critical Hotspots. Sci. Total Environ. 2021, 787, 147647. [Google Scholar] [CrossRef]
  76. RIAS. A Quick Guide to Car Engine Sizes; Rias: Wales, UK, 2021; Available online: https://www.rias.co.uk/news-and-guides/tips-and-guides/a-quick-guide-to-car-engine-sizes/ (accessed on 17 October 2023).
  77. Dash, C.S.K.; Behera, A.K.; Dehuri, S.; Ghosh, A. An Outliers Detection and Elimination Framework in Classification Task of Data Mining. Decis. Anal. J. 2023, 6, 100164. [Google Scholar] [CrossRef]
  78. Benesty, J.; Chen, J.; Huang, Y.; Cohen, I. Pearson Correlation Coefficient. Noise Reduct. Speech Process. 2009, 2, 1–4. [Google Scholar] [CrossRef]
  79. Xu, Y.; Wang, Q.; An, Z.; Wang, F.; Zhang, L.; Wu, Y.; Dong, F.; Qiu, C.-W.; Liu, X.; Qiu, J.; et al. Artificial Intelligence: A Powerful Paradigm for Scientific Research. Innovation 2021, 2, 100179. [Google Scholar] [CrossRef] [PubMed]
  80. Janiesch, C.; Zschech, P.; Heinrich, K. Machine Learning and Deep Learning. Electron. Mark. 2021, 31, 685–695. [Google Scholar] [CrossRef]
  81. Vadapalli, P. 6 Types of Regression Models in Machine Learning You Should Know About; UpGrad Blog: Jakarta, Indonesian, 2020; Available online: https://www.upgrad.com/blog/types-of-regression-models-in-machine-learning/ (accessed on 21 November 2023).
  82. Kim, S.-J.; Bae, S.-J.; Jang, M.-W. Linear Regression Machine Learning Algorithms for Estimating Reference Evapotranspiration Using Limited Climate Data. Sustainability 2022, 14, 11674. [Google Scholar] [CrossRef]
  83. Mallikarjuna, P.; Jyothy, S.A.; Reddy, K.C. Daily Reference Evapotranspiration Estimation Using Linear Regression and ANN Models. J. Inst. Eng. Ser. A 2012, 93, 215–221. [Google Scholar] [CrossRef]
  84. Bakshi, C. Random Forest Regression. Available online: https://levelup.gitconnected.com/random-forest-regression-209c0f354c84 (accessed on 14 October 2024).
  85. Singh, T. Streamlit: A Must Learn Tool for Data Scientist. Available online: https://medium.com/crossml/streamlit-2256000541ad (accessed on 15 October 2024).
  86. Fontaras, G.; Zacharof, N.-G.; Ciuffo, B. Fuel Consumption and CO2 Emissions from Passenger Cars in Europe—Laboratory versus Real-World Emissions. Prog. Energy Combust. Sci. 2017, 60, 97–131. [Google Scholar] [CrossRef]
Figure 1. UK Greenhouse gas emission 2022. Source: Department for Energy Security and Net Zero (DESNZ) [3].
Figure 1. UK Greenhouse gas emission 2022. Source: Department for Energy Security and Net Zero (DESNZ) [3].
Sensors 24 08219 g001
Figure 2. Flow diagram of the predictive analysis.
Figure 2. Flow diagram of the predictive analysis.
Sensors 24 08219 g002
Figure 3. Top 10 transmission types in dataset.
Figure 3. Top 10 transmission types in dataset.
Sensors 24 08219 g003
Figure 4. CO2 and fuel consumption outlier and without outlier.
Figure 4. CO2 and fuel consumption outlier and without outlier.
Sensors 24 08219 g004
Figure 5. Engine Capacity (L) before and after outlier removal.
Figure 5. Engine Capacity (L) before and after outlier removal.
Sensors 24 08219 g005
Figure 6. Heatmap correlation between the variables.
Figure 6. Heatmap correlation between the variables.
Sensors 24 08219 g006
Figure 7. Performance metrics graph.
Figure 7. Performance metrics graph.
Sensors 24 08219 g007
Table 1. Emission models and their input data and features.
Table 1. Emission models and their input data and features.
ModelInput DataFeaturesSource
COPERTVehicle category, number of vehicles, weather conditions, load, average speed, distance traveled, etc.The wide availability of vehicle types and emission components studied.[49]
MOVESVehicle category, number of vehicles, weather conditions, load, average speed, distance traveled, etc.Ability to calculate emissions for a large number of exhaust components, including HC, CO, CO2, NOx, CH4, N2O, and PM.[50]
PHEMAmong other things, the speed profiles of the vehicles tested.Accuracy of emission estimation for the entire route, wide range of engine types and test vehicles, time resolution 1 Hz.[51]
CMEMAmong other things, the speed profiles of the vehicles tested.In addition to application at the micro scale, it is also possible to estimate emissions at the macro scale, making the model versatile.[52]
Versit+/EnviverSpeed and acceleration profiles of vehicles.Automatic generation of emission maps, full support for selected traffic simulation models, e.g., VISSIM.[53]
VT-MicroSpeed and acceleration profiles of vehicles.The ability to calculate continuous emissions along the route and fuel consumption for the exhaust gases CO2, NOx, CO, and THC.[54]
ESTM BOSHSpeed and acceleration profiles of vehicles.The possibility of creating emission maps within the scope of the VISSIM (v2024.00-03) software, which allows very precise localization of areas of increased concentrations of exhaust constituents.[55]
EMPASpeed and acceleration profiles of vehicles.Possibility to calculate emissions for LDVs only.[56]
EMFACE.g., average vehicle speed, structure type of vehicles, vehicle load, ambient conditions: temperature, humidity, etc.Ability to calculate emissions for a number of indicators: THC, CO, NOx, PM, SOx, and CO2.[57]
MODEMSpeed and acceleration profiles of vehicles.Continuous emission estimation; no emission estimation possible for heavy-duty vehicles.[58]
Table 2. Descriptive statistics of the numeric variables.
Table 2. Descriptive statistics of the numeric variables.
CountMeanStdMin25%50%75%Max
Engine power (PS)6629.00191.58115.7260.00120.00150.00204.00835.00
Fuel consumption comb (L/100 km)6629.006.971.971.105.706.507.6020.10
CO2 emissions (G/Km)6629.00164.7051.485.00134.00153.00185.002019.00
Engine capacity (L)6629.001.860.830.901.301.602.006.80
Table 3. Performance parameter results.
Table 3. Performance parameter results.
Mean Absolute Error (MAE)Root Mean Squared Error (RMSE)Mean Squared Error (MSE)MAPE
Random Forest Regression2.336.6744.471.81%
Linear Regression3.617.4855.902.73%
Decision Tree Regression2.207.2652.711.69%
Gradient Boosting3.134.5740.522.27%
Lasso Regression4.549.0682.103.41%
Ridge Regression7.487.4856.002.73%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Udoh, J.; Lu, J.; Xu, Q. Application of Machine Learning to Predict CO2 Emissions in Light-Duty Vehicles. Sensors 2024, 24, 8219. https://doi.org/10.3390/s24248219

AMA Style

Udoh J, Lu J, Xu Q. Application of Machine Learning to Predict CO2 Emissions in Light-Duty Vehicles. Sensors. 2024; 24(24):8219. https://doi.org/10.3390/s24248219

Chicago/Turabian Style

Udoh, Jeffrey, Joan Lu, and Qiang Xu. 2024. "Application of Machine Learning to Predict CO2 Emissions in Light-Duty Vehicles" Sensors 24, no. 24: 8219. https://doi.org/10.3390/s24248219

APA Style

Udoh, J., Lu, J., & Xu, Q. (2024). Application of Machine Learning to Predict CO2 Emissions in Light-Duty Vehicles. Sensors, 24(24), 8219. https://doi.org/10.3390/s24248219

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop