How to fit adsorption isotherm models using Microsoft Excel

  Рет қаралды 62,713

jay bullen

jay bullen

Күн бұрын

Link to Excel spreadsheet: doi.org/10.5281/zenodo.4521579
This tutorial video teaches you how to fit adsorption isotherm models (Langmuir and Freundlich) to experimental data using Microsoft Excel. The video demonstrates both linearised and non-linear fitting, using the LINEST function and the Solver Add In.
Please get in touch with any questions and suggestions. I hope this video benefits the community.
Excel spreadsheet: doi.org/10.5281/zenodo.4521579
Data set: doi.org/10.5281/zenodo.3689692
Original paper: doi.org/10.1016/j.jcis.2020.0...
00:00 linearised Langmuir fitting
07:20 non-linear Langmuir fitting
11:50 linearised Freundlich fitting
14:14 non-linear Freundlich fitting
15:40 comparing the goodness-of-fit
---
You can find me here:
Google Scholar: scholar.google.com/citations?...
Research Gate: www.researchgate.net/profile/...

Пікірлер: 66
@waddema
@waddema 3 жыл бұрын
wow, this will definetly pimp my masterthesis to another level. Thank you sooooo much for this tutorial and your excel sheets :*
@rawan4297
@rawan4297 2 жыл бұрын
I like how you explain, i never understood these models till i saw your video, thank you very sooo much
@hiramob
@hiramob 8 ай бұрын
Very clear explanation. Exactly what i needed! I see it was uploaded 2y ago but id love to see more uploads like this.
@King_Daud
@King_Daud 3 жыл бұрын
Thanks Sir, I was struggling this for the past six months. Thanks a lot sir
@patino.gelver
@patino.gelver Жыл бұрын
Thanks a lot Jay...great help for the community
@sandervanduinen6248
@sandervanduinen6248 Жыл бұрын
Thank you for the amazing and clear explanation.
@isaacvicentini5747
@isaacvicentini5747 2 ай бұрын
This was such a good explanation. Thankyou so much for putting out such educational content
@riantempany543
@riantempany543 3 жыл бұрын
you are my saviour, great vid
@SasaCecaSole
@SasaCecaSole 2 жыл бұрын
Thank you! Very well explained.
@MegaPad2
@MegaPad2 3 жыл бұрын
Excellent explanation! Thanks.
@chandrabhan2715
@chandrabhan2715 3 жыл бұрын
Thank you sir, this is well explained concept.
@azanhk1
@azanhk1 2 жыл бұрын
great tutorials... so many thesis compared the R-squared between models in their linearized forms..
@Aminulchem
@Aminulchem 2 жыл бұрын
Good job!
@wijisena9214
@wijisena9214 2 жыл бұрын
Great it helped a lot cheers😊
@abdelazizkadri6973
@abdelazizkadri6973 3 жыл бұрын
Thank you very very very much
@nabilahabdulsamad1772
@nabilahabdulsamad1772 3 жыл бұрын
Thank you for a great tutorial. May I know, can excel solver able to solve when ln (MR-C) = ln a - Kt when we only have data for MR and t and need to find the constant value which is a, K and C?
@vahidmousalou8870
@vahidmousalou8870 2 жыл бұрын
you are a genus man (like), plz calculate a fit an 3 parameter and more isotherm like Sips and... plzzzz.
@lucaslima5731
@lucaslima5731 2 жыл бұрын
Do you have any videos about the Freundlich-Langmuir (Sips) isotherm? I am in doubt about getting the Ks and ns parameters of the regression.
@dosentekim
@dosentekim 2 жыл бұрын
thank you sir
@Orian366
@Orian366 9 ай бұрын
Hello thank you for the nice video. I would like to ask if you happen to know how to fit data of multicomponent adsorption systems to modified extended langmuir model, SRS and extended freundich model in excel. I wonder is it possible to find the eg. interaction factor η of modified extended langmuir model with the excel solver you showed here?Thank you
@refalka4970
@refalka4970 2 жыл бұрын
i think the first langmuir equation is also can be linearized and it can be fitted to the y = mx+c also. But the m value you got is different with the second equation...
@g_silver_3549
@g_silver_3549 3 жыл бұрын
Thanks a lot :)
@lucaslima5731
@lucaslima5731 3 жыл бұрын
Salvou minha vida! obrigado :)
@jaybullen2887
@jaybullen2887 3 жыл бұрын
De nada - estou feliz que foi util
@archanasailypainuly7841
@archanasailypainuly7841 3 жыл бұрын
VERY INFORMATIVE VIDEO , COULD YOU PLEASE EXPLAIN THE BET ISOTHERM AS WELL
@mahamajmal5495
@mahamajmal5495 2 жыл бұрын
which data is required to applying langmuir adsorption isotherm?
@williamtchabo1310
@williamtchabo1310 3 жыл бұрын
How to obtain the K value?
@DebashisBandyopadhyay-ow3mj
@DebashisBandyopadhyay-ow3mj 2 ай бұрын
Nice explanation. How to apply it in case of hydrogen adsorption using Freundlich Isotherm model??
@Javsaful
@Javsaful 8 ай бұрын
To determine the value of qe a volume is needed, this volume influences the final result of qm and I have seen that some authors use 1 liter and a better qm is obtained. Is this feasible? thanks for the reply
@fridtjofsobanski359
@fridtjofsobanski359 3 жыл бұрын
My master thesis is saved! Thanks a lot!!!
@King_Daud
@King_Daud 3 жыл бұрын
Me 2
@priyankakhare4469
@priyankakhare4469 2 жыл бұрын
Sir Plesae make vedio tutorial for dubnin non linear isotherm..
@aminnaifar4442
@aminnaifar4442 Жыл бұрын
thanks a lot Could you give us another example please
@herculesdf9748
@herculesdf9748 3 жыл бұрын
First of all, thank you for the video. In non-linear models, having followed all your steps, when I draw a scatter diagram and configure the trendlines, the graph continues to be linear and a small R^2 is obtained. On the contrary, the calculated R^2 from the square differences is above 0.96. I notice to you that the final trendlines are non-linear. What did you choose in the trendlines menu?
@jaybullen
@jaybullen 3 жыл бұрын
@@herculesdf9748 In the non-linear model, we do NOT add a trendline. The black dotted line that you see at 11:40 of the video is not a trendline, but it is actually the Langmuir adsorption isotherm model. The data used for this dotted line is Ce (column B) and qe (column G). When you plot this data, you will get the curved line with the Langmuir adsorption isotherm shape. If you have any difficulties, please download my Excel spreadsheet template (linked in the video description). I hope this helps you - Please do leave a comment to say how your modelling went!
@herculesdf9748
@herculesdf9748 3 жыл бұрын
@@jaybullen I understood my mistake and you confirmed it to me. Finally, the model that was created fits well with the original and I have 0.96 R^2. But I have one question, this moment maybe my mind is tired but I wonder if after the work is done we copy and paste the initial values ​​of Qe to the Qe values ​​of the model we will obviously have R^2= 1, but the qmax and KL values ​​remain the same. does all this make sense? Thank you very much for your help
@herculesdf9748
@herculesdf9748 3 жыл бұрын
@@jaybullen One last question. The name of the method you re following in non-linear models, is it called regression or least square method? Or both maybe? Thanks a lot
@tamarapozo4204
@tamarapozo4204 11 ай бұрын
Hello! first of all thank you very much for the video! and the second thing is to ask a question, I do not understand very well the difference between the qe used at the beginning to calculate the y-axis (Ce/qe) in the linear regression graph, and the qe calculated later from the data obtained from the first one. Thank you!
@drsaqibscienceacademy
@drsaqibscienceacademy 8 ай бұрын
The qe value calculated earlier (using Ce/qe) is derived from your experimental data, while the qe value, which is theoretical, is determined based on the Langmuir model. Therefore, they differ in terms of being experimental and calculated values, respectively.
@SIAHSI
@SIAHSI Жыл бұрын
Thank you for the explanation. I have a question, what is the unit of KF, I can't deduce it, hope you can give me some hints. Waiting for good news.
@jaybullen2887
@jaybullen2887 11 ай бұрын
Imagine that qe (mg g-1) = KF (UNITS) * Ce (ug L-1)^(1/n). We can rearrange to get KF (UNITS) = qe (mg g-1) / [Ce (ug L-1)]^(1/n). This is the same as KF (UNITS) = [qe (mg g-1)]*[Ce (ug L-1)]^(-1/n). If we look at the units only, we see that the units for KF will be equal to (mg g-1)*(ug L-1)^(-1/n). Or more generically, the units are (aqueous concentration units)*(adsorbed adsorbate units)*(-1/n). These units are very strange indeed!
@sufiasiddiqui
@sufiasiddiqui Жыл бұрын
I have a question. It's written that R2=1-(sum of squared differences between model and experiment/sum of square differences between model and average). However, in the excel sheet in the denominator the term is calculated for sum of square differences between experiment and average. Can you please clarify?
@jaybullen2887
@jaybullen2887 11 ай бұрын
Hi there - great question. We want to compare the quality of our optimised model with optimised parameters k and qe with a very poor model. The poor model is a simple average of all y-values (i.e. no model at all!). So we calculate (a) sum of squared differences between experiment and model, and then calculate (b) sum of squared differences between experiment and average of all y-values. And we compare the two. Further explanation can be found elsewhere: www.ncl.ac.uk/webtemplate/ask-assets/external/maths-resources/statistics/regression-and-correlation/coefficient-of-determination-r-squared.html
@zxcvb2003
@zxcvb2003 10 ай бұрын
hello! I am following this video, and the intercept value is negative, so the KL value is also negative. No matter how much I think about it, I don't know why, so I'm leaving a comment. Do you know anything about this issue? Thank you and have a good day!!
@eduardotcb
@eduardotcb 2 жыл бұрын
Rifas machín chicharrín!
@menglizhang5176
@menglizhang5176 3 жыл бұрын
How can we know the original qmax when we fitting non-linear Langmuir adsorption model?
@jaybullen2887
@jaybullen2887 3 жыл бұрын
Thanks for the question. When you use non-linear fitting with Microsoft Excel's Solver feature, you have to take an initial guess of the parameters Qmax and KL (the Langmuir constant). For Qmax, choose a value of where you think that the adsorption isotherm will plateau. In the graph of experimental data in this video, you can see that the reaction has reached a plateau with qe ~ 9.5 mg g-1, so I would use this as an initial guess. Then you need to guess the value of KL. You can choose any number, and see how the shape of your model compares to the experimental data. Next, change this number a bit and see if the shape of the model improves or gets worse. Keep doing this until you have the rough shape of the experimental data. Then use the Solver function to optimise Qmax and KL to improve the R^2 value!
@menglizhang5176
@menglizhang5176 3 жыл бұрын
@@jaybullen2887 Thank you for your reply! Now I can understand well and this video is very useful for me! Thank you very much!
@karunratsakulnarmrat7993
@karunratsakulnarmrat7993 2 жыл бұрын
I've tried solver for 4 unknowns to optimize value. Two times run with exactly data have got different values. Do you have any suggestion please?
@jaybullen2887
@jaybullen2887 2 жыл бұрын
Hi there, what is the model you're trying to fit? Is it an adsorption isotherm with 4 fitting parameters? When we increase the number of fitting parameters, we increase the probability that the Solver algorithm fails to find the true best fit, and instead it finds a not-so-good fit. If you can, try to simplify the problem so that you can optimise just two unknowns first. After you know what those two unknowns are, you can use them in the model and calculate the other two unknowns.
@karunratsakulnarmrat7993
@karunratsakulnarmrat7993 2 жыл бұрын
@@jaybullen2887 Thank very much for your suggestion. I used Peleg's model (MC = A(aw)^C + B(aw)^D; C1) for sorption isotherm.
@jaybullen2887
@jaybullen2887 2 жыл бұрын
@@karunratsakulnarmrat7993 I'm not familiar with the Peleg sorption isotherm model. Looking at a paper called "Comparison of the Sorption Properties of Fruit Powder Shampoos Using the BET, GAB, and Peleg Models" - They use a Monte Carlo algorithm to solve the non-linear regression and optimise all four constants. This should avoid the algorithm getting stuck in a local minimum rather than the true minimum. Unfortunately I don't know how to do this using Microsoft Excel's Solver without a lot of manual work (i.e. constrain two parameters, optimise the second two parameters, write down R^2, change the first two parameters, and repeat the optimisation, and generate a whole table of R^2 values then choose the best) - If you solve the problem, then please do share your progress. Good luck!
@karunratsakulnarmrat7993
@karunratsakulnarmrat7993 2 жыл бұрын
@@jaybullen2887 Thanks for your information. I recalculate Peleg model same as your way. But this time I change the initial value (previously assigned as "1" for 4 unknows). After I run the solver the results look good. I will try Monte Carlo in order to compare the results. Highly appreciate your time and suggestion.
@jaybullen2887
@jaybullen2887 2 жыл бұрын
@@karunratsakulnarmrat7993 Thanks for the update. Glad that you're making progress. You can also make a very nice graph where the x-axis is the value you fix unknown 1 or unknown 2 to be, and the y-axis is the R^2 value after you optimise unknown 3 and unknown 4. You change unknown 1 and 2 to many different values, and write down the R^2 results. Let us know how you get on with the Monte Carlo method and how you implement it.
@martljn6431
@martljn6431 Жыл бұрын
Why can't you use the excel function to calculate R²? Isn't that an easier method to determine the R² if you got the calculated qe values?
@jaybullen2887
@jaybullen2887 11 ай бұрын
Definitely! But in this spreadsheet, we show all the mathematical steps, one by one, to improve our understanding of what R^2 is and what it means and how we calculate it :-)
@fajin8992
@fajin8992 Жыл бұрын
Why you use Ln instead of Log?
@jaybullen2887
@jaybullen2887 11 ай бұрын
You should get the same answer either way, whether you use natural logs or base 10.
@md.nahidpervez8525
@md.nahidpervez8525 2 жыл бұрын
Can I get your email to discuss about my data
@ry8361
@ry8361 3 жыл бұрын
This is for single adsorption system. How to fit Binary-Adsorption isotherm models??
@jaybullen2887
@jaybullen2887 3 жыл бұрын
Hi there, when you say binary adsorption isotherm models, do you mean (a) two different adsorbates, (b) two different adsorbent materials, or (c) two different adsorption mechanisms, e.g. monolayer adsorption followed by multilayer adsorption-surface precipitation?
@ry8361
@ry8361 3 жыл бұрын
@@jaybullen2887 Thank you for your reply. I mean adsorption of two different adsorbates. How can I use non-linear method to fit the data to different multiple adsorption models such as extended Langmuir model, modified Langmuir model and so forth?
@jaybullen2887
@jaybullen2887 3 жыл бұрын
@@ry8361 Perhaps you could provide the equation that you would like to model? I am not familiar with multi-adsorbate Langmuir adsorption isotherms and I imagine that there are many different approaches. Perhaps contact the author from a recent paper than interests you. Looking at the "Non-modified Langmuir multi-component isotherm" in the following paper: pubs.rsc.org/en/content/articlelanding/2019/ra/c9ra04865k the authors provide the following adsorption isotherm equation: qe,j = Qmax,j * (KL,j * Ce,j) / (1 + Σ,j (KL,j * Ce,j)) where parameter j refers to either adsorbate A, adsorbate B or adsorbate C etc... (It's very hard to write the equation in KZbin so please refer to the paper!) You could model an adsorption isotherm using this equation in Microsoft Excel, using the Solver function. You would add extra columns since for a binary system you don't just have one independent variable (Ce) and one dependent variable (qe), but you instead have two independent variables (Ce,A and Ce,B) and two dependent variables (qe,A and qe,B). Just like the single-adsorbate system, you would run the Solver and try to improve the R^2 value. The challenge is that you now have 4 fitting parameters instead of 2 (KL,A and KL,B and Qmax,A and Qmax,B). The Solver function is likely to fail to give the best fit, since the algorithm may get stuck at a local minima rather than the universal minimum when trying to minimise the error between the experimental data and the model. To solve this, you could first determine KL,A and Qmax,A by fitting an experimental adsorption isotherm where you only have adsorbate A, and there is zero adsorbate B. Then you can constrain (fix) the values of KL,A and Qmax,A in the binary model to the results from your single-adsorbate experiment, and you will only have to optimise the fitting parameters KL,B and Qmax,B. When you are dealing with complex systems with multiple adsorbates and multiple adsorbents, you may wish to consider using a Surface Complexation Model (SCM) instead. In an SCM, you calculate adsorption equilibrium constants for one adsorbate and one adsorbent at a time, then you combine your experimental parameters with a database of literature parameters to achieve a model that is sensitivity to many factors: not just adsorbate concentration but also pH, ionic strength and competitor ions. I have a short tutorial article about surface complexation modelling here: www.researchgate.net/publication/349947876_Surface_complexation_modelling_Building_tools_to_understand_and_predict_adsorption
How to fit adsorption kinetic models using Microsoft Excel
20:25
How to fit sorption isotherms to real data in Excel
22:58
wildvineyard
Рет қаралды 23 М.
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 42 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 5 МЛН
Langmuir and Freundlich isotherm model nonlinear fitting in Origin
8:16
Aminulchem Innovation
Рет қаралды 36 М.
How to fit non-linear equations in excel using solver
6:24
Taylor Sparks
Рет қаралды 252 М.
Adsorption Isotherm Test
20:58
Water and Waste Laboratories Media Hub
Рет қаралды 14 М.
Fit Nonlinear Model to Data with Excel
13:33
APMonitor.com
Рет қаралды 61 М.
Adsorption
12:17
Physical Chemistry
Рет қаралды 28 М.
Adsorption isotherms (DRAFT video)
9:25
PLE at Lund University
Рет қаралды 10 М.
Three Best AI tools for Data Analysis
15:39
Gurru Tech Solutions
Рет қаралды 21 М.
Adsorption - Langmuir Isotherm Example
11:03
Engineer Clearly
Рет қаралды 66 М.
ENE 483: Adsorption Isotherm Example
5:35
Susan Masten
Рет қаралды 4,9 М.
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН