Cleaner Biofuel Production via Process Parametric Optimization of Nonedible Feedstock in a Membrane Reactor Using a Titania-Based Heterogeneous Nanocatalyst: An Aid to Sustainable Energy Development

Membrane technology has been embraced as a feasible and suitable substitute for conventional time- and energy-intensive biodiesel synthesis processes. It is ecofriendly, easier to run and regulate, and requires less energy than conventional approaches, with excellent stability. Therefore, the present study involved the synthesis and application of a highly reactive and recyclable Titania-based heterogeneous nanocatalyst (TiO2) for biodiesel production from nonedible Azadhiracta indica seed oil via a membrane reactor, since Azadhiracta indica is easily and widely accessible and has a rich oil content (39% w/w). The high free fatty acids content (6.52 mg/g KOH) of the nonedible oil was decreased to less than 1% via two-step esterification. Following the esterification, transesterification was performed using a heterogeneous TiO2 nanocatalyst under optimum conditions, such as a 9:1 methanol–oil molar ratio, 90 °C reaction temperature, 2 wt.% catalyst loading, and an agitation rate of 600 rpm, and the biodiesel yield was optimized through response surface methodology (RSM). Azadhiracta indica seed oil contains 68.98% unsaturated (61.01% oleic acid, 8.97% linoleic acid) and 31.02% saturated fatty acids (15.91% palmitic acid, 15.11% stearic acid). These fatty acids transformed into respective methyl esters, with a total yield up to 95% achieved. The biodiesel was analyzed via advanced characterization techniques like gas chromatography–mass spectrometry (GC-MS), Fourier transform infrared spectroscopy (FT-IR), and nuclear magnetic resonance (NMR), whereas the catalyst was characterized via X-ray diffraction (XRD), scanning electron microscopy (SEM), energy-dispersive X-ray (EDX), and Fourier transform infrared spectroscopy (FT-IR). Due to its physicochemical properties, Azadirachta indica seed oil is a highly recommended feedstock for biodiesel production. Moreover, it is concluded that the Titania-based heterogeneous nanocatalyst (TiO2) is effective for high-quality liquid fuel synthesis from nonedible Azadirachta indica seed oil in a membrane reactor, which could be an optional green route to cleaner production of bioenergy, eventually leading to sustenance, robustness, and resilience that will aid in developing a holistic framework for integrated waste management.


