Hi Tjalling,
Does BYOM could handle analytical solution instead of ODEs, i.e. fit the data to an analytical solution of a kinetic model?
Merry Christmas and happy new year!
Haotian
Fit data to an analytical solution?
-
- Posts: 24
- Joined: Wed Sep 01, 2021 10:30 am
- Location: Beijing, China
- Contact:
Re: Fit data to an analytical solution?
Yes, you can set up the code to use analytical solutions. The examples folder of BYOM shows you how. In the examples/logistic folder, there is a derivative in derivatives.m and an analytical solution in simplefun.m. In call_deri, one of these is used, depending on the setting of the global glo.useode in the main script.
The folder examples/bioconc also includes such a switch, see the script byom_bioconc_extra. That folder may be easiest to use as a basis for your model analysis. If you only need to use the analytical solution, you can leave out derivatives.m and modify call_deri so that it always calls simplefun.m.
Best wishes!
The folder examples/bioconc also includes such a switch, see the script byom_bioconc_extra. That folder may be easiest to use as a basis for your model analysis. If you only need to use the analytical solution, you can leave out derivatives.m and modify call_deri so that it always calls simplefun.m.
Best wishes!
-
- Posts: 24
- Joined: Wed Sep 01, 2021 10:30 am
- Location: Beijing, China
- Contact:
Re: Fit data to an analytical solution?
Hi Tjalling,
Thanks so much for the solution. That's very helpful.
Best,
Haotian
Thanks so much for the solution. That's very helpful.
Best,
Haotian