1 Introduction

Biodiesel has been regarded as a sustainable fuel alternative for diesel fuel owing to its capacity to biodegrade, non-polluting to water and land, lack of aromatic and sulphur constituents, improved lubricity benefits, storage, transport, and safe handling (Fattah et al., 2020; Hoang et al., 2021; Su et al., 2021). This can be produced from various types of edible or inedible feedstocks, waste animal fat, waste cooking oil, algae, and biomass (Ong et al., 2020; Singh et al., 2020). Based on scientific evolution on feedstock diversification for fuel production, the commonly used biofuel feedstocks have been classified as first-generation (oils from edible feedstocks), second-generation (fuel derived from inedible sources such as lignocellulose, animal fat, and inedible crops), third-generation (microalgae), and fourth-generation (feedstocks capable of absorbing CO2 and containing higher lipid and energy values) (Ampah et al., 2022; Mofijur et al., 2014; Singh et al., 2020). Mainly regional availability of feedstocks, land capacity and technology influence the selection of feedstocks to be used for biodiesel. Although first-generation feedstocks are primary raw materials for biodiesel production, the "food versus fuel" debate and land availability issue in many countries have influenced the production of biodiesel from inedible feedstocks in addition to the improvement of biodiesel production technologies (Fattah et al., 2014; Imtenan et al., 2014; Milledge et al., 2014; Ramos et al., 2019). Among the feedstocks used for total global biodiesel production (about 41.2 million tonnes), the overall share of biodiesel produced from palm oil (35%), soybean oil (26%), rapeseed oil (16%), waste cooking oil (10%), animal fat (7%) and other feedstocks shared about 6% (Union Zur Förderung Von Oel- Und Proteinpflanzen E.V. (UFOP), 2020a). Indeed, only 5% of the total global oilseeds and 9% of the total global production of grains were used for biodiesel and bioethanol production in the year 2018–2019 (UFOP, 2020b). The amount of erucic acid (C22:1) in the rapeseed oil determines whether it is suitable for industrial use or human consumption (less than 2%), and the feedstocks are included in the family Cruciferae (Agriculture and Horticulture Development Board (AHDB), 2020a; Gunstone & Harwood, 2007). Rapeseed oils are categorised based on their content of erucic acid. The lower percentage of erucic acid (< 2%) containing rapeseed oil is commonly known as "canola oil", which is edible to humans (AHDB, 2020b; Warner & Lewis, 2019). In the European Union, the erucic acid content for edible rapeseed oil has been limited to up to 5%, and it is known as "Rapeseed 00" (AHDB, 2020b; Warner & Lewis, 2019). On the other hand, the commonly known high erucic acid rapeseed oil (HEAR), which is categorised as the inedible rapeseed oil, can contain as much as 45–60% of erucic acid (Warner & Lewis, 2019). Overall, about 71.91 million tonnes (Mt) of rapeseed oil (including canola oil and inedible rapeseed oil) were produced globally in the year 2018, and the top producers were Canada (20.34 Mt), China (13.28 Mt), India (8.43 Mt), France (4.95 Mt) and Australia (3.9 Mt), respectively (Food and Agricultural Organization (FAO), 2019).

The fatty acid methyl ester (FAME) composition of the biodiesel governs both the physical and chemical properties of the biodiesel (Atique et al., 2022; Knothe, 2005). Although the composition may be changed, keeping almost the same quantity of long-chain saturated and monounsaturated fatty acid methyl esters in canola oil biodiesel (CB) would provide superior long-term storage stability, and cold flow characteristics retention, and kinematic viscosity (Kanca & Temur, 2016). Alkaline homogenous catalysts can be highly efficient in the conventional transesterification reaction to produce CB from canola oil (Bohlouli & Mahdavian, 2019; Ramos et al., 2019). Sodium hydroxide (NaOH) and potassium hydroxide (KOH) are the most commonly used alkaline homogenous catalysts, whereas methanol (CH3OH) is a primarily used reactant for transesterification reactions (Fattah et al., 2020; Khan et al., 2021). The determination of optimal operating parameters can be useful in investigating the economic benefit of the biodiesel production processes used from a feedstock (Ranjitha et al., 2020). Various modelling tools such as response surface methodology-artificial neural network (RSM-ANN), ANN-ant colony optimisation, RSM-Adaptive neuro-fuzzy inference system (ANFIS), and grey wolf optimiser (GWO) have been employed for modelling transesterification parameters for various types of oily feedstocks (Fayyazi et al., 2015; Kumar et al., 2017; Okwu et al., 2021; Samuel et al., 2020; Veza et al., 2022). Several recent studies have focussed on first-generation biodiesel feedstocks. For example, Encinar et al. (2022) carried out a kinetic study of homogeneous base and acid catalysts such as KOH, NaOH, CH3OK, H2SO4, H3PO4 and CH3C6H4SO3H utilised in the transesterification of soybean oil. They proposed a second-order kinetic model for base homogeneous catalytic transesterification, whereas a pseudo-first-order reaction was proposed in the case of methanol/oil ratios higher than 9:1. A pseudo-first-order reaction was proposed for homogeneous acid catalysis. In an earlier study, Encinar et al. (2018) reported that the transesterification of rapeseed oil using KOH as a catalyst and ultrasonic excitation as a heat source followed a pseudo-first-order kinetic model and the activation energy as 25.51 kJ/mol. Choudhury et al. (2014) carried out ultrasonic-assisted biodiesel synthesis using Jatropha curcas as feedstock and chlorosulfonic acid as catalyst (methanol as solvent). They reported that this process followed pseudo-first-order kinetic model and the activation energy of the process was 57.33 kJ/mol.

