Hello,
I’m trying to solve the following system of ODEs, but it is taking very long to solve. Does anyone know why it’s taking so long to solve, and whether there’s a way to speed up the computation? Please refer to the code below or the attached file.
Thank you,
Abed
de = {Derivative[1][DC][t] == -kE DC[t] - kPT DC[t] + kTP DP[t] +
kD MC[t], Derivative[1][DP][t] == kPT DC[t] - kTP DP[t],
Derivative[1][IC][t] == -2 kD IC[t] - kE IC[t] - kPT IC[t] +
kTP IP[t], Derivative[1][IP][t] == kPT IC[t] - kTP IP[t],
Derivative[1][MC][t] ==
2 kD IC[t] - kD MC[t] - kE MC[t] - kPT MC[t] + kTP MP[t],
Derivative[1][MP][t] == kPT MC[t] - kTP MP[t]}
ic = {IC[0] == IC0, IP[0] == 0, MC[0] == 0, MP[0] == 0, DC[0] == 0,
DP[0] == 0};
sol = DSolve[Join[de, ic], {IC[t], IP[t], MC[t], MP[t], DC[t], DP[t]},
t];
debug.nb (129 KB)