Introduction
The rapid depletion of oil reserves, petroleum price hikes, and the adversarial effects of fossil fuel resources on the environment are the key factors that lead to the pursuit of a replacement energy source.Biofuels, particularly biodiesel, are an attractive renewable source of energy that is produced from biomass using a different extraction or conversion process [1,2].Biodiesel, owing to its nontoxic nature, with lower levels of carbon monoxide, sulfur dioxide, and particulate matter pollution, presents a viable substitute for petroleum diesel [3].Biodiesel production utilizes a variety of feedstock such as vegetable oil, animal fat, waste cooking oil, algal oil, grease, etc.Researchers have developed various procedures in search of a more sustainable and effective method for biodiesel production [4].Conventional methods involve the reaction between triglycerides in oil or fat and methanol in the presence of a homogeneous base catalyst, primarily NaOH or KOH.The drawbacks of using homogeneous catalysts include saponification and challenges in their recovery.Furthermore, water is used in this method for biodiesel purification, which results in an increased production cost.The economic viability and profitability of biodiesel production through homogeneous catalysts are especially lower when compared with the total expenses of biodiesel production from fossil fuels [5].Therefore, it becomes essential to explore an alternative way that offers clean burning, increased efficiency, and environmentally friendly operations with reduced corrosive properties.This approach should also ensure the easy recovery of the catalyst from the end product, i.e., biodiesel [6,7].
In this context, the heterogeneous catalysis facilitated by a membrane reactor emerges as a viable solution to address the challenges posed by the homogeneous process.Heterogeneous catalysts encompass acids, bases, bifunctional catalysts, ion exchange resins, hydrotalcites, and biocatalysts.Specifically, heterogeneous catalysts include metal oxides of alkali metals, alkaline earth metals, and transition metals.Some examples of these metal oxides are CaO, MgO, CdO, Ag 2 O, ZnO, BaO, CoO, ZrO, CuO, and NiO, which have been utilized as a catalyst in the biodiesel synthesis process with high conversion yields [8].Among these metal oxides, titanium dioxide (TiO 2 ) stands out as a versatile and cost-effective catalyst with various applications, including petrochemical and petroleum refining [9].Sulfated TiO 2 , in particular, serves as a solid superacidic catalyst with enhanced performance due to its high acid strength and Brönsted acidity, reducing the catalytic deactivation.[Ti(SO 4 )O], a novel solid acid nanocatalyst developed by Hassanpour et al. for petrochemical conversion and petroleum refining, was shown to be able to achieve a 97.1% yield of fatty acid methyl esters (FAMEs) from used cooking oil (UCO) under a reaction time of 3 h, a catalyst-UCO ratio of 1.5 wt.%, and a 9:1 methanol-UCO ratio at a 75 • C reaction temperature, and the biodiesel satisfied the ASTM D6751 and EN 14214 standards [10].Oprescu et al. reported another source for biodiesel production, i.e., microalgae oil feedstock and an amphiphilic SO 4 2− /TiO 2 -ZrO 2 superacid catalyst along with the transesterification over KOH.Wang et al. used SO 4 2− /TiO 2 -SiO 2 as a solid acid catalyst for the simultaneous esterification and transesterification of low-cost feedstocks with a high FFA content such as the waste cooking oil (WCO) catalyzed using a solid acid catalyst SO4 2− /TiO 2 /La 3+ and up to 96% yield was achieved [11].Viswanathan et al. synthesized sulfated Fe 2 O 3 /TiO 2 (SFT) through calcination at different temperatures (300-900 • C) with over 90% conversion [12].Afolabi et al. investigated the catalytic characteristics of a mixed metal oxide TiO 2 -supported ZnO catalyst for the conversion of waste cooking oil into biodiesel in the presence of methanol and hexane as cosolvent (1:1); this approach led to a 91.3% yield [13]. Wen et al. converted waste cooking oil into biodiesel using mixed oxides of MgOTiO 2 (MT) synthesized via the sol gel technique to achieve a 92.3% yield [14].Kawashima et al. [15] performed transesterification of rapeseed oil using heterogeneous base catalyst; a 90% methyl ester yield was obtained.Baroutian et al. [16] used a TiO 2 /Al 2 O 3 membrane reactor for biodiesel production and investigated the effect of reaction temperature, catalyst concentration, and cross-flow circulation velocity.Biodiesel was produced from palm oil using alkali catalyst in a ceramic membrane reactor with 1.12 wt.% catalyst concentration, at 70 • C reaction temperature and a cross-flow circulation velocity of 0.211 cms −1 ; a biodiesel yield of 95.1% was achieved.Biodiesel production in a membrane reactor has several advantages.Membrane reactors provide higher reaction rates with faster conversion of feedstock into the biodiesel through the optimization of the reaction conditions.This alternative method allows easy catalyst recovery and recycling.The controlled environment of a membrane reactor promotes the selective process, reduces the formation of undesirable byproducts, enables simultaneous reaction and separation thus facilitates the continuous removal of biodiesel from the reaction mixture.It prevents reverse reactions, thus improving the purity of the biodiesel.Moreover, the product separation that occurs during the process shifts the equilibrium forward, i.e., towards the biodiesel synthesis [17].Membrane reactors have a smaller unit as compared to the conventional reactors and separation units; making them suitable for small-scale biodiesel production.They contribute to process intensification through improving the reaction kinetics and reducing the mass transfer limitations for higher production rates within the same system.Membrane reactors can process a wide range of feedstocks, including low-quality oils with high free fatty acid content for biodiesel production [18].Higher conversion rates with low waste makes the biodiesel synthesis process more ecofriendly.The use of membrane reactors for biodiesel synthesis drives ongoing research and innovation, resulting in the development of more efficient catalysts, membranes, and process designs [19].Figure 1 shows the schematic representation of biodiesel synthesis in membrane reactor.
Membranes 2023, 13, 889 FOR PEER REVIEW 3 of 24 sulfated Fe2O3/TiO2 (SFT) through calcination at different temperatures (300-900 °C) with over 90% conversion [12].Afolabi et al. investigated the catalytic characteristics of a mixed metal oxide TiO2-supported ZnO catalyst for the conversion of waste cooking oil into biodiesel in the presence of methanol and hexane as cosolvent (1:1); this approach led to a 91.3% yield [13]. Wen et al. converted waste cooking oil into biodiesel using mixed oxides of MgOTiO2 (MT) synthesized via the sol gel technique to achieve a 92.3% yield [14].Kawashima et al. [15] performed transesterification of rapeseed oil using heterogeneous base catalyst; a 90% methyl ester yield was obtained.Baroutian et al. [16] used a TiO2/Al2O3 membrane reactor for biodiesel production and investigated the effect of reaction temperature, catalyst concentration, and cross-flow circulation velocity.Biodiesel was produced from palm oil using alkali catalyst in a ceramic membrane reactor with 1.12 wt.% catalyst concentration, at 70 °C reaction temperature and a cross-flow circulation velocity of 0.211 cms −1 ; a biodiesel yield of 95.1% was achieved.Biodiesel production in a membrane reactor has several advantages.Membrane reactors provide higher reaction rates with faster conversion of feedstock into the biodiesel through the optimization of the reaction conditions.This alternative method allows easy catalyst recovery and recycling.The controlled environment of a membrane reactor promotes the selective process, reduces the formation of undesirable byproducts, enables simultaneous reaction and separation thus facilitates the continuous removal of biodiesel from the reaction mixture.It prevents reverse reactions, thus improving the purity of the biodiesel.Moreover, the product separation that occurs during the process shifts the equilibrium forward, i.e., towards the biodiesel synthesis [17].Membrane reactors have a smaller unit as compared to the conventional reactors and separation units; making them suitable for small-scale biodiesel production.They contribute to process intensification through improving the reaction kinetics and reducing the mass transfer limitations for higher production rates within the same system.Membrane reactors can process a wide range of feedstocks, including low-quality oils with high free fatty acid content for biodiesel production [18].Higher conversion rates with low waste makes the biodiesel synthesis process more ecofriendly.The use of membrane reactors for biodiesel synthesis drives ongoing research and innovation, resulting in the development of more efficient catalysts, membranes, and process designs [19].Figure 1 shows the schematic representation of biodiesel synthesis in membrane reactor.Figure 1 elaborates that the feedstock is fed into the membrane reactor, where the reaction and separation occur simultaneously.This integration reduces the need for additional washing and recycling limitations because of the improved contact between the reactants inside the membrane-catalyst interface, leading to high conversion, p [21].The application of enhanced membrane technologies in wastewater treatment and filtration processes has been extensively investigated in a number of research projects.This study is explained by these technologies' capacity to separate different components inside a single process unit, especially in relation to molecular size [20].This method eliminates the need for water during the whole process by combining the simultaneous reaction and component separation into a single process stream.Membrane reactors demonstrate their ability to achieve selectivity by allowing only molecules with smaller molecular sizes to pass through while keeping molecules with larger molecular sizes intact [22].Additionally, this process improves the interaction between the solid catalyst and the insoluble feedstock (oil), which yields the best possible production yield [23,24].Because water resources can be scarce, synthesizing biodiesel using membrane technologies has the added benefit of saving water, as it does not require further purification or wastewater treatment.Additionally, this shift improves the environmental friendliness of the approach by reducing pollution [25].An earlier investigation used palm oil as the feedstock and KOH as the reaction catalyst, but it was unable to sufficiently address the problems of selectivity and the presence of undesirable products like glycerin in the final product stream [26].
Moreover, the refinement procedure plays a central role in improving the efficacy of biodiesel production.Generally, biodiesel production methods involve the optimization of specific reaction variables, which results in time and cost ineffectiveness.This method has passed over the intricate interactions between independent parameters and their complete influence on the production process.On the other hand, the application of response surface methodology (RSM) offers a multidimensional view by analyzing the interaction of reaction variables through statistical techniques.The experimental design using RSM can accurately predict the reactions under various transesterification conditions, making it highly valuable for large-scale biodiesel production.
In the current study, Azadirachta indica (Neem) was selected as the feedstock for biodiesel production.Azadirachta indica yields about 40-50 kg of fruits per plant every year.It has a 2.67 ton/ha average seed output at 400 plants per hectare.The seed kernel capacity to produce neem oil ranges from 35 to 45%.The implementation of biofuels as a substitute for conventional fuels has led to a notable transformation in the technological approaches to energy assessment.Specifically, vegetable oils such as Azadirachta indica oil have undergone successful conversions into biodiesel, triggering a significant change in the characteristics of the fuel produced [27].Physicochemical analyses of biodiesel reveal striking resemblance to regular petrodiesel.However, the primary challenge faced in the production of Azadirachta indica biodiesel (AIBD) is the struggle to lower the production costs to a level at which it can competitively coexist with conventional diesel fuel [24,25,28].
To the best of our knowledge, there has been relatively little research on the catalytic function of TiO 2 nanoparticles in biodiesel production from Azadirachta indica seed oil in a membrane reactor.The main objective of this study was to prepare a high-quality biodiesel in a membrane reactor using a Titania-based nanocatalyst.The novel contribution of this study lies in its innovative membrane reactor engineering design.This design incorporates a micro-filtrated membrane with an exceptionally small pore size, supported by a Titania nanocatalyst to enhance the surface reaction interfaces.This configuration ensures an effective retention of free glycerol and unreacted oil in the reaction medium, where these components undergo decomposition and molecular restructuring into biodiesel and methanol at the membrane filtration junction.The impregnation of Titania nanocatalysts into the membrane matrix not only increases the reactive surface but also narrows the filtration membrane pores, resulting in a synergistic mechanism for high-quality biodiesel production.

