Optimization of Biodiesel Production from Fats, Oils, and
Grease (FOG) using Artificial Intelligence
Badril Azhara, Karthickeyan Viswanathanb,c*, Cries Aviand, Muhammad Ikhsan Taipabub,e,
Wei Wub
a
Department of Chemical Engineering, Institut Teknologi Sepuluh Nopember, Surabaya 60111,
Indonesia
b
Department of Chemical Engineering, National Cheng Kung University, Tainan 70101, Taiwan
c
Department of Mechanical Engineering, Dr. N.G.P. Institute of Technology, Coimbatore
641048, India
d
Departement of Electrical Engineering, Brawijaya University, Indonesia
e
Department of Chemical Engineering, Pattimura University, Ambon 97134, Indonesia
E-mail: [Link]@[Link]
1
Abstract
This study presents the design and optimization of a biodiesel production process,
emphasizing the integration of machine learning models and process optimization techniques.
The biodiesel production process involves multiple stages, including feedstock preparation,
esterification, and transesterification, with catalysts Amberlyst-15 and KOH used in continuous
stirred-tank reactors (CSTRs). Sensitivity analysis reveals that high conversions of free fatty
acids (94%) and triglycerides (97%) are achievable under optimized operating conditions. To
enhance process efficiency, adjustments to reaction temperature, time, and methanol-to-oil ratios
are proposed, resulting in lower energy consumption and material costs. A machine learning
model evaluation, using various algorithms, identifies XGBoost as the best performer for
predicting process parameters, achieving an R² value of 0.999. Particle Swarm Optimization
(PSO) is then employed to optimize the XGBoost model, leading to the identification of optimal
input parameters for biodiesel production. The optimized process, combined with heat
integration, reduces pre-heating energy requirements by 80.9% and total heat duties by 19.9%.
The findings demonstrate the effectiveness of combining machine learning and optimization
techniques to enhance biodiesel production efficiency while reducing costs and energy
consumption.
Keywords: Artificial intelligence; Biodiesel; Energy; Machine learning; Optimization.