Introduction

A lubricant market in 2017 was estimated to be US$ 117.4 billion reaching US$ 146.3 billion by the year 2024, with a compound annual growth rate (CAGR) slightly above 3% from 2017 to 20241. From 2017 to 2024, industrial machinery and equipment are expected to be the fastest-growing applications with 4.5% of increment and the petroleum-based lubricant took around 40% of lubricant market2. Biolubricant consumption in Germany reached 4% of 1.05 million tons of the total lubricants in 2005 and increased quickly, exceeding 3.5% per year3. This urgency is due to the rising concern towards environmental issues contributed by a traditional material, which is mineral oil. Biolubricant is also a safer candidate for environmental issues such as oil spillage and depletion of fossil oil2,4,5.

Centuries ago, vegetable oil was an option for lubricating oil, instead of the animal fat for it is safe for the environment, not toxic, easily degradable, replenishable source and abundantly available6,7,8,9. The high molecular weight of the vegetable oil results in low vaporization of the oil. However, the long chain and unsaturated carbon bonds, specifically the β-carbon, possessed by vegetable oil is susceptible to oxidation, thus leads to low oxidative and thermal stability10,11,12. Therefore, tailoring the chemical structure of the vegetable to synthetic ester is the most promising way to enhance the oil’s properties such as viscosity index, low temperature performance, thermal stability and oxidative stability7,8,13,14,15,16. Malaysia as a crop plant producer, has various palm-based products such as palm oil methyl ester (PME), which can be utilized to produce new derivatives. The Malaysian government also encourages and supports the private companies to develop biolubricants for automotive and industrial users17. The commonly used polyhydric alcohols to produce polyol ester are neopentylglycol (NPG), trimethylolpropane (TMP) and pentaerythritol (PE). Indeed, TMP has reasonable price and easy to handle, while NPG and PE may associate with sublimation problem18,19. Therefore, we are interested to explore the process of trimethylolpropane ester (TMPE) production from TMP and PME with a heating intensification via microwave heating.

Transesterification is the most common route to produce esters for lubricant base oil via thermal heating with the presence of catalyst under prescribed operating condition20,21. Transesterification of PME and trimethylolpropane consists of three consecutive and reversible reactions with intermediates and by-product as listed in the equation below. Three moles of PME reacts with one mole of TMP to produce three moles of methanol (as by-product) and one mole of TMP triesters (TMPTE).

$${\text{TMP }} + {\text{ PME }} \leftrightarrow {\text{ TMP monoester }} + {\text{ methanol}}$$
(1)
$${\text{TMP monoester }} + {\text{ PME }} \leftrightarrow {\text{ TMP diesters }} + {\text{ methanol}}$$
(2)
$${\text{TMP diesters }} + {\text{ PME }} \leftrightarrow {\text{ TMP triesters }} + {\text{ methanol}}$$
(3)

For the past years, catalytic and enzymatic transesterification have been conducted, such as enzyme12,22,23, acid24,25 and alkaline13,26,27,28. The reaction using enzyme catalyst took long time, up to 7.4 h at a mild temperature of 70 °C in accord to the ability of enzyme sustainability29. Acid catalyst is corrosive for the reactor and toxic in nature30. The use of alkaline based catalysts under a vacuum condition has remarkably shortened the reaction time, but the competing saponification reaction of the alkaline catalyst reduced the product yield26,31,32. The transesterification of PME and TMP catalysed by 0.3% w/w of calcium methoxide resulted in 9.2 mg dried soap/g after 8 h, while the use of 0.9% w/w of sodium methoxide catalyst led to 46 mg dried soap/g after 1 h. Both conditions achieved 98% of TMPTE26,31. The conventional batch stirred tank reactor that used 0.28% w/w sodium methoxide solution in methanol, led to 85.6 mg fatty soap/g with the TMPTE yield of 80.1% also at 1 h of reaction time31. The long reaction time has attribute to the accumulation of fatty soap produced.

Microwave-assisted biodiesel production via esterification or transesterification between selected oils and short chain alcohols, such as methanol and ethanol, took a reaction time in the range of 30 s to 15 min with 93% yield of product33,34,35. Moreover, a minimal usage of alkaline catalyst during the microwave-assisted reactions in these studies has suppressed the saponification product. Unfortunately, a lack of studies focused on the transesterification of branched alcohol; TMP and PME at vacuum condition via a microwave pulsed width modulation (microwave PWM) heating mechanism.

Moreover, the side reaction that comes along with hydrolysis reaction in the system, for instance, saponification reaction is scantly available in the literature. Thus, the aim of this study is to investigate the potential of a vacuum operated microwave reactor for the synthesis of TMPE from TMP and PME as a lubricant base oil by suppressing the saponification reaction. This is probably an answer to the quest for a less fatty soap generation in the biolubricant production. The performance of the reaction was then compared with a conventional synthesis method.

Results and discussion

Effect of reaction temperature

Microwave heating works based on the principle governed by the polarity of each component that rapidly generates heat at its molecular level36,37,38. In the current study, the microwave heat was rapidly released within the reaction media as a result from the rotation of molecular dipoles of alcohol (TMP) and PME. On the contrary, the previous conventional reaction involved a thermal heat reflux from the surface of the reactor towards the centre of the reaction mixture, where the reaction took a longer time due to the heat loss to surrounding39,40.

The reaction was conducted at 90, 110, 130 and 150 °C by a pulsed-modulation microwave reactor with a tolerance of ± 2 °C. Other operating parameters were maintained constant at 1 wt.% amount of catalyst based on the total weight of reactants, 10 min of reaction time, molar ratio of TMP to PME at 1:4 and pressure under 10 mbar. Based on Fig. 1, an increasing trend of TMPTE composition at increasing temperature was observed.

Figure 1
figure 1

Effect of temperature on composition of TMP esters under pressure of 10 mbar, at 0.6 wt% sodium methoxide catalyst, molar ratio of TMP:PME at 1:4 and reaction time at 10 min.

The highest composition of TMPTE at 45.36 wt.% was obtained at 130 °C, the intermediate products of trimethylolpropane diesters (TMPDE) and trimethylolpropane monoester (TMPME) at 13.4 wt.% and 0.9 wt.%, respectively. The difference in TMPTE composition at temperatures of 130 and 150 °C was marginal, with 45.4 wt.% and 45.8 wt.% of TMPTE, respectively. The transesterification reaction at 90 °C was not effective since the reaction was incomplete with a huge amount of unreacted trimethylolpropane in the product. However, a low amount of fatty soap was also observed. This is due to lower occurrence of the side reaction at low temperature. At higher temperatures, the transesterification between TMP and PME was completed because no TMP was left in the product. As the temperature increases, the dielectric constant also increases36. The increasing value of the dielectric constant increases the kinetic energy and reduces the viscosity, thus resulting in an easier rotation and faster response to the changes in electrical fields36,41.

The composition of TMPDE at 150 °C was slightly high, which may be due to an inevitable reverse reaction of TMPTE to TMPDE. Although high temperature improves the homogeneity of the reacting mixture, after a certain limit, particularly at 150 °C, PME may have vaporised and hence the excess reactant is reduced, which results in the backward reaction42. Generally, the reaction is faster at higher temperature. Once the soap was produced, it continued to accumulate until the end of reaction. Therefore, by the end of reaction at 150 °C, 17.7% of fatty soap was produced. Meanwhile, at 110 °C, the highest amount of fatty soap (21.8% of fatty soap) was recorded and a low yield of TMPTE was observed. The result infers that the maximum rate of saponification may happen at 110 °C. The fatty soap production at 110 and 130 °C were 21.8% and about 17.4%, respectively. Higher temperature promotes water removal from the system. Hence, the decrement of free fatty acids generated from the hydrolysis reaction of esters may contribute to lower fatty soap formation31. Therefore, with 45.4% yield of TMPTE, 130 °C was selected as the optimum temperature. The standard deviation (SD) of each product, TMPME, TMPDE, and TMPTE are between 0.15–0.99, 0.93–5.3, and 1.04–2.1, respectively.

Effect of catalyst

The alkaline sodium methoxide catalyst was selected in this study due to the small amount required for a reaction under mild conditions compared to an acid catalyst13,14,30,42. In the present study, the use of sodium methoxide has induced an ionic conduction heating mechanism. The movement of ions that in a mixture or solution, occurs under the influence of an electrical field36,43. This condition results in a higher collision rate, a higher conversion of kinetic energy to heat, and hence, an intensification of the energy produced. Ionic conductivity governs the energy dissipation instead of dipolar rotation at the initial stage of reaction. The detailed mechanism is shown in the previous studies44.

The effects of the catalyst were investigated at 0.2, 0.4, 0.6, 0.8 and 1.0 wt.%. Other factors were kept constant at 130 °C, 10 mbar, reaction time of 10 min and molar ratio of TMP to PME at 1:4. The effect of catalyst amount on TMPTE composition was insignificant as shown in Fig. 2. At 0.6 wt.% of sodium methoxide, the composition of TMPME, TMPDE, and TMPTE were 1.13, 14.6 and 46.6 wt.%, respectively. Only a small difference of TMPTE composition was observed for reaction at 0.6 wt.% catalyst (46.6 wt.% TMPTE) as compared to 0.8 wt.% catalyst (48.9 wt.% TMPTE). The standard deviation (SD) of each product, TMPME, TMPDE, and TMPTE are between 0.03–0.31, 0.18–2.28, and 0.94–2.0, respectively.

Figure 2
figure 2

Effect of catalyst amount on esters composition (at pressure 10 mbar, temperature 130 °C, molar ratio 1:4, time 10 min).

It was observed that 0.2 wt.% of the catalyst was not enough to push the reaction forward, as shown in Fig. 2. When only a small accumulation of methanol vapour by-product is formed, the vapour may have been trapped in the liquid reaction mixture. For this reason, the methanol removal from the reaction system becomes difficult and the transesterification to produce TMPTE is hindered. For 0.4 wt.% catalyst, the TMPTE composition was 42.6 wt.% but a higher TMPDE composition of 18 wt.% was obtained, compared to 14.6 wt.% of TMPDE when using 0.6 wt.% catalyst. Yunus et al.45 and Hamid et al.14 reported small TMPDE compositions of 1 wt.% and 7 wt.%, in their final products. Furthermore, the authors reported that a small composition of respectively TMPDE has an added value to the viscosity of the base oil product. From this study, despite of a low fatty soap amount of 11% with a catalyst at 0.4 wt.%, a trace amount of TMP in several experimental runs indicates that the reactions may not be 100% complete. Therefore, the catalyst amount of 0.6 wt.% sodium methoxide was chosen as the best condition because the reaction has reached completion with the amount of fatty soap of 17.4%.

The moisture that probably exists together with TMP, PME, or the catalyst itself, may cause hydrolysis of PME to produce fatty acids. Fatty acids that react irreversibly with sodium methoxide to generate fatty soap, reduce the final product13,30,42. The increasing trends in fatty soap by-product was observed for the reactions that used catalyst from 0.4 to 0.8 wt.%. Basically, the fatty soap production was proportional to the catalyst amount. A slight decrease of fatty soap was noticed at 1 wt.% catalyst. This condition may be caused when the catalyst has reached its full capacity and any further addition of catalyst would not expedite the main or side reactions31.

In the conducted experiments, methanol was a by-product of transesterification between PME and TMP. Methanol was also present in the catalyst, which was commercially available as 70% in the sodium methoxide solution. Thus, for 0.6 wt.% of catalyst used, only 0.18 wt.% is pure sodium methoxide. Methanol is known for polar molecules, which absorb microwaves better than PME. The high polarity of methanol, with a dielectric constant of 23.03 ± 0.04 and a loss factor of 11.56 ± 0.13 at 30 °C, proves that methanol can be heated rapidly by microwave and then transfer the heat to the surrounding mixture in the reactor. The hot spot that may occur in the reactor is probably because of the concentration of heat due to the presence of methanol. This hot spot also helps in providing rapid heating to the reactant mixture46. Table 1 shows the properties of the dielectric constant, ε’, and the loss factor, ε”, for the starting substances that have an important relation to the microwave heating. PME has a high value of dielectric constant, ε’, and loss factor, ε”, of 3.39 and 0.25, respectively, compared to the low values of TMP’s dielectric constant and loss factor, which are 1.78 and 0.04, respectively. This postulates that the heating process was started with PME and then transferred to the mixture of reactants for the transesterification to occur.

Table 1 Dielectric constant and loss factor of reactants.

Effect of reaction time

The application of the electromagnetic wave heating method saves a huge amount of time, especially during the pre-heating of the sample to the prescribed temperature. Using this method, the sample required only 3 min to reach 130 °C as compared to the conventional heating method, which requires around 40 to 60 min to reach the same temperature. In Fig. 3, the effect of reaction time on the ester composition was observed. The reaction was conducted for 3, 5, 7, 10, 15 and 25 min. Other factors were kept constant at 130 °C, 0.6 wt.% catalyst amount, molar ratio of TMP to PME at 1:4, and pressure of 10 mbar. It was observed that 3 min of reaction was insufficient to complete the reaction as a trace of TMP was found in the product. When the duration was prolonged to 10 min of reaction, TMPME, TMPDE and TMPTE compositions were obtained at 1.1, 14.6 and 46.6 wt.%, respectively. The standard deviation (SD) of each product, TMPME, TMPDE, and TMPTE are between 0.04–1.14, 0.08–1.66, and 0.61–2.12, respectively.

Figure 3
figure 3

Effect of reaction time on esters composition (at temperature 130 °C, pressure 10 mbar, catalyst 0.6 wt%, molar ratio 1:4).

A decrease in TMPTE composition was observed after 10 min. The amount of reactant, such as TMP, was insufficient to suppress the backward reaction steps of transesterification. Hence, 10 min is considered as the optimum reaction time because of the highest TMPTE and the lowest TMPME and TMPDE compositions recorded at this condition. The fatty soap content was also low when the reaction time was short, for example, 10.3% of fatty soap at 3 min. This is because prolonging the reaction time promotes soap generation with 13% and 13.4% of fatty soap at 15 and 25 min, respectively.

Interestingly, the result was contrary to the studies conducted by various researchers that reported yield of ester was above 90% at 30 s to 15 min of transesterification and esterification reactions34,35,47. The current result could be due to the polarity factor of the starting materials. The previous studies used high polarity of methanol as a starting material in biodiesel production, which increases the vibration frequency of the atoms present in the reaction interfaces with palm fatty acid distillate (PFAD). The polar component is more attracted to microwaves as the dipole–dipole forces respond to the electromagnetic field, which dissipate the energy absorbed from the electromagnetic field48,49.

Effect of molar ratio