Oil Determination and Extraction
Solvent extraction or leaching is a process by which a chemical constituent is removed from a sample by means of an organic solvent [29].In this study, Soxhlet apparatus was used for the detection of the oil content in Azadirachta indica seeds.Seeds were oven-dried at 55 • C for one night and crushed into a fine powder (5 g).Then, 250 mL of n-Hexane was poured into a round-bottomed flask in the Soxhlet apparatus.A thimble containing seed powder (5 g) was inserted in the center of the apparatus.As the solvent in the roundbottomed flask heated up to 60 • C, it boiled and vaporized through the condenser fitted at the top; then, the condensed solvent dripped into the thimble which held the powdered sample to be extracted.The extract leached down through the pores of the thimble and filled the siphon tube, where it flowed down into the round-bottomed flask.Oil droplets were clearly visible in the round-bottomed flask and the solvent was repeatedly recovered and reused.This process was allowed to continue for 6 h.The resulting wet sample in the thimble was kept in the oven.When the solvent evaporated and the sample had completely dried, it was weighed.The weight of the sample was determined to enable us to calculate the amount of oil that had been extracted.The reduction in the weight of the sample was attributed to the extraction of the oil from it [30,31].
For mechanical extraction, an electric oil expeller (KEK P0015, 10127, Remscheid, Germany) was used to expel oil from the Azadirachta indica seeds (10 kg) and the crude oil was collected in bottles for further processing.After 3-5 turns, the oil was completely expelled, followed by filtration using Whattman filter paper No. 42 (Shanghai, China).

Free Fatty Acid Content
An aqueous acid-based titration process was performed to determine the FFA content of the Azadirachta indica seed oil.For blank titration, potassium hydroxide (0.025 M) was slowly poured into 10 mL of isopropanol in the presence of phenolphthalein as an indicator.Then, a sample titration process was carried out using a known quantity of seed oil.FFA was calculated using Equation (1) [32]: A = volume used in sample titration; B = volume of KOH used in blank titration; C = conc. of KOH; V = weight of oil used (g) in sample titration.

Catalyst Synthesis
The catalyst synthesis involved titanium isopropoxide (C 12 H 28 O 4 Ti) and isopropanol.Through uniform agitation, titanium isopropoxide (5mL) was gradually added to the isopropanol (15 mL) at 40 • C and stirred for 20 min.Then, polyvinylpyrroliperformed (0.1 g) was added along with the distilled water (10 cc).Nitric acid (HNO 3 ) was used to maintain its pH, which resulted in the appearance of white precipitates of Ti(OH) 4 .Ti(OH) 4 was separated through spinning, and different contaminants were continuously eliminated through soaking the Ti(OH) 4 in purified water.The purified precipitates were allowed to dry in an oven at 80 • C for 24 h.The desiccated and a finely ground Ti(OH) 4 transformed into titanium dioxide upon calcination at 570 • C for 3 h.Ti(OH) 4 underwent a significant transition into titanium dioxide at temperatures above 400 • C [33].

Catalyst Characterization
X-ray diffraction (XRD) was used to identify the crystallographic arrangement of the titanium dioxide nanocatalyst.XRD analysis was performed on a copper-equipped diffractometer (40 kV) using a current voltage of 35 mA.The sample was analyzed over a 2θ scale range of 30-80 • with scanning rate of 0.5 • /min [34].
The comprehensive morphological structure of the nanocatalyst was identified using scanning electron microscopy (SEM).For SEM analysis, a drop of TiO 2 nanocatalyst suspension was poured on an SEM grid.SEM was performed following gold sputtering (JOEL-JSM-5910, Peabody, MA, USA).An energy-dispersive X-ray spectrum in the range of 0-1350 eV was used to investigate the sample composition and to perform an elemental analysis of the TiO 2 nanocatalyst [35,36].
Fourier transform infrared spectroscopy (FT-IR) was performed using a Bruker-Tensor (Billerica, MA, USA) 27 in a range of 400-4000 cm −1 .The resolutions of the scans for analyses were 1 cm −1 and 15 cm −1 ; these were used to examine the functional groups in the Azadirachta indica methyl esters [37].

Acid Esterification
Azadirachta indica seed oil was subjected to acid esterification to lower the high FFA content.The pretreatment was performed at 50 • C for 1 h with an acid catalyst (1% w/w H 2 SO 4 ) and the mixture was left to settle for 2 h, resulting in the formation of two layers which were separated from each other; a layer of oil was processed for the next step, i.e., transesterification [5].

Membrane Reactor Design
A membrane reactor with a titanium dioxide/aluminum oxide membrane, with the tubular element being enclosed in PVC (Atech Innovations, Gladbeck, Germany), was used to perform an effective conversion of Azadhiracta indica seed oil into biodiesel.To ensure that the membrane had an entrance and an exit, sieve plates (154 µm) were integrated into the membrane itself.The specific dimensions of the reactor were 42 cm length, 1.7 cm internal diameter, 2.55 cm exterior diameter, and 0.0211 m 2 of the filtration surface area.A pore size of approximately 0.043 µm was adopted for the retention of the oil molecules within the membrane to achieve a high biodiesel yield.The raw material was then injected into the membrane reactor where the reaction and separation simultaneously occur as an integrated process, eliminating the need for additional washing or recycling constraints.This results in a higher conversion of the feedstock into biodiesel due to increased contact among the reactants in the membrane-catalyst interphase.

Transesterification
Azadhiracta indica seed oil and a mixture of methanol and the Titania-based heterogeneous catalyst were charged into the system using two raw material pumps.A third pump (circulating pump) was used to continually charge the reactor with the methanol/TiO 2 mixture.Then, it was 'turned on' to heat up the reactant; meanwhile, Azadhiracta indica seed oil was added to the reactor.Two pressure gauges were used to maintain the pressure inside the membrane.In a round-bottomed flask (a part of the methanol-recovery unit), a permeating stream containing biodiesel, glycerol, methanol, and titanium dioxide was collected.To reduce consumption, the methanol-one of the transesterification reactants with a lower boiling point-was evaporated, distilled, and then added back into the system.After an hour, the circulating pump and heat exchanger were switched off and the products were transferred into a separating funnel to separate the biodiesel from the glycerol byproduct [38].
Methanol molecules, due to their small molecular size, are able to pass through the membrane along with biodiesel and glycerol.Methanol must be recycled and added back into the transesterification process because it is a crucial reactant.The overall methanol-oil ratio is reduced through recycling the methanol from the permeating stream.To reduce consumption, methanol, which has a lower boiling point, was continuously evaporated, distilled, and reintroduced into the system.A Leibig condenser, a three-neck roundbottomed flask, an oil bath, and a thermometer are the basic components of a distillation unit that is called a methanol-recovery unit.In the three-neck round-bottomed flask, the permeating stream, containing biodiesel, methanol, and glycerol, was collected.The high temperature of the oil bath leads to immediate methanol evaporation.The excess methanol was removed from the biodiesel layer through evaporation.
The pure biodiesel was further analyzed using GC-MS, FT-IR, and NMR.The system was flushed with pure ethanol for 30 min and then drained after each run.Because of the excellent chemical and thermal stability of the membrane, no real evidence of change in its performance was observed after almost one year of operation and contact with the methanol and base solution [38][39][40].Figure 2 shows a membrane reactor designed for biodiesel production.
permeating stream, containing biodiesel, methanol, and glycerol, was collected.The high temperature of the oil bath leads to immediate methanol evaporation.The excess methanol was removed from the biodiesel layer through evaporation.
The pure biodiesel was further analyzed using GC-MS, FT-IR, and NMR.The system was flushed with pure ethanol for 30 min and then drained after each run.Because of the excellent chemical and thermal stability of the membrane, no real evidence of change in its performance was observed after almost one year of operation and contact with the methanol and base solution [38][39][40].Figure 2 shows a membrane reactor designed for biodiesel production.The optimization of the biodiesel synthesis process using Azadhiracta indica seed oil as feedstock within a fixed-bed membrane reactor was conducted in alignment with the established framework and input criteria.

