1 Introduction

The circular economy (CE), whereby resources are kept in economic circulation for as long as possible and waste minimized, is currently a hotly debated concept in academic and policy circles. CE initiatives, such as recovery, recycling and re-use, are seen as promoting carbon emissions reductions, resource security and economic competitiveness [1]. Successfully implemented, CE approaches could make a substantial contribution to the United Nations’ Sustainable Development Goals, though that is presently largely a matter for speculation [2, 3]. Cognisant of the wider social and economic context, this research tackles a specific, currently environmentally problematic, residue stream of an industry of significance to a number of countries in the Global South. Approaches to the CE, as with the earlier concepts on which it builds, need to take into account geographic context industries and nations start with certain circumstances (e.g., dependence on particular industries), which may more constructively be adapted rather than abandoned [4].

Since its introduction in the early 1900s from West Africa, the oil palm Elaeis guineensis has become the most valuable crop for countries in South East Asia. By 2007, palm oil had become the most consumed oil globally unseating soybean oil [5, 6]. Oil palm production has attracted much criticism on environmental grounds, with attention focusing on the prevention of further deforestation. There has also been research and policy activity into how to make existing production more efficient and less polluting. The Malaysia government, for example, introduced regulations mandating the capture of carbon emissions from POME that are typically left to microbial action in ponds open to the atmosphere [7]. Palm oil has helped lift Malaysia’s economy to the ranks of upper-middle income countries, and the programme of increasing efficiency of production is part of the Malaysian government’s drive to reach high-income status (aiming at 2020). An existing technology for managing POME is anaerobic digestion, which implies decomposition in a controlled environment (minimizing leakages to air or water) and generation of energy from the methane. This paper, however, pursues a higher value and more mobile form of energy, i.e., biodiesel. Pollution from the extraction of palm oil is mainly found in the waste water that is created; this is primarily the discharge from the sterilization process and separator hydrocyclones known as palm oil mill effluent (POME) [8, 9]. The harmful characteristics of POME can be summarized by its low pH and exceptionally high chemical and biological oxygen demand (COD and BOD respectively) that cause significant damage to watercourses if directly discharged. [10,11,12] During the rapid expansion of the Malaysian palm oil industry, which has seen the number of palm oil mills rise sharply from 10 in 1960 to 410 in 2008, there has also been a corresponding increase in the quantity of POME produced [13]. It is estimated that for every tonne of crude palm oil produced, around 3 t of POME is also created leading to large volumes requiring treatment. For example, in 2009 43.8 million cubic metres of POME was generated in Malaysia alone [9, 12, 14, 15].

However, due to the oil content present in POME, there is emerging interest in the utilization of this material as a feedstock for biodiesel production. Biodiesel is a synthetic fuel commonly defined as the alkyl esters of long chain FAs sourced from organic biomass such as vegetable oils or animal fats [16]. Biodiesel produced from waste products has become a focus of research in contemporary times. This approach offers several key advantages; chief among which is the reduction in competition for raw materials, e.g., food [7, 17,18,19]. In addition, waste products are generally abundant, cheap and potentially difficult to dispose of currently; therefore, any potential use is advantageous to both the producer of the waste and the environment as a whole [20, 21]. Even when the considering the low oil content of POME, the potential biodiesel yield could be significant. The use of POME as a biodiesel feedstock is a relatively new area with few publications at the time of writing, mainly concerning biological conversion methods [22, 23].

The difficulties of using POME include the relatively low oil concentration in addition to the complex mix of surface-active particles as well as the variable composition of the POME from mill to mill. One potential avenue for the treatment of POME is the field of microwave chemistry. Since the seminal paper in 1986 by Gedye et al. microwave processing has been successfully applied to many organic chemical reactions, with reports of high yields and very short processing times the primary advantages [24, 25]. As well as numerous applications in the field of organic chemistry, microwave technology has been successfully applied to process of solvent extraction, known as microwave assisted extraction (MAE). First explored by Ganzler et al. MAE makes use of the direct heating of the sample/solvent with microwave radiation to enhance extraction yields and lower both extraction times and energy usage [26,27,28]. The single step, single vessel extraction and esterification reactions being performed in this investigation represent a novel integrated method for the direct conversion of POME to biodiesel. By combining the advantages microwave technology has in both material extraction and organic reactions to the difficult feedstock that is POME, this investigation has increased the economic viability of waste treatment, thus incentivizing the removal of polluting FAs from the waste stream.