The effect of molar ratio of TMP to PME is presented in Fig. 4. During the experimental works, the molar ratio of TMP to PME was manipulated at 1:3, 1:3.5, 1:3.7, 1:4, and 1:4.5. Other factors were maintained constant at 130 °C, 10 mbar, 0.6 wt.% catalyst and 10 min reaction time. The molar ratio of the reactants may determine the direction of the reaction. Excess PME was used to keep the reversible reaction intensifying to the right side, hence generating more products. Moreover, the removal of the by-product, in this case, methanol, via vacuum suction also helps to produce more TMPTE based on Le Chatelier’s principle. When the molar ratio of TMP to PME was set at 1:3, the TMPTE composition was high at 41.4 wt.%. However, the reaction was still incomplete based on the presence of traces of TMP in the product. The highest yield was obtained at molar ratio 1:4, with TMPTE, TMPDE, and TMPME being at 46.6, 14.6, and 1.1 wt.%, respectively. The standard deviation (SD) of each product, TMPTE, TMPDE, and TMPME are between 0.53–4.21, 0.17–1.22, and 0.04–1.20, respectively.

Figure 4
figure 4

Effect of molar ratio on esters composition (at temperature 130 °C, pressure 10 mbar, catalyst 0.6 wt%, time 10 min).

The reverse reaction steps became intense when higher molar ratios of TMP to PME were used. In addition, an excess volume of PME may dilute the catalyst, thus reducing the effective molecular interaction with fatty acid. This leads to a lower soap production at 15.1% for the molar ratio of TMP to PME at 1:4.5. Moreover, since PME has a higher value of dielectric constant than TMP, the microwave radiation is most probably absorbed by PME, leaving less amount of microwave energy to be absorbed by TMP. An adequate amount of microwave energy must be available for all reactants for the effective transesterification of PME and TMP.

Effect of vacuum pressure

The effect of pressure on the composition of TMP esters was investigated. The vacuum pressure was varied at under 10, 20, 30 and 50 mbar, while other factors were kept constant at 130 °C, 0.6 wt.% catalyst amount, reaction time of 10 min and molar ratio of TMP to PME at 1:4. Based on Fig. 5, it was observed that under low vacuum at 30 to 50 mbar, the process conditions were not enough to suppress the formation of partial esters, which are TMPME and TMPDE, to form PME. The standard deviation (SD) of each product, TMPME, TMPDE, and TMPTE are between 0.04–0.59, 0.11–0.20, and 0.21–2.05, respectively.

Figure 5
figure 5

Effect of pressure on esters composition (at temperature 130 °C, catalyst 0.6 wt%, molar ratio 1:4, time 10 min).

The present study suggests that when fatty acids from the hydrolysis of PME are reacted with sodium methoxide, fatty soap and methanol will be formed. Moreover, when the suction of methanol from the reactor is not strong enough, this condition may cause the accumulation of the methanol in the system. As a result, the interaction between fatty acids with sodium methoxide molecules to form fatty soap has been hindered. The minimum amount of fatty soap of 10% was obtained at 50 mbar, compared to 17% of fatty soap at 10 mbar. Nevertheless, the highest composition of TMPTE was observed at 10 mbar, despite the high formation of fatty soap. The result implies that the highest rates of TMPTE and fatty soap may have happened at 10 mbar, despite the competition between the transesterification and saponification reactions.

Palm oil methyl ester (PME) is chosen as an excess reactant to drive the forward reaction to completion (producing more products). Figure 6a–e represents the composition of PME at a different temperature, catalyst amount, reaction time, molar ratio, and pressure. A range of standard deviation of PME data was between 0.10–3.61 which was relatively small. The molar ratio of PME to TMP was fixed at 4:1 for operating parameters such as temperature, catalyst amount, time, and pressure. Generally, the lowest composition of PME denotes that more PME is consumed in the transesterification, thus high yield of TMPTE is obtained. When the temperature was varied, while other factors were maintained, the highest PME at 63.5% was observed at 90 °C, as shown in Fig. 6a. The results showed that 90 °C is the least favourable reaction temperature due to the lowest conversion of the reactant. At 150 °C, the lowest PME composition may due to a vaporization at high temperature at vacuum pressure. As the reaction temperature increases, the more volatile PME especially having fatty acid chain of C12 and shorter may have escaped together with methanol in the vacuum line, hence decreases the overall composition of PME.

Figure 6
figure 6

Composition of PME at different (a) temperature, (b) catalyst amount, (c) time, (d) molar ratio and (e) pressure.

The trend of decrease in the composition of PME with temperature and catalyst amount is similar. As the amount of catalyst increases, more PME would be used in the reaction to produce the desired product TMP. Above 0.4 wt.% of catalyst, the PME composition remained almost unchanged. However, at 0.8 wt.% of catalyst, the composition of PME is slightly lower at 36.12% as in Fig. 6b. Yet, the contemplating economic issue contributes to the decision to select 0.6 wt.% of catalyst (37.74% of PME) is chosen as the best amount of catalyst. In Fig. 6c the effect of reaction time on PME is less pronounced. Extending the reaction time only affected the PME marginally. For the effect of molar ratio to PME composition, the PME composition is directly proportional to the molar ratio as shown in Fig. 6d. As the ratio increases, definitely more PME is present in the reaction media. At higher pressure, 50 mbar, more PME remained in the reaction because the reverse backward reaction could not be suppressed. At lower pressure,10 mbar, the forward reaction dominates the reversible reaction with the continuous removal of methanol, hence most PME reacted to form TMP esters as shown in Fig. 6e.