Optimization Study and Design of Experiment
Using design expert-13 from stat-ease Inc., Minneapolis, Minnesota, a response surface methodology (RSM) based on the box Behnken design (BBD) was developed to examine the effects of the various independent variables, such as the methanol-oil molar ratio (Met/Oil), the catalyst concentration, the reaction time, and the reaction temperature.Four parameters with maximum and minimum value ranges endured thirty trials with a Met/Oil of 3:1-15:1, a reaction time of 60-360 min, a catalyst concentration of 0.5-3.5 wt.%, and a reaction temperature of 60-120 °C.

Biodiesel Characterization
By means of a 300 MHz spectrometer (Avan CE) with BBO (5 mm) probes (7.05 T), deuterated chloroform CDCl3 was used as a solvent and tetramethyl silane TMS was used as an internal standard; the process was performed at 25 °C, with a 300-pulse duration, 8 scans, and a second recycle delay.Accordingly, the 1 HNMR and 13 CNMR spectra of the Azadhiracta indica biodiesel were obtained [41].The percentage conversion of triglycerides into methyl esters was found using the following Equation (3): The optimization of the biodiesel synthesis process using Azadhiracta indica seed oil as feedstock within a fixed-bed membrane reactor was conducted in alignment with the established framework and input criteria.

Optimization Study and Design of Experiment
Using design expert-13 from stat-ease Inc., Minneapolis, Minnesota, a response surface methodology (RSM) based on the box Behnken design (BBD) was developed to examine the effects of the various independent variables, such as the methanol-oil molar ratio (Met/Oil), the catalyst concentration, the reaction time, and the reaction temperature.Four parameters with maximum and minimum value ranges endured thirty trials with a Met/Oil of 3:1-15:1, a reaction time of 60-360 min, a catalyst concentration of 0.5-3.5 wt.%, and a reaction temperature of 60-120 • C.

Biodiesel Characterization
By means of a 300 MHz spectrometer (Avan CE) with BBO (5 mm) probes (7.05 T), deuterated chloroform CDCl 3 was used as a solvent and tetramethyl silane TMS was used as an internal standard; the process was performed at 25 • C, with a 300-pulse duration, 8 scans, and a second recycle delay.Accordingly, the 1 HNMR and 13 CNMR spectra of the Azadhiracta indica biodiesel were obtained [41].The percentage conversion of triglycerides into methyl esters was found using the following Equation (3): C = oil conversion into methyl esters; AMe = integration position of −OCH 3 ; ACH 2 = position of integration of α -CH 2 .
The FT-IR spectrometer (bruker-tensor 27) was used to obtain the infrared spectrum, using a scan rate of 15 at 1 cm −1 and an effective wavelength of 4000-400 cm −1 [42].
Gas chromatography-mass spectrometry (GC-MS) (DB-5MS-Agilent, 0.25 mm column, 30-0.32 mm) was used to detect the existence of various methyl esters [43,44].Addition-ally, helium was used as a carrier gas for the 120-300 • C automatic column temperature (10 • C/min).However, the fuel properties were compared according to the international American Standard for Testing Material (ASTM).

Catalyst Characterization
The titanium dioxide nanopowder (TiO 2 ) was characterized using X-ray diffraction analysis to determine its crystalline structure.The XRD pattern showed a rutile configuration and an anatase phase of TiO 2 with strong diffraction peaks at 2θ angles, i. C = oil conversion into methyl esters; AMe = integration position of −OCH3; ACH2 = position of integration of α -CH2.
The FT-IR spectrometer (bruker-tensor 27) was used to obtain the infrared spectrum, using a scan rate of 15 at 1 cm −1 and an effective wavelength of 4000-400 cm −1 [42].
Gas chromatography-mass spectrometry (GC-MS) (DB-5MS-Agilent, 0.25 mm column, 30-0.32 mm) was used to detect the existence of various methyl esters [43,44].Additionally, helium was used as a carrier gas for the 120-300 °C automatic column temperature (10 °C/min).However, the fuel properties were compared according to the international American Standard for Testing Material (ASTM).

Catalyst Characterization
The titanium dioxide nanopowder (TiO2) was characterized using X-ray diffraction analysis to determine its crystalline structure.The XRD pattern showed a rutile configuration and an anatase phase of TiO2 with strong diffraction peaks at 2θ angles, i.e., 25  The average particle size was found to be 42 nm and K is an integer which is given as 0.89.λ is the wavelength of the X-ray radiation (CuK = 0.15 nm).Farbod and Khademalrasool [45] and Salari and Marashi [46] reported average crystalline sizes for TiO2 of 37 nm and 15 nm, respectively, by adopting mechano-chemical syntheses.XRD data of titanium dioxide nanoparticles have been reported in previous publications with consistent findings; these nanoparticles have been successfully used to produce biodiesel from a variety of nonedible feedstocks [47][48][49].The average particle size was calculated using the Debye Scherer equation: where D = crystalline size in nanometer; K = Scherer constant (0.98); λ = wavelength in nanometer (1.54); θ = Braggs angle, β = full width at half maximum (FWHM).The average particle size was found to be 42 nm and K is an integer which is given as 0.89.λ is the wavelength of the X-ray radiation (CuK = 0.15 nm).Farbod and Khademalrasool [45] and Salari and Marashi [46] reported average crystalline sizes for TiO 2 of 37 nm and 15 nm, respectively, by adopting mechano-chemical syntheses.XRD data of titanium dioxide nanoparticles have been reported in previous publications with consistent findings; these nanoparticles have been successfully used to produce biodiesel from a variety of nonedible feedstocks [47][48][49].
SEM analysis of TiO 2 was performed to study the topographies and cross-sections of the nanoparticles [50].The morphological characteristics of the titanium dioxide nanocatalyst were determined using scanning electron microscopy (SEM).The particle size varied between 68.7 nm and 83.4 nm.This corresponds with the value predicted by the Scherer formula considering the pattern.Our results are correlated with those of Haider et al. [51] and Khalil et al. [52], in which spherically shaped TiO 2 nanoparticles were synthesized.SEM analysis of TiO2 was performed to study the topographies and cross-sections of the nanoparticles [50].The morphological characteristics of the titanium dioxide nanocatalyst were determined using scanning electron microscopy (SEM).The particle size varied between 68.7 nm and 83.4 nm.This corresponds with the value predicted by the Scherer formula considering the pattern.Our results are correlated with those of Haider et al. [51] and Khalil et al. [52], in which spherically shaped TiO2 nanoparticles were synthesized.Figure 4 exhibits an SEM micrograph of the sponge-like form of the titanium dioxide with spherical nanoparticles, and the nanoparticle arrangement was found to be uniform.Larger particles were present due to aggregation of smaller ones.The energy-dispersive X-ray spectrum (Figure S1) of the titanium dioxide shows that the catalyst contains two elements: titanium and oxygen (Ti = 76% and O = 24%).Similar The energy-dispersive X-ray spectrum (Figure S1) of the titanium dioxide shows that the catalyst contains two elements: titanium and oxygen (Ti = 76% and O = 24%).Similar results were reported by Qamar et al., 2023 [49], and Mukifza et al., 2017 [53], who reported on the purity of titanium dioxide nanoparticles using EDX.
In several fields, such as organic synthesis, polymer science, petrochemical engineering, pharmaceutical manufacture, and food analysis, FT-IR spectroscopy serves as a remarkably advanced tool for process monitoring, compound identification, and mixture component determination [54,55].In the FT-IR spectra, the weak bands between 3629 cm −1 and 1920 cm −1 were visible and the weakness in the bands was attributed to the absence of any impurity (Figure 5).However, the strong bands at 658 cm −1 and 708 cm −1 clearly indicate the presence of Ti-O-Ti vibrations during the stretching of titanium dioxide nanocrystals.Our results are in close accordance with those of Thakur et al., 2019 [56].
In several fields, such as organic synthesis, polymer science, petrochemical engineering, pharmaceutical manufacture, and food analysis, FT-IR spectroscopy serves as a remarkably advanced tool for process monitoring, compound identification, and mixture component determination [54,55].In the FT-IR spectra, the weak bands between 3629 cm −1 and 1920 cm −1 were visible and the weakness in the bands was attributed to the absence of any impurity (Figure 5).However, the strong bands at 658 cm −1 and 708 cm −1 clearly indicate the presence of Ti-O-Ti vibrations during the stretching of titanium dioxide nanocrystals.Our results are in close accordance with those of Thakur et al., 2019 [56].