In this article, Australian grown canola oil (i.e. Brassica napus L.) was considered to determine the optimal biodiesel production parameters as well as the reaction kinetic model (Australian Export Grains Innovation Centre (AEGIC), 2017; Office of the Gene Technology Regulator (OGTR), 2018). Australia is one of the top canola oil producers in the world. Not all the produced canola oil is used as food; instead, a portion of it is used for industrial applications (AEGIC, 2017). It is essential to optimise the biodiesel production process for fuel production from this high-quality canola oil. The optimisation process was performed by following the response surface methodology (RSM), and the Box Behnken (BB) method was used to model the experimental variable parameters. RSM is an effective statistical approach that can model the issue based on supplied variables and analyse the responses to deliver a dependable, optimum solution that experimental designs can test with high accuracy (Montgomery, 2013; Samuel & Okwu, 2019; Singh et al., 2021). RSM offers the benefit of lowering the number of experimental runs required to provide statistically acceptable findings (Betiku & Ajala, 2014). This study focused on conventional transesterification process optimisation due to its higher yield efficiency, reactivity with feedstock, techno-economic feasibility in terms of FFA content, yield efficiency, and environmental sustainability, all of which are important factors to consider before deciding on the type of feedstock. A kinetic model for a reaction process can predict similar reaction outputs with a variation of time and temperature if other parameters are kept constant, thus facilitating process design (Encinar et al., 2022). The study of kinetic parameters is particularly important for the correct implementation of this kind of process in real biorefineries, especially concerning reactor design and reagent supply.

2 Materials and methods

2.1 Materials

Refined canola oil (Brassica napus L.) was purchased from a local supermarket. Both methanol (CH3OH) and potassium hydroxide (KOH) were analytical grade chemicals (> 99% purity). The batch reactor was equipped with a 3-neck round bottom thick-walled flask, a refluxing condenser, water bath, magnetic stirrer, and a heating system with feedback-controlled temperature and stirring speed controller. The reactor flask was half-submerged in the water bath in a glass beaker and clamped with stable stands to ensure better heat transfer to reactants.

2.2 Methods

2.2.1 Transesterification of canola oil

In order to conduct the transesterification reaction of the canola oil, various steps were strictly followed to ensure efficient process output based on the designed process parameters. Before pouring the oil into the reactor, it was heated at 110 °C for 30 min in a wide-open glass beaker to remove moisture. Magnetic stirring (650 rpm) was performed to ensure better convective heat transfer and vaporisation of moisture. Then the oil was poured into the reactor flask after the oil temperature dropped below 50 °C. While oil temperature was maintained at the designed temperature range, the KOH catalyst was dissolved in CH3OH by heating to (50 °C) and stirring in a separate beaker. When the KOH was totally dissolved in CH3OH, the solution was poured into the reactor flask through one of the available necks and sealed with a glass stopper to allow the transesterification reaction to occur for the designed reaction period. Once the reaction was visibly completed, all the ingredients were poured into a separating funnel and allowed to settle down for more than 12 h. Glycerol was removed from the lower part of the funnel, and the rest of the FAME, CH3OH and impurities were washed thoroughly with tap water to remove CH3OH, soap and other impurities. When the visible water and FAME separating layer were observed, washing was concluded. Then the FAME was heated at 110 °C for an hour to remove any traces of water in the biodiesel. The drying process is important to maintain the limit of moisture content in biodiesel to meet either ASTM D6751 or EN14214 standards. After drying and cooling, the canola biodiesel (CB) or canola oil fatty acid methyl esters were obtained. FAME was centrifuged (Model: ThermoFisher D-37520) to remove any further impurities and inspected for any other impurities as precipitation. The final biodiesel yield quantity was weighted after completing all the purification processes. Biodiesel fuels are often kept in coloured, airtight containers with correct labelling and standard hazard codes in accordance with the biodiesel handling policy guide to preserve the fuel from photo-oxidation (Alleman et al., 2016). Equation (1) was used to obtain the fuel conversion or FAME yield efficiency (%Y):

