Abstract

Continuous power consumption from standard fuel resources is responsible for producing large-scale environmental greenhouse gases. Production of biodiesel fuels from the vegetable oils can be considered an alternative source. Effect of greenhouse gases can also be diminished. The production of biodiesel is done by a chemical process namely transesterification and usually maximized by using the Response Surface Methodology (RSM) tool. This paper presents a new approach to optimize the production of biodiesel by introducing a new variant of recently published metaheuristic Harris Hawk Optimization (HHO). The developed variant is based on the replacement of random numbers of normal distribution at the initialization phase by the random numbers generated from the Laplacian distribution. The proposed variant is named as the Laplacian Harris Hawk Optimization (LHHO) algorithm. The contribution of this paper is in twofold: firstly the performance of the proposed algorithm is verified over a well-known set of benchmark functions, and then, we applied the LHHO to maximize biodiesel production. Comparison of LHHO is carried out with five other recent metaheuristic algorithms. An optimization routine is formulated in the form of a single-objective function with a temperature, methanol to oil ratio, and catalyst concentration as the optimization variables. These parameters are optimized to maximize the production of biodiesel. The results obtained using the proposed LHHO show significant improvement as compared to other algorithms.

1. Introduction

Global warming is a critical issue nowadays with a recognized negative impact on the environment [1, 2]. The issue persists with the growing pollution emitted by industries utilizing fossil fuels. Depletion of fossil fuels and increasing cost of fuels are other issues related to human being as well. To overcome these problems, research is ongoing to search for alternative environmentally friendly fuels or those with less emissions and suitable for internal combustion engines of automobiles. A separate benefit of renewable energy sources is that, besides being sustainable, such sources offer the benefit of not contributing to greenhouse gas (GHG) emissions. Therefore, such energy sources are often referred to as clean energy forms. Clean Air Act Standards (CAAS) [3, 4] and Renewable Fuel Standard (RFS) [5] mandate the two aspects that play a major role in developing renewable fuels from alternative resources. These nonconventional resources have an advantage of unlimited availability and environmental acceptability. In present years, the production of large amount of biodiesel fuel is highly prioritized. In comparison to other fuels, biodiesel is advantageous to the environment because it does not produce any pollution.

The method of transesterification is a chemical reaction used for biodiesel production [6, 7]. The chemical process is shown in Figure 1. A simple flowchart of transesterification process in industries is represented in Figure 2. In this process, an organic group of esters is substituted from an organic group of alcohol. Transesterification is a three-step process in which triglycerides are first converted into diglycerides. Then, as a second step, diglycerides are converted into monoglycerides. In the final step, monoglycerides are converted into glycerol [8]. To convert one mole of triglyceride into diglycerides, three moles of alcohol are needed. However, to drive the process in a forward direction, a higher number of alcohols are needed [9]. By using analogous alkaline catalysts, the transesterification process is catalyzed because in less reaction time, high amount of alkyl ester is produced in this process.

Operating conditions like the reaction temperature, oil/methanol ratio, and quantity of catalyst along with temperature heat remedy used in nature domestic rock, etc. affect the catalyst performance majorly [10]. There are numerous surveys of the alcoholysis of triglycerides using analogous catalysts [1115]. At temperature of 40 to 65°C, analogous catalysts can easily achieve high conversions in less than an hour of reaction. When used safely for the development of biodiesel, for numerous industrial applications, heterogeneous catalysts can be very effective [16, 17]. When a unique ester is rereacted with liquor in the transesterification process, that is known as alcoholysis as shown in Figure 1. Many parameters are incorporated having impact on transesterification such as temperature, vegetable oil, and type of catalyst. Fungal lipases are used as enzymes which are water soluble and catalyze hydrolysis of long-chain triglycerides. They are used to enhance the production of biodiesel because these enzymes increase the speed of reaction time. Mostly four forms of catalysts are included in the biodiesel synthesis. These are free lipases, immobilized lipases, whole cell, and solid enzymatic preparation/fermented solids (SEP) [18, 19]. There are four important parameters by using fungal lipases in biodiesel productions which are as follows: (1)Feedstocks(2)Types of alcohol and alcohol to oil motor ratio(3)Glycerol effect(4)Water content

There is lot to be done to maximize biodiesel production while determining significant conditional parameters for chemical reaction; for that, we are using an optimization technique. Over the years, optimization methods have been used for many problems in the planning, operation, and control of power systems. In this work, a modified version of the Harris Hawk Optimization (HHO) algorithm, namely, Laplacian Harris Hawk Optimization (LHHO), is utilized to find out the optimized values of decision parameters for maximization of biodiesel production. The Harris Hawk Optimization is proposed by Heidari et al. recently and provides better efficiency. There are two phases of this algorithm, namely, exploration and exploitation phase.