Process Parametric Optimization of Transesterification
In this study, a box Bunken design (BBD) was used to construct an experimental matrix including various independent reaction parameters, such as the methanol-oil molar ratio (3:1 to 15:1), the reaction time (60-360 minutes), the catalyst concentration (0.5-3.5 wt.%), and the reaction temperature (60-120 °C), to optimize the biodiesel yield; this was found to range from 43% to 95%.Utilizing advanced multiple regression analysis, a polynomial equation that incorporates the coefficients of the comprehensive regression model was derived, and its statistical significance was confirmed.The quadratic polynomial equation (Equation ( 5)), designed to maximize biodiesel yield (%), is as follows (coded factors: alcohol-oil ratio-A; time of reaction-B; catalyst concentration-C; reaction temperature-D).

Process Parametric Optimization of Transesterification
In this study, a box Bunken design (BBD) was used to construct an experimental matrix including various independent reaction parameters, such as the methanol-oil molar ratio (3:1 to 15:1), the reaction time (60-360 min), the catalyst concentration (0.5-3.5 wt.%), and the reaction temperature (60-120 • C), to optimize the biodiesel yield; this was found to range from 43% to 95%.Utilizing advanced multiple regression analysis, a polynomial equation that incorporates the coefficients of the comprehensive regression model was derived, and its statistical significance was confirmed.The quadratic polynomial equation (Equation ( 5)), designed to maximize biodiesel yield (%), is as follows (coded factors: alcohol-oil ratio-A; time of reaction-B; catalyst concentration-C; reaction temperature-D).
Table 1 displays comprehensive experimental results of the different transesterification optimization reactions.The ANOVA results show a statistical relationship between the biodiesel yield and the influences of the four reaction variables on the yield.The p-value and F-value have been computed to evaluate the significance of the associated coefficient.The model is significant and successfully predicts the biodiesel yield according to the ANOVA results, with a p-value of 0.0485.The probability value is used to express the model significance (less or more than 0.05).The quadratic terms A 2 (Met: Oil) and C 2 catalyst loading were significant, while the B 2 reaction time and the D 2 reaction temperature were insignificant (p-value > 0.05).If these quadratic terms were removed, the model quality might be raised.These quadratic terms are included since they relate to the model hierarchy (Table 2).The significance of the model can be shown by the insignificant lack-of-fit value, that shows it is not identical to pure error and is incomparable to it also [61,62].The straight-line graph in Figure 6 shows the high level of agreement between the experimental trial yields and the expected yields.The actual and predicted yields also showed a strong link in the form of a straight line [63].Figure 7a shows the combined impact of the oil-methanol ratio (A) and the reaction time (B) on the biodiesel yield, while the other factors, such as the catalyst concentration (2%) and the reaction temperature (90 °C) remained constant.The maximum biodiesel yield (95%) was achieved with a 1:9 oil-methanol ratio and a 360 min reaction time.The Figure 7a shows the combined impact of the oil-methanol ratio (A) and the reaction time (B) on the biodiesel yield, while the other factors, such as the catalyst concentration (2%) and the reaction temperature (90 • C) remained constant.The maximum biodiesel yield (95%) was achieved with a 1:9 oil-methanol ratio and a 360 min reaction time.The 3D surface plot clearly shows how raising the oil-methanol molar ratio effectively increases the biodiesel yield.A suitable oil-methanol ratio must be established within a particular time frame to maximize the biodiesel yield.Therefore, the reversible transesterification reaction needs the extra alcohol to maintain the reaction equilibrium towards a higher conversion of triglycerides into their respective FAMEs.The maximum biodiesel yield (95%) was reached with a 1:9 oil-methanol molar ratio and a 360 min run time (run 19).A reduced methanoloil molar ratio (3:1) lowers the FAME yield to 67% under similar reaction conditions (run 4).This outcome could be explained by the extent to which the methanol interacts with the oil.The conversion of triglycerides into their corresponding methyl esters was similarly reduced to 51% when the reaction time was further decreased to 60 min (run 13).Transesterification was remarkably influenced by the reaction temperature.A previous study on biodiesel production from waste edible oil (WCO) and corn kernel oil as feedstock indicated that the reaction time has a significant impact on the final product, i.e., the biodiesel yield.Similar behavior was observed in a study by Olutoye et al., in which the maximum FAME yield was achieved during a longer reaction time [64].
The combined impact of the oil-methanol molar ratio (A) and the catalyst loading (C) A suitable oil-methanol ratio must be established within a particular time frame to maximize the biodiesel yield.Therefore, the reversible transesterification reaction needs the extra alcohol to maintain the reaction equilibrium towards a higher conversion of triglycerides into their respective FAMEs.The maximum biodiesel yield (95%) was reached with a 1:9 oil-methanol molar ratio and a 360 min run time (run 19).A reduced methanoloil molar ratio (3:1) lowers the FAME yield to 67% under similar reaction conditions (run 4).This outcome could be explained by the extent to which the methanol interacts with the oil.The conversion of triglycerides into their corresponding methyl esters was similarly reduced to 51% when the reaction time was further decreased to 60 min (run 13).Transesterification was remarkably influenced by the reaction temperature.A previous study on biodiesel production from waste edible oil (WCO) and corn kernel oil as feedstock indicated that the reaction time has a significant impact on the final product, i.e., the biodiesel yield.Similar behavior was observed in a study by Olutoye et al., in which the maximum FAME yield was achieved during a longer reaction time [64].
The combined impact of the oil-methanol molar ratio (A) and the catalyst loading (C) on the biodiesel yield is depicted in Figure 7b, while other factors, such as reaction time (360 min) and reaction temperature (90 • C), remained constant.The highest biodiesel yield (95%) was attained with 1:9 oil-methanol ratio and a 2 wt.% catalyst loading.The ideal oil-methanol ratio must be established within a given catalyst amount to maximize the biodiesel yield.When the molar ratio was decreased to 1:3 through lowering the catalyst concentration (0.5 wt.%), a sudden fall in biodiesel yield was noticed, i.e., 68% (run 5).Similarly, a drop in biodiesel yield (49%) was noticed when both the molar ratio and the catalyst concentration were increased to the maximum set limits, i.e., 1:15 and 3.5 wt.%, while keeping the other variables at optimal level (run 25).Hence, it was observed that any increase or decrease in either the molar ratio or the catalyst amount resulted in a decline in the FAME yield that could be attributed to the reduced mass transfer and the interaction between the reactant and the catalyst; these led to emulsification, which made the separation process occur.As a result, the biodiesel yield was reduced.
The combined impact of the oil-alcohol molar ratio (A) and the reaction temperature (D) on the biodiesel yield is shown in Figure 7c.The maximum biodiesel yield (95%) was achieved through an increase in temperature of up to 90 • C with a 1:9 oil-methanol molar ratio (Run 19).A decrease in the reaction temperature lowered the yield of the methyl esters in run 16; here, at constant optimum reaction conditions, a decrease in reaction temperature to 60 • C resulted in an 88% biodiesel yield.This is because there was an insufficient activation energy in the reactants to allow them to be converted into their respective products.Inversely, a high temperature beyond the threshold level, i.e., >90 • C (for instance 120 • C), caused the evaporation of alcohol, triggering a reduction in the FAME percentage to 61% (run 20).This is certainly significant because the three-phase thermodynamic transformation requires a sufficient quantity of energy (heat) to overcome the dispersed effect of molecules throughout the catalytic solvent and oily interfaces.
Catarino et al. [65] used calcium diglyceroxide (CaD) as a catalyst in their study to produce biodiesel from nonedible oil via transesterification.They assessed the catalyst's efficiency, its resistance to air exposure, and the amount of calcium leaching.Calcium oxide (CaO) synthesized from scallop shells recovered from food waste and calcined at 900 • C to make the CaD catalyst.The CaO served as a benchmark catalyst.CaD had lower catalytic activity than CaO under standard reaction conditions, which included a 2.5 h reaction time, methanol reflux at a specific temperature, a 5% catalyst loading based on the amount of oil, and a methanol-oil ratio of 12:1.This led to 92% biodiesel yield with CaO [65].Puna et al. observed an S-shaped kinetics curve when using CaO as a catalyst and attributed the induction period to the formation of Ca(OH) 2 .The initial slow transesterification phase vanished when Ca(OH) 2 was used as a catalyst that was synthesized by exposing CaO to water.Additionally, if the catalyst surface was entirely converted into methoxide species, the induction period was longer as compared to the use of CaO alone.This revealed that methoxide species that was strongly bound to calcium is less reactive.On the other hand, when they used calcium diglyceroxide (CaO_diglyc.),prepared from mixing CaO with a mixture of methanol and glycerol, they observed a completely different kinetics curve with no induction period.The faster kinetics and the presence of calcium species in the glycerin phase indicated a major contribution from a homogeneous process.Analyzing the post-reaction catalysts showed the significance of both the surface and the bulk catalyst modifications.Calcium hydroxide appeared as the active phase while calcium diglyceroxide was responsible for catalyst deactivation due to calcium leaching [66].The NMR has been found to be an efficient technique for evaluating the quality of biodiesel and the quantification of diesel/biodiesel blends.The proton NMR (1 HNMR) gives us information about the chemical shifts (the carbon to which the proton is attached), multiplicity (the number of peaks in each group), and the adjacent hydrogen and integrals (the number of hydrogen) [67].Figure 8 shows the characteristic chemical shifts in the proton NMR ( 1 H NMR) spectrum for the produced biodiesel [24]. 1 HNMR spectroscopy is considered to be a simple and fast analytical technique; it yields information on all components of a mixture in one spectrum, usually without derivatization or destruction of the sample.The actual existence of a methoxy proton (-OCH3) was established by the distinctive singlet signal at 3.661 ppm [68].Our results coincide with previous research, where 3.6 ppm singlet has been reported to be a characteristic peak in 1 HNMR biodiesel [69,70].Furthermore, peaks ranging from 2.254 to 2.426 ppm of α-methylene proton (-CH2) have been determined in triplets.Various peaks in range of (-OCH3) was established by the distinctive singlet signal at 3.661 ppm [68].Our results coincide with previous research, where 3.6 ppm singlet has been reported to be a characteristic peak in 1 HNMR biodiesel [69,70].Furthermore, peaks ranging from 2.254 to 2.426 ppm of α-methylene proton (-CH 2 ) have been determined in triplets.Various peaks in range of 0.851-0.971ppm represent terminal methyl protons (CH 3 ).The peaks for β-carbonyl methylene protons, ranging from 1.364 to 1.989 ppm, were a major indicator (Figure 8a).Signals of 5.327 ppm and 5.369 ppm supported the presence of olefinic hydrogen [71].
In 13 CNMR, the existence of long-chain ethylene carbons (-CH 2 -) was established in this particular analysis through elevations at 24.75-33.93ppm.The Azadiracta indica biodiesel content of carbonyl carbon (-C=O), as well as unsaturation position, were confirmed by the peaks at 173.87 ppm and 131.71 ppm.The vinylic group (C=H) is indicated by the peak at 129.19 ppm (Figure 8b).The peak values described previously are evidence that the triglycerides have converted into FAMEs [72,73].The overall conversion of Azadhiracta indica seed oil into biodiesel was estimated using the equation to be 93.4%,close to 95%.