$$\% Y = \frac{{\text{Weight of biodiesel fuel}}}{{\text{Weight of the oil}}} \times 100$$
(1)

2.2.2 Transesterification process optimisation

The acid value of the canola oil was found to be 1.453 (0.73% FFA content). A three-factor-three-level Box–Behnken (BB) was employed in the modelling and optimisation studies, which generated 15 experimental runs that were subsequently carried out. The independent variables considered for the optimisation include methanol–oil ratio, catalyst amount, and reaction temperature. The coded and uncoded levels of the independent variables are shown in Table 1. The process yield was modelled using a quadratic model, as illustrated in Eq. (2).

$$Y = a_{0} + a_{1} x_{1} + a_{2} x_{2} + a_{3} x_{3} + a_{11} x_{1}^{2} + a_{22} x_{2}^{2} + a_{33} x_{3}^{2} + a_{12} x_{12} + a_{13} x_{13} + a_{23} x_{23}$$
(2)
Table 1 Box-Behnken Design summary for transesterification process of canola oil

Here, Y is the yield of the analysis, known as the predicted value. The subordinate values 1, 2, 3 indicate the three individual parameters in the model, 'x' is the variable parameter, and 'a' is the corresponding term's coefficient.

Based on the algorithm, 15 small scale transesterification processes were carried out to obtain the experimental yield results, which were later imported to Minitab 18.0 for RSM analysis. RSM was performed as per the BB model to conduct the canola oil's transesterification reaction's statistical optimisation process. The experimental design as follows: 5:1 M, 6:1 M, 7:1 M (methanol to oil), 0.5%, 1%, 1.5% (wt%/wt. of oil) KOH and 50 °C, 55 °C, 60 °C reaction temperatures. The stirring speed of the reactor was maintained at 600 rpm for 120 min with a magnetic stirrer. Analysis of variances (ANOVA) was also performed for the data set to determine the statistical significance of the experimental data and the predicted data.

2.2.3 Kinetic modelling of transesterification reaction

It is critical to understand the reaction mechanism of the transesterification process to determine the kinetics of the chemical processes. As per the stoichiometry of the transesterification process, one mole (1 M) of fat or oil (triglycerides, TG) react with three moles (3 M) of CH3OH in the presence of alkali catalysts (e.g., NaOH or KOH) to produce 3 mol (3 M) of FAME (RCOOCH3) and glycerol. This is a reversible chemical reaction. Therefore, sufficient methanol is utilised in practice to reduce process efficiency loss owing to reverse reaction.

The transesterification process is a combination of three steps of reaction mechanisms. Along with the degraded glyceride, a certain quantity of FAME is created in each phase. In the first stage, the triglycerides (TG) are transformed into diglycerides (DG) by interacting with a stoichiometric amount of 1 M CH3OH. Another mole of CH3OH is used to convert the DG into monoglycerides (MG) alongside the FAME generated in the second step. In the third step, another mole of CH3OH is used to convert the MG into glycerol (G) and FAME. As shown in Eq. 3, the complete process (i.e., stoichiometric) may be theoretically simplified as a shunt reaction.

$${\text{TG}} + 3{\text{CH}}_{3} {\text{OH}}{\overset {\text{NaOH, heat}} \Leftrightarrow} 3{\text{RCOOCH}}_{3} + {\text{Glycerol}}$$
(3)

