-
I am trying to run simulations for a TMDD model that can bind to 3 membrane-bound and one soluble target formed via shedding. Below are the equations. I am able to compile the code without error; however, the model is not running as expected. The output shows that the drug is only in the SC compartment and has no flow between SC and Central compartments. Can you kindly advise how to resolve this issue. Thank you in advance!
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hi @Ravua1992 - First thing: double V_D = (2/3*pi*pow(r_D,3))/1.0e15; should be double V_D = (2.0/3.0*pi*pow(r_D,3))/1.0e15; I think Next: This statement is in double R0_m1 = CD86_p; but Once I do that, I'm still getting numerical problems solving the model. I'd go back through the math and see where there might be other issues to resolve. Kyle |
Beta Was this translation helpful? Give feedback.
-
Another one in double M3 = OX40L_p; |
Beta Was this translation helpful? Give feedback.
-
If you pull back on the duration of the simulation ( mod %>%
ev(cmt=1,amt = 250000, ii = 12, addl = 9,time=0,evid=1) %>%
mrgsim(delta = 0.1, end = 10) %>% plot()
|
Beta Was this translation helpful? Give feedback.
-
@Ravua1992 Great! Best wishes for your project. |
Beta Was this translation helpful? Give feedback.
Hi @Ravua1992 -
First thing:
should be
I think
2/3
will evaluate to0
and you can see all of the outputs areNaN
.Next:
This statement is in
$MAIN
but
CD86_p
is a compartment I think. Until you figure out the model, you might put this math under$ODE
; just to prevent this from happening.Once I do that, I'm still getting numerical problems solving the model. I'd go back through the math and see where there might be other issues to resolve.
Kyle