1 Introduction

Air pollution is increasing rapidly due to the increasing number of vehicles with the unavoidable population growth worldwide [1,2,3,4,5]. In addition, due to the epidemic that the whole world has faced, especially in recent months, people prefer to use individual vehicles instead of public transportation. In parallel with the increasing number of vehicles, energy consumption is also increasing rapidly [6,7,8,9,10]. For this reason, it has become necessary to use cleaner, renewable fuel to reduce the air pollution caused by internal combustion engine vehicles and to meet the increasing energy demand [11, 12]. Many different alternative fuels have been used in internal combustion engines for years. In spark ignition engines, the use of alcohols as alternative fuel is in a wide range [13,14,15]. While low carbon alcohols such as ethanol and methanol were used in the beginning, today high carbon alcohols are mostly preferred. High carbon alcohols have some advantages over low carbon alcohols, such as better ignition quality, high energy density and the ability to mix easily with conventional fuels [16,17,18]. The use of n-pentanol, which is one of the high carbon alcohols group, as an alternative fuel has become very interesting by researchers in recent years [19,20,21].

In the search for alternative fuel, it is also extremely important to determine the suitability of a fuel for use in internal combustion engines and to determine the optimum operating conditions. Before the development of computer technologies, numerous tests might be needed to determine the suitability of alternative fuels [22]. In particular, it is not efficient to test alternative fuels that are very difficult to obtain or can only be obtained in small quantities. For these reasons, with the developing computer technologies, optimization techniques that can simulate a large number of experiments with less experimentation have started to be used [23,24,25]. Thanks to these techniques, it can be determined with high accuracy whether a fuel can be an alternative to internal combustion engines in less time and with less cost. Taguchi is one of these optimization techniques. Taguchi design, one of the design of experiments-based techniques, is an optimization method that reveals which of the selected input variables is more effective and has the ability to determine the optimum levels of all variables [26, 27].

In the literature, Taguchi has been successfully used to get optimum variables to operate the engine and found convenient for the reduction in time for the process. Ansari et al. [28] used Taguchi design method to examine the effects of selected engine variables on diesel engine performance and exhaust emission responses which is operating with biodiesel fuel blends. In order to determine optimum engine performance and emissions, they determined the biodiesel ratio, injection timing and injection pressure as engine variables. Optimum conditions determined as 30% biodiesel ratio, 15° bTDC injection timing and 200 bar injection pressure. Rai and Sahoo [29] made the designs of their experiments using the Taguchi method in their study, in which they selected compression ratio, engine load and mixing ratio as engine operating parameters. According to their results, they achieved optimum working conditions as 17 compression ratio, 10 kg engine load and 30% biodiesel ratio. Uslu [30] carried out an optimization study using the Taguchi design method in a diesel engine where diethyl ether ratio, palm oil ratio, injection advance and engine load were selected as engine variables. Generally, it achieved optimum performance responses at low levels of diethyl ether, palm oil and spray advance, and high levels of engine load. Optimum emission responses were achieved at low levels of diethyl ether and engine load, and high levels of palm oil ratio and injection advance.

Although there are many studies on the use of n-pentanol in diesel engines, there are limited studies on its use in gasoline engines. In addition, attention has not yet been paid to determine the optimum operating conditions of a spark ignition engine using n-pentanol/gasoline mixtures by optimization techniques. In this study, it is aimed to determine the optimum engine conditions in which the best emission and performance values can be obtained in a gasoline engine using n-pentanol/gasoline fuel blends using Taguchi method.

2 Materials and Methods

In this study, the experiments were designed with Taguchi method in order to determine the most suitable usage conditions of n-pentanol in gasoline engines. The parameters affecting engine performance and emissions were selected as n-pentanol percentage, ignition advance and engine load. It was found appropriate to use three different levels for the selected parameters, and accordingly, experimental design was carried out with Taguchi method.

The accuracy of the device and the uncertainty analysis of the measured values are essential to ensure the measurement accuracy. In addition, uncertainty analysis is needed as standard conditions in the test environment can be affected by various factors such as environmental factors. The measured values of the uncertainty of the different variables are shown in Table 1. The overall uncertainty was calculated as follows:

$$\begin{aligned} {\text{Overall}}\;{\text{uncertainty}} = & {\text{squareroot}}\;{\text{of}}\left[ {\left( {{\text{uncertaint}}\;{\text{of}}\;{\text{load}}} \right)^{2} + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{injection}}\;{\text{advance}}} \right)^{2} + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{BTHE}}} \right)^{2} } \right. \\ & \; + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{BSFC}}} \right)^{2} + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{CO}}} \right)^{2} + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{CO}}_{2} } \right)^{2} \\ & \; + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{O}}_{2} } \right)^{2} + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{NO}}_{x} } \right)^{2} + \left( {{\text{uncertaint}}\;{\text{of}}\;{\text{HC}}} \right)^{2} ] \\ = & {\text{squareroot}}\;{\text{of}} \left[ {\left( {1.3} \right)^{2} + \left( {1.86} \right)^{2} + \left( {0.74} \right)^{2} + \left( {1.45} \right)^{2} + \left( {0.52} \right)^{2} + \left( {1.5} \right)^{2} + \left( {2.14} \right)^{2} + \left( {1.23} \right)^{2} + \left( {1.0} \right)^{2} } \right] \\ = \pm 4.173 \% \\ \end{aligned}$$
Table 1 Uncertainties of various factors

Taguchi is a design method used to determine the optimized parameter combinations with a minimum number of experiments, reduce experimental errors and process variety, and determine experimental conditions with orthogonal arrays in order to ensure reproducibility of experiments. In Taguchi method, it is accepted that there are two basic tools for design of experiments (DOE): Orthogonal array (OA) and signal-to-noise (S/N) ratio. OA is a type of generic fractional factorial design that takes into account a selected combination of multiple levels, multiple factors to save time and cost for experimentation. The S/N ratio in Taguchi designs is a robustness measure used to describe control factors that reduce variability in a product or process by minimizing the effects of uncontrollable factors (noise factors). The S/N ratio measures how the response varies with the nominal or target value under different noise conditions. Higher values of the S/N ratio define control factor settings that minimize the effects of noise factors.

Different S/N ratios can be used, such as "smaller is better", "larger is better" and "nominal is best" depending on the purpose of the experiment. In the Taguchi design in this study, "larger is better" is used for brake thermal efficiency (BTHE), while "smaller is better" types are selected for brake specific fuel consumption (BSFC) and all emissions. S/N ratios are given as follows with Eq. (1) and (2), respectively.

Larger is better;

$$S/N = - 10 \log_{10} \left[ {\frac{1}{n} \mathop \sum \limits_{i = 1}^{n} \frac{1}{{y_{i}^{2} }}} \right]$$
(1)

Smaller is better;

$$S/N = - 10 \log_{10} \left[ {\frac{1}{n} \mathop \sum \limits_{i = 1}^{n} y_{i}^{2} } \right]$$
(2)

where \(n\) is the number of experiments, \(i\) is the number of design factors and \(y_{i}\) is the response factor.

In this study, n-pentanol percentage, engine load and ignition advance were chosen as variables affecting BTHE, BSFC, carbon monoxide (CO), carbon dioxide (CO2), hydrocarbon (HC), oxygen (O2) and nitrogen oxides (NOx) emissions. To examine the effect of each variables on the responses, it is scheduled to test the engine with the three levels shown in Table 2, among the selected factors. Three different levels of selected input variables were determined as 0%, 10% and 20% for n-pentanol percentage, 2.27, 3.78 and 5.30 kW for engine load and finally 10, 14 and 18° bTDC for ignition advance.

Table 2 Parameters and levels affecting engine performance and emissions

The appropriate DOE put forward by Taguchi depending on the three different variables selected as parameters affecting engine performance and emissions and three different levels of these three variables was determined as L27 (3 ^ 3) OA. The DOE created according to the determined L27 OA is shown in Table 3.

Table 3 Experimental layout by Taguchi L27 OA design

Experimental fuels were prepared according to the experimental design determined by Taguchi and experiments were carried out at the specified engine load and ignition advance values. Using the experimental results obtained, a design model was created with Taguchi. S/N ratios from the created model were determined separately for each performance and emission response. In addition, analysis of variance (ANOVA) was applied to determine the proportional effects of the selected variables. ANOVA is a statistically decision-making tool to detect differences in the average performance and helps testing the significance of all main factors [31, 32]. ANOVA evaluates the significance of one or more variables by comparing the response factor tools at various factor levels. ANOVA is also called a linear statistical analysis as the response is a linear function of the factors involved in the experiment [33, 34].