Because of the large quantity of methanol consumed in the transesterification process in the actual instance, the reaction rate is a pseudo-forward reaction. Andreo-Martínez et al. (2018) mentioned that the transesterification rate reaction could be either of the pseudo-zero order, pseudo-first-order and pseudo-second-order reaction process. In that case, an apparent reaction rate constant (k1) can be determined to express the conversion rate of TG into FAME. Kusdiana and Saka (2001) mentioned that the mixture is a combination of converted methyl esters (ME) and unmethyl ester (uME) during the transesterification process within a batch reactor, and the reaction rate can be described as a pseudo-first-order reaction. Based on the analyses given for pseudo-first-order irreversible reaction rate (Andreo-Martínez et al., 2018; Kusdiana & Saka, 2001) characteristics of transesterification reaction, the kinetics of conversion of TG into FAME can be presented as in Eq. (4).

$$\ln \left( {1 - x} \right) = - k_{1} t,\;{\text{or}}\; - \ln \left( {1 - x} \right) = k_{1} t$$
(4)

Here, x is considered as a fractional conversion entity of FAME in the batch reactor, and k1 is the apparent reaction rate constant.

Based on the experimental results, a graphical plot can be depicted between "− ln (1 − x)" and "t" to determine the value of reaction rate constant k1 at given operating conditions.

Therefore, in the following derivation of Andreo-Martínez et al. (2018), the overall reaction rate (kinetic model of the transesterification process) can be expressed as in Eq. (5).

$$r = - \frac{{{\text{d}}C_{{{\text{TG}}}} }}{{{\text{d}}t}} = k_{1} C_{{{\text{TG}}}} = Ae^{{\left[ { - \frac{{{\text{Ea}}}}{RT}} \right]}} C_{{{\text{TG}}}}$$
(5)

Here, r is the reaction rate for the shunt reaction of the transesterification process, CTG is the molar concentration of triglycerides, k1 is the overall apparent reaction rate constant and \(\left( { - \frac{{{\text{d}}C_{{{\text{TG}}}} }}{{{\text{d}}t}}} \right)\) is the rate of decay of TG with respect to time to produce the respective FAME.

Equation (5) can also be compared with the Arrhenius equation in Eq. (6):

$$k_{1} = Ae^{{\left[ { - \frac{{{\text{Ea}}}}{RT}} \right]}}$$
(6)

Here, k1 = reaction rate constant, A = frequency parameter of the reaction, R = universal gas constant (8.314 J mol−1 K−1), Ea = activation energy (kJ/mol) of the reaction process, and T = reaction temperature in Kelvin scale.

The logarithm form of the Arrhenius equation can be expressed as in Eq. (7).

$$\ln k_{1} = \ln A + \left( { - \frac{{{\text{Ea}}}}{R}} \right)\frac{1}{T}$$
(7)

Equation (7) indicates that when different k1 values (as obtained by Eq. 4) are plotted against different T values, a straight line can be obtained for the "lnk1 versus 1/T" relation. As a result, the values of A and Ea are determined, respectively, as the intercept and slope of the line for the considered reaction process.

On the other hand, when the transesterification process is considered only as a pseudo-homogenous irreversible process without a prior assumption of reaction order, Eq. (8) can be presented as demonstrated by Cheng et al. (2008).

$$\ln \left( {\frac{{{\text{d}}x}}{{{\text{d}}t}}} \right) = \ln k^{\prime} + n \ln \left[ {C_{{{\text{TG}}}} \left( {1 - x} \right)} \right]$$
(8)

Here, x is considered as a fractional conversion entity of FAME in the batch reactor, \(\left( {\frac{{{\text{d}}x}}{{{\text{d}}t}}} \right)\) is the rate of production of FAME, n is the reaction order.

The relation of reaction rate constant k′ in Eq. (8) to the overall reaction rate constant of the forward reaction (k1) is shown in Eq. (9):

$$k^{\prime} = {{k_{1} } \mathord{\left/ {\vphantom {{k_{1} } {C_{{{\text{TG}}}} }}} \right. \kern-\nulldelimiterspace} {C_{{{\text{TG}}}} }}\;{\text{or}}\;k_{1} = k^{\prime} \times C_{{{\text{TG}}}}$$
(9)

The pseudo-homogenous irreversible transesterification reaction rate follows the relationship as presented in Eq. (10).

$$r = kC_{{{\text{TG}}}}^{n} = Ae^{{\left[ { - \frac{{{\text{Ea}}}}{RT}} \right]}} \left[ {C_{{{\text{TG}}}}^{n} } \right]$$
(10)

In this study, both reaction rate Eqs. (4) and (8) were investigated to determine the kinetic model of canola oil's transesterification reaction.

3 Results

3.1 Canola oil transesterification optimisation