Biolubricant base oil properties

In the current study, the microwave-assisted transesterification between PME and TMP has been successfully completed in 10 min to obtain TMPTE composition at 47 wt.%. After a fractionation process to remove the excess PME from the liquid product, the composition of TMPTE was 63 wt.%. The fractionated liquid product is also known as a biolubricant base oil. On the other hand, the conventional transesterification in the previous studies took 5–6 times longer for the reaction completion14,42. The properties of the base oil are tabulated in Table 2. The viscosities of the base oil at 40 and 100 °C in the current study were on a par with the results obtained by Hamid et al.14 and Yunus et al.45. However, the pour point obtained by the microwave-assisted reaction was − 18 °C, which is not as low as the pour points in the previous studies. The result is probably due to the high content of TMPDE in the final product, thus affecting the pour point value.

Table 2 Properties of TMP esters base oil.

The efficiency of the microwave-assisted reaction was later compared to the conventional heating of the transesterification between PME and TMP. The operating conditions for both methods were at 130 °C, 10 min reaction time, vacuum pressure of 10 mbar, sodium methoxide catalyst at 0.6 wt.% and TMP to PME molar ratio of 1:4, with three replications. The composition of TMPTE for the conventional reaction at 10 min of reaction time only achieved 25.5 wt.%, followed by TMPDE and TMPME compositions at 16.3 and 2.1 wt.%, respectively. Conversely, a higher composition of TMPTE at 46.6 wt.% was obtained by using a microwave-assisted reaction, where the compositions of TMPDE and TMPME were recorded at 14.6 and 1.1 wt.%, respectively. Thus, it is to be inferred that the microwave-assisted reaction helps in the time saving and better productivity. Nonetheless, the fatty soap production from the conventional method was lower at 12%, compared to 17% fatty soap from microwave-assisted method. The result was due to the competitive main and side reactions as mentioned earlier.

Approximately 119 g of TMPE was produced at 130 °C as shown in Table 3. TMP which is hygroscopic has a high affinity towards moisture, approximately 1 wt.% from TMP50. Thus, PME could be hydrolysed in the presence of water to form free fatty acids (FFA). When FFA reacts with the alkaline catalyst, fatty soap will be formed. The catalyst, sodium methoxide was assumed to have negligible moisture content. Commercially, sodium metal is directly reacted to methanol to produce sodium methoxide. Moreover, the proper storage of the sodium methoxide usually does not contain any trace of moisture. The yield of the product depends on the conversion of the limiting reactant (TMP). At optimum conditions, the conversion of TMP was 100%. The enthalpy calculations are as follows:

$$Enthalpy for water and methanol = \smallint CpdT + Hf + \Delta Hv$$
(4)
$$Enthalpy for TMP = \Delta Hfusion + \smallint CpdT + Hf$$
(5)
$$Others: Total enthalpy = \smallint CpdT + Hf$$
(6)

CpdT is the integration of heat capacity of material at constant pressure, at set and reference temperature, 25 and 130 °C, respectively. Hf is the heat of formation, ΔHv is heat of vaporization, and \(\Delta Hfusion\) is heat of fusion.

Table 3 Energy balances of microwave-assisted and conventional transesterification.

Microwave heating is significantly more effective than the conventional heating. The total energy consumption during the transesterification between PME and TMP was calculated as follows in Eq. (8):

$$\Delta \dot{H}{ } = n_{Out} \dot{H}_{Out} - n_{In} \dot{H}_{In}$$
(7)
$$Total energy consumption = E_{Heat} + E_{Vacuum} - \Delta \dot{H}.$$
(8)

where EHeat is the energy consumption by heating (kJ), EVacuum is the energy consumed by the vacuum pump (kJ), and \(\Delta \dot{H}\) is energy absorbed by reaction system. The yield of TMPTE was calculated as in Eq. (9):

$$Yield of TMPTE=\frac{Experimental mass of TMPTE}{Theoretical mass of TMPTE}\times 100\%$$
(9)

Since the transesterification of PME and TMP is an endothermic reaction, energy is needed to be absorbed by the reaction. The values of energy absorbed by microwave-assisted and conventional reactions were 11.97 kJ and 17.57 kJ, respectively. As shown in Table 3, it was found that microwave-assisted reaction for 10 min resulted in a higher TMPTE yield (67.0%). Less energy consumption (1195.0 kJ) was achieved as compared to the conventional reaction system. In Table 4, the yield of TMPTE obtained by using conventional heating was only 48.1 wt.% at 3786.4 kJ of energy consumption. For both heating methods, the inlet enthalpy was higher than the outlet enthalpy. The yield of the microwave-assisted reaction was high. As a result, high outlet enthalpy was released from the microwave system. Based on Eq. (7), the energy absorbed by the reaction was lower than energy absorbed by the conventional reaction. Moreover, the energy released from the conventional heating was 3.6-fold higher. Hence, the microwave-assisted reactor system gave a total energy saving of 68.4%.

Table 4 Comparison of trimethylolpropane triesters (TMPTE) yields between the conventional heating and microwave system at 10 min of transesterification.