Fourier Transform Infrared Spectroscopy (FT-IR)
FT-IR spectroscopy was used to identify the functional groups with major bands that correlate to the different bent and stretched modes in the Azadhiracta indica biodiesel.The chemical constitution has been examined using FT-IR analysis to validate the methyl ester formation.Distinct functional categories are proven by the relevant peak locations using the FT-IR technique [74].This specific technique can be used to determine the fat percentage in biodiesel blends.The methyl esters exhibit two primary areas for identification: one represents the bending pattern of the functional group with the carbonyl of the ester at peak areas of 1743.67 cm −1 and 1170.75 cm −1 ; alternative band was for C-H, at the peak areas of 2836.29-3454.50cm −1 according to the spectral analysis demonstrated in Figure 9.The subsequent points which emerged at 1743.67 cm −1 and 2925.55 cm −1 correspond to the ester alkane (C-H) and the carbonyl group (C=O), respectively.Similarly, another peak at 1170.75 cm −1 also represents C=O, and the IR band at 572.5 cm −1 depicts the C-H rock.The peak, appearing at 1460.12 cm −1 , shows the C-H bending.The surface of the carbonyl group is sensitive to the unique effects and molecular structure among these peaks [75].
biodiesel content of carbonyl carbon (-C=O), as well as unsaturation position, were confirmed by the peaks at 173.87 ppm and 131.71 ppm.The vinylic group (C=H) is indicated by the peak at 129.19 ppm (Figure 8b).The peak values described previously are evidence that the triglycerides have converted into FAMEs [72,73].The overall conversion of Azadhiracta indica seed oil into biodiesel was estimated using the equation to be 93.4%,close to 95%.

