How to find fitting optimized parameters to fit a system of non-linear ODEs to experiment.
Show older comments
Hi
I have a set of ODEs (attached), I have been able to solve them using ode45, however, my issue now is my experimental results don't match the integrated values of the equations. So, I am looking to fit only the solution for epsilon with it's experimental results to find the best parameters A, B, (A0/alpha), k0, Q, and QG. Attached is my code based on an answer from another thread, but it just runs continuously but I couln't figure out what the problem is. Could it be that the there are too many parameters to fit? Any help is greatly appreciated. Thank you.
7 Comments
Since you want to estimate activation energies, I hope you have measurement data for different temperatures, but under adiabatic conditions.
Continuum
on 27 Jan 2024
Continuum
on 27 Jan 2024
Torsten
on 27 Jan 2024
but for this study, the relevant process is considered only at a single temperature.
Then you must refer to data different from those that you included as modified_data.xlsx here:
Continuum
on 27 Jan 2024
But it's one long experiment with a dynamic development in time. So your measurements have a history. It's usually necessary that you start at t = 0 with a fixed temperature which is kept constant over time until the experiment has finished.
But we are in a MATLAB forum here ...
Accepted Answer
More Answers (1)
William Rose
on 27 Jan 2024
2 votes
Matlab has excellent tools for this.
and
explain ways to do it.
2 Comments
William Rose
on 27 Jan 2024
@Buhari Ibrahim, You are fitting six parameters. That is not too many. I have fitted ODE models with more parameters. You say you have attached code, but none is attached.
Continuum
on 27 Jan 2024
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!