1. Introduction
At the time being, considering the global socio-economical context, environmental issues and the geopolitical situation in Europe, the European Union, and the rest of the world are looking for alternative ways to secure the energetic sector. The two main goals in the energy sector are now the reduction in greenhouse gas (GHG) emissions and the dependency of fossil fuels. The European Commission published a RePowerEU Communication in March 2022 [
1] with the main focus on reducing the dependence on imported fossil fuels. Even though electricity and gas are the dominators in the Communication, EU still relies on imported fossil fuel, therefore, at least biofuels must be taken into consideration [
2].
The energy consumption in 2019 in the transport sector accounted for 31% of EU share of energy consumption, being the second biggest consumer after households and services sector. In the transport sector, the highest values are registered in the road transport with a 93% share [
3]. As the transport sector represents one of the major contributors to both energy consumption and greenhouse gas (GHG) emissions, there is much focus on this sector to reduce the dependency on fossil fuels. Consumption and emissions in the transport sector are directly related to demographics and economy [
4].
According to [
3], in 2019, the transport sector accounted 25.8% of total GHG emissions, equivalent to 967.5 million tons CO
2, showing an increase of 3.8% in the last 10 years. The road transport makes up a total of 792.8 million tons CO
2 equivalent, representing 71.7% of total transport emissions. GHG emissions from passenger cars represented 43.4% of the total transport sector emissions, a quite stable position in the last 10 years. Light-duty vehicles added an extra 87.5%, meaning a total of 7.9 million tons equivalent CO
2.
We have to take into consideration that population in the EU is increasing by 0.2% in 2019/2020. The passenger car stock has increased to 247.4 million units in 2019 in EU-27 with a total of 4325 billion pkm. Additionally, the car transport increased as well by 18.2% in the 2000–2019 time frame.
The average age for passenger cars in EU is 11.8 years, Romania presenting the highest value of 16.9 years of use for a passenger car. There was an increase in the number of cars in the EU to 560 units/1000 inhabitants, demonstrating a rise in the last five years. The share of passenger cars by fuel type existing in 2020 in the EU are the following: diesel 51.7%; gasoline 42.8%; and battery electric, plug-in hybrid, and hybrid electric altogether make up 2.3% [
5]. However, the new sales of passenger cars by fuel type in the same year show different figures—diesel 28%, gasoline 47.5%, Electrically chargeable (ECVs) 10.5%, Hybrid electric 11.9%, and others (NG, LPG + E85, Fuel cell) 2.1%. Overall, conventional fueled cars made up for 75.5% of cars sales in EU in 2020—a decrease in sales for diesel engines and a substantial increase for the ECVs (doubled) and hybrid electric cars (tripled sales).
The market for ECVs is rapidly rising but mostly in those countries with a high GDP per capita. Affordability is still a barrier to consumers and infrastructure represents a blockage as well.
Biofuels represent a high potential replacement source for fossil fuels in the transport sector, even more so because biofuels can contribute to a reduction in pollutant emissions generated from internal combustion engines [
6,
7]. For countries with low GDP per capita, biofuels are and will be further a solution to strengthen the internal agriculture, provide jobs, and reduce the use of fossil fuels [
2,
8]. There has been a constant debate of food over fuel, concerning the use of food-crops lands for biofuel production. However, the data show that biodiesel production reduced Europe’s protein imports for animal feed because the processing of oilseeds for biodiesel produced 60% of animal feed and 40% vegetable oils [
2,
8]. The bioethanol production process creates high protein animal feed, aside from the GHG saving and captured CO
2 [
8]. Renewable ethanol capacity of reducing the GHG emissions increased each year to a current level of 76.9% on average compared to fossil fuels in 2021 [
9,
10].
Biomass represents the feedstock for biofuel production; therefore, the combustion of these biofuels principally is considered to be CO
2 neutral (this applies only for direct emissions from biofuel combustion). The emissions during the full life cycle of biofuels, from changes in land use to combustion of fuels, determine their impact on the climate [
8]. According to the European Parliament press release on July 2022, the decarbonization of EU will continue by allowing the Member States to follow up their plans for crop-based biofuel production for transport energy mix [
10].
The term “biofuel” refers to “liquid fuel for transport produced from biomass” according to Directive 2018/2011/EC. The most promising biofuels from biomass are biodiesel, bio-ethanol, pure vegetable oil, and bio-methane, along with second-generation biofuels such as bio-hydrogen and Biomass-to-Liquid fuels. The share of biofuels in diesel and gasoline fuels for transport increased from 7.4% to 8.1% for biodiesel and from 6.1% to 6.8% for bioethanol from 2019 to 2020 [
11]. The share of bio-components in the transport fuels varies for each country in the EU. In the transport sector, biodiesel represents the largest source of renewable fuel with a total consumption of 12,949 ktoe in 2019 [
3], of that 80% of the feedstock is made up from vegetable oils such as rapeseed, soybean, and palm oil, mainly produced through Fatty Acid Methyl Ester (FAME) transesterification or hydrotreatment of vegetable oils. Bioethanol consumption was 2705.7 ktoe, according to Eurostat figures [
3]. Production capacity figures are approximately the same, for both biodiesel and bioethanol.
The raw material used for biofuel production is diverse, thus the biofuels characteristics and the physical–chemical properties vary accordingly. These parameters also depend on the production technology.
This paper analyzes the parameters that influence the biofuel production process. Biodiesel production technology is based on the transesterification reaction as its main process. Usually, in a chemical process, such as the transesterification process discussed here, the basic sequence involves a chemical reaction followed by a separation. Thus, in a reactor, the feedstock and the catalyst are mixed together so that one or more chemical reactions can occur. The reactor design must consider maximizing the conversion rate of the raw material into desired products (high reaction rate and yield) and reducing the reaction time for costs efficiency (increased reaction speed). For the modelling and design of chemical reactors, it is of utmost importance to control and monitor the parameters that influence the transesterification process. Controlling the reaction parameters generates a good reaction yield, an optimum conversion rate, and, finally, a fuel with properties similar to those of conventional diesel fuel. The modelling and simulation of the reaction are described in the paper as a necessity for a better observation of the influence of some parameters on the transesterification reaction. As a result, the molar ratio and reaction temperature are two of the most important parameters for the reaction’s progress. This phase is essential for designing a transesterification reactor.
The regulation of temperature presents complex aspects compared to other possible regulations (pressure, volume, flow) because the heat transfer involves complex phenomena associated with high time constants. Temperature regulation represents a stabilization regulation, which actually implies heat-transfer-related problems, regardless of the way the transfer is performed (radiation, conduction, or convection). The heat exchange between the reactor jacket, where the thermal agent flows, and the fluid in the reactor is possible considering a relatively high time constant. Moreover, the temperature transducers are characterized by thermal inertia, therefore, they must be positioned in an area where the heat transfer is at a maximum [
12]. Thus, this paper presents the effects of a temperature regulator for a transesterification reactor in order to maintain the temperature at an optimum value.
The remainder of this paper is organized as follows: the aspects of biodiesel production and the transesterification reaction is presented in
Section 2. Then, the temperature regulation for a discontinuous chemical reactor operation is presented in
Section 3, where an automatic temperature control system is designed and simulated.
Section 4 contains discussions and, finally, the conclusion is described in the last section.
2. Aspects of Biodiesel Production
2.1. Feedstock
With the exception of the direct combustion of wood and straws, raw biomass cannot be used directly into reactors to produce energy or fuels. Depending on the physical state and nature of the feedstock and the water content that directly influences the calorific power, there are three main ways for biomass conversion into biofuels: thermo-chemical, bio-chemical, and thermo-mechanical processes.
Depending on the feedstock type, biofuels are divided into four main categories: first, second, and third generation biofuels [
13,
14]. First generation biodiesel is produced from vegetable oils coming from edible crops such as rapeseed, soybean, sunflower, palm oil, coconut, peanut, etc. Second generation feedstock for biodiesel production includes animal fats, used cooking oils, and non-edible crops such as pine oil, tall oil, castor oil, etc. Third generation biodiesel is produced from algae [
15,
16,
17]. Fourth generation biodiesel aims to convert solar energy directly into fuel from raw material [
13].
The properties of pure vegetable oils make them unsuitable for direct use for compression ignition engines, but these properties can be improved by breaking the triglyceride molecules into lighter ones with the aid of methanol or ethanol through the transesterification process [
18].
Biodiesel from vegetable oils is produced through transesterification by converting the glycerides present in the feedstock into products with similar properties with conventional diesel. The raw materials are mainly made of tryaciglycerols, or TAG, and are often named glycerides [
19]. Chemically, tryaciglycerols are esters of fatty acids with glycerol (1,2,3-propanetriol; glycerol is often called glycerin) [
18,
20]. Triglycerides are hydrophobic, water-insoluble substances, consisting of three moles of fatty acids and one mole of glycerol [
21]. Fatty acids are aliphatic, usually straight chain, monocarboxylic acids.
The major reason that vegetable oils and animal fats are transesterified to alkylesters (biodiesel) is that the kinematic viscosity of the biodiesel is much closer to that of petrodiesel. The high viscosity of untransesterified oils and fats leads to operational problems in the diesel engine such as deposits on various engine parts.
The biodiesel properties, such as ignition qualities, clogging point, cold flow, cetane number, boiling point, oxidation stability, viscosity, and lubricity, depend on the structure of the fatty acids found in the fuel.
2.2. The Transesterification Reaction
The transesterification reaction is used to reduce the viscosity of vegetable oils and animal fats so that the resulting fuel—biodiesel—could be used in internal combustion engines [
18]. Transesterification, also called alcoholysis, is the chemical reaction where the oil is mixed with an alcohol in the presence of a catalyst to obtain biodiesel.
The transesterification reaction is: slow—the product is obtained in a time-frame that depends on the feedstock and the alcohol used in the reaction; limited—the reaction is reversible and, therefore, limited. To increase the yield, more alcohol must be added, and this results in a change in the reaction balance; and athermal—the esterification reaction does not need energy for it to occur, but the reaction speed and yield would increase in the presence of a certain temperature. Additionally, the reaction is not exothermic.
Triglycerides (long chain esters of glycerin—alcohol with a hydroxyl group attached to each of the three carbon atoms) in reaction with alcohol produces fatty acid alkyl esters and glycerin. The chemical reaction of transesterification is presented in Equation (1).
The transesterification reaction mechanism was first formulated by Eckey [
22]. It consists of a process in three steps: first, the triglycerides transform into diglycerides and then into monoglycerides. All three reactions are reversible, but the reaction balance goes in the direction of forming esters and glycerin [
23].
2.3. Factors Influencing the Transesterification Reaction
Analysis of the parameters that influence transesterification is necessary because controlling of these parameters determines an optimum conversion and reaction yield and, thus, appropriate properties for the resulting fuel.
2.3.1. Free Fatty Acids (FFA) and Water Content in the Feedstock
Biodiesel feedstock fits into three categories [
24]:
Refined oils with a FFA content of less than 1.5%;
Animal fats and yellow oils—FFA < 4%;
Animal fats with high FFA content ≥ 20%.
For a basic catalysis, the FFA should be <3%. The higher the oil acid content, the lower the conversion rate and the yield [
25]. Too much or too less alcohol in the reaction may lead to soap formation [
26]. Water content influences the conversion rate in the same way. Soap presence in the final product causes high viscosity, gel formation, and leads to a complex glycerin separation process [
27].
2.3.2. Catalyst
The catalyst in the transesterification reaction allows a faster reach of the balance state, without interfering with the reaction balance. Depending on the feedstock properties (water content and fatty acids composition), the biodiesel will be produced by transesterification through homogenous, heterogenous, or enzymatic catalysis. The catalysts may be basic or acid, each with their own pros and cons (
Table 1).
For oils with a low content of FFA, usually, a basic catalyst is used in a homogenous environment, this being the most cost-effective technology, with low temperature and pressure needed. Heterogenous catalysis, more often used for converting waste-oils to biodiesel [
30], has more severe conditions for pressure and temperature [
31,
32]. Nevertheless, recent advances in technology mention higher yields and purity of the final product and lower energy consumption [
33]. Enzymatic catalysis has a long reaction time, but microwave heating allows for shorter reaction time.
Alkali catalyst reaction has a high conversion rate of triglycerides into methyl esters with a short enough reaction time, but it is energy consuming, glycerin recovery is difficult, and the catalyst must be removed from the final product through washing and neutralization [
26].
2.3.3. Reaction Temperature
Even though the transesterification reaction can occur without the use of energy, the reaction time and conversion rate are directly influenced by the temperature at which the reaction takes place. An optimum temperature can lead to a decrease in oil viscosity, shortening the reaction time and increasing the reaction speed [
34].
Because there is an alcohol involved in the reaction, the temperature must not exceed the alcohol boiling point so it will not vaporize. Additionally, a temperature too high will lead to a decrease in the conversion rate due to soap formation [
23,
35].
2.3.4. Molar Ratio—Alcohol/Oil
A variable that greatly influences the methyl esters yield is the alcohol-triglycerides molar ratio. For the transesterification reaction, the stoichiometric ratio needs three mols of alcohol to one mol of triglycerides, resulting three mols of fatty acids alkyl esters and one mol of glycerin. The molar ratio is associated with the type of catalyst used for the reaction. According to [
36], a molar ration of 6:1 should be used for an optimum conversion for alkali catalysis.
2.4. Transesterification Reaction Kinetics
In the case of designing the transesterification chemical process as part of the biodiesel production plant, the experimental approach can be costly, both in time and money invested. The theoretical approach offers the mathematical modeling and simulation of the process, which reduces the time considered for the experiments. Furthermore, it can predict appropriate values for the process design, which can be experimentally verified afterwards.
Mathematical modeling of the reversible chemical reactions that take place during the transesterification process is a must before designing a biodiesel reactor.
The study of the transesterification reaction kinetics offers valuable information on the parameters that can predict the reaction behavior and pattern at any given moment in specific conditions.
Kinetic studies of transesterification are rare, but the mechanisms suggested so far converge and adapt better to the experiments. Freedman [
27] published results of the kinetic studies of the transesterification reaction first, followed by Noureddini [
37].
Freedman [
27] suggested a model based on a three-step reaction, as shown in Equation (2):
where Tg is triglyceride, and Mg and Dg are the mono and diglycerides. Gl is glycerol. ROH and Bd denote the alcohol and ester concentrations.
These reactions are of a secondary order in total in both directions, but the direct reactions are of a pseudo-first order if the molar ratio of alcohol–triglyceride is too high.
Noureddini [
37] also considers the transesterification reaction in three stages with each intermediate reaction as a second-order reaction. The total reaction is shown in Equation (3):
where
are the reaction speed constants.
The Noureddini [
37] model is satisfying, considering the correlations with experimental data, but it does not take into consideration the parallel reactions that take place in the reaction environment, such as saponification and the water content effect. However, this model considers the stirring intensity and the effect of temperature on the conversion rate. It also gives values for the activation energy for the transesterification simulation at different temperatures and stirring rates.
The Komers [
38] model takes into consideration for the modelling of the reaction, the saponification, and the water content effect, being the most complex model found in the literature. The Komers [
38] model is shown in Equation (4):
where Uv is the oil used in the reaction.
The reaction mechanism of the phenomena that interferes in the reaction tank was described by Komers in [
38]. The main difficulty in this model is the high number of speed reaction’s constants (18 in total).
Each reaction is reversible with the different speed reaction constant , thus observing that the direct and indirect reactions occur at a different speed.
3. Temperature Regulation for Discontinuous Tank Operation
Is worth taking into consideration that the most important parameters that describe the chemical process are mass, energy, and momentum, and these are characterized by density, volume, temperature, pressure, flow, etc., when they cannot be measured directly. Some input parameters influence the reaction directly; thus, we considered it vital to model and simulate the reaction beforehand, confirming that the molar ratio and temperature were very important parameters in designing the process.
A system and its behavior are characterized by two things:
3.1. Mathematical Model
In order to design a temperature regulation for a chemical reactor, first, the mathematical model for a convection heat transfer process has to be determined, where the thermal agent warms up a product in liquid phase.
For a given reaction, it is similar with the transesterification Reaction (5):
The surfactants were loaded in the reaction tank and steam was introduced in the tank shell to bring the mixture to the required temperature. Then, cooling water was added to help reduce the temperature, if needed, and for the reactor to follow the desired temperature profile as a function of time. The temperature profile was loaded in the temperature controller as a start signal.
If the reaction was stopped too early, then the A and B components would not react enough (total); thus, the conversion rate and yield were low. There is an optimum duration for the reaction. In addition, there was an optimum temperature profile for the reactor tank to follow. Considering the strict relation between reaction speed constants and temperature, the reaction should take place at the maximum temperature possible in order to reduce to a minimum the time spent in the tank. This maximal temperature was a limit imposed by several constraints as maximum work temperature, pressure in the tank, and product and/or surfactants degrading at high temperatures.
Due to the tank characteristics (discontinuous), there was no input or output flow, and all of the components were introduced in the tank at the beginning and extracted when the reaction was completed.
We assume the density (
and volume (V) in the chemical reactor are constant. Thus, the continuity equation for the reaction mass or the total mass balance at the beginning of the reaction is:
The continuity equation for component A is given in Equation (7):
Energy balance for the process is presented in Equation (9):
The temperature in the reaction tank has to fulfill an optimization criterion such as:
3.2. Temperature Control Design
The maximum temperature results from the components thermal stability, tank design and material, and from the catalyst’s properties (
Figure 1).
The following notations are used in the figure: Fat—thermal agent flow; Tat—thermal agent temperature; Fp—product flow; Tp—product temperature; Fi—output product flow; and Ti—output product temperature.
The control of temperature involves complex phenomena with increased time constants, therefore, temperature control is a stabilization control, meaning heat-transfer-related problems, regardless of the way the heat transfer is performed.
Considering a dynamic regimen, the accumulated heat is represented by the difference between the input and the output of the caloric flow, as seen in Equation (10):
and
If we consider
the input value and
the regulated output value, we receive:
thus, the transfer function:
where
represents the time constant and
is the amplifying factor.
To design a system with automated temperature regulation, we have to consider the transfer function for the static part as follows:
where, all connected in series, the index represents T—the temperature transducer; E—the execution element; and p—the process.
We cannot neglect the delay constant, which is high for the thermal transfer process, significant for temperature transducer, and lower for the execution element. Therefore, the regulation algorithm should take into consideration an anticipatory effect.
A second-degree closed system is represented by Equation (15):
and the transfer function for the open circuit is:
where
(natural pulsation) and
(damping factor) give the dynamic performances of the system.
We consider the process for the transesterification reaction: vegetable oil reacts with methanol in the presence of a catalyst to produce fatty acid methyl esters (FAME) and glycerin. This process should consider the following constraint: the temperature should remain the same for the duration of the reaction so that the reaction balance goes in the right direction—formation of FAME, with a defined time frame and with minimum formation of coproducts (soaps, etc.). For this system (
Figure 2), we have determined the:
The following notations are used in the figure: T1—temperature of the product inside the reactor; q1—heat of the product in the reactor; T0—reference temperature; Ti—thermal agent temperature; qi—thermal agent heat; qar—cold water heat; qab—steam heat; Tp—final product temperature; and qp—final product heat.
Because the reaction is endothermic, we have considered only the energy balance as follows in the mathematical model:
Heat balance equations are:
and
where
represent heat from cold water;
—heat from steam;
—time constant for the product’s temperature; and
—heat transferred through the final product.
For this system we considered designing a Proportional Integral (PI) regulator, which had a zero stationary error and a maximum 5% overclocking. The transfer function for the PI regulator is:
and the transfer function for the open loop system is:
To determine the parameters for the regulator we considered .
Both Equations (19) and (20) are second-degree functions; thus, we can identify the parameters and coefficients of the regulator, as shown in the equation:
3.3. Simulation
According to the existing literature [
12,
39,
40,
41,
42], we consider the transfer function for the execution element:
and for the transducer:
The mathematical model of the process is described best by a differential equation, with
being the time constant as follows:
For the temperature regulation loop, we consider the process transfer function in equation:
with
.
From Equations (22)–(24), the transfer function for the components is represented by Equation (26):
We also considered the overclocking of 4.3% (<5%), resulting in the dumping factor
following:
and the transfer function:
Simulation for the temperature regulation of the transesterification process, based on the energy balance, was performed in MATLAB Simulink following the regulation setup from
Figure 3.
The MATLAB simulation resulted in the temperature profile, shown in
Figure 4, for a maximum reference temperature of 60 °C.
Based on the simulation, we identified the following performances of the automatic temperature control system:
where
represents stationary error;
—overclocking;
—stabilizing time, which demonstrates that by following the constraints imposed for obtaining the desired performances, and the regulator was designed correctly. The parameters used in the simulation were chosen based on the existing literature [
12,
39,
40,
41,
43] and from repeated simulations in order to obtain a negligible stationary error and an overclock <5%, which was attained. As the boiling point of methanol is 64.8 °C, the temperature in the reactor should not exceed this value; therefore, the temperature was set at 60 °C.
3.4. Mathematical Approach—Validation of the Simulation Results
For the mathematical modelling of the transesterification reaction, we considered the speed constants
and the activation energy values
from [
37] on soy oil using an alkali catalyst, and the results are given in
Table 2.
The values of the speed constants can be predicted based on the activation energy values at different temperatures, using the Arrhenius equation:
where R—gas constant; T—absolute temperature; E—activation energy;
—preexponential factor; and index 0 suggests that the products and surfactants are considered in standard conditions [
43,
44,
45].
From Equation (31), it can be noted that speed can be a function that increases (exponentially) with temperature and depends on the magnitude of the activation energy E.
For the simulations in this work, we considered the transesterification reaction of soybean oil with methanol, using a basic catalyst in a homogenous catalysis. The parameters for equation (31) were calculated from the experimental data gathered from [
37,
38,
46,
47,
48,
49]. Usually, homogenous catalysis is used a constant temperature from around 50 to 60 °C at atmospheric pressure [
20]. From the analysis of the reaction at different constant temperatures (50, 55, 60, and 65 °C), and from the experimental values given in [
37,
38,
46,
47,
48,
49], it can be noted that the methyl esters yield drops at temperatures higher than 60 °C (
Figure 5 and
Figure 6).
Figure 5 and
Figure 6 represent the transesterification evolution at temperature of 60 °C, with molar ratios of 6:1 and 9:1, respectively. It can be observed that the number of mols of methyl esters increases from 2.10 mols to 2.13 mols along with the increase in the molar ratio. The conversion rate increases from 85.27% to 94.91%, and the duration in which the reaction reaches an equilibrium state decreases from 1100 s to 900 s, approximately.
The analysis of methyl esters evolution at different temperatures with 6:1 and 9:1, respective, molar ratios, it can be observed that the conversion rate increases with the increase in temperature, and the stabilizing time decreases by almost half for 6:1 molar ratio and by ~300 s for 9:1 molar ratio, which suggests that the temperature has a higher influence on the reaction time and yield at a 6:1 molar ratio.
In
Figure 7, presented is the evolution of methyl esters at different temperatures (50, 55, 60, and 65 °C).
In
Figure 7, it can be observed that the mass of methyl esters also increases with the increase in temperature. The reaction time also modifies (shortens) with the increase in temperatures. As the temperature in the reactor increases, the viscosity of the oil will decrease, thus the reaction time will be shorter and the reaction rate higher. Even though the simulations were performed at 65 °C, they should not exceed the methanol boiling point (64.8 °C), as the methanol will start to evaporate, and the reaction rate will decrease. This limitation of reaction temperature was considered when we modelled and simulated the temperature regulator.
4. Discussion
In this study, we aimed to model and simulate the behavior of a transesterification batch reactor by controlling the reaction temperature. The transesterification reaction took place in the presence of a catalyst, which allows, without interfering with the reaction equilibrium, a rapid reach of an equilibrium state.
For the homogenous catalysis, the most efficient catalysts have proven to be KOH, NaOH, or NaOCH
3 [
13,
28]. Among their advantages, we could highlight the high reaction speed, reaction temperature in the range of 25–85 °C, atmospheric pressure, equipment cost, and operation as relatively low. The downsize of this type of reaction was the catalyst separation from the final product, which was performed through washing and neutralization, but the costs for the glycerin purification were relatively low. Basic homogenous catalysts were preferred due to the reaction conditions, which were suited for laboratory use or small-scale production units.
The mathematical model for the convection heat transfer process was determined, where the thermal agent heated the product in liquid phase in a tank. The transesterification process requires a constant temperature profile for the reaction to take place with maximum conversion rate and yield. For this condition to be fulfilled, we designed and simulated an automatic temperature control system for a discontinuous tank. For the modelling and simulation, we considered the reaction molar ratios of 6:1 and 9:1, respectively, to shift the reaction equilibrium towards the production of fatty acid methyl esters. The saponification was neglected. For the modelling and simulation of the reaction we considered a fatty acid content < 2%.
The validation of the mathematical results was carried out for the transesterification reaction using a homogenous basic catalyst, due to its accessibility, lower cost, and higher reactive capacities compared to acid catalysis. Along with the chemical reaction, the feedstock properties were very important for a complete reaction to occur in order to obtain a product with characteristics that match the imposed quality standards for diesel/biodiesel fuel—ASTM D6751. The oil-free fatty acid content greatly influences these properties.
The FFA content of soybean oil (~2%) makes it suitable for homogenous catalysis in the existing batch reactor. The methanol was recovered through evaporation, and the catalyst was separated from the end product by washing and then neutralization.
Reaction speed increased with temperature, but, also, the methyl esters yield dropped at temperatures higher than 60 °C, as the methanol started to evaporate at 64.8 °C. For alkali catalysts, the results showed that the reaction took place at an optimum temperature of 60 °C and a molar ratio of 6:1, with a yield of approximately 90%. Recent works in the field confirmed these results [
13,
28,
29].
From an economical perspective, biofuels from pure vegetable oils have the advantage that the composition is pure, which reduces the pre-processing time and costs, and the final product has a superior quality. Animal fats as feedstock also have economic advantages, but the raw material has a high content of saturated fats, which makes the biodiesel obtained from these sources form gels. Used cooking oils present an environmental advantage (which actually depends on the efficiency of local collection of used oils), but the recycled oils contain impurities that must be removed before the biodiesel production can occur, which actually involves supplementary costs for pre-processing. Promising technologies have been developed in this area, as environmental issues arise from the inappropriate disposal of waste-cooking oils and means to convert them to biodiesel become more accessible [
50]. Microalgae are a promising feedstock for biodiesel production, but the high content of unsaturated lipids make the final product become less stable, the fatty acids content varies greatly within species, therefore, the biodiesel properties vary accordingly [
13], and they are not yet competitive with fossil fuels in terms of costs [
17].
The mathematical analysis shows the importance of maintaining the temperature constant for the entire reaction; therefore, it justifies the need for proper temperature regulation and the correct design for the temperature transducer.