Skip to main content
BMC Chemistry logoLink to BMC Chemistry
. 2025 May 22;19(1):137. doi: 10.1186/s13065-025-01512-3

Engine performance and emission optimization with waste cooking oil biodiesel/diesel blend using ANN and RSM techniques coupled with ACKTR-DE and HHO algorithms

Mehmet Ali Biberci 1,✉, Mustafa Bahattin Çelik 2, Esma Ozhuner 3
PMCID: PMC12101002  PMID: 40405279

Abstract

In this experimental investigation, Artificial Neural Network (ANN) and Response Surface Methodology (RSM) model structures were constructed to predict and optimize the performance and exhaust emissions of a diesel engine operating on a blend of diesel fuel and waste oil biodiesel. The test engine was operated with 0%, 50%, and 100% biodiesel content under varying injection pressures and loads. The RSM model was used to derive regression equations from the experimental results. The correlation coefficient (R2) for all responses of the constructed model ranged from 0.9785 to 0.9997. By applying the developed model, the brake thermal efficiency (BTE) response was optimized to its maximum value, while all other responses were minimized. All responses were predicted using an ANN model with R > 0.99 and a maximum mean absolute error (MAAE) of 1.723%. RSM-based optimization analysis was applied to the design of experiments (DOE). At an injection pressure of 180 bar, an engine torque of 3.846 Nm, and a 100 percent biodiesel ratio, optimal diesel engine performance characteristics, the lowest exhaust emissions, and the lowest specific fuel consumption values were achieved. In addition, the RSM approach performed satisfactorily, with a desirability value of 0.750. The RSM regression equations were assessed using the Actor Critic with Kronecker-Factored Trust Region-Differential Evolution (ACKTR-DE) and Harris Hawks Optimization (HHO) algorithms. The outcomes derived from the ACKTR-DE and HHO algorithms corroborated the results obtained from the RSM. Furthermore, verification experiments were conducted to confirm the optimal results, thus demonstrating that the combined use of RSM, ANN, and advanced algorithms offers a robust and accurate framework for optimizing biodiesel engine performance.

Graphical Abstract

graphic file with name 13065_2025_1512_Figa_HTML.jpg

Keywords: ANN and multi-objective RSM optimization techniques, Fuel blend, Diesel engine, Exhaust emissions, HHO and ACKTR-DE optimization algorithms, Biodiesel

Introduction

Diesel engines are extensively employed across the global transportation sector, particularly in commercial and public transit, owing to their superior durability and operational efficiency [1]. Additionally, diesel engines play a crucial role in power generation and serve as a primary source of propulsion in a wide range of powertrain applications [2, 3]. However, the increasing global energy demand, coupled with the depletion of fossil fuel reserves and the associated environmental degradation, has accelerated the search for sustainable and eco-friendly fuel alternatives [4–6].

Among various renewable options, biodiesel has emerged as a viable substitute due to its biodegradability, reduced emission profile, and compatibility with existing diesel engines without major modifications [7, 8]. The substitution of conventional diesel with biodiesel effectively diminishes HC, CO, and smoke emissions, yet induces a slight increment in NOx emissions and specific fuel consumption [9–11]. The production of biodiesel can be produced using diverse feedstock sources, including edible vegetable oil (such as soybean, rapeseed, palm, sunflower, coconut, and corn oils), non-edible vegetable oils (including jatropha, karanja, neem, stillingia, Sylbum marianum, and rubber seed), animal fats (tallow, yellow grease, chicken fat, and by-products from fish oil), waste cooking oils, and microalgae [12–16]. The choice of suitable feedstock for biodiesel production depends on regional agricultural capacities, economic considerations, and sustainability criteria, including land-use efficiency and greenhouse gas emission reduction potential [7].

In recent years, the use of waste cooking oil (WCO) as a second-generation feedstock source has attracted considerable attention in biodiesel production, particularly due to its cost-effective and sustainable properties [17, 18]. Utilizing WCO for biodiesel production not only reduces the environmental burden associated with improper disposal of used oils but also contributes [8]. Compared to edible oils, WCO eliminates the food-fuel dilemma associated with edible oils and provides a sustainable waste management solution. However, the primary drawback of WCO lies in its typically high free fatty acid (FFA) and moisture content, which significantly hinder the efficiency of the transesterification process [19]. Therefore, WCO generally requires a pretreatment step, commonly acid-catalyzed esterification, to reduce FFA levels before undergoing base-catalyzed transesterification for biodiesel production [20].

Recent advancements in modeling and optimization techniques have further enabled researchers to explore and optimize the performance and emission characteristics of biodiesel/diesel blends. Techniques such as Response Surface Methodology (RSM) and Artificial Neural Networks (ANN) have been widely adopted to predict and optimize engine parameters across various operating conditions, including injection pressure, load, and fuel blend ratio [21–23]. More recently, advanced metaheuristic algorithms such as Kronecker-Factored Trust Region-Differential Evolution (ACKTR-DE) and Harris Hawks Optimization (HHO) have been introduced to further enhance optimization efficiency and solution quality [24, 25]. ACKTR-DE synergistically combines the global search capability of differential evolution with the rapid convergence properties of trust region methods, making it particularly effective for high-dimensional, multi-modal optimization problems encountered in engine studies [26]. Similarly, HHO, inspired by the cooperative hunting strategy of Harris hawks, offers robust exploration and exploitation abilities, which have demonstrated superior performance in optimizing engine operating conditions for reduced emissions and improved fuel efficiency [27].

This study aims to address significant gaps in the literature by integrating advanced modeling techniques with novel optimization algorithms to enhance diesel engine performance using waste cooking oil biodiesel. While many previous studies have focused on biodiesel applications, the systematic combination of ANN and RSM with ACKTR-DE and HHO algorithms represents a novel approach in this field. The integration of these four methods within a comprehensive Neuroevolution Optimization with Reinforcement Learning (NEORL) framework is applied systematically for the first time to engine performance and emission optimization (Figure 1).

Fig. 1.

Fig. 1

Graphical abstract