The required experimental data for yield efficiency (Y) of CB conversion for these parameters were acquired based on the designed parameter sets provided in Table 2. All of the intended transesterification processes of canola oil took 120 min to complete. The RSM analysis generated anticipated data for yield efficiency (Yp) based on the quadratic model for regression analysis (Eq. 2), as shown in Table 2. The highest yield was observed as 99.32% (experimental) and 99.45% (predicted) for the experimental conditions of 6 M methanol, 0.5% KOH catalyst with respect to oil weight, and reaction temperature of 60 °C. The minimum yield was 73.98% (experimental) and 73.92% (predicted) for the experimental conditions of 5 M, 1% KOH, and 50 °C. Figure 1 shows the regression fit between the experimental and predicted yield results of the RSM study for biodiesel synthesis from canola oil.

Fig. 1
figure 1

Regression fit between the predicted and experimental yield of canola biodiesel

Table 2 RSM analysis of transesterification process of canola oil

3.1.1 Response surface regression

The regression analysis was conducted to a full quadratic model (Eq. 2) to predict the yield of CB. As per the analysis, the full regression Equation (uncoded) was derived as presented in Eq. (11). In Sect. 3.1.4, a quick description of the standardised effects of process parameters is offered using both the normal plot (Fig. 2) and the Pareto chart (Fig. 3).

$$\begin{aligned} {\text{Yield}}, \;Y_{p} \left( \% \right) & = 89.36 + 2.7675M - 4.7687B + 4.7288T - 4.7375M^{2} + 1.05B^{2} \\ & \quad - 1.16T^{2} + 1.8125MB - 2.0375MT - 0.705BT \\ \end{aligned}$$
(11)
Fig. 2
figure 2

Normal plot of the standardised effects in the transesterification process

Fig. 3
figure 3

Pareto chart for standardised effects in the transesterification process

Fig. 4
figure 4

Interaction effects of methanol to oil molar ratio (M) and KOH catalyst content (B) on canola FAME yield (%Y)

3.1.2 Response optimisation

The limiting values of the factors and the regression fit for the optimisation are shown in Table 3. It shows that the optimal yield could be about 99.5% with the reaction conditions 5.89 M: 1 M methanol to oil molar ratio, 0.5% (w/w) KOH, at 60 °C reaction temperature and 120 min of reaction period in a batch reactor system. The 95% confidence interval also lies between 98.5 and 98.9, a narrow range of standard distribution for highly acceptable data analysis.

Table 3 Optimal response for the transesterification process of CB by RSM analysis

3.1.3 Analysis of variance (ANOVA) for transesterification process of canola oil

The analysis of variance (ANOVA) has been performed (Table 4) for the multivariable data set presented in Table 3, along with RSM analysis, to determine the statistical significance of the variables. Table 4 shows that the P values are less than 0.05 for all except the lack-of-fit error term. The difference of F value for the model with respect to the F value for the lack-of-fit is so high that the term does not bother the model's significance with these data. The standard deviation (S = 0.196) is a very good range of distributing 95% of the considered data, which results in a high value of R squared value of 99.96%, R squared(adj) value of 99.90% and R squared(predicted) value of 99.54%.

Table 4 ANOVA test of canola oil transesterification process yield prediction (coded parameters)

On the other hand, from Table 5, the coefficient table from the RSM shows that the values of variables of inflation factors (VIF) are within the suitability region. The highest value of VIF was 1.01, whereas the acceptability level is under 5, i.e. VIF < 5. That means no multicollinearity effect creates any adverse effect on the parameters while building up the regression model coefficients.

Table 5 Coefficients of the regression fit and VIF values for transesterification process of canola oil (coded parameters)

3.1.4 Effect plots parameters for RSM analysis of canola oil transesterification process

Figure 2 (normal plot) and Fig. 3 (Pareto chart) are the graphical presentations of how the parameters of the quadratic regression model have influenced the transesterification process of canola oil.

The effectiveness ratio of all these parameters can be realised from either the Pareto chart or normal plot. It is only the normal plot that shows whether the significant terms are positively or negatively influencing the model prediction. The left-hand side of the t-statistics fit line is quantitative measures of significantly negative effect developing parameters. If the values of these parameters are increased from lower values towards higher values, the negative effect is reduced.

The normal plot in Fig. 2 shows the positive and negative effects of the significance of the quadratic model parameters while developing the predicted model of response. Figure 2 indicates that the higher amount of catalyst had a negative impact on the transesterification process yield of canola oil, whereas the reaction temperature has the most positive significant contribution towards the process yield. Any parameters that are insignificant are shown on the line of the t-distribution standardisation line on the normal plot. There are two insignificant terms in the model response, which are coded as BD and AD, i.e., mutual interactions of "catalyst content * reaction time" and "methanol content * reaction time".

