I'm really new to Mathematica and I'm facing a problem and would really appreciate some help! Maybe my question is similar to one described in How to fit 3 data sets to a model of 4 differential equations?, but I can not solve it on my own. I'm trying to develop the model for reaction kinetics. The one component F is degrading and polymerizing at the same time. Both rates are dependent on pH (concentration of H+ ions). These H+ ions are generated during the degradation of the compound. So the equations seems to look like
F'[t] == -kd F[t] H[t] - kp F[t] H[t]
H'[t] == kd F[t] H[t]
These kd and kp are UNKNOWN and need to be found! I have data in an Excel file where the first column is time (0,1,10,25,35,45,65,85,125 min), the second column is concentration of component F and the third one is concentration of H+ ions at a given time. So I'm doing these steps (may be they are not straightforward but...)
SetDirectory[
"F:\\Furfural\\articles\\Kinetic modelling of \
xylose-furfural\\model in Mathematica"];
data = Import["furfural experiments.xlsx"][[1]];
{time, Furfural, Hydrogen} = Transpose[data];
furfin = Furfural[[1]];
Hin = Hydrogen[[1]];
sol = ParametricNDSolveValue[{F'[t] == -kd F[t] H[t] - kp F[t] H[t],
F[0] == furfin, H'[t] == kd F[t] H[t], H[0] == Hin}, {F, H}, {t,
0, 150}, {kd, kp}];
And here comes my problem - WHAT should I do with my own data to be able to put it to NonlinearModelFit and find fitting simultaneously for F and H?
I killed more than week trying to figure it out! I would really appreciate any help!
p.s.: You can find data on https://drive.google.com/file/d/0BwH-Q7mzwrpLWE1zMWNDb3d1NEk/view

transformedDataand remove the 3rd k frommodel. I also wonder about the omission of the kp term inH'[t]; can you provide the proposed mechanism/chemical equations? – bobthechemist Apr 12 '15 at 19:12