2 Methods and materials

Raw POME was sourced from Langkon Palm Oil Mill in Sabah, Malaysia, and stored in sealed containers for transportation and storage. Methanol, heptane, magnesium sulphate and sulphuric acid were obtained from VWR chemicals.

For the following experiments raw POME was used. Samples used for experimentation were taken from an agitated sample, representing freshly discharged, unsettled POME.

2.1 Extraction and esterification of fatty acids present in POME

About 15 ml of POME was centrifuged at RCF 3.0 (4400 RPM) in an Eppendorf 5702 centrifuge for 30 min. The supernatant was put aside, and the pellet was transferred to a temperature-controlled microwave vessel. The organic solvent and acid catalyst were then added; the vessel was sealed and placed in a Milestone Ethos EX microwave. Microwave heating was performed for 15 min at a constant temperature of 150 °C. After the heating period the system was allowed to cool to room temperature. Once cooled the reaction mixture was transferred to a separating funnel and the organic layer was removed. The organic layer was diluted 1:1 with BSTFA + TMCS (99:1) derivatization agent, and concentrations of FAs and methyl esters (MEs) were analysed by GC-MS performed on a Hewlett Packard 6890 Plus fitted with a Thames Restek Rxi-17Sil MS moderate polarity column.

2.2 Determination of the initial oil content of the POME sample

For the purpose of the evaluation of microwave reactions, the oil content of the raw POME sample was initially determined. A modified extraction procedure as set out in ISO standard 9377-2 was performed in addition to GC-MS quantification of the extracted materials. Briefly, 50 ml of POME was acidified to pH 2, sealed in a vessel and stirred with the heptane extraction solvent for 30 min. Afterwards, magnesium sulphate was added and the organic layer was removed. A sample of the organic layer was diluted 1:1 with BSTFA + TMCS (99:1) derivatization agent and concentrations of FAs quantified by GC-MS as above.

2.3 Water content of POME solids

An Ohaus MB23 moisture content determination apparatus was used to accurately quantify the water content in the centrifuged POME used for biodiesel production experiments. A sample of centrifuged POME (around 1.0 g) was placed onto a pre-weighed aluminium disc and placed onto the cradle of the MB23. The apparatus was activated, and the device tracked the mass of the sample as the temperature is increased by an infra-red heating element present above the sample disc. After no additional change in temperature is recorded, the system reports the difference in mass between the initial and final reading as a percentage of the initial mass. This is equivalent to the mass lost as water vapour from the sample.

2.4 Statistical optimization methods

The experimental condition matrix was designed using analysis of variance (ANOVA) software Design Expert 11 using response surface methodology (RSM) coupled with central composite design (CCD) to form a of this experimental design strategy that enables the embodiment of advantages of performing a specific number of experiments from otherwise performing unnecessary experiments, whilst fully considering the multivariate nature of any novel process parameters (factors), as well as consideration of the definite interactions between parameters (factors: volume of methanol, H2SO4 concentration, stirring), and their impact on the response yield (ME and FA concentrations).

3 Results and discussion

3.1 Initial fatty acid concentration in POME

The principle components identified in the solvent extraction of raw untreated POME were FAs, principally palmitic acid and to a lesser extent oleic acids and isomers thereof. Trace amounts of other FAs were detected as expected. For easy comparison the concentration of palmitic acid was used to evaluate the extraction efficiency and the esterification yield in this investigation. The concentration of palmitic acid in the raw pome sample was found to be 1.16 mg/ml. All extractions and reactions will be compared with this reference value for the purpose of determining yield and conversion to biodiesel. Figure 1 represents the make-up of oil extracted from raw POME according to the ISO method detailed in the previous section. The first and largest peak present at a retention time (RT) of 3.1 min is palmitic acid, unsurprisingly the most abundant component of POME. The peak at RT 3.65 min is the internal standard, docosane, used for accurate quantitation. The series of peaks between 4.1 and 4.4 min RT are the various C18 fatty acids, including primarily oleic acid itself (cis-9-octadecenoic acid) as well as linoleic acid (9,12-octadecadienoic acid) as well as the saturated stearic acid (octadecanoic acid). The solvent extraction produces a remarkably clean extraction profile with only fatty acids being extracted.