Fourier Transform Infrared Spectroscopy (FT-IR)
FT-IR spectroscopy was used to identify the functional groups with major bands that correlate to the different bent and stretched modes in the Azadhiracta indica biodiesel.The chemical constitution has been examined using FT-IR analysis to validate the methyl ester formation.Distinct functional categories are proven by the relevant peak locations using the FT-IR technique [74].This specific technique can be used to determine the fat percentage in biodiesel blends.The methyl esters exhibit two primary areas for identification: one represents the bending pattern of the functional group with the carbonyl of the ester at peak areas of 1743.67 cm −1 and 1170.75 cm −1 ; alternative band was for C-H, at the peak areas of 2836.29-3454.50cm −1 according to the spectral analysis demonstrated in Figure 9.The subsequent points which emerged at 1743.67 cm −1 and 2925.55 cm −1 correspond to the ester alkane (C-H) and the carbonyl group (C=O), respectively.Similarly, another peak at 1170.75 cm −1 also represents C=O, and the IR band at 572.5 cm −1 depicts the C-H rock.The peak, appearing at 1460.12 cm −1 , shows the C-H bending.The surface of the carbonyl group is sensitive to the unique effects and molecular structure among these peaks [75].

Gas Chromatography-Mass Spectrometry (GC-MS)
The chemical composition of the produced biodiesel from Azadhiracta indica seed oil was further analyzed using GC-MS.Eight prominent signals of the FAME have been detected and identified using library software (NO.NIST02) [76]. Figure S2 depicts a sample mass spectrum of the myristic acid methyl ester (C14H28O2) with significant fragment ions (retention period 12.76 min).Other peaks depict the presence of methyl esters of palmitic

Gas Chromatography-Mass Spectrometry (GC-MS)
The chemical composition of the produced biodiesel from Azadhiracta indica seed oil was further analyzed using GC-MS.Eight prominent signals of the FAME have been detected and identified using library software (NO.NIST02) [76]. Figure S2  Based on the chromatogram, the GC-MS analysis of the Azadhiracta indica biodiesel indicates the presence of derivatives, which are chemical compounds derived from seed oil within the fuel.Additionally, the chromatogram reveals that the biodiesel contains methyl palmitate and linoleate as major methyl esters.The analyzer's graphical user interface showed that the data from the NIST library 02 mass spectrum matched the previously identified components of the biodiesel.

Fuel Properties
The physical-chemical characteristics of the Azadhiracta indica biodiesel (AIBD) were quantified and evaluated in comparison to the biodiesel testing standards.
Pure biodiesel was tested for its fuel qualities, including density, cloud point, viscosity, density, sulfur concentration, flash point, and total acid number [67,77].The results obtained were then compared to both the published research and the standard values set by the European Union (EN 14214) [78], America (ASTM D 6751) [79], and China (GB/T 20828-2007) [34,80].Table 3 summarizes the data on the outcomes for B-100 on comparison with the standards set by the European Union (EN 14214), American (ASTM D 6751), and China (GB/T 20828-2007).Fuel density is the mass per unit of volume that may be obtained in the absence of air.The density of the fuel is not itself a significant parameter for the diesel engine, but it is generally related to the fuel energy content.As fuel is sold volumetrically, it can be said that the higher the density, the higher the potential energy on a volume basis will be.It is known that biodiesel has a lower energy content than diesel fuel.However, on a volumetric basis, as the density of biodiesel is higher than diesel, the energy differences become less than before.This AIBD exhibits a density of 0.0832 kg/L according to the ASTM D-1298 analysis [81], compared to high-speed diesel density of 0.897.According to international standards (ASTM, EN), the density of biodiesel must be within the limits of 860-900 kg/m 3 .It is clear in the evidence that AIBD possesses a lower density when compared with that of regular diesel fuel (HSD).
The effects of viscosity can be seen in the quality of atomization, combustion, and engine wear.The high viscosities of biodiesel fuels are reportedly responsible for premature injector fouling, leading to poor atomization.So, the viscosity of biodiesel must satisfy the standards [67].If a viscous biodiesel is used, then the process of supplying enough fuel to the injection system may lead to failure.However, if the viscosity value of a biodiesel is lower than these limits, then power loss will be an unavoidable result due to leakage.More viscous fuel deposits cause a decrease in combustion rate [82].Viscosity was lowered due to the ester formation process.Oil with lower viscosity is simpler for pouring and produces finer droplet forms of fuel.The kinematic viscosity (KV) of biodiesel should be in the range of 1.9 to 6.0 centistokes (cSt) at 40 • C (104 • F).This is a measure of the flow characteristics of fuel.According to ASTM D-445 [83], the KV of AIBD is measured at 5.32 at 40 • C, which is within the permissible limits for ASTM requirements, i.e., 1.9-6.0.According to Ameen et al. [6], nonedible seed oil biodiesel has a kinematic viscosity of 4.5 at 40 • C, and is higher than HSD viscosity; this has been reported to be 4.223 [84].The kinematic viscosity of the AIBD is lower than that of the previously reported biodiesel from Pongamia pinnata (5.44 mm 2 /s) and Monotheca buxifolia (5.35 mm 2 /s).
The lowest temperature, corrected to a barometric pressure, at which the introduction of an ignition source allows a specimen's vapors to ignite under test conditions is known as the flash point.This test measures a portion of the residual alcohol in the B100.Fuel flammability can be used to determine storage safety.When all residual alcohol is eliminated, the flash point values of biodiesel fuel are often greater than those of diesel fuel.High flash point fuels are safe to handle, transport, and store.Compared to many other liquid fuels, biodiesel usually has a flash point above 130 • C (266 • F), which makes it comparatively safe in terms of fire risk [85].The flash point of Azadhiracta indica biodiesel is 90 • C, which lies closer to the ASTM D-93 [86], rendering the fuel less risky.The flash point of high-speed diesel (HSD) is between 47.5 • C and 80 • C.
The cloud point (ASTM D2500 [87]) is the temperature at which a liquid biodiesel fuel begins to form visible wax crystals when cooled.It is an important parameter for cold weather performance.Meanwhile, paraffin starts to crystallize or start separating from the solvent at such cold temperatures.The cloud point of biodiesel should be no higher than specific limits, which are typically around −15 • C (5 • F).Lower cloud points are desirable for cold weather operability.The pour point is the lowest temperature at which a liquid biodiesel fuel flows under specific test conditions.It indicates the lowest temperature at which the fuel can be poured or pumped.Biodiesel should have a pour point below −12 • C (10 • F) for adequate cold weather performance.Lower pour points are preferable to ensure that the fuel remains liquid and can be used in colder climates.The pour point and cloud point of AIBD were compared, respectively, to ASTM D-97 [6,88] and ASTM D-2500 [32] While its cloud point value is −10 • C, which is better than that of HSD, the pour point value of AIBD is −12 • C, in accordance with the ASTM standards.
Phospholipids present in vegetable oils are primarily responsible for the biodiesel sulfur concentration.For the places with high levels of contamination, fuel with a decreased sulfur amount is preferable.Reduced sulfur fuel has been proposed to be better for both the atmosphere and motor longevity.According to Ameen et al., 2018, <0.05% of sulfated ash is present in wild melon seed oil biodiesel.When compared with the ASTM D-4294 standard [89], the sulfur content of AIBD was discovered to be 0.00047% by weight, which was extremely low.It is claimed that the low sulfur content of biofuel makes it favorable as compared to HSD.
The overall amount of natural fatty acids found in the fuel is referred to as the acid value.For neutralizing 1 g of FAMEs, it is expressed in mg KOH/g.Although biodiesel is not naturally acidic, the presence of FFAs in diesel can make it so.For engines, a high acid value is not ideal.According to Ameen et al., 2022, it causes severe corrosion in the fuel-delivery system and internal engine combustion.The acidic content of AIBD was determined using the ASTM D-974 standard [90] to be 0.34 mg KOH/g.