In addition, R2, adjusted R2 (Adj-R2) and predicted R2 (Pred-R2) values, which are important indicators to evaluate the performance of the model created, were calculated with the following equations.

$$R^{2} = 1 - \left[ {\frac{{{\text{SS}}_{{{\text{residual}}}} }}{{{\text{SS}}_{{{\text{residual}}}} + {\text{SS}}_{{{\text{model}}}} }}} \right]$$
(3)
$${\text{Adj}}.R^{2} = 1 - \left[ {\left( {\frac{{{\text{SS}}_{{{\text{residual}}}} }}{{df_{{{\text{residual}}}} }}} \right)/\left( {\frac{{{\text{SS}}_{{{\text{residual}}}} + {\text{ SS}}_{{{\text{model}}}} }}{{df_{{{\text{residual}}}} + df_{{{\text{model}}}} }}} \right)} \right]$$
(4)
$${\text{Pred}}.R^{2} = 1 - \left[ {\frac{{\mathop \sum \nolimits_{i = 1}^{n} \left( {e - 1} \right)^{2} }}{{{\text{SS}}_{{{\text{residual}}}} + {\text{SS}}_{{{\text{model}}}} }}} \right]$$
(5)
$$e - 1 = \frac{{e_{i} }}{{1 - h_{ii} }}$$
(6)

where residuals indicate the quantity of variety not described in the response, model indicates how much variety is described in the model with the general model test for significance, sum of squares (SS) is changes between the overall average and the amount of variety described by the source. \(e_{i}\) is residual for each observation left from the model, \(e - 1\) is a deletion residue that tries to guess ith observation with a model without the ith study and with the resulting model, \(h_{ii}\) is the force of the run in the model.

3 Results and Discussion

In present study, ANOVA was employed to identify the influence ratios of selected engine variables on engine emission and performance responses. The ANOVA results for BTHE, BSFC, CO, CO2, HC, O2 and NOx are shown in Table 4. S/N ratio graphs showing graphical representation of variation response characteristics related to various control parameter levels are also given below for performance and emission responses.

Table 4 ANOVA for all engine responses

In accordance with Taguchi method, the S/N ratio is the measure of the impact of noise fraction on performance. Both average and variation in S/N ratio have been considered, and a larger S/N ratio indicates better performance of the system.

3.1 Effect of Process Variables on Performance

S/N ratio graphs for BTHE and BSFC, which are considered as performance responses, are shown in Figs. 1 and 3, respectively. When S/N ratio graphs are examined, it is seen that the optimum engine variable levels for BTHE are 20% n-pentanol percentage, 5.30 kW engine load and 18 ° bTDC ignition advance. On the other hand, optimum values for BSFC were found 0% n-pentanol ratio, 3.78 kW load and 18 °bTDC ignition advance. While the maximum level of n-pentanol percentage is optimum for BTHE, the minimum percentage of n-pentanol is optimum for BSFC. Increasing the BSFC due to the smaller lower calorific value of n-pentanol compared to gasoline caused the percentage of 0% to be optimum. On the other hand, 20% n-pentanol percentage has emerged as optimum for BTHE, as it improves combustion thanks to the oxygen content it contains will increase BTHE. The increase in the ignition advance had a positive effect for both performance variables. BTHE increased and BSFC decreased as the maximum pressure approached closer to the upper dead point with increasing ignition advance. Also, getting more air/fuel mixture into the engine with increased engine load will increase not only BTHE but also BSFC. Thus, the lowest level of engine load is optimum for the BSFC, while the highest level for BTHE is optimum.

Fig. 1
figure 1

S/N values of variables for BTHE

In addition to the optimum variable levels, the representation of the degree of influence of the variables is given in Figs. 2 and 4 for BTHE and BSFC, respectively. Engine load was the most effective variable for BTHE with a ratio of 50.14%, while the percentage of n-pentanol was for BSFC with 38.7% according to the distribution of effect degrees (Figs. 1, 2, 3, 4).

Fig. 2
figure 2

The impact rates of variables and error on BTHE

Fig. 3
figure 3

S/N values of variables for BSFC

Fig. 4
figure 4

The impact rates of variables and error on BSFC

3.2 Effect of Process Variables on Exhaust Emissions