This study presents a comparison between HHO and other well-known optimization methods. The major reasons for choosing HHO were its fast convergence rate and the optimality of the 94 outcomes.

With this outset, the paper has contributions in twofold: the first is to propose an efficient variant based on Laplacian probability distribution-based random numbers that are implemented in the initialization phase and verify the performance of the proposed algorithm over conventional 23 minimization problems. The second is to utilize the proposed variant to maximize the production of biodiesel. The research objectives proposed for this work are as follows: (i)To develop a variant of the recently published algorithm HHO on the basis of replacement of the random numbers of the initialization phase to Laplacian numbers(ii)To evaluate the impact of this modification with the application of the proposed variant on conventional benchmark functions and their evaluations on certain defined procedure of standard optimization(iii)To apply a variant on the biodiesel maximization problem and evaluate the performance of the variant in previously reported approaches

1.1. Literature Study

Energy is in high demand from when the industrialization is started. This is because of the development of various machines which always need energy [20]. Biogenic resources are very useful in a spark ignition and compression ignition engine; in the case of spark ignition, ethanol is useful [21], and for compression ignition of the engine, vegetable oils are very useful [22]. The biodiesel term is first ever used in the first report of Belgian patent 422877 [23, 24]. The currently development to produce esters (biodiesel) basically depends on the use of catalytic reaction which is termed as hydrodeoxygenation from biogenic resources [25, 26]. There are many catalysts, and their responses to chemistry are reviewed in [27, 28]. There are many catalysts such as enzymatic catalysts [7, 29, 30], whole cell catalyst [19], ionic liquids [31], and dolomite [16]. The main objective in [16] is to maximize the biodiesel production by using several parameters in the transesterification of ethanol with soybean oil. Several parameters included are catalyst concentration, vegetable oil molar ratio, and temperature. These all three parameters affect the transesterification process.

Experimental results are available in literature. Hence, for analytical studies, we have taken these results, where a heterogeneous catalyst dolomite is used for the transesterification process [16, 32]. For biodiesel production, this catalyst is ecologically suitable and it has low cost and high basicity.

More recently, a tsunami of applications of metaheuristic algorithms in real-world problems are observed. Some of good examples of these approaches are in every domain such as computer science in evolutionary data clustering [33], protein structure prediction [34, 35], and Model Order Reduction (MOR) [36]. An approach based on grey wolf optimizer and support vector machine has been reported in prediction of ambient air quality [37]. These applications are powerful witnesses of the applicability of the contemporary metaheuristics for solving difficult problems.

1.2. Research Gap and Motivation

As the fuel utility in an optimal manner is the key issue these days, being an alternative to the fossil fuel, production of biodiesel is the requirement of the present scenario. Though the chemical reaction known as transesterification is used to produce biodiesel, there are limitations to determine optimal decision parameters to maximize biodiesel as it requires manual experiments each time for biodiesel production. So, there is lot to be done to maximize biodiesel production while determining significant conditional parameters for chemical reaction. To address this gap, a different optimization approach using the modified version of the Harris Hawk Optimization (HHO) algorithm, namely, Laplacian Harris Hawk Optimization (LHHO), is utilized in this paper to find out the optimized values of decision parameters for maximization of biodiesel production.

The remaining paper is organized as follows: Section 2 represents the problem formulation for biodiesel production. Section 3 depicts this problem as an optimization problem. Section 4 exhibits the conceptual description of the original as well as proposed method of optimization. Section 5 shows the results and analysis of over 23 benchmark functions and biodiesel problem. Section 6 represents conclusions.

2. Problem Formulation

As per [32], the optimization problem of biodiesel is designed as a nonlinear optimization problem. In this problem, there are three decision variables which are the reaction temperature, the concentration of catalyst, and the methanol/oil molar ratio as described in Table 1. In this table, independent variables are depicted in the first column which are used in the optimization process, and the second column demonstrates their lower bounds. The third and fourth columns depict the average bound and upper bound. A second-order polynomial regression equation is produced by three independent variables, and one response variable is modelled as a function of independent variables to yield methyl ester as the biodiesel fuel. The equation can be defined as [32]

where shows the yield of methyl ester, is the constant, is the linear coefficients, is the quadratic coefficients, and is the iterative coefficients.

There are three main parameters with a major effect on the efficiency of biodiesel production. These parameters are, namely, temperature (), methanol to oil ratio (), and concentration of catalyst (). The regression equation to form methyl ester from three independent variables is defined as

3. Optimization of Biodiesel Production

