Professional Documents
Culture Documents
A R T I C L E I N F O A B S T R A C T
Keywords: The present work consists in studying the kinetic, isothermal and thermodynamic properties related to the
Adsorption adsorption of Methylene Blue in industrial waters. The study proposes an package to study the adsorption on the
Thermodynamic side calculating the parameters: (Langmuir constant KL, Frendlich constant KF, the rate constants for a first order
Graphical user interface
K1, pseudo-second order K2 and second order kinetic K3, and paramètres thermodynamiques) and plotting the
Matlab® Code
trends, through a user-friendly graphical interface. This package aims to save time and avoid errors that may
occur when processing experimental results. The experimental study of methylene blue adsorption on Argan
shells was performed to verify the performance of this package. The experimental study of the adsorption of
methylene blue on the shells of Argan was carried out to verify the performance of this set. It is found that the
amount of adsorption of methylene blue on the shells of Argan is 90.96 mg / g for an estimated equilibrium time
of 240 min. The correlation coefficient showed that the pseudo-second order kinetic equation best describes the
adsorption kinetics. The experimental equilibrium data were analyzed, the Langmuir isotherm provided the best
correlation. In addition, the determination of the thermodynamic parameters shows that the reaction is spon
taneous and exothermic.
* Corresponding author.
E-mail address: ousama.if@gmail.com (O. Ifguis).
https://doi.org/10.1016/j.sajce.2022.06.010
Received 26 January 2022; Received in revised form 17 April 2022; Accepted 22 June 2022
Available online 25 June 2022
1026-9185/© 2022 Published by Elsevier B.V. on behalf of Institution of Chemical Engineers. This is an open access article under the CC BY-NC-ND license
(http://creativecommons.org/licenses/by-nc-nd/4.0/).
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
The package used has a user interface that automates the calculations
necessary for the study of adsorption, whether it is the drawing of
curves, the calculation of rate constants, equilibrium model constants
and thermodynamic parameters. On the other hand, dedicated simula
tion packages are designed to simulate only specific engineering prob
lems obtaining results quickly (Kartal and Özveren, 2021), but they are
also usually expensive and the source code is not available, so it is not
possible to modify or upgrade the simulation package easily (Ibrahim,
2011). All the operations necessary for the execution of the task (data
entry, calculations and obtaining results in Excel file) are performed in
this package. Fig. 1 shows a graphic representation of all the parts of the
code, differentiating those that should be defined by the user (INPUT)
and those generated by the software (OUTPUT).
For the conception of this package, the notion of functions is used to
facilitate the understanding and the maintainability of the code. The
different matlab functions are illustrated in Fig. 2, each function pro Fig. 3. Operation of Cinetique.m for the calculation of parameters related to
cesses part of the calculation. kinetic models (First order, Pseudo second order, Second order).
Functions contain sequential commands and can accept inputs and
return outputs. Named functions must be defined in a program file and • y1,…,yN are outputs
not at the command line. To define a function, the following syntax is • x1,…,xM are inputs
used: • myfun is the function name
Function [y1,…,yN] = myfun(x1,…,xM)
212
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
2.1. Kinetic 1
=
1
+ K3 t (3)
Qe − Qt Qe
From the experimental results, and in order to approach the real The graphical representation of Qe −1 Qt as a function of time, allowing
mechanism of the reaction, the researchers apply different kinetic
us to access K3 (min− 1.g/mg).
models. These mathematical models have been chosen for their
With Qe: quantity adsorbed at equilibrium (mg/g), Qt: quantity
simplicity.
adsorbed at time t (mg/g), t: contact time (min).
The kinetic adsorption model of Lagergreen (Lagergreen, 1898)
The Matlab function Cinetique.m is used to calculate the parameters
213
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
2.2. Isotherme
Qe = kF ce 1/n (6)
Linearization of equation (6) leads to:
1
logqe = logkl + logce (7)
n
Ce: equilibrium adsorbate constant (mg.L − 1), KF: adsorption ca
pacity constant (mg(n-1)/n.g − 1.L1/n) and n: heterogeneity factor.
The Matlab function Isothermal.m is used to calculate the parame
ters of the isothermal study for both Langmuir and Freundlich methods.
Fig. 4 shows the Operation of Isothermal.m for the calculation of the
parameters related to the Langmuir and Freundlich models.
The function [Ce,Qe,Langmuir,Qm,KL, Frendlichx,frendlichy,n,KF,
rsqLangmuir,rsqFrendlichy]= isotherme(C0, A, F, K, V, m)
related to the kinetic models (First order, Pseudo second order, Second 2.3. Thermal
order).
Fig. 3 shows the operation of Cinetique.m for the calculation of pa The following equations allow us to calculate the thermodynamic
rameters related to kinetic models. parameters:
Function [Ct,Qt,First_order,t1, p1, K1, qe_cal,Pseudo_Second_Order, ΔG∘ = ΔH∘ − TΔS∘ (8)
t2, p2, K2, qe_cal2,Second_Order,t3,p3,K3,qe_cal3,rsqfirstorder,
rsqpseudo2order,rsq2order]=Cinetique (K,F,V,m,T,t,A,i) qe ΔS∘ − ΔH ∘
Log = + (9)
Ce 2.303R 2.303RT
• The Input of the Function : (K,F,V,m,T,t,A)
• The output of the Function : [Ct,Qt,First_order,t1, p1, K1,qe_cal, With:
Pseudo_Second_Order,t2,p2,K2,qe_cal2,Second_Order,t3,p3,K3, ΔG◦ : standard Gibbs free energy (J/mol), ΔH◦ : standard enthalpy (J/
qe_cal3,rsqfirstorder,rsqpseudo2order,rsq2order] mol), ΔS◦ : entropy (J/mol.K), R: universal gas constant (8.314 J/mol.K),
T: absolute temperature (K).
214
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Fig. 7. A) Raw Argan shells. B) Argan shells crushed and sieved to 2 mm. C) Thermostatic bath with Erlenmeyer flasks containing methylene blue solutions in contact
with Argan shells.
The thermal thermique.m calculates the thermal parameters ac 2.6. Graphical user interface
cording to the following steps:
Function [Ce,Qe,Thermique_y,Thermique_x,rsqThermique,delta_G, Function varargout = graphic_interface (varargin), This function
delta_S,delta_H,p6]= thermique(T, A, F, K, V, m, R, C0). allows to manage and display the graphical interface that facilitates the
Fig. 5 shows the operation of thermal.m for the calculation of ther interaction between the user and the application. Graphical User Inter
mal parameters. face (GUI) in MATLAB, allows the user to interact with a computer
With: program through various graphical objects (buttons, menus) (Mayor
et al., 2021). These objects are usually controlled with the mouse or
• (T, A, F, K, V, m, R, C0) are input keyboard. Although graphical interfaces seem secondary to the devel
• Thermique: the Name of the function opment of the content of an application, they must never theless be
• Ce,Qe,Thermique_y,Thermique_x,rsqThermique,delta_G,delta_S,del designed and developed with care, rigor and precision. Graphical in
ta_H,p6 are output terfaces are made up of graphical objects distributed in a parent-child
215
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Fig. 9. Variation of the adsorbed quantity of MB as a function of time (sorbent dose = 100 mg, V = 100 ml, T = 25 ◦ C).
The main objective of this part is to calculate the parameters related 3.2.2. Pseudo second order
to the adsorption in aqueous medium of methylene blue/milled Argan The Fig. 11 shows pseudo second order modeling of data corre
shells (Fig. 7), via the proposed application. sponding to experimental values obtained from experiments carried out
To determine methylene blue concentrations over time Ct, absor at 25 ◦ C (298 K).
bance (Abs) was measured at 664 nm (A664) using a Shimadzu UV visible The kinetic constant K2, the correlation coefficient R2 and the
2550 spectrophotometer. Solutions prepared with concentrations be amount of MB adsorbed at equilibrium Qe are reported in Table 3.
tween 0.95 and 11.95 mg.L − 1 of MB are presented in Fig. 8.
In order to determine the calibration coefficient K of MB, the 3.2.3. Second order
absorbance was plotted against the concentration, Fig. 9 illustrates the The Fig. 12 shows second order modeling of data corresponding to
216
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Fig. 10. Determination of the rate constant for a first-order kinetic model.
Absorbance values (Abs) at t = 0 and at equilibrium for solutions Fig. 16 illustrates the proposed mechanism of MB adsorption on
with concentrations between 50 and 400 mg.L − 1. At 25 ◦ C with stirring lignocellulosic biomass (argan shells)
250 rpm, are shown in Table 5. Fig. 16 describes the possible adsorption mechanism of MB on
Fig. 13 shows the modeling of MB adsorption isotherm on Argan lignocellulosic biomass (argan shells). The adsorption capacity depends
217
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Fig. 11. Determination of the rate constant for a pseudo second order kinetic model.
on the structural and functional behavior of the sorbent. MB can be CRediT authorship contribution statement
easily adsorbed onto lignocellulosic bioadsorbents by forces such as van
der Waals force and hydrogen bonding interactions (Üner et al., 2016; O. Ifguis supervised, proposed the idea and wrote the original draft;
Manna et al., 2017). Y. Ziat editing and correction; F. Ammou performed the analysis and
software programation; R. Bouhdadi prepared the samples, interpre
4. Conclusion tation, data accuracy, correction and laboratory validation; M. Mbarki
validated the DATA; M. Benchagra validated the algorithm.
During this study, a user-friendly Matlab application was developed
for the calculation of kinetic, isothermal and thermodynamic model Declaration of Competing Interest
parameters using a user-friendly graphical interface. The program pro
vides an easy method for the calculation of various parameters related to The authors declare that they have no known competing financial
the study of adsorption. This application is a very interesting tool for a interests or personal relationships that could have appeared to influence
complete study of adsorption (calculation of parameters and plotting of the work reported in this paper.
lines).
218
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Fig. 12. Determination of the rate constant for a second order kinetic model.
Table 4
shows the second order kinetic parameters for the adsorption of MB on Argan shells at 25 ◦ C.
Time(min) Abs C(t) Q(t) (1 /(Qe - Qt)) R^2 S Order K3 Qe calcule
Table 5
− 1
Absorbance at t = 0 and at equilibrium for solutions with concentrations in the range of 50 to 400 mg.L . At 25 ◦ C with 250 rpm stirring.
Solution Abs(t = 0) Abs(t to equilibrium)
219
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Table 6
Constants of Langmuir model.
CO Abs F Ce Qe Ce(i)/Qe(i) R^2 Langmuir Qm KL
220
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
Table 7
Constants of Freundlich model.
CO Abs F Ce Qe log(Ce(i)) log(Qe(i)) R^2 Freundlich n KF
Table 8
1
Absorbance at equilibrium for solutions of concentrations 100 mg.L −
. Under the
temperatures (293, 308, 318 and 328 K).
Temperature (K) Abs(t to equilibrium)
293 0.158
308 0.169
318 0.205
328 0.210
Fig. 15. Determination of the enthalpy and entropy of adsorption of methylene blue on Argan shells.
Table 9
Thermodynamics associated with adsorption on Argan shells.
Abs Ce Qe log10(Qe/Ce) 1/T delta_G delta_S delta_H R^2 thermal
221
O. Ifguis et al. South African Journal of Chemical Engineering 41 (2022) 211–222
222