The Pareto chart (Fig. 3), on the other hand, only indicates which parameters are significantly effective and insignificant in the predicted models. The Pareto chart shows a threshold value of significance level. If the standardised effects of the parameters are lower than the threshold values, the effect is insignificant. Figure 3 shows that the significance level is 2.57 for the terms, and none of the terms was below that level. So, all the parameters considered in the analysis process models were significantly affecting the reaction output (either in the positive or negative way, as presented in the normal plot).

3.1.5 Response surface plots to show the relative effects of parameters on %yield of canola oil transesterification process

Both the 2D contour plot and the 3D response surface plot are presented to show the effects of two independent variables on the %yield of CB obtained from the transesterification processes. When the effect of two variables was observed, the other variable was kept constant at its respective optimal value within the process. Also, the reaction period was kept constant at 120 min always. Figures 4, 5 and 6 show a total of three combinations of two variables from three independent parameters: namely, methanol to esterified canola oil molar ratio (M), amount of KOH catalyst (B), and reaction temperature (T) and their effects are discussed in the following sections.

Fig. 5
figure 5

Interaction effects of reaction temperature (T) and methanol to oil molar ratio (M) on canola oil FAME yield (Y)

Fig. 6
figure 6

Interaction effect of reaction temperature (T) and catalyst content (B) on FAME yield (Y) of the transesterification process canola oil

Fig. 7
figure 7

Canola oil biodiesel (CB) conversion at various times at 60 °C, 55 °C and 50 °C

3.1.5.1 Effects of catalyst content (B) and methanol to oil ratio (M)

Figure 4a and b shows that the range of methanol content varied from 5 to 7 M, whereas the catalyst content varied from 0.5 to 1.5 wt% of the refined canola oil. The surface diagram shows that the peak yield of the transesterification process lies at the intersection between 0.5% catalyst and about 6 M methanol content. The contour plot shows that higher yield contour lines need a lesser catalyst and the range of methanol required to obtain the desired yield. It can be seen from the contours plot that 98% yield could be obtained for the methanol range of 5.35–6.45 M and catalyst range of 0.5–0.6% while the temperature was kept constant at 60 °C.

3.1.5.2 Effect of methanol to oil ratio (M) and reaction temperature (T)

Figure 5a and b shows the response of transesterification based on the variation of T and M, while the other parameter B was kept constant at the optimal level. The contour graph shows that the higher the temperature, the higher is the yield contour line for any methanol content. However, beyond 95% yield, the methanol range shrinks for the temperature range of the reaction. The 3D surface diagram shows the yield increment with the increase in M for constant temperature until it reaches a peak point near 6 M of methanol content. After this point addition of methanol reduces the yield quantity. Again, at any constant methanol content, the increase in temperature has a higher impact on increasing the yield. While combining the effects of T and M, the peak surface point can be observed at the intersection of 60 °C and about 6 M methanol line.

3.1.5.3 Effects of methanol to reaction temperature (T) and catalyst content (B)

Figure 6a and b shows that the increased amount of T and a reduction of B had a positive effect on the biodiesel yield of canola oil. The contour lines are diagonally distributed on the T versus B graph. As a result, the surface responses show a decrease in yield with the increase of catalyst content at any temperature. Thus, the temperature effect has positive significance in increasing the yield at any catalyst considered within the range. The surface has a peak around the very corner of the intersection between 0.5% catalyst and 60 °C temperature lines. Indeed, this condition is achieved when the reaction duration is 120 min, and methanol content is kept constant at its optimal value. This response curve also indicates the optimal ranges of the model.

3.2 Determination of kinetic model for transesterification process of canola oil

Based on the optimisation process analysis, the maximum predicted yield of biodiesel could be obtained for 5.9 M: 1 M methanol to canola oil molar ratio, 0.5% (w/w) KOH catalyst with respect to the canola oil quantity, reaction temperature 60 °C and the reaction duration of 120 min. In order to determine the chemical kinetics of the transesterification process of canola oil, both the methanol to oil ratio and the catalyst contents were kept constant. The other two parameters, i.e., reaction temperature and the reaction duration, were varied from 50–60 °C and 0–120 min, respectively. The transesterification reactions were observed at various times for each of the temperatures considered in this study. Overall, three sets of transesterification reactions were observed. Figure 7 shows the polynomial regression fit of the experimentally obtained biodiesel conversion at various times at 60 °C, 55 °C and 50 °C. The R square values in the polynomial regression fit show very good conformity of the achieved results for the polynomial regression fits.