Another innovative aspect of this research is the validation of optimization results through physical experiments. Unlike most studies, where model predictions are limited to experimental data, this work experimentally verifies the optimized parameters, thereby clearly demonstrating the practical applicability of the proposed methodology. The outputs of RSM, HHO, and ACKTR-DE were compared, and a high degree of agreement among the results was experimentally confirmed. With outstanding predictive accuracy (R2 > 0.97) and a desirability score of 0.75, the model utilizes practical engine parameters such as biodiesel ratio, injection pressure, and torque to maximize performance while minimizing environmental impacts. This demonstrates that improvements can be achieved in existing systems without the need for entirely new engine designs. Furthermore, the study provides a comprehensive analysis of varying biodiesel concentrations (0%, 50%, and 100%) and uniquely identifies the optimal operating parameters (180 bar injection pressure, 3,846 Nm engine torque, and 100% biodiesel

ratio) that maximize brake thermal efficiency while minimizing emissions and fuel consumption. The experimental validation of these optimized parameters further highlights the practical feasibility of the proposed methodology. In summary, this research offers a robust and innovative framework for the utilization of waste cooking oil biodiesel in diesel engines, making a significant contribution to sustainable energy solutions by addressing both environmental concerns and the performance optimization challenges that have not been sufficiently resolved in previous studies.

Materials and methodology

Fuel specifications and experimental procedure

In the studies, diesel fuel and biodiesel fuel derived from waste oils were utilized as fuel. At Kocaeli University, biodiesel fuel derived from waste oils was manufactured and studied. The characteristics of the experimental fuels, determined according to ASTM D6751 standards, are presented in Table 1.

Table 1.

Specifications of Fuel

No Property Diesel Biodiesel ASTM D6751
Requirements
1 Density at 15 °C (kg/m3) 820–860 875–880 860–900
2 Kinematic Viscosity (40 °C, mm2/s) 2.50–3.50 4.3 1.9–6.0
3 Flash Point (°C)  > 55  > 100  ≥ 93 °C
5 Cetane Number 49–55  > 55  ≥ 47
6 Ash Content (% mass)  < 0.01  < 0.01  ≤ 0.02 (% mass)
7 Water Content (mg/kg)  < 200  < 300  ≤ 500

The WCO used in this study was collected from local restaurants and was first filtered to remove food residues and impurities. The oil was then pretreated to reduce FFA content to below 1% using an acid-catalyzed esterification process, as suggested by previous studies [28, 29]. Subsequently, the biodiesel was produced through a transesterification reaction using methanol and sodium hydroxide (NaOH) as a catalyst, following ASTM D6751 standards. The reaction was conducted at 60 °C for 60 minutes under continuous stirring at 600 rpm. After phase separation, the biodiesel layer was purified by successive washing with warm distilled water and dried at 110 °C to eliminate residual moisture [30, 31].

In the studies, a Katana brand single-cylinder, four-stroke, compression-ignition research engine was utilized. Table 2 lists the technical specifications of the test engine. Experiments were conducted in two phases. In the first stage, the engine was operated with diesel fuel and varying biodiesel ratios (0, 50, and 100%) under standard injection pressure (200 bar), and fuel consumption, exhaust temperature, and exhaust emission values were measured.

Table 2.

Technical characteristics of the test engine

Brand Katana 178
Engine general characteristics 4-stroke, Compression ignition (CI)
Diameter x Strok 78 × 62 mm
Volume 296 cm3
Number of cylinders 1
Compression ratio 18.5/1
Fuel system and type Direct injection and Diesel
Cooling system Reinforced air cooled
Engine speed 300 rpm
Maximum output power hp

These tests were performed at a constant speed (2800 rpm) with four distinct loads (3.06, 6.13, 9.2, and 12.26 Nm). In the second stage, the engine was tested with different biodiesel ratios (0, 50, and 100 percent biodiesel) at constant load and variable injection pressures. Since the standard injection pressure of the engine is 200 bar, one lower and two higher injection pressure values were determined. The test setup diagrams illustrate the layout of the experimental installation (Figure 2). Injection pressures of 180, 200, 220, and 240 bar were used to assess their effect on performance and emissions, consistent with the methods employed by Suresh et al. [11] and Samuel et al. [32].

Fig. 2.

Fig. 2

Schematic view of the test installation

(1. Engine, 2. Electric dynamometer, 3. Load cell, 4. Speed sensor, 5. Force indicator, 6. Exhaust pipe, 7. Smoke meter, 8. Exhaust emission gas analyzer, 9. Fuel flow meter, 10. Fuel gauge, 11. Control panel, 12. Speedometer, 13. Loading switch, 14. Starter switch)

In the experiments, diesel fuel and biodiesel mix performance (BTE, EGT, SFC) and exhaust emissions (NOX, HC, CO, Smoke) were measured when the engine speed and torque stabilized in each step and the force and thermometer indicators stabilized. Gas analyzers and a smoke meter were used for emission measurements, complying with ISO 8178 standards. The sampling procedures and calibration steps followed the protocols described by Khan et al. [33] and Garg et al. [34].

RSM based optimization techniques with regression model

RSM was utilized to examine the impact of diesel and biodiesel fuel blends on performance and exhaust pollutants. Using the multiple regression model, analyses were performed. Equation 1 demonstrates the general relationship between dependent and independent variables. Where Y is the estimation dependent on the response, X1, X2,..., Xn are independent factors for the regression coefficients, and ɛ is the regression error.

Y=yo+y1X1+y2X2+⋯+ynXn+ε 1

Table 3 displays the experimental design framework for RSM. The outcome of a variance analysis (ANOVA). Table 4 demonstrates that the regression model for BTE, SFC, NOx, HC, CO, EGT, and Smoke is significant for each response. Since the correlation coefficient R2 is fairly high, a strong correlation between fuel performance and emission characteristics and input parameters has been discovered (injection pressure, engine torque and biodiesel ratio).

Table 3.

Design of experiment (DOE)