Fig. 1
figure 1

Chromatogram of derivatized POME components as extracted according to the procedure above and analysed by GC-MS

3.2 Water content of POME solids

The water content of the POME sample was determined The POME analysed was centrifuged to be representative of the POME used in the biodiesel production experiments. The water content of the centrifuged POME was found to be 97.9 ± 0.3%. Even after centrifugation, the water content of the centrifuged POME solids is still high, with almost the entire mass of the sample being water. Despite this, the appearance of the POME is that of a fibrous paste. The temperature of the water determination apparatus was set at a mild 120 °C in order to prevent the volatilization of any fatty acids or other organics that could detrimentally affect the accuracy of the water content determination.

3.3 Comparison between microwave and bench heating

In order to assess the rate enhancement possible when working with microwave heating system, 3 identical reaction mixtures containing pure palmitic acid were heated with methanol and a H2SO4 catalyst. The first reaction was performed under reflux heating, whereas the second and third were performed in a sealed microwave vessel at 100 and 150 °C respectively. Figure 2 shows the FAME concentration after only 1 min of microwave heating is significantly higher than the 30-min FAME concentration from standard bench heating. The microwave heating was conducted at two temperatures in order to show the effect temperature has upon the esterification reaction taking place. As the reaction mixture contains 10 ml of both methanol and heptane, this approaches the azeotropic ratio resulting in a boiling point of the benchtop reaction of around 59.1 °C at atmospheric pressure. The modest increase of reaction temperature used in the 100 °C microwave reaction gives a significantly higher concentration of FAME; the 150 °C reaction further increased the concentration of FAME produced in the 15-min reaction window. The additional 50 °C in reaction temperature between the two microwave reactions has a large effect on the resultant FAME concentration. This may be explained by the increase in pressure imparted upon the reaction by the heating of the solvent mixture far in excess of the azeotropic boiling point. As shown Fig. 2 as well as increasing the rate of extraction/esterification, the higher temperature microwave reactions also increased the total amount of FAME after the 15-min heating period. To investigate how the increased temperature (and microwave power) can increase not only the rate but more importantly the yield of FAME through increased extraction of FA, SEM images of the POME solids before and after microwave treatment were taken. A marked increase in porosity demonstrated the appearance of holes in the POME solid structure. Figure 3 shows the structure of the POME solids under × 200 magnification. The image shows the flaky nature of the substrate. Figure 4 shows two images of POME solids taken after the microwave reaction. The appearance of pores, holes and tears in the flakes of the POME solids could be responsible for the increased quantity of oil extracted from the POME solids in the microwave reactions by increasing the surface area of the solid as well as by breaking down the physical structure that could be retaining oils. The temperature of the microwave-heated reactions is controlled through the means of a PID loop that controls the microwave power delivered by the magnetron to the samples based on the setpoint temperature and the current sample temperature. In the case of the 150 °C microwave samples, not only was the temperature achieved by the microwave 50 °C hotter than the 100 °C reaction, the average incident power used to achieve and maintain this temperature would have been higher too. In addition, the reported temperature by the microwave control software can only refer to the bulk temperature inside of the vessel (due to the proxy measurement of temperature via a thermowell). Therefore, a value for the temperature of the individual constituents of the reaction vessel cannot be determined. It is a known phenomenon that solid particles in microwaves may experience super-heating and form “hot-spots” as a function of very strong microwave absorbance in a localized area, and this could be used to explain how the modest increase in bulk microwave reaction temperature (from 100 to 150 °C) could result in a significantly higher yield of oils liberated from the solid structure [29].

Fig. 2
figure 2

FAME concentration of reactions comparing microwave and bench heating

Fig. 3
figure 3