Fig. 8
figure 8

Determination of reaction rate constant for the transesterification process of canola oil

3.2.1 Reaction kinetic model for pseudo-first-order transesterification process

Here, the kinetic model was determined by following the kinetic mechanism of the transesterification process described in Sect. 2.2.3. When x is considered as a fractional conversion entity of methyl ester from canola oil in the batch reactor, Eq. (4) can be used to determine the reaction kinetics for a pseudo-first-order homogenous irreversible transesterification reaction. Hence, for various values of T, the plot between "− ln(1 − x) and t" can be plotted in Fig. 8. It can be observed that the R-square values are a good fit.

By comparing the regression fits of Fig. 9 with Eq. (4), the values of k1, 1/T and lnk1 could be obtained as presented in Table 8. Also, the values of 1/T and lnk1 from Table 6 can be plotted to obtain a line with slope and interception, as shown in Fig. 9, to determine the activation energy (Ea) as the slope of the curve.

Fig. 9.
figure 9

1/T versus lnk1 plot to determine activation energy (Ea) and frequency factor (Af) for the transesterification process of canola oil

Table 6 Determination of 1/T and lnk1 for canola oil transesterification kinetics

The derived activation energy and frequency factors determined by comparing the regression Equation of Fig. 9 with the logarithmic form of the Arrhenius equation (Eq. 7) were 75.36974 kJ/mol and 3.05 × 1010 min−1, respectively. Therefore, the values obtained could be put in Eq. (5) to obtain the reaction kinetic model (Eq. 12) for a pseudo-first-order homogenous irreversible transesterification reaction following Eq. 5a, the overall reaction rate (kinetic model of transesterification process) can be expressed as follows:

$$r = - \frac{{{\text{d}}C_{{{\text{TG}}}} }}{{{\text{d}}t}} = k_{1} C_{{{\text{TG}}}} = Ae^{{\left[ { - \frac{{{\text{Ea}}}}{RT}} \right]}} C_{{{\text{TG}}}} = 3.05 \times 10^{10} e^{{\left[ { - \frac{75.37}{{RT}}} \right]}} C_{{{\text{TG}}}}$$
(12)

Kumar and Kiriamiti (2020) reported an activation energy of 71.3 kJ/mol for homogeneous NaOH based transesterification of Croton megalocarpus oil.

3.2.2 Reaction kinetic model for pseudo-homogenous irreversible transesterification process

As mentioned in Sect. 2.2.3, if the reaction order is not assumed earlier, the kinetic model can be developed by assuming pseudo-homogenous irreversible transesterification process (Eq. 8) (Cheng et al., 2008). Here, the vertical line presents data for \(\ln \left( {\frac{{{\text{d}}x}}{{{\text{d}}t}}} \right)\) and the horizontal line represents data for \(\ln \left[ {C_{{{\text{TG}}}} \left( {1 - x} \right)} \right]\) when comparing with Eq. (8). The regression fits in Fig. 10 show a very good R-square fit. The slopes of these regression Equations from the curve fits present the respective reaction orders of the process.

Fig. 10
figure 10

ln(dx/dt) versus lnCTG(1 − x) graph plot for reaction kinetics of canola oil transesterification in case of a pseudo-homogenous irreversible reaction

While comparing the regression fits of Fig. 11 with Eq. (8), the average reaction order and the reaction rate constants can be determined as in Table 7. Therefore, values of 1/T and lnk from Table 7 can be used to produce the graph between "1/T and lnk" as presented in Fig. 10. The slope of the graph can be used to determine the activation energy of the process kinetics.

Table 7 1/T versus lnk graph for canola oil transesterification process kinetics

By comparing the regression fit of Fig. 11 with the Arrhenius Equation logarithmic form (Eq. 7), the activation energy and frequency factors were calculated to be 62.577068 kJ/mol and 2.77 × 1010 min−1, respectively. When the process is considered a pseudo-homogenous irreversible reaction process, the values may be utilised in Eq. (10) to create the reaction kinetic model for the transesterification of canola oil. The developed kinetic model is presented in Eq. (13). The reaction order is 1.18, activation energy is 62.58 kJ/mol, and the frequency factor is 2.77 × 1010 min−1.

