Transesterification of Castor Oil into Biodiesel: Predictive Modeling with Machine Learning and Genetic Algorithm
The growing demand for energy and the environmental impacts of fossil fuels have driven the search for sustainable alternatives such as biodiesel. Castor oil stands out as a promising non-edible feedstock but requires optimization strategies to overcome challenges in its conversion to biodiesel. This study developed a predictive model to determine the optimal parameters for homogeneous alkaline or acid transesterification of castor oil, aiming to maximize fatty acid methyl ester (FAME) yield. A dataset of 406 operating conditions from the literature was used to train and evaluate six models: Multilayer Perceptron with logistic sigmoid activation (MLP-logsig), hyperbolic tangent activation (MLP-tansig), Radial Basis Function network (RBF), hybrid RBF + MLP, Random Forest (RF), and Adaptive Neuro-Fuzzy Inference System (ANFIS). The MLP-tansig achieved the best performance in training, validation, and testing (R > 0.98). However, when combined with a Genetic Algorithm (GA), it generated infeasible parameters. Conversely, the RBF + GA combination yielded results consistent with the literature: molar ratio 19.35:1, alkaline catalyst 1.13% w/w, temperature 50 °C, reaction time 70 min, and stirring speed 548.32 rpm, achieving 100% FAME yield. This approach reduces the need for extensive experimental testing, offering a cost- and time-efficient solution for optimizing biodiesel production.
Authors
- Vitor Souza Santos (ORCID: https://orcid.org/0009-0005-8466-1766)
- George Simonelli (ORCID: https://orcid.org/0000-0002-8031-1401)
- Luiz Carlos Lobato dos Santos (ORCID: https://orcid.org/0000-0003-3824-7802)
Institutions
- Universidade Federal da Bahia (BR)
Publication Details
- Journal
- Biomass
- Published
- 2025-11-04
- DOI
- https://doi.org/10.3390/biomass5040071
- Primary Topic
- Biodiesel Production and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
- Conselho Nacional de Desenvolvimento Científico e Tecnológico