Factors Respones
Injection Pressure (bar) Engine Torque (Nm) Biodiesel Ratio (%) NOx (ppm) HC (ppm) CO (%) Smoke (%) EGT (oC) BTE (%) SFC (g/kWh)
240 12.26 100 908.449 49 1.01 10 659.4 24.6 412.4
210 7.66 50 601.299 32 0.36 32 456.3 23.8 383.7
210 7.66 50 601.299 32 0.36 32 456.3 23.8 383.7
210 3.06 50 465.419 22 0.06 28 309.9 22.2 393.4
210 12.26 50 752.179 85 0.92 42 602.7 23.4 373.9
210 7.66 50 601.299 32 0.36 32 465.3 23.8 383.7
240 12.26 0 800.449 105 1.21 45 622.4 22 372.1
210 7.66 0 547.299 38 0.39 35 437.8 22.5 353.6
240 3.06 100 606.689 10 0.3 15 366.6 23.5 431.9
180 3.06 0 294.149 30 0.5 18 253.2 23 354.9
210 7.66 50 601.299 32 0.36 32 456.3 23.8 383.7
180 12.26 100 703.909 45 1.35 22 583 27.1 375.7
180 12.26 0 595.909 98 1.48 40 546 24.2 335.4
210 7.66 50 601.299 32 0.36 32 456.3 23.8 383.7
180 7.66 50 499.029 28 0.75 25 418.1 25 365.3
240 7.66 50 703.569 42 0.54 32 494.5 23.8 402
240 3.06 0 498.689 40 0.4 34 329.6 21 391.6
210 7.66 50 601.299 32 0.36 32 456.3 23.8 383.7
180 3.06 100 402.149 15 0.28 20 290.2 25.7 395.2
210 7.66 100 655.299 18 0.34 15 474.8 25.2 403.8

Table 4.

Summary of variance analysis (ANOVA) of the model for responses

Model NOx HC CO Smoke EGT BTE SFC
Degree Q Q Q Q Q Q Q
Standart deviation 3.38 5.13 0.0334 1.90 2.67 0.2252 2.26
Mean 602.5 40.85 0.5845 28.65 456.78 23.85 383.22
R2 0.9997 0.9793 0.9963 0.9785 0.9997 0.9855 0.9943
Adjusted R2 0.9994 0.9606 0.9929 0.9592 0.9994 0.9724 0.9891
Predicted R2 0.9978 0.8184 0.9483 0.8158 0.9996 0.8982 0.9599
F-value 3462.69 52.49 297.50 50.66 3613.71 75.50 198.42
p-Value  < 0.0001  < 0.0001  < 0.0001  < 0.0001  < 0.0001  < 0.0001  < 0.0001

In addition, when the regreeration model's p-value was investigated, it was determined to be quite significant with a value of 0.0001. Table 5 provides regression equations for all responses based on input variables for the diesel-biodiesel mixture.

Table 5.

RSM regression model equations

Regression equation
NOx 602.39 + 102.27 A + 149.38B + 54 C-1.42142e-13 AB −8.91966e-14 AC −1.25176e-13BC + −2.72727 A2 + 4.77273B2 + −2.72727C2
HC 32.5091 + 3 A + 26.5B −17.4C + 0.75 AB −2.25AC −8BC + 1.72727 A2 + 20.2273B2 −5.27273C2
CO 0.354727 −0.09A + 0.443B −0.07C + −0.06625AB + 0.00625 AC −0.00125BC + 0.298182 A2 + 0.143182B2 + 0.0181818 C2
Smoke 31.8545 + 1.1 A + 4.4B −9C −2.25AB −4.75AC −4.5BC −3.13636A2 + 3.36364B2 −6.63636C2
EGT 457.397 + 38.19 A + 146.39B + 18.5 C −6.2343e-14 AB + 1.60311e-14 AC-3.23047e-14BC −0.409098A2 −0.409098B2 −0.409098C2
BTE 23.7823 −0.999831A + 0.58788B + 1.35701 C −0.0578229AB −0.0764531AC + 0.038927BC + 0.737421 A2 −0.805552B2 + 0.198009 C2
SFC 382.992 + 18.33 A −9.7566B + 21.15 C + 9.26967e-15 AB −5.15616e-15 AC −3.06168e-15BC + 1.81821 A2 + 1.81821B2 −3.18186C2

A-Injection pressure, B-Engine Torque, C-Biodiesel ratio

Neuroevolution optimization with reinforcement learning (NEORL) utilizing ACKTR-DE and HHO optimization techniques

NEORL provides a global optimization interface for advanced neural network techniques utilizing evolutionary computation, hybrid neuroevolution algorithms, and reinforcement learning. NEORL encompasses a diverse array of optimization challenges, including high-dimensional, expensive, constrained engineering optimization, as well as combinatorial, continuous, and mixed discrete/continuous problems [35]. This work employed NEORL algorithms, namely Actor Critic with Kronecker-Factored Trust Region-Differential Evolution (ACKTR-DE) and Harris Hawks Optimization (HHO).

Q = Quadratic.

We employ the ACKTR-DE method, which is based on the actor-critic framework of deep reinforcement learning, to ascertain the optimal course of action [24]. Upon receiving a fitness function within a reinforcement learning environment, the Actor Critic utilizing the Kronecker-Factored Trust Region (ACKTR) algorithm initiates the search to acquire some of them. The second step's derivation entails employing the most proficient ACKTR individuals to guide Differential Evolution (DE), whereby the least effective DE individuals are supplanted by Reinforcement Learning (RL) individuals, who are randomly integrated into the DE population to enhance its diversity. The optimal results from both phases are delivered to the user following the execution of an ACKTR search and a DE [36].

Harris Hawks Optimization (HHO) is a population-based, gradient-free optimization method inspired by natural phenomena. These algorithms utilize a population of individuals to initiate the optimization process, with each individual representing a potential solution to the optimization problem. The optimization procedure continues until a stopping criterion or the maximum number of iterations is met [36]. The flow process of HHO and ACKTR-DE algorithms is shown in Figure 3.

Fig. 3.

Fig. 3

Application of the HHO and ACKTR-DE algorithms

Results and discussion

RSM results

As shown in Figure 4, brake thermal efficiency (BTE) demonstrated a significant enhancement with increasing biodiesel ratio. The superior oxygen content inherent in biodiesel facilitated more complete combustion, leading to improved energy conversion efficiency. Notably, BTE increased with engine torque due to higher mechanical work output per cycle, in agreement with previous studies [2, 30]. Injection pressure also exhibited a non-linear relationship with BTE: efficiency improved from 180 bar to 220 bar, dropped slightly at 220 bar due to over-atomization reducing penetration, and rose again beyond 230 bar. These results align with observations by Samuel et al. [32] and Uslu et al. [37], where optimal injection pressure significantly influenced combustion characteristics. The improved BTE also demonstrates the effectiveness of biodiesel blends in promoting better air-fuel mixing and atomization under the selected operating conditions, as reported by Samuel et al. [38].

