Update. This code works if I remove the R2BP.
in front of each state variable and parameter. But then how can I create an ODEProblem
from the ODESystem
if the ODESystem
is defined in another package?
This is described in this issue and others.