A proposed nature-inspired algorithm named as the Laplacian Harris Hawk Optimization (LHHO) is used in the optimization of biodiesel production instead of the well-known transesterification process. Three independent variables are optimized by this algorithm such that the biodiesel production is maximized. The objective function which is used in this algorithm is shown as and the constraints are

4. Method of Optimization: Harris Hawk Optimization (HHO)

The HHO algorithm is proposed by Heidari et al. [38] which is a nature-inspired algorithm. Harris hawks’ cooperative behaviour, surprise pounce, and pursuing technique served as inspiration for this algorithm. Two phases are demonstrated in this algorithm in Figure 3, which are exploration and exploitation phases. Some recent applications of HHO and its variant in estimating solar panel parameters can be seen in References.

4.1. Exploration Phase

This section explains the exploration mechanism. Generally, Harris hawks have far-sighted eyes, by that, they detect and spoor the prey. But normally, it is very tough to see prey easily. For that, hawks hold back, observe, and monitor after that attack on the prey. Here, in this algorithm, candidate solutions are Harris hawks, and the optimal solution is considered in each step near to the optimum position. The mathematical representation of the exploration phase is shown as

where is the upcoming iteration, is the position of hawks, and is the position of the rabbit. The present position of hawks is , and , , , , and are the random numbers in the range of 0 to 1. The average position of hawks is described as where is the location of each hawk in iteration and the total number of hawks is denoted by .

4.2. Exploration to Exploitation Transition

On the basis of prey’s escaping energy working, the exploratory phase can be converted to the exploitative phase and that can switch between varieties of exploitative behaviour. The energy of prey decreases significantly during the fleeing behaviour. To demonstrate this, the energy of prey is calculated as follows: where indicates the prey’s escaping energy, while the preliminary condition of energy is shown by and the maximum number of iterations are denoted as .

4.3. Exploitation Phase

This section described the surprise methods to attack on the prey in actual situations. In the exploration phase, prey tries to run away from the perilous location. Hence, this part shows the various chasing techniques of prey in an actual scenario. There are four methods of the exploitation phase as follows: (1)Soft besiege(2)Hard besiege(3)Soft besiege with progressive rapid dives(4)Hard besiege with progressive rapid dives

4.4. Laplacian Harris Hawk Optimization (LHHO)

In this section, we propose a new variant of HHO that is known as the Laplacian Harris Hawk Optimizer (LHHO). In LHHO, variant random numbers are replaced by Laplacian numbers. In recent approaches, the reported Laplacian random number generator is applied by that output of the function which is a matrix with a mean value of 0 and standard deviation of 1.

By using normal distribution and Laplace distribution, random numbers are generated for 1000 iterations as shown in Figure 4. It can be seen from this figure that the Laplacian distributed random numbers explore more region of the search space as compared to normally distributed random numbers guaranteeing that these random numbers are more likely to determine new candidate solutions not explored yet. So, this procedure assures an enhanced diversity of search space and is less prone to be stagnant at local optima and will in general move towards the global optima. So, the improved random numbers using the Laplace distribution as utilized in [39] can be defined as shown in

The probability density function (PDF) is defined as the conventional Laplace probability distribution (LPD), and LPD is denoted by .

The Laplace distribution function is given as where shows the location and determines the scale parameters. In between the range of , function is increasing, and between the range of , it is decreasing with mode .

5. Result and Analysis

In this section, the maximization process is solved by six different recently published algorithms that are Ant Lion Optimizer (ALO) [40], grey wolf optimizer (GWO) [41], Harris Hawk Optimization (HHO) [38], sine cosine algorithm (SCA) [42], whale optimization algorithm (WOA) [43], and Laplacian Harris Hawk Optimization (LHHO). For application of any metaheuristic algorithm on a real problem, it requires performance analysis of the algorithm on some known conventional mathematical functions. This process is known as benchmarking of the algorithm. The process is inevitable due to the fact that real problems do not contain any relevant information about minima. On the other hand, standard conventional benchmark functions possess the characteristics that are prior known to the designer. This information can be in the form of location of global minima, number of local minima, and shape. To deal with this, uncertainty exists in real applications; it is necessary to check the proposed variant on known functions; in other words, prior benchmarking is extremely important and required. With this outset, in the next section, the results of benchmarking of LHHO are presented.

5.1. Results on Conventional Benchmark Functions

It is empirical to state that often modifications are suggested in algorithms to support real applications. As per no free lunch theorem, one cannot categorize any particular algorithm for all real applications [44]. On the other hand, performance of algorithms is sometimes problem specific.

