PREDPP for MM Elimination
Here's a fragment of a control file that I cooked up to illustrate the
kind of model you describe. It needs initial estimates for thetas,
etc.
I haven't actually run it, so its possible that there are mistakes.
As with any ADVAN, one or more doses could be input to any of the
compartments. Steady state doses are also possible if the SS data item
is defined.
$PROBLEM EXAMPLE OF M-M ELIMINATION WITH DEPOT AND PERIPH
$INPUT ID TIME AMT DV CMT
$DATA datafile
$SUBROUTINES ADVAN6 TRANS1 TOL=4
$MODEL COMP=(DEPOT,DEFDOS),COMP=(CENTRAL,DEFOBS) COMP=(PERIPH)
$PK
VM = THETA(1)*EXP(ETA(1))
KM = THETA(2)*EXP(ETA(2))
S2 = THETA(3)*EXP(ETA(3))
K12 = THETA(4)*EXP(ETA(4))
K23 = THETA(5)*EXP(ETA(5))
K32 = THETA(6)*EXP(ETA(6))
$ERROR
Y = F + ERR(1)
$DES
C2 = A(2)/S2
DADT(1) = -K12*A(1)
DADT(2) = K12*A(1) -K23*A(2) +K32*A(3) -C2*VM/(KM+C2)
DADT(3) = K23*A(2) -K32*A(3)