Fig. 4.

Fig. 4

The effect of injection pressure, engine torque, and biodiesel ratio on BTE

Specific fuel consumption (SFC) trends, depicted in Figure 5, indicated a marginal increase with rising biodiesel content, attributed to the lower calorific value of biodiesel compared to diesel [23]. This phenomenon is characteristic of oxygenated fuels, which, despite burning more cleanly, require greater volumes to achieve equivalent power output. Furthermore, elevated injection pressures exacerbated SFC due to increased atomization energy requirements, confirming trends noted by Kumar et al. [21]. Conversely, as engine torque increased, SFC decreased, highlighting improved combustion stability under load. These findings align with the thermodynamic principles outlined in Ma et al. [39], reinforcing the relationship between load, fuel energy density, and combustion efficiency.

Fig. 5.

Fig. 5

The effect of injection pressure, engine torque, and biodiesel ratio on SFC

Exhaust gas temperature (EGT) consistently increased with higher biodiesel ratios and elevated engine loads (Figure 6). This phenomenon is attributed to biodiesel's higher oxygen content facilitating prolonged combustion and higher cylinder peak temperatures [40]. The influence of injection pressure was evident but less pronounced, consistent with findings by Mondal and Mandal [41]. Increased EGT can be advantageous for after-treatment systems such as diesel particulate filters (DPF), as reported by Kumar and Sharma [16], although it also requires careful management to avoid excessive thermal loads.

Fig. 6.

Fig. 6

The effect of injection pressure, engine torque, and biodiesel ratio on EGT

NOx emissions escalated with an increase in biodiesel concentration, engine load, and injection pressure (Figure 7). The higher in-cylinder temperatures and abundant oxygen content of biodiesel promoted thermal NOx formation through the Zeldovich mechanism [42, 43]. Similar findings were reported by Kumar et al. [21], emphasizing biodiesel's dual impact on combustion enhancement and NOx intensification. Strategies such as exhaust gas recirculation (EGR) or water injection have been suggested in the literature to mitigate this side effect without compromising the environmental benefits of biodiesel usage [44]. CO emissions exhibited a decreasing trend with higher biodiesel proportions (Figure 8), corroborating the oxygenated nature of biodiesel promoting complete oxidation of carbonaceous species [44]. However, a rise in CO emissions was observed beyond 220 bar injection pressure, suggesting incomplete combustion due to fuel over-penetration, aligning with observations by Youn and Jeon [45]. This highlights the delicate balance between atomization quality and combustion completeness at elevated injection pressures.

Fig. 7.

Fig. 7

The effect of injection pressure, engine torque, and biodiesel ratio on NOx

Fig. 8.

Fig. 8

The effect of injection pressure, engine torque, and biodiesel ratio on CO

HC emissions were significantly reduced with increasing biodiesel ratio (Fig. 9), attributed to the oxygen enrichment improving combustion completeness [3, 46]. However, increments in injection pressure and torque showed mild increases in HC emissions, indicating suboptimal atomization dynamics at extreme operating conditions [47]. Further investigation into spray breakup phenomena could provide more insights into this behavior.

Fig. 9.

Fig. 9

The effect of injection pressure, engine torque, and biodiesel ratio on HC

Smoke emissions decreased sharply with higher biodiesel content (Fig. 10). This behavior stems from the lower aromatic content and higher oxygen availability in biodiesel, which restricts soot precursor formation [48]. These results echo the findings of Dey et al. [49] and Samuel and Okwu [38], reinforcing biodiesel's environmental advantages. Additionally, the interplay between injection pressure and smoke emission trends suggests that fuel-jet dynamics and local air–fuel ratios critically impact soot formation tendencies.

Fig. 10.

Fig. 10

The effect of injection pressure, engine torque, and biodiesel ratio on Smoke

ANN results

This section describes the Artificial Neural Network's outcomes. As depicted in Figure 11, an ANN structure was developed to predict responses using experimental data in the current investigation. For the prediction of responses, the experimental data were examined with the neural fitting tool, and the ANN model was trained using a backpropagation algorithm with Levenberg–Marquardt optimization, ensuring high prediction accuracy, following approaches outlined by Kumar et al. [50] and Bano et al. [51].

Fig. 11.

Fig. 11

Schematized structure of the ANN model

As shown in Table 6, the training function TRAINLM and the transfer function TANSIG were employed. MSE was utilized to analyze the network's performance (minimum square error). The network consists of three inputs (injection pressure, engine torque, and biodiesel ratio), a hidden layer with fifteen neurons, and an output layer monitoring seven dependent variables (BTE, SFC, EGT, NOx, HC, CO, Smoke). 70% of the data was randomly allocated to training, while 30% was allocated to testing.

Table 6.

Specifications of ANN

Specifications
Network Type Feed-forward back propagation
Data 70% trainnig, 30%testing, Number of neuron-15
Function type TRAINLM
Adaption learning function LEARNGDM
Performance function MSE
Transfer function TRANSIG
Shape of network Input layer 1, hidden layer 1, output layer 1

The ANN model was subjected to many training and testing iterations in succession, and the estimates obtained for each response were evaluated using Table 7's RMSE and R values.

Table 7.

Summary of result ANN

Predicted Responses RMSE R2 Training data (R) Testing data (R) All data (R)
BTE 0.497% 0.896 0.9999 0.9595 0.9470
SFC 2.290 g/kWh 0.992 0.9999 0.9821 0.9967
EGT 15.483 °C 0.984 0.9980 0.9805 0.9926
NOx 18.228 ppm 0.984 0.9958 0.9818 0.9920
HC 10.948 ppm 0.885 0.9937 0.9847 0.9412
CO 0.157% 0.981 0.9999 0.9892 0.9905
Smoke 2.83% 0.910 0.9683 0.9470 0.9543