Although the reaction time of both reactions was set for 10 min, the preheating time to heat the liquid reaction mixture was different for both heating systems. For the microwave system, the required pre-heating time was only 3 min, while 30 min was needed for the conventional heating. The ten-fold increase in pre-heating time of the conventional heating, compared to the microwave heating, has caused a significantly higher heating energy consumption, as shown in Table 4. The total energy consumption result for both heating methods implies that an appropriate use of the microwave system helps a lot in energy saving. Similar results were also reported in previous research regarding the reduction of the energy consumption using the microwave-assisted reactions51,52,53.

Our previous study44 on the kinetics and thermodynamics investigation found that the forward-reaction activation energy of the microwave-assisted transesterification of TMP and PME was approximately 54.2–72.6 kJ/mol. Interestingly, the rates of forward reaction were dominated and faster than the reverse reactions. The reverse reaction consumed more time and energy with activation energy 70.7–99.9 kJ/mol. These findings are within the range of oil transesterification reactions using a base catalyst54. The second-order reversible reaction kinetics proposed solved the reaction rate constants using MATLAB simulation—Ordinary Differential Equation (ODE) function. Corresponding to the current study, the activation energy indicated a rapid reaction induced by microwave heating. As a result, the conversion of TMP and PME to monoester, diester, and triester has taken place step by step very quickly. The production of high TMPTE was at high temperature (130 °C), and the reaction rate constants which are highly temperature-dependent improved significantly at an optimum temperature.

Fourier transform infra-red for TMP esters

The FT-IR spectra of the raw materials used (TMP and PME) in the transesterification reaction were analysed and compared to the product (TMP esters) obtained is presented in the Fig. 7.

Figure 7
figure 7

FTIR spectra for TMP, PME and TMP ester.

TMP demonstrated a distinct broad peak from 3500–3000 cm−1 region that refers to the stretching of the alcohol O–H group. The intense peak at 1010 cm−1 indicates the stretching of C–O bonding by an alcohol group. The peaks at 3200 and 1010 cm−1 denotes that C–O and O–H group did not emerged in TMPE because the bonds were broken when attacked by sodium methoxide ions to produce alkoxides and protonated catalyst, as shown in the previous studies44. As a result, the O–H bond owned by TMP has been replaced with methyl ester. PME and TMPE posed the same peak at region 2918 and 1740 cm−1. These wavelengths belong to alkane by its C–H bond and the C=O bond of the carbonyl group. The same ester trend was also reported in the previous study of various saturation level of palm oil55. Moreover, Rabelo et al.56 also obtained the carbonyl group at 1742 cm−1 during the analysis of soybean oil-based methyl ester. In addition, the ester carbonyl functional group was also reported at 1743 cm−1 57. As the main back bone of the ester, TMP esters display the most similar plot with the PME at which 1150 cm−1 refers to the C–O stretching for ester (1210–1163 cm−1). The factor of the current result may also be contributed to by the excess of PME used in the reaction. PME, TMP and TMP esters showed an intense peak at 1460 cm−1 that denotes the C–H bending for alkanes (1465–1380 cm−1).

Thermogravimetric (TG) and differential scanning calorimetric (DSC) analysis

A common tool for thermal analysis, especially thermal stability, is TGA. The analysis is widely used in the chemical engineering field for oils and polymer constituents58. Three thermograms that are commonly discussed: TGA curve, DTG or derivative of TGA curve, and DSC curve which represent the heat flow of the sample, as illustrated in Fig. 8a,b, respectively. The TGA curve of weight loss of PME (the reactant) and TMPE (the final product) against the temperature in Fig. 8a,b showed that the starting temperature for degradation or reduction of PME and TMPTE weights took place at 170 and 312 °C, respectively. At 284 °C, almost 50% of PME was decomposed. Most PME was decomposed at 304 °C. It was found that 50% of TMP ester’s sample was decomposed at a temperature of 449.9 °C. The initial weight loss was due to the methyl ester (mainly methyl oleate and palmitate) combustion or evaporation. The DTG curve showed that the temperature range of material combustion with 452.3 °C was the temperature most material was decomposed. These results showed that TMP esters have good thermal stability and are ready for various base derivative purposes, such as in lubrication or metal working. A quite similar result was reported59, with the onset temperature of high oleic TMP esters at 435 °C, which was conducted under conventional heating. The sample weight was also reduced to half at 488 °C. Moreover, the higher temperature resistance obtained by the study was due to the employment of a high oleic composition of PME. The thermal breakdown of methyl ester consists of volatile lighter hydrocarbon constituents, carbon dioxide, and carbon monoxide60. The DSC curve in Fig. 8c displays an endothermic characteristic attributed to the volatilisation of methyl ester. Furthermore, the energy consumed by the sample during the phase transformation was − 805.94 Jg−1.

Figure 8
figure 8

(a) TGA and DTG curve of palm oil methyl ester (PME) (b) TG and DTG curve of trimethylolpropane esters (TMPE) (c) DSC curve for trimethylolpropane triester (TMPE).

1H-NMR for synthesis biolubricant

1H-NMR is a valuable technique for quality evaluation and quantification of methyl ester. A typical 1H-NMR spectrum of TMP (Fig. 9) shows peaks of aliphatic hydrogens at 5.32 ppm and 3.6–0.84 ppm Methyl TMP. Figure 9 shows a singlet near 3.63 ppm, related to the methoxy group, which allows TMP quantification of TMP synthesis, and a triplet of α-CH2 protons at 2.27 ppm. These two peaks are the distinct peaks for the confirmation of methyl esters present in TMP. Other observed peaks were at 0.84, 0.85 and 0.86 ppm of terminal methyl protons. Another signal at 1.9 ppm is related to methylene protons of the carbon chain, a signal at 1.31 ppm from the β-carbonyl methylene protons, and at 5.31 ppm due to olefinic hydrogen. TMP production can also be followed through the decrease of peaks at 4.18–3.98 ppm, which are assigned to hydrogens of O–CH3 moiety from the palm oil methyl ester (PME). Hence, these characteristic peaks from methyl TMP and PME can be used for their quantification in the transesterification reaction. Thus, the goal of the present work was to obtain the optimum condition for TMPTE preparation from palm oil methyl ester (PME).

Figure 9
figure 9

1H-NMR for TMP esters.

Conclusion

The microwave-PWM assisted transesterification of PME and TMP has successfully reduced the time of reaction compared to the conventional reaction system. In 10 min, the composition of TMPTE at 63 wt.% was achieved at 130 °C, 0.6 wt.% sodium methoxide, molar ratio TMP: PME of 1:4, and under 10 mbar. While it took 1 hr for the conventional method to achieved similar conversion. However, microwave heating system not only accelerates the transesterification reaction, but also other competing reactions, namely the hydrolysis and saponification reactions. The energy consumption by using the fabricated microwave system was greatly reduced compared to the conventional heating method. However, further investigation on the kinetic study is necessary for better understanding of the coupled electromagnetic and heat transfer for the transesterification of PME and TMP.

Materials and methods

Materials

The polyol, trimethylolpropane (TMP) was obtained from Acros Organics—Thermo Fisher Scientific (Malaysia) and the palm oil methyl ester was purchased from Carotino Sdn. Bhd. (Malaysia). Sodium methoxide was obtained from Sigma Aldrich Chemicals Co (Malaysia), while both ethyl acetate and N, O-Bis(trimethylsilyl)trifluoroacetamide (BSTFA) were purchased from Fluka Chemie AG (Switzerland). Palm oil methyl ester (PME) used in the study consisted of a collection of fatty acid esters with various molecular weights (mainly oleic). This complex nature of plant-based methyl ester may generate a diversity of products from multiple reactions. An assumption was made such that PME was considered as a single component (C:18), based on its major constituent (approximately 75% w/w) in the compound, in order to simplify the reaction model. The details of the components are presented in the Table 5.

Table 5 Methyl ester composition of PME .

Experimental design

In this experimental design, the one-variable-at-a-time (OVAT) technique is a general optimisation approach that involves the adjustment of one parameter at a time in order to elicit a response as a function of that one parameter. A number of researchers have verified and promoted the OVAT approach for optimising the transesterification reaction by examining parameters such as temperature, amount of catalyst, time of reaction, molar ratio, and pressure, which were varied as shown in Table 6. Each run was replicated three times with the average value, and the standard deviation of the best three readings, being evaluated and plotted in the graph. The results are compared, both qualitatively and quantitatively.

Table 6 Design of experiments for microwave-assisted transesterification for PME and TMP.

Microwave-assisted transesterification reaction

A microwave-PMW Dixson 2301 (Dixson FA Engineering, Sdn., Bhd., Shah Alam, Selangor, Malaysia) operated at 2.45 GHz was fabricated for biodiesel production34. This system controls the operating temperature inside the microwave cavity and prevent the overheating of materials which could damage the structure of methyl ester. Besides that, Lokman et al.34 reported that the improvement of esterification reaction by the repetition of the rapid strong microwave energy to control the temperature, surpassing the normal continuous microwave at the same energy level at reduced time.

The transesterification of PME and TMP was conducted in a 250 ml three-neck flask under vacuum conditions with the mass of PME kept constant in all experiments. PME was dried overnight in the oven at 105 °C prior to experiments to reduce the moisture content. Subsequently, 80 g of PME and the appropriate amount of TMP were mixed in the three-neck flask equipped with a thermocouple and a sample port and placed in the centre of the microwave oven. The setup was connected to a vacuum pump. The mixture was stirred by a magnetic stirrer throughout the reaction. Each run was heated by using microwave heating for 3 min before the addition of the catalyst, to provide uniform mixing at the set temperature. Then, a small amount of catalyst, which was calculated based on the weight of reactant, was poured into the hot mixture, and the microwave heating continued as per the set time. Vacuum pressure was controlled gradually to the prescribed set point to avoid a sudden burst or spillage of reactant. The removal of air from the system also eliminated the by-product (methanol). Methanol, the by-product must be continuously removed to drive the forward reaction and obtain a higher yield of TMP esters.

After the reaction reached completion for the targeted reaction time, a drop of sample was taken out by using a syringe and was prepared for a gas chromatography analysis. The dielectric constant, ε’, and loss factor, ε”, for each reactant, was measured at room temperature by an open-ended coaxial probe (HP 85070B, Agilent, Palo Alto, CA, USA) that was connected to a network analyser (HP 8753C, Agilent, Palo Alto, CA, USA) at a frequency in the range of 1–4 GHz. A high dielectric constant value defines the ability of a material to absorb microwave energy, while a high loss factor denotes the capability of the material for rapid heat transfer43,61.

Fatty soap separation

After the reaction was completed, the product mixture was allowed to cool down to room temperature, prior to separating the fatty soap by-product from the reaction mixture. The Whatman qualitative filter paper no. 5 were used for the separation process. The mass of soap was calculated by using Eq. (10):

$$Fatty soap= \frac{Mass of solid material (g)}{Total mass of reactant (g)} \times 100\%$$
(10)

Removal of excess palm oil methyl ester (PME)

In the transesterification reaction, TMP is the limiting reactant while PME is the excess reactant. Since there was an excess of PME used, this was removed at the end of the process, to obtain a high purity of TMP esters before the analysis was conducted. A hotplate was set at temperature of 260 °C (to achieve temperature 180 °C inside the reactor) to heat up the reaction mixture in a three-neck flask that was immersed in a silicone oil bath. The three-neck flask, with sampling port equipped with a thermometer, was connected to a relief valve and a condenser with a water supply at room temperature. An Erlenmeyer flask, which was connected to a vacuum pump, was used to collect the excess of PME. The relief valve was gradually closed to introduce low pressure of at least 1.4 × 10–2 mbar for 4 h.

Material and energy balance of transesterification reaction of palm oil methyl ester (PME) and trimethylolpropane (TMP)

Based on Eq. (1)–(3) for transesterification reaction of PME and TMP, the hydrolysis and saponification reaction were assumed as follow:

$${\text{PME }} + {\text{ H}}_{{2}} {\text{O}} \to {\text{Free fatty acid }}\left( {{\text{FFA}}} \right) \, + {\text{ CH}}_{{3}} {\text{OH }}\left( {{\text{Methanol}}} \right)$$
(11)
$${\text{FFA }} + {\text{ NaOCH}}_{{3}} \left( {\text{Sodium Methoxide}} \right) \to {\text{RCOONa }}\left( {{\text{FFAONa}}} \right) \, + {\text{ CH}}_{{3}} {\text{OH}}$$
(12)

The PME was hydrolyzed with moisture that presents in the PME and TMP thus producing FFA and methanol. FFA further reacted with the catalyst and formed fatty soap (FFAONa) and methanol. Several assumptions for the calculation are:

  • The conversion of H2O to FFA is 100%

  • No hydrolysis of TMPTE and TMPDE during transesterification

  • There is no moisture in catalyst

  • The composition of fatty acids, fatty soap, TMPME, TMPDE, and TMPTE were based on the composition of PME (Table 5)

Characterisation of trimethylolpropane triesters

  • Sample preparation

    A small drop of sample (0.01 ± 0.005 g) was diluted with 1.0 mL of ethyl acetate in a 2 mL vial and whirled thoroughly. Next, 0.5 mL of BSTFA was added and the mixture was swirled and then heated in a bath at temperature 40 to 50 °C for 10 min before the sample was injected into the gas chromatography—flame ionisation detector (GC-FID) system.

  • GC-FID analysis

    GC-FID Perkin Elmer was used to analyse the ester using a specialised column of DB-5HT with 15 m \(\times\) 0.32 mm \(\times\) i.d. 0.1 µm. The methodology of GC analysis was established by Yunus et al.62, with some modifications in order to save time and gas consumption. The sample was injected into the system at 80 °C initial oven temperature for 3 min. The system was programmed to ramp at 6 °C /min up to 360 °C, and finally held at this condition for another 5 min. Hydrogen was used as a carrier gas with a flow rate of 26.67 mL/min, while nitrogen was consumed as a make-up gas. Only 0.1 µL of the sample was injected into the GC system and it took 27 min to analyse the sample.

  • Fourier transform infra-red (FTIR) spectroscopy analysis

    The FTIR spectra of TMPTE was recorded using a Perkin Elmer 1650 spectrometer (USA). All the corresponding spectra were using an absorption mode with a wavelength range of 4000 to 500 cm−1.

  • Thermogravimetric analysis (TGA) and differential scanning calorimetric (DSC) analysis

    The thermal characterisation of TMPTE by using TGA and DSC were carried out in air medium for the temperature range of 25 to 600 °C, at 50 ml/min. The heating rate was set at 10 °C/min. The equipment was from Mettler Toledo TGA/DSC 823 IHT (Columbus, USA).

  • Nuclear Magnetic Resonance (NMR) Spectroscopy

Further determination of the characterising was conducted to determine the quality of TMPTE and quantification of methyl ester by 1H-NMR spectroscopy. The analysis was performed on JOEL NMR (model ECX500, USA) with chloroform as solvent operating at 500 MHz.