Displaying 4 results from an estimated 4 matches for "daspk".
2011 Oct 03
0
deSolve - Function daspk on DAE system - Error (Vince)
Vince,
When that happens, one possible reason is that your DAE is of index > 1,
which cannot be solved by daspk.
The solver radau, also from deSolve can handle DAEs up to index 3, but
you need to rewrite the problem in the form M*y' = f(x,y), where M is a
mass matrix.
If you do that for your problem, and solve it with radau, then radau
complains that the "matrix is repeatedly singular", the...
2011 Oct 02
0
deSolve - Function daspk on DAE system - Error
...So-S -ES -P
return(list(c(res1, res2, eq1, eq2)))
})
}
pars <- c(Eo=0.02, So=0.02, k2=250, E=0.01); pars
yini <- c(S=0.01, ES = 0.01, P=0.0, E=0.01); yini
times <- seq(0, 0.01, by = 0.0001); times
dyini = c(dS=0.0, dES=0.0, dP=0.0)
## Tabular output check of matrix output
DAE <- daspk(y = yini, dy = dyini, times = times, res = Res_DAE, parms =
pars, atol = 1e-10, rtol = 1e-10)
ERROR:
daspk-- warning.. At T(=R1) and stepsize H (=R2) the nonlinear solver
f
nonlinear solver failed to converge repeatedly of with abs (H) =
H
repeatedly of with abs (H) = HMIN...
2009 Jun 11
3
deSolve question
Dear All,
I like to simulate a physiologically based pharmacokinetics model using R
but am having a problem with the daspk routine.
The same problem has been implemented in Berkeley madonna and Winbugs so
that I know that it is working. However, with daspk it is not, and the
numbers are everywhere!
Please see the following and let me know if I am missing something...
Thanks a lot in advance,
In-Sun
#---------------...
2017 Nov 19
2
Debian backport on Stretch?
Le Sat, Nov 18, 2017 at 03:26:53PM -0800, Bill Harris a ?crit :
> Incidentally, you can see a bit more complete description at
> https://unix.stackexchange.com/questions/402560/how-do-i-install-r-on-debian-stretch-given-the-r-api-3-issue
> .
Hi Bill and everybody,
if one installs R >= 3.4.2 from any source, then some Debian packages
will be broken. The change of r-api virtual