Anticipated values for BTE, SFC, and EGT are shown in Figure 12, along with R2 values of 0.896, 0.992, and 0.984, and RMSE values of 0.497%, 2.290 g/kWh, and 15.483 degrees Celsius. Figure 13 presents the predicted values for NOx, HC, CO, and Smoke emissions, with R2 values of 0.984, 0.885, 0.883, and 0.910 with RMSE values of 18.228 ppm, 10.948 ppm, 0.157%, and 2.83%. The constructed ANN model demonstrated good prediction ability, notably with a high correlation coefficient. As a result, and as stressed by numerous research, ANN was found to be quite beneficial and effective for predicting responses [2, 52–56].

Fig. 12.

Fig. 12

Comparison of measured engine performance values and ANN-predicted results

Fig. 13.

Fig. 13

Comparison of measured exhaust emission values and ANN-predicted results

Optimization Results for Fuel Mixture

In this work, RSM was used to estimate the optimal diesel and biodiesel fuel mixture for engine performance and exhaust emissions. Figure 14 depicts the selected ideal results and the desirability value. The highest value of the desirability surface graph was calculated to be 0.750 at a biodiesel concentration of 100 percent. Therefore, it has been determined that the appropriate biodiesel concentration is extremely effective.

Fig. 14.

Fig. 14

Selection of optimal values

Table 8 contains the optimal value constraints that have been determined. While maximum BTE is necessary, EGT, SFC, and exhaust emissions should be reduced. Consequently, upper and lower limits are specified based on experimental results.

Table 8.

Constraints of optimization

Name Goal Lower Limit Upper Limit Lower Weight Upper Weight Importance
A:Injection pressure is in range 180 240 1 1 5
B:Engine torque is in range 3.06 12.26 1 1 5
C:Biodiesel ratio is in range 0 100 1 1 5
NOx minimize 294.149 908.449 1 1 5
HC minimize 10 105 1 1 5
CO minimize 0.06 1.48 1 1 5
SMOKE minimize 10 45 1 1 5
EGT minimize 253.253 659.414 1 1 5
BTE maximize 21.0587 27.1661 1 1 5
SFC minimize 335.483 431.956 1 1 5

In Table 9, a comparative presentation of the ACKTR-DE and HHO optimization algorithms, applied to motor performance and emission parameters optimized using ANN and RSM models, was provided. The comparison was performed based on the best fitness values obtained for each parameter. The results were comprehensively evaluated in terms of both motor performance (BTE, SFC, and EGT) and emission characteristics (CO, HC, NOx, and Smoke). The comparative analysis of the ACKTR-DE and HHO algorithms employed for the optimization of engine performance and exhaust emissions revealed that the HHO algorithm generally exhibited superior performance. Under both ANN and RSM modeling approaches, the HHO algorithm achieved higher efficiency in terms of BTE while attaining lower values for SFC, CO, HC, and Smoke emissions. These results indicate that the HHO algorithm is more effective than ACKTR-DE in reducing fuel consumption and mitigating environmental impacts. However, variability was observed in EGT and NOx emissions depending on the modeling framework, where HHO performed better under ANN modeling, whereas ACKTR-DE produced lower emission outputs under RSM modeling.

Table 9.

Best fitness values for ACKTR-DE and HHO

Coupled with ANN Coupled with RSM
Parameter ACKTR-DE HHO ACKTR-DE HHO
BTE (%) 27.2141 27.2183 26.95 26.99
SFC (g/kWh) 335.68 335.29 339.01 338.49
EGT (0C) 246.64 244.91 267.59 271.96
CO (%) 0.0877 0.0822 0.0243 0.0205
HC (ppm) 13.87 13.44 6.42 5.7
NOx (ppm) 298.38 295.91 331.61 341.52
Smoke (%) 11.22 11.09 11.37 9.42

These findings suggest that the selection of an optimization algorithm should depend on the nature of the targeted parameters and the modeling approach adopted. Nevertheless, when the overall trend is considered, the HHO algorithm appears to offer broader advantages in enhancing engine efficiency and minimizing emissions. In particular, when the aim is to improve fuel economy alongside reducing CO, HC, and Smoke emissions, HHO can be regarded as the primary choice. Conversely, when more precise control over parameters such as EGT and NOx is required, the ACKTR-DE algorithm should also be considered as an alternative solution depending on the modeling strategy.

The ANN and RSM findings were evaluated using the HHO and ACKTR-DE algorithms. Figures 15 and 16 illustrate the convergence behavior of the HHO and ACKTR-DE algorithms in terms of optimizing engine performance and reducing exhaust emissions.

Fig. 15.

Fig. 15

Convergence curves of the ACKTR-DE and HHO algorithms based on ANN and RSM engine performance findings

Fig. 16.

Fig. 16

Convergence curves of the ACKTR-DE and HHO algorithms based on ANN and RSM exhaust emission findings

The high R2 values (ranging between 97% and 99%) obtained for engine performance and exhaust emissions indicate the strong predictive capability of the developed RSM models. However, to fully validate the reliability of the model, a series of validation experiments were conducted under optimum conditions, and the results were compared with the model predictions. Accordingly, a set of validation experiments was carried out for the optimum values presented in Figure 14, and the results are summarized in Table 10.

Table 10.

Validation experiment results based on optimum RSM results

Parameters RSM (R2)
(%)
RSM Results Validation experiments Accuracy
(%)
BTE (%) 0.9855 26.030 25.783 99.05
SFC (g/kWh) 0.9943 393.786 395.471 99.57
EGT (0C) 0.9997 315.250 305.628 96.95
NOx (ppm) 0.9997 428.109 419.356 97.96
HC (ppm) 0.9793 10.000 10.145 98.55
CO (%) 0.9963 0.362 0.359 99.17
SMOKE (%) 0.9785 17.261 17.995 95.75

Validation experiments were conducted in triplicate

As a result of the validation tests, the measured values for engine performance parameters, namely BTE (%), SFC (g/kWh), and EGT (°C), were 25.783, 395.471, and 305.628, respectively. For the exhaust emissions, the validation test results yielded NOx (ppm), HC (ppm), CO (%), and Smoke (%) values of 419.356, 10.145, 0.359, and 17.995, respectively. When comparing the RSM predictions with the validation results, it was observed that the accuracy rates ranged between 95.75% and 99.57% across all parameters, indicating a high level of agreement between predicted and experimental values. These findings confirm the precision of the optimization process and validate the safe applicability of the developed mathematical model for optimizing both engine performance and exhaust emissions.