$$r = kC_{{{\text{TG}}}}^{n} = Ae^{{\left[ { - \frac{{{\text{Ea}}}}{RT}} \right]}} \left[ {C_{{{\text{TG}}}}^{n} } \right] = 2.77 \times 10^{10} e^{{\left[ { - \frac{62.58}{{RT}}} \right]}} C_{{{\text{TG}}}}^{1.18}$$
(13)
Fig. 11
figure 11

1/T versus lnk graph for activation energy determination of canola oil transesterification process

3.3 Fuel composition

The fatty acid composition of the produced biodiesel through the optimisation process is shown in Table 8. From the table, it can be seen that Australian canola oil is mostly composed of methyl ricinoleate, with 88.53 wt% included in the composition. This is followed by 5.58 wt% and 3.85 wt% methyl linoleate and methyl oleate, respectively. A clear difference is observed compared to the FAC reported by Issariyakul and Dalai (2010). The main component of their canola oil biodiesel is methyl oleate which contains 60.92 wt% of this component. Based on the composition, canola biodiesel contains a total of 1.58 wt% saturated FAME component, 92.38 wt% monounsaturated FAME and 6.04 wt% polyunsaturated FAME. Table 9 compares the properties of produced canola biodiesel and diesel. According to the table, canola oil biodiesel has a 21.5% higher cetane number but a 6% lower LHV than diesel fuel.

Table 8 Fatty acid composition of the produced canola biodiesel
Table 9 Comparison of physicochemical properties of canola biodiesel and diesel

4 Discussion

Table 10 summarises the transesterification process parameters (optimal) and kinetic parameters such as activation energy (Ea), frequency factor (A), reaction rate constant (k), and canola oil reaction model based on various research studies. It has been observed that there is a scarcity of transesterification process optimisation and reaction kinetic modelling for the typical batch process with homogeneous alkaline catalysts. Table 10 shows that the methanol-to-oil ratio fluctuates significantly, and the catalyst utilised was both homogeneous and heterogeneous. In general, activation energy (Ea) is the smallest amount of energy held by colliding molecules towards the formation of the product (Mercy Nisha Pauline et al., 2021). In general, a steeper Arrhenius plot indicated greater activation energy of the transesterification process, while a flat slope suggested a low Ea. A higher Ea value indicates a slower reaction rate, which may be countered by adding a catalyst or raising the reaction temperature. Furthermore, increasing the solvent concentration and utilising microwave or ultrasonication to facilitate transesterification may reduce this even further. Also, greater Ea responses fluctuate faster across the same temperature range and are more sensitive to temperature variations.

Table 10 Optimal reaction parameters and kinetics of the transesterification process of oil

5 Conclusions

The study's main objectives were to investigate the optimal reaction parameters for the transesterification process in a conventional reactor and develop the kinetic reaction models for biodiesel production per the optimised process conditions from this oil feedstock. RSM analyses performed optimisation to determine the best possible parametric quantity within the considered range of operating parameters. The Box–Behnken algorithm was used to design the required number of experiments based on 3 factors and 3 levels matrix. A total of 15 reactions were performed according to this algorithm, and all the results were imported to the statistical software Minitab 18.0. In addition, multivariable ANOVA was performed to determine the effectiveness of parameters used in the regression model. Once the optimisation was performed, and the mutual effects of these parameters to the respective process outputs were analysed, these optimised parameters were considered to influence respective process reaction kinetics (i.e., reaction rate constants, reaction order and activation energy, etc.). The optimal process conditions were obtained as methanol to canola oil molar ratio 5.89 M:1 M, KOH catalyst content 0.5 wt% of the canola oil, and reaction temperature of 60 °C for the constant reaction period of 120 min in a batch reactor system. With these conditions, the optimal yield was predicted as 99.5% with a 95% confidence interval (P < 0.991, P < 0.999). The experimental yield obtained was 99.6% as per the optimal conditions. Two different kinetic models were developed either by assuming reaction order or without assuming the reaction order. The activation energy and the frequency factors determined for kinetic models were 75.36974 kJ/mol and 3.05 × 1010 min−1 (for pseudo-first-order homogenous irreversible) and 62.577068 kJ/mol and 2.77 × 1010 min−1 (for pseudo-homogenous irreversible), respectively. This study has comprised an overall experimental and analytical procedure to investigate the biodiesel production processes from canola oil, one of the most popular feedstocks used in biodiesel production. The optimisation study and the kinetic determination can help determine the economic impact of advancing biodiesel production.