How to obtain model parameters by fitting experimental data to the monod model. monod model.
Show older comments
t= [0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 48]
x= [15, 18.3, 22, 23.4, 23.8, 24.1, 24.5, 24.8, 24.87, 24.9, 24.95, 25, 25]
S= [49.7, 28, 26.1, 18.1, 13.7, 10.1, 4.1, 1.2, 0.3, 0.08, 0.05, 0.05, 0.05 ]
P= [0, 5.2, 8.1, 9.3, 10.5, 12.3, 12.8, 13.2, 13.6, 13.8, 13.9, 13.95, 13.95]
I used initial guess values of umax, ks, y1 and y2 as 0.5, 55, 5 and 1.4 respectively. dx/dt= umax*s*x/(ks + s); ds/dt= -y1*umax*s*x/(ks + s) dp/dt= y2*umax*s*x/(ks +s). I used the code provided by star strider on a similar question but I keep getting errors, I also have to fit the data to other fermentation models. Also can simulink be used for the fitting?
7 Comments
Star Strider
on 30 Jul 2021
Please post the code you are using.
Copy it from your Editor, paste it either as an edit to your original post or to a Comment here, then use the leftmost button in the CODE part of the toolstrip to format it.
It might be possible to use Simulink to fit it, however I haven’t used Simulink in a while, and never for this sort of problem, so I won’t even attempt that.
.
Alex Sha
on 30 Jul 2021
Hi, O'Brien, the data lengths are not matched: there are 12 data points for t, but 13 for X, S and P, making correction please.
O'Brien Ikart
on 30 Jul 2021
O'Brien Ikart
on 30 Jul 2021
Star Strider
on 30 Jul 2021
I still need the code you’re using.
That’s the only way to determine what the problem is with it.
.
O'Brien Ikart
on 30 Jul 2021
O'Brien Ikart
on 30 Jul 2021
Accepted Answer
More Answers (0)
Categories
Find more on Event Functions 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!