Conclusion

In this study, the effects of adding 0%, 50%, and 100% biodiesel to diesel fuel on engine performance and exhaust emissions were investigated. Simultaneously, an experimental design was developed, and optimization and prediction studies were conducted using Response Surface Methodology (RSM) and Artificial Neural Networks (ANN) based on experimental data.

The R2 values obtained from the regression models developed through the RSM approach ranged between 0.9785 and 0.9997, while those for the ANN models ranged between 0.88 and 0.990, indicating exceptionally strong correlations for both methods. These results demonstrate that both models are applicable and reliable for predicting engine performance and emission outcomes. Optimization was carried out using the RSM approach, achieving a desirability score of 0.750, thereby confirming the accuracy and suitability of the optimization process. RSM was preferred over ANN for optimization purposes, as the fluctuating weights and biases inherent to ANN models across retrials render it unsuitable for stable optimization. Nonetheless, the ANN model still provided highly accurate predictions with individual R values ranging between 0.94 and 0.99, predicting all responses with R > 0.99 and a maximum mean absolute error (MAAE) of 1.723%.

As a result of RSM-based optimization, the optimum engine performance and emission values were achieved at an injection pressure of 180 bar, an engine torque of 3.846 Nm, and a biodiesel ratio of 100%. The ideal values obtained were NOx = 428.111 ppm, HC = 9.999 ppm, CO = 0.362%, Smoke = 17.261%, EGT = 315.252 °C, BTE = 26.029%, and SFC = 393.786 g/kWh.

To validate the optimization process, a series of experimental tests were performed under optimum conditions. The validation results for BTE, SFC, EGT, NOx, HC, CO, and Smoke exhibited a high degree of agreement with the RSM predictions, achieving accuracy rates between 95.75% and 99.57%. These findings confirm the robustness and safe applicability of the developed mathematical models for optimizing engine performance and exhaust emissions.

Moreover, the comparative analysis of the ACKTR-DE and HHO optimization algorithms revealed that the HHO algorithm generally exhibited superior performance in optimizing both engine efficiency and emission characteristics. HHO achieved higher BTE and lower SFC, CO, HC, and Smoke emissions across both ANN and RSM models. Although minor variations in EGT and NOx emissions were observed depending on the modeling approach, the overall findings suggest that HHO is more effective in improving fuel economy and reducing harmful emissions, while ACKTR-DE remains a viable alternative when precise control of EGT and NOx is required.

In summary, the addition of biodiesel to diesel fuel was found to enhance engine performance while reducing exhaust emissions. Among the parameters studied, although injection pressure and engine torque influenced combustion and performance characteristics, the biodiesel ratio had the most significant impact. Future studies could further enhance optimization and prediction outcomes by increasing the number of evaluated parameters or by incorporating additional combustion-related factors.

Acknowledgements

Not applicable.

Abbreviations

ACKTR-DE

Actor Critic with Kronecker-Factored Trust Region-Differential Evolution

ANN

Artificial Neural Network

ANOVA

Analysis of Variance

BTE

Brake Thermal Efficiency

CCD

Central Composite Design

CO

Carbon Monoxide

DOE

Design of Experiments

EGT

Exhaust Gas Temperature

HC

Hydrocarbon

HHO

Harris Hawks Optimization

MAAE

Maximum Mean Absolute Error

MSE

Mean Square Error

NEORL

Neuroevolution Optimization with Reinforcement Learning

RMSE

Root Mean Square Error

RSM

Response Surface Methodology

SFC

Specific Fuel Consumption

Author contributions

M.A.B.: Investigation and Writing—Original Draft, Methodology, Conceptualization, Optimization of Experimental data, Formal analysis and Writing Visualization and Review and Editing. M.B. C.: Investigation and Writing—Original Draft, Methodology, Validation, Conceptualization, Review and Editing. E. O.: Investigation and Writing—Original Draft, Methodology, Validation, Conceptualization, Review and Editing.

Funding

An organization or institution has not offered funding support.

Data availability

Data will be made available on request.

Declarations

Ethics approval and consent to participate