To test the proposed variant, we choose the bench of 23 standard benchmark functions that are already defined in HHO [38, 45]. The shapes of these functions are simulated and given in Figures 57 for unimodal, multimodal, and fixed dimension functions, respectively. The following are key observations when analyzing the results of applying LHHO: (i)Comparing all algorithms, LHHO obtained 12 optimal mean values and 14 optimal standard values out of 23 standard functions. The comparison of mean and standard deviation values is presented in Tables 2 and 3, respectively, for all 23 benchmark functions. From these tables, it is evident that the proposed variant shows competitive performance as compared to contemporary bioinspired optimizers(ii)The convergence curves of benchmark functions are shown in Figure 8. From this figure, it can also be judged that LHHO shows a superior convergence property over other algorithms. Functions 3, 7, 8, 9, 10, 11, 12, 17, and 18 are chosen to showcase the superiority of LHHO over the competitor algorithms(iii)To show the efficacy of the proposed modification, a trajectory curve analysis is also simulated. The trajectory curve for the first variable of the biodiesel problem is depicted in Figure 9. From the figure, it can be concluded that the trajectory curve is more stable for LHHO over the parent algorithm. That is the indicator of a balanced exploration and exploitation process. Hence, it can be concluded that the proposed modification establishes a fair balance between exploration and exploitation processes of HHO

5.2. Results of Biodiesel Process Optimization

In the second stage of optimization, all algorithms are applied for solving the maximization process of biodiesel production. For making a fair comparison of all algorithms, authors run all the algorithms autonomously for 30 times with the population size of 40, and the maximum number of iterations is 500. All algorithms are initialized in such a manner that three independent variables , xb, and are corresponding with the three-dimensional vector, respectively. Equations (4), (5), and (6) show the lower bound and upper bound values of all three parameters.

It is evident from Figure 9 that better convergence rate is exhibited by LHHO. In Table 4, the values of min, max, mean, and standard deviation parameters for the methyl ester yield are presented. Mostly for the maximization process of biodiesel, mean values of HHO, WOA, and LHHO are the same, but standard deviation values of LHHO are minimum which demonstrates that the maximum number of data is clustered closely around the mean values for LHHO. Other algorithms have higher standard values than LHHO, so their data are not close to mean values. From this observation, it is clear that optimization properties of LHHO are substantially enhanced with the proposed modification.

Statistical significance of this problem is conducted as per [16, 32]; in accordance with the -test, LHHO has 95% of significance level. With the comparison of HHO and WOA, the value of is 100.00. With ALO, SCA, and GWO, this -value is 118.12, 127.21, and 100.24, respectively, with the comparison of LHHO. The value is which is significantly very low for LHHO. value shows the marginal significance, representing the level of appearance probability, of a given event in a statistical hypothesis test. Table 5 shows the values of all three variables and the optimum values of the methyl ester yield of different optimization techniques.

6. Conclusion

Maximization of biodiesel production problem has been addressed in this paper. The problem contains three independent variables: temperature, catalyst, and methanol/oil ratio that affect the production of biodiesel. To solve this optimization problem, a new variant of HHO has been proposed. First, the variant is tested over standard benchmark problems. After the validation of the improved performance, it is applied on biodiesel production. A fair comparison of different contemporary optimizers has been carried out on standard and biodiesel problems. The following conclusions can be drawn from this work: (i)A variant based on the Laplacian random number initialization has been proposed and named as LHHO. Random numbers with normal probability had been replaced by Laplacian distribution probability in the initialization phase. To judge the implications of this modification, several standard benchmark functions are solved(ii)LHHO had been tested over conventional benchmark functions. Different statistical results along with convergence property analysis have been presented. These analyses revealed that the proposed variant outperforms the HHO and some of the contemporary optimizers(iii)After benchmarking of the proposed LHHO, a real application of LHHO in maximization of biodiesel production has been reported. The regression algorithm depicted relationship between the three variables: temperature (), methanol/vegetable oil ratio (), and catalyst concentration (). This relationship has been successfully optimized by the LHHO algorithm. The optimal output of biodiesel obtained by this algorithm is 96.8199% at parameter values of 65°C temperature, 12.4245 methanol to oil ratio, and 1.0435% () catalyst concentration which is higher than that of other algorithms. From these results, it can be concluded that LHHO can be a preferred choice of a biodiesel manufacturer for obtaining higher profits(iv)The statistical significance with the -test showed the predictability of the model, and the less values are advocate the feasibility of the proposed version in comparison to other algorithms

Development of new variants for optimizing the process of obtaining biodiesel from nonconventional sources lays in the future scope of this work. As per the optimization capacity of LHHO, it will be very interesting to judge the performance of LHHO on many challenging problems of numerical and stochastic optimization.

Data Availability

No data collection was used. We proposed an algorithm, and that will be available on request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.