Membrane Performance and Contribution to System Efficiency
The use of a membrane reactor for biodiesel synthesis brings further challenges such as membrane fouling and durability, system complexity, and initial capital investment.Membrane reactor usage should be based on a thorough cost-benefit analysis that takes into account the unique requirements and limitations of the biodiesel synthesis process [91].The specific design of membrane reactor for AIBD and TiO 2 provides following advantages: Titanium dioxide/Aluminum oxide membrane: The material used for the membrane is important since titanium dioxide/aluminum oxide membranes are known for their strong chemical stability and selectivity.These materials are suitable for the biodiesel synthesis reaction and can survive in extreme conditions, increasing the reactor durability and longevity [92].
Tubular design: When compared to alternative designs, the tubular configuration of the membrane reactor allows for a higher filtering surface area.This expanded surface area improves mass transfer and separation efficiency, allowing for large oil molecule retention and driving higher biodiesel production rates [93].
Sieve plate integration: Integrating sieve plates at the membrane entrance and exit helps to achieve controlled flow distribution and uniform mass transfer across the membrane.This reduces the possibility of channeling and optimizes reaction efficiency by preventing uneven flow and promoting effective separation.
PVC enclosure: Enclosing the tubular membrane with PVC provides physical protection, maintains membrane integrity, and prevents potential damage during operation.PVC is also chemically robust, which is advantageous given the highly reactive nature of the transesterification reaction [94].
Specific reactor dimensions: The exact reactor dimensions were determined to strike a balance between the necessity for adequate filtration surface area and a manageable system size.These measurements were most likely optimized to accommodate the production size and available area.
Pore size: The selection of a pore size of about 0.043 µm is vital for holding oil molecules within the membrane while enabling smaller molecules such as biodiesel to pass through [95].This size selection improves membrane selectivity, resulting in improved purity in the final biodiesel product [96].
High biodiesel production: The entire design including membrane material, tubular arrangement, sieve plates, and pore size is tailored towards high-quality biodiesel production.This setup is intended to maximize the effective conversion of feedstock into biodiesel by optimizing mass transfer, separation, and reaction conditions.This membrane reactor configuration plays a crucial role because it approaches biodiesel synthesis holistically.While preserving the longevity and integrity of the equipment, every choice made and component used contributes to better reaction kinetics, product purity, and overall process efficiency, which enhances the biodiesel yield.

Conclusions
In this study, membrane technology was used to successfully synthesize biodiesel from the nonedible seed oil of Azadhiracta indica.TiO 2 served as a heterogeneous nanocatalyst to synthesize biodiesel in the membrane reactor.Azadhiracta indica is a potential feasible source of feedstock for sustainable, low-cost biodiesel synthesis, owing to its high oil content.The high FFA content of seed oil, i.e., 6.52 mg/g KOH, was decreased to less than 2 through esterification followed by transesterification under optimum conditions of a methanol-oil molar ratio of 9:1, 2 wt.% catalyst loading, 90 • C reaction temperature, and 600 rpm agitation rate; a 95% biodiesel yield was achieved.The characterization of titanium dioxide nanoparticles illustrates their pure nature; the particle sizes have excellent thermal durability.Various advanced techniques such as NMR, FT-IR, and GC-MS revealed the existence of high-quality fatty acid methyl esters in the biodiesel sample.Its physicochemical properties were verified in accordance with all the international standards-ASTM D-6571, China GB/T 20828-2007, and EN-14214.In conclusion, membrane technology can drive a significantly intensified reaction processes; the efficient disposal of both nanocatalyst and alcohol showed better transesterification profitability and enabled sustainable biodiesel production.Hence, membrane reactors have been proven to be highly selective, secure, and environmentally friendly, while ensuring a high biodiesel yield.

Figure 3 .
Figure 3. XRD graph of Titania-based nanocatalyst.The average particle size was calculated using the Debye Scherer equation: D = (4) where D = crystalline size in nanometer; K = Scherer constant (0.98); λ = wavelength in nanometer (1.54); θ = Braggs angle, β = full width at half maximum (FWHM).The average particle size was found to be 42 nm and K is an integer which is given as 0.89.λ is the wavelength of the X-ray radiation (CuK = 0.15 nm).Farbod and Khademalrasool[45] and Salari and Marashi[46] reported average crystalline sizes for TiO2 of 37 nm and 15 nm, respectively, by adopting mechano-chemical syntheses.XRD data of titanium dioxide nanoparticles have been reported in previous publications with consistent findings; these nanoparticles have been successfully used to produce biodiesel from a variety of nonedible feedstocks[47][48][49].

Figure 4
Figure4exhibits an SEM micrograph of the sponge-like form of the titanium dioxide with spherical nanoparticles, and the nanoparticle arrangement was found to be uniform.Larger particles were present due to aggregation of smaller ones.

Figure 7 .
Figure 7. Response surface plots of Azidhiracta indica biodiesel: (a) alcohol-oil molar ratio and reaction time; (b) alcohol-oil molar ratio and catalyst loading (%); (c) alcohol-oil molar ratio and reaction temperature.

Figure 7 .
Figure 7. Response surface plots of Azidhiracta indica biodiesel: (a) alcohol-oil molar ratio and reaction time; (b) alcohol-oil molar ratio and catalyst loading (%); (c) alcohol-oil molar ratio and reaction temperature.

Table 1 .
Experimental results of transesterification.

Table 3 .
Fuel properties of the Azadhiracta indica Biodiesel.