SEM image of POME solids showing new holes and tears formed during microwave treatment at 150 °C (mag. × 1000)

Fig. 4
figure 4

SEM image of POME solid pre-microwave treatment (mag. × 200)

The higher incident power delivered by the microwave control software in the case of the hotter reaction could lead to an increased level of porosity developing as a result of the breakdown of the organic POME solids as a function of the increased level of superheating.

3.4 CCD model and RSM analysis

A central composite design (CCD) model was used to estimate the impact of methanol, H2SO4 concentration and stirring on the yield of biodiesel and the quantity of fatty acids extracted from POME. In this initial design, the temperature and time of reaction was fixed at 150 °C and 15 min. The reason for this was to more accurately attribute the effects of methanol to oil ratio and acid concentration to the yield of biodiesel. The factors and their minimum and maximum values for the optimization are presented in Table 1.

Table 1 Factors and ranges of experimental conditions used for the optimization investigation

In this investigation, both the concentration of biodiesel in the final product and the concentration of fatty acid were studied. The purpose of this is to investigate simultaneously the performance of fatty acid extraction from POME as well as the secondary step of esterification. This is done by back-calculating the concentration of fatty acid using the present concentration of the methyl ester and adding this to the value retuned from GC-MS of the unreacted (residual) fatty acid. The methanol to heptane volume ratio was varied between 0.1 and 0.5, with a fixed 10-ml volume of heptane being used for the extraction.

Table 2 shows the 28 reactions for the RSM study incorporating a CCD design. The effect of stirring, sulphuric acid concentration and methanol present in the reaction was investigated in order to study the extraction of FAs from the centrifuged POME matrix and the subsequent esterification of the extracted FAs to biodiesel. The experimental variables and responses from the CCD are given in Table 2. The highest 3 concentrations of FAME in the trial were from runs utilizing the maximum values for methanol content and H2SO4 concentration. In some runs there was an unquantifiable concentration of FAME in the sample post-reaction. The runs exhibiting zero FAME were almost exclusively characterized by the low H2SO4 concentration stressing the importance of acid in the esterification component of the extraction-esterification process occurring in the microwave vessel. This trend is also observed in similar extraction/reaction experiments [30, 31]. In terms of the fatty acid concentration, relating to the extraction component of the extraction-esterification process, the highest concentrations of FA were also found from runs utilizing the maximum values for methanol:heptane volume ratio and H2SO4 concentration suggesting a role for both the acid and methanol in the initial extraction of the fatty acid from the POME matrix.

Table 2 Reaction variables and responses

The fit statistics as shown in Table 3 above can be used to evaluate the applicability of the model for both the FA extraction and the subsequent esterification to create FAME. A high R2 close to 1.00 for both models show that the fit of is good when compared with the experimental data. The modest difference between the predicted R2 and adjusted R2 could be used to indicate a block effect. However, the large value retuned for adequate precision means that the model is significantly representative of the data and can be used for the intended purpose to navigate the design space.

Table 3 Fit statistics for the model

3.5 Fatty acid extraction performance using RSM

Table 4 is an excerpt from the ANOVA performed on the relationship between the model variables and the FA concentration and is used to determine the significance, or lack of significance of each model term. An F value for the entire model of 40.62 implies significance, with a 0.01% chance this value being due to noise. P values lower than 0.05 indicate model terms that are significant to the model. In this case, methanol quantity, A, and H2SO4 concentration, B, are deemed to be significant. Stirring, C, with a P value of 0.1998 is not deemed to have a significant effect upon the fatty acid concentration.

Table 4 ANOVA table for fatty acid extraction (type III—partial)

The 3D surface in Fig. 5 shows the concentration of extracted FA at all levels of H2SO4 concentration and methanol. As can be seen, FA concentration peaks when both the levels of H2SO4 concentration and methanol are at their maximum. The peak value of 1.05 mg/ml represents a 90.5% yield of all available oil in POME when compared with the ISO method used for determination. This high value is obtained after only 15 min of extraction at 150 °C degrees and using only the centrifuged POME solids as opposed to the raw POME that the reference extraction was performed on.