S/N ratio graphs for CO, CO2, HC, O2 and NOx evaluated as emission responses are shown in Figs. 5, 7, 9, 11 and 13, respectively. Optimum n-pentanol percentage was obtained as 20% for CO, HC and O2, 10% for NOx and 0% for CO2. As the ratio of n-pentanol, which contains oxygen, in the mixture increases, the rate of complete combustion increases, so an increase in O2, a decrease in CO and HC is expected. S/N ratio graphs also gave results that support this expectation. As the complete combustion rate increases, the conversion ratio of carbon atoms to CO2 increases, so the lowest n-pentanol level has been optimum for CO2. The optimum n-pentanol level of NOx was found to be 10% since the amount of oxygen in the mixture higher than the optimum level with a n-pentanol ratio of more than 10% will cause the NOx to increase again.

Fig. 5
figure 5

S/N values of variables for CO emissions

Optimum engine load levels were found to be 5.30 kW, which is the maximum engine load level for CO, HC and O2, while the minimum level for CO2 and NOx was 2.27 kW. When examined in terms of ignition advance, optimum results were obtained as 14 ° bTDC for CO and HC, 10 ° bTDC as the lowest level for CO2 and NOx and 18 ° bTDC as the highest level for O2. As the ignition advance increases, the temperature inside the cylinder will increase as higher-pressure levels will be reached. Therefore, low ignition advance for NOx, which is a function of temperature, will be the optimum level. On the other hand, if the ignition is delayed too much, the average ignition advance level was obtained optimally for CO and HC, as the risk of incomplete combustion at the end of the expansion stroke would increase. Also, although the possibility of incomplete combustion began to emerge at the maximum ignition advance level, the best results for O2 emission were obtained at the maximum ignition advance level, thanks to the oxygen content of n-pentanol.

Figures 6, 8, 10, 12 and 14 show which engine variables are more effective for CO, CO2, HC, O2 and NOx, respectively. While the ignition advance was the most effective for CO and HC, the n-pentanol percentage was found to be the most effective variable for CO2 and CO2. For NOx, the engine load was determined to be the most effective variable (Figs. 5, 6, 7, 8, 9, 10, 11, 12, 13, 14).

Fig. 6
figure 6

The impact rates of variables and error on CO emission

Fig. 7
figure 7

S/N values of variables for CO2 emissions

Fig. 8
figure 8

The impact rates of variables and error on CO2 emission

Fig. 9
figure 9

S/N values of variables for HC emissions

Fig. 10
figure 10

The impact rates of variables and error on HC emission

Fig. 11
figure 11

S/N values of variables for O2 emissions

Fig. 12
figure 12

The impact rates of variables and error on O2 emission

Fig. 13
figure 13

S/N values of variables for NOx emissions

Fig. 14
figure 14

The impact rates of variables and error on NOx emission

4 Conclusions

In this study, it is aimed to optimize engine operating parameters and determine the effect degree of parameters in order to obtain optimum performance and emissions in spark ignition engine using n-pentanol/gasoline fuel mixtures. The results obtained are listed below:

  • For the n-pentanol percentage, the optimum level was obtained as 20% for BTHE and 0% for BSFC, which are considered as performance responses. In terms of emissions, it was found to be the highest level of 20% for CO, HC and O2, 0% for CO2 and 10% for NOx.

  • In the evaluation made in terms of engine load, the highest engine load level of 5.30 kW was obtained as the optimum value for BTHE, CO, HC and O2. On the other hand, the lowest level of 2.27 kW for BSFC, CO2 and NOx has been determined as optimum.

  • Optimum levels of ignition advance were obtained as 18 ° bTDC for both performance responses. In addition, it was found to be 14 ° bTDC for CO and HC, 10 ° bTDC for CO2 and NOx, and 18 ° bTDC for O2.

  • In evaluating the most effective engine variables on performance and emission responses, the most effective variable on BTHE and NOx was determined as engine load. For BSFC, CO2 and O2, the n-pentanol percentage was determined to be the most effective, while the ignition advance for CO and HC was found to be the most effective variable.

Based on the results obtained from the study, it was concluded that pentanol can be used successfully as an alternative fuel or fuel additive for the gasoline engine. In addition, in this study, it is thought that determining the n-pentanol ratio and engine variables levels that should be used for high performance and low emission when n-pentanol is used in spark ignition engine will shed light on future studies.