Not applicable.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Geng P, Cao E, Tan Q, Wei L. Effects of alternative fuels on the combustion characteristics and emission products from diesel engines: A review. Renew Sustain Energy Rev. 2017;71:523–34. [Google Scholar]
  • 2.Samuel OD, Waheed MA, Taheri-Garavand A, Verma TN, Dairo OU, Bolaji BO, Afzal A. Prandtl number of optimum biodiesel from food industrial waste oil and diesel fuel blend for diesel engine. Fuel. 2021;285: 119049. [Google Scholar]
  • 3.Srinivasarao M, Srinivasarao C, Kumari AS, Rao BJ, Gandhi P, PraveenKumar S, Samuel OD, Mustafa A, Enweremadu CC, Elboughdiri N. Combustion enhancement and emission reduction in an IC engine by adopting ZnO nanoparticles with calophyllum biodiesel/diesel/propanol blend: a case study of general regression neural network (GRNN) modelling. Ind Crops Prod. 2025;227: 120812. [Google Scholar]
  • 4.Abbasi KR, Shahbaz M, Zhang J, Irfan M, Alvarado R. Analyze the environmental sustainability factors of China: the role of fossil fuel energy and renewable energy. Renew Energy. 2022;187:390–402. [Google Scholar]
  • 5.Uslu S, Celik MB. Combustion and emission characteristics of isoamyl alcohol-gasoline blends in spark ignition engine. Fuel. 2020;262: 116496. [Google Scholar]
  • 6.Biberci MA. Bibliometric analysis of the use of biodiesel production from essential oils as biofuels. Processes. 2023;11(4):974. [Google Scholar]
  • 7.Demirbas A. Progress and recent trends in biodiesel fuels. Energy Convers Manage. 2009;50(1):14–34. [Google Scholar]
  • 8.Lopresto C: Sustainable biodiesel production from waste cooking oils for energetically independent small communities: an overview. Int J Environ Sci Technol 2024:1–22.
  • 9.Zhang Y, Zhong Y, Lu S, Zhang Z, Tan D. A comprehensive review of the properties, performance, combustion, and emissions of the diesel engine fueled with different generations of biodiesel. Processes. 2022;10(6):1178. [Google Scholar]
  • 10.Zhu C-Z, Samuel OD, Taheri-Garavand A, Elboughdiri N, Paramasivam P, Hussain F, Enweremadu CC, Ayanie AG. ANN-ANFIS model for optimising methylic composite biodiesel from neem and castor oil and predicting emissions of the biodiesel blend. Sci Rep. 2025;15(1):5638. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Bintravalli Suresh A. Optimizing engine performance and emission properties with Garcinia indica biodiesel: a holistic RSM-TLBO-DFA strategy. Biofuels. 2024;16:1–18. [Google Scholar]
  • 12.Ambat I, Srivastava V, Sillanpää M. Recent advancement in biodiesel production methodologies using various feedstock: a review. Renew Sustain Energy Rev. 2018;90:356–69. [Google Scholar]
  • 13.Shahid EM, Jamal Y. Production of biodiesel: a technical review. Renew Sustain Energy Rev. 2011;15(9):4732–45. [Google Scholar]
  • 14.Singh S, Singh D. Biodiesel production through the use of different sources and characterization of oils and their esters as the substitute of diesel: a review. Renew Sustain Energy Rev. 2010;14(1):200–16. [Google Scholar]
  • 15.Karmakar A, Karmakar S, Mukherjee S. Properties of various plants and animals feedstocks for biodiesel production. Biores Technol. 2010;101(19):7201–10. [DOI] [PubMed] [Google Scholar]
  • 16.Kumar A, Sharma S. Potential non-edible oil resources as biodiesel feedstock: an Indian perspective. Renew Sustain Energy Rev. 2011;15(4):1791–800. [Google Scholar]
  • 17.Rahman A, Oktaufik M, Sasongko TW, Guntoro I, Soedjati D, Abbas N, Rahman A, Ulfah F, Widiarto A, Trihadi SEY. Current scenario and potential of waste cooking oil as a feedstock for biodiesel production in Indonesia: life cycle sustainability assessment (LCSA) review. Case Stud Chem Environ Eng. 2025;11: 101067. [Google Scholar]
  • 18.Yang P, Chen Q, Xu W, Jin Y, Sun Y, Xu J. Strategic economic and energy analysis of integrated biodiesel production from waste cooking oil. Energy Convers Manage. 2025;325: 119354. [Google Scholar]
  • 19.Maneerung T, Kawi S, Dai Y, Wang C-H. Sustainable biodiesel production via transesterification of waste cooking oil by using CaO catalysts prepared from chicken manure. Energy Convers Manage. 2016;123:487–97. [Google Scholar]
  • 20.Chai M, Tu Q, Lu M, Yang YJ. Esterification pretreatment of free fatty acid in biodiesel production, from laboratory to industry. Fuel Process Technol. 2014;125:106–13. [Google Scholar]
  • 21.Kumar AN, Kishore P, Raju KB, Ashok B, Vignesh R, Jeevanantham A, Nanthagopal K, Tamilvanan A. Decanol proportional effect prediction model as additive in palm biodiesel using ANN and RSM technique for diesel engine. Energy. 2020;213: 119072. [Google Scholar]
  • 22.Aydın M, Uslu S, Çelik MB. Performance and emission prediction of a compression ignition engine fueled with biodiesel-diesel blends: A combined application of ANN and RSM based optimization. Fuel. 2020;269: 117472. [Google Scholar]
  • 23.Simsek S, Uslu S. Investigation of the effects of biodiesel/2-ethylhexyl nitrate (EHN) fuel blends on diesel engine performance and emissions by response surface methodology (RSM). Fuel. 2020;275: 118005. [Google Scholar]
  • 24.Wu Y, Mansimov E, Grosse RB, Liao S, Ba J: Scalable trust-region method for deep reinforcement learning using kronecker-factored approximation. Advances in neural information processing systems 2017, 30.
  • 25.Ouyang C, Liao C, Zhu D, Zheng Y, Zhou C, Li T. Integrated improved Harris hawks optimization for global and engineering optimization. Sci Rep. 2024;14(1):7445. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Tang Y, Agrawal S: Discretizing continuous action space for on-policy optimization. In: Proceedings of the aaai conference on artificial intelligence: 2020; 5981–5988.
  • 27.Rajavel P, Arthanarisamy M, Ramasamy S. Hybrid optimization of engine performance and emission using RSM-ANN-GA framework to explore valorization potential of waste cooking oil with green synthesized heterogenous ZnO nanocatalyst. Fuel. 2025;395: 135092. [Google Scholar]
  • 28.Abubakar HG, Abdulkareem AS, Jimoh A, Agbajelola OD, Okafor JO, Afolabi EA. Optimization of biodiesel production from waste cooking oil. Energy Source Part A Recov Utiliz Environ Effects. 2016;38(16):2355–61. [Google Scholar]
  • 29.Umeuzuegbu JC, Okiy S, Nwobi-Okoye CC, Onukwuli OD. Computational modeling and multi-objective optimization of engine performance of biodiesel made with castor oil. Heliyon. 2021;7(3): e06516. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Samuel OD, Okwu MO, Oyejide OJ, Taghinezhad E, Afzal A, Kaveh M. Optimizing biodiesel production from abundant waste oils through empirical method and grey wolf optimizer. Fuel. 2020;281: 118701. [Google Scholar]
  • 31.Shahir V, Jawahar C, Suresh P. Comparative study of diesel and biodiesel on CI engine with emphasis to emissions—a review. Renew Sustain Energy Rev. 2015;45:686–97. [Google Scholar]
  • 32.Samuel O, Waheed M, Bolaji B, Dairo O. Production of biodiesel from Nigerian restaurant waste cooking oil using blender. Int J Renew Energy Res. 2013;3(4):976–9. [Google Scholar]
  • 33.Khan K, Kumar G, Sharma AK, Kumar PS, Mandal C, Chintala V. Performance and emission characteristics of a diesel engine using complementary blending of castor and karanja biodiesel. Biofuels. 2018;9(1):53–60. [Google Scholar]
  • 34.Garg A, Jain S. Process parameter optimization of biodiesel production from algal oil by response surface methodology and artificial neural networks. Fuel. 2020;277: 118254. [Google Scholar]
  • 35.Radaideh MI, Du K, Seurin P, Seyler D, Gu X, Wang H, Shirvan K. NEORL: neuroevolution optimization with reinforcement learning—applications to carbon-free energy systems. Nucl Eng Des. 2023;412: 112423. [Google Scholar]
  • 36.Radaideh MI, Shirvan K. Rule-based reinforcement learning methodology to inform evolutionary algorithms for constrained optimization of engineering applications. Knowl-Based Syst. 2021;217: 106836. [Google Scholar]
  • 37.Samet U. AL-GBURI ASK: Investigation of nanoparticle (Fe3O4) addition to 3rd generation biodiesel (spirulina microalgae)/diesel mixture as an innovative fuel according to different engine variables: an RSM optimization. Energy Convers Manage. 2024;310: 118481. [Google Scholar]
  • 38.Samuel OD, Okwu MO. Comparison of response surface methodology (RSM) and artificial neural network (ANN) in modelling of waste coconut oil ethyl esters production. Energy Sources Part A Recov Utiliz Environ Effects. 2019;41(9):1049–61. [Google Scholar]
  • 39.Ma Q, Zhang Q, Liang J, Yang C. The performance and emissions characteristics of diesel/biodiesel/alcohol blends in a diesel engine. Energy Rep. 2021;7:1016–24. [Google Scholar]
  • 40.Nabi MN, Hoque SN, Akhter MS. Karanja (Pongamia Pinnata) biodiesel production in Bangladesh, characterization of karanja biodiesel and its effect on diesel emissions. Fuel Process Technol. 2009;90(9):1080–6. [Google Scholar]
  • 41.Mondal PK, Mandal BK. Effect of fuel injection pressure on the performances of a CI engine using water-emulsified diesel (WED) as a fuel. Energy Sustain Soc. 2024;14(1):12. [Google Scholar]
  • 42.Aithal S. Modeling of NOx formation in diesel engines using finite-rate chemical kinetics. Appl Energy. 2010;87(7):2256–65. [Google Scholar]
  • 43.Rao A, Liu Y, Ma F. Study of NOx emission for hydrogen enriched compressed natural along with exhaust gas recirculation in spark ignition engine by Zeldovich’mechanism, support vector machine and regression correlation. Fuel. 2022;318: 123577. [Google Scholar]
  • 44.Manesh MM, Shirneshan A, Emami S. Comparative analysis of water injection and egr effects on combustion, performance, and emission characteristics of a diesel engine using diesel-biodiesel blends. Cleaner Eng Technol. 2025;26:100965. [Google Scholar]
  • 45.Youn I, Jeon J. Combustion performance and low NOx emissions of a dimethyl ether compression-ignition engine at high injection pressure and high exhaust gas recirculation rate. Energies. 2022;15(5):1912. [Google Scholar]
  • 46.Vellaiyan S. Enhancement of combustion performance and emission control in bauhinia malabarica biodiesel-diesel blends using aluminium oxide nanoparticles and electrostatic precipitators. Cleaner Eng Technol. 2025;26:100981. [Google Scholar]
  • 47.Selvaraj K, Thangavel M. The effects of fuel injection pressure on combustion and emission characteristics of a diesel engine using frying oil methyl ester. Energy Sources Part A Recov Utiliz Environ Effects. 2023;45(3):7436–52. [Google Scholar]
  • 48.Verma P, Stevanovic S, Zare A, Dwivedi G, Van Chu T, Davidson M, Rainey T, Brown RJ, Ristovski ZD. An overview of the influence of biodiesel, alcohols, and various oxygenated additives on the particulate matter emissions from diesel engines. Energies. 2019;12(10):1987. [Google Scholar]
  • 49.Dey S, Reang NM, Das PK, Deb M. Comparative study using RSM and ANN modelling for performance-emission prediction of CI engine fuelled with bio-diesohol blends: fuzzy optimization approach. Fuel. 2021;292: 120356. [Google Scholar]
  • 50.Kumar P, Almeida F, Al-Mdallal Q. Artificial neural network model using Levenberg Marquardt algorithm to analyse transient flow and thermal characteristics of micropolar nanofluid in a microchannel. Partial Diff Equat Appl Math. 2025;13: 101061. [Google Scholar]
  • 51.Bano F, Serbaya SH, Rizwan A, Shabaz M, Hasan F, Khalifa HS: An artificial neural network and Levenberg-Marquardt training algorithm-based mathematical model for performance prediction. Appl Math Sci Eng. 2024: 2375529.
  • 52.Dey S, Reang NM, Majumder A, Deb M, Das PK. A hybrid ANN-Fuzzy approach for optimization of engine operating parameters of a CI engine fueled with diesel-palm biodiesel-ethanol blend. Energy. 2020;202: 117813. [Google Scholar]
  • 53.Subramanian K, Sathiyagnanam A, Damodharan D, Sivashanmugam N. Artificial Neural Network based prediction of a direct injected diesel engine performance and emission characteristics powered with biodiesel. Mater Today Proc. 2021;43:1049–56. [Google Scholar]
  • 54.Ayoola A, Hymore F, Omonhinmin C, Olawole O, Fayomi O, Babatunde D, Fagbiele O. Analysis of waste groundnut oil biodiesel production using response surface methodology and artificial neural network. Chem Data Collect. 2019;22: 100238. [Google Scholar]
  • 55.Babu D, Thangarasu V, Ramanathan A. Artificial neural network approach on forecasting diesel engine characteristics fuelled with waste frying oil biodiesel. Appl Energy. 2020;263: 114612. [Google Scholar]
  • 56.Karami R, Rasul MG, Khan MMK, Salahi MM, Anwar M. Experimental and computational analysis of combustion characteristics of a diesel engine fueled with diesel-tomato seed oil biodiesel blends. Fuel. 2021;285: 119243. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data will be made available on request.


Articles from BMC Chemistry are provided here courtesy of BMC

RESOURCES