Fig. 5
figure 5

Effect of H2SO4 concentration and methanol on the extracted FA concentration. Colour represents FAME concentration from 0 (blue) to 1.05 mg/ml (red)

The extraction of the FAs from the centrifuged POME solids was found to be dependent on both the concentration of H2SO4 and the volume of methanol present. As shown, even with all factors at their lowest the extracted FA concentration is still above 0.75 mg/ml, over 64% of the oil extracted according to the reference ISO method; this must be attributed to the action of the high temperature of the microwave and the heptane that is also present in the vessel. The methanol content of the reaction has the strongest effect on the FA concentration suggesting some solubility of palmitic acid in the methanol or perhaps the methanol-heptane azeotrope that would be formed in reactions containing the 5 ml of methanol. The next most significant factor was the H2SO4 concentration.

Whilst this was added ostensibly as an esterification catalyst (for the second step of the reaction) the effect of acid upon the POME solids may act to break down the solid structures allowing increased penetration of the extraction solvents, and subsequently, a higher amount of FA extracted. The least significant factor for FA extraction is the stirring which has a mildly detrimental effect on FA extraction. Figure 6 is a perturbation plot showing the effect of the three factors upon the FA concentration. The horizontal dimension of each line represents the range of values used in the experiments. Line A represents effect of the methanol volume on the extraction and ranges from 1 to 5 ml, line B represents the effect of H2SO4 concentration upon the extraction when varied from 0.001 to 0.04 mg/ml and line C represents the stirring rate used in the microwave reactor as a unitless value and was adjusted between 20 and 100% of the maximum. As can be seen, A is the steepest gradient showing that the amount of methanol is most important to this initial extraction step.

Fig. 6
figure 6

Perturbation plot showing the influence of all factors on the FA concentration

Fig. 7
figure 7

Effect of H2SO4 concentration and methanol on the FAME concentration. Colour represents FAME concentration from 0 (blue) to 1.09 mg/ml (red)

3.6 Biodiesel production performance using RSM

The esterification of the extracted palmitic acid to methyl palmitate (FAME) was also analysed through RSM as the final yield of biodiesel from the POME is the most important factor in this study overall. As shown in Table 5, and in common with the FA extraction model, methanol quantity (A) and H2SO4

Table 5 ANOVA table for biodiesel esterification [Type III - Partial]

concentration (B) are deemed to be significant. Stirring, C, with a P value of 0.0656, is not deemed to have a significant effect upon the FAME concentration. Figure 7 is a 3D surface showing that a high yield of biodiesel is only produced under conditions with the highest amount of acid and methanol. However, under these circumstances the peak yield of biodiesel when compared with the available FAs in raw POME is 89%. Whilst conditions used for the reaction were somewhat harsh and a high amount of methanol used, this can be recovered from the reaction mixture in a simple way through distillation. The amount of methanol used could be reduced if the POME solids were dried prior to reaction however with only mild centrifugation this method can achieve a high biodiesel yield with only a 15-min reaction time

Further study into optimizing the reaction with respect to temperature and reaction time could yield even more impressive results for the exploitation of this difficult feedstock. The perturbation plot, Fig. 8, shows the magnitude of the contributions of the factors to the final concentration of FAME in the product. As shown, the most significant factor to biodiesel concentration is the methanol content in the reaction. This can be explained by the dynamic equilibrium present in the esterification reaction between reactants and products as shown in Fig. 9. An excess of methanol will help to drive the equilibrium towards the biodiesel, this is especially important due to the residual water present in the centrifuged POME that will work in favour of the reverse reaction. The effect of H2SO4 concentration on the yield of biodiesel is the second most significant factor in this series of reactions. As the esterification catalyst it would be expected that the reaction responds well to an increase in acid concentration. In addition, H2SO4 also acts to dehydrate the reaction, diminishing the disruptive effect of residual water on the dynamic equilibrium formed between the biodiesel product and reactants in the reaction. As seen with the FA extraction, stirring had a modest albeit negative effect upon the final biodiesel concentration. Possible reasons for this could be that the increased agitation causes mixing of the organic and aqueous layer leading to increased contact between FAME molecules and water present in the reaction leading to acid hydrolysis of the product.

Fig. 8
figure 8

Perturbation plot showing the influence of all factors on the biodiesel concentration

Fig. 9
figure 9

Equilibrium formed between reactants and products in the production of esters

3.7 RSM insight in to maximizing biodiesel yield

A useful output from a statistical model is the ability to attribute relative (and actual) contributions from each factor to deconvolute the relationships and possible interactions between factors in order to optimize the reaction conditions towards minimizing energy use or amount of materials used for example. Table 6 is a table of factor coefficients that estimate the contributions from not only the individual factors but the interactions between factors (compound factors) represented by the multiple letter entries. A positive value for the estimated coefficient represents a positive relationship between increasing the value of the factor and a resultant increase in response value. For example, factor B, H2SO4 concentration has a positive coefficient, meaning that an increase in H2SO4 concentration will give a higher biodiesel yield. Whereas in factor C, stirring has a negative coefficient, meaning that in order to maximize the response, stirring should be minimized.

Table 6 Factor coefficients for biodiesel esterification yield

4 Actual reaction equation

Equation 1 can be used to predict the actual methyl ester concentration from the model when variables are entered using the same units as used in the model.

$$ {\displaystyle \begin{array}{l}\begin{array}{l}\mathrm{Predicted}\kern0.5em \mathrm{methyl}\kern0.5em \mathrm{ester}\kern0.5em \mathrm{concentration}=-0.050599+\left(2.51617\mathrm{A}\right)--\left(21.66933\mathrm{B}\right)--\left(0.003557\mathrm{C}\right)+\\ {}\left(152.49966\mathrm{AB}\right)-\left(0.054369\kern0.5em \mathrm{A}\mathrm{C}\right)+\left(0.006367\kern0.5em \mathrm{B}\mathrm{C}\right)-\left(4.56470{\mathrm{A}}^2\right)+\left(499.33209{\mathrm{B}}^2\right)+\left(0.000067{\mathrm{C}}^2\right)-\\ {}\kern0.5em \left(0.031617\mathrm{A}\mathrm{B}\mathrm{C}\right)+\left(75.40736{\mathrm{A}}^2\mathrm{B}\right)+\left(0.093011{\mathrm{A}}^2\mathrm{C}\right)-\left(3220.69398{\mathrm{A}\mathrm{B}}^2\right)\end{array}\\ {}\begin{array}{l}\mathrm{Where}:\kern0.5em \mathrm{A}=\mathrm{Methanol}:\mathrm{Heptane}\kern0.5em \mathrm{volume}\kern0.5em \mathrm{ratio}\\ {}\kern5em \mathrm{B}=\mathrm{H}2\mathrm{SO}4\kern0.5em \mathrm{C}\mathrm{oncentration}\end{array}\\ {}\begin{array}{l}\kern5em \mathrm{C}=\mathrm{Stirring}\kern0.5em \mathrm{rate}\\ {}\mathrm{Equation}\kern0.5em 1\kern0.5em \mathrm{Predicted}\kern0.5em \mathrm{methyl}\kern0.5em \mathrm{ester}\kern0.5em \mathrm{concentration}\kern0.5em \mathrm{calculated}\kern0.5em \mathrm{from}\kern0.5em \mathrm{model}\kern0.5em \mathrm{terms}\end{array}\end{array}} $$

5 Conclusion

This study has shown the potential for conversion of fatty acids from POME into biodiesel. In keeping with circular economy principles, this provides a route to extracting further value from an industrial residue. Once implemented, this approach would provide a financial incentive to mill operators to capture and manage POME without leakages to the environment. It also offers an additional relatively high value output in the context of rural economies in a developing country. FAs were extracted and esterified in a single reaction vessel from centrifuged POME and converted to biodiesel with a peak yield of 89% at 150 °C and a reaction time of 15 min. This high efficiency reaction could provide a method to obtain large quantities of biodiesel from a waste material, reducing the environmental impact of the free FA component of POME. Further studies could include the scale-up of the batch-based microwave technique to a larger flow system more suited to the continuous nature of POME production at palm oil mills.