Re: Two sequential absorption processes
2011/4/6 Liu Dongyang <[email protected]>
> Dear NonMEM users,
>
> I want to code a two sequential absorption processes with 2 CMT:
> zero-order absorption for the first 2.99 hours and then
> first-order absorption for the rest time. My code is listed as below. My
> question is when I change K0 (zero-order absorpption rate),
> the predicted concentrations in the first 2.99 hours does not change. It
> seems like AL is useless.
> I am very appreciated if anyone can tell me the problem in my code or
> other things. Thanks a lot!
>
> $DES
>
> IF (AMT.GT.0) THEN
> TDOS=TIME ;dosing time
> TL=TDOS+2.99 ;lag time=2.99 hour
> ENDIF
>
> AL=0
> BL=0
> K0=14100
>
> IF (TIME .LE. TDOS) THEN ; for PD baseline
> INPT=0
> ELSE
> IF (TIME .LE. TL .AND.TIME .GT. TDOS ) THEN
> AL=1
> ELSE
> BL=1
> ENDIF
> ENDIF
>
> INPT=AL*K0+BL*KA*A(1)
>
> C2=A(2)/V1
> C3=A(3)/V2
>
> DADT(1) = -INPT
> DADT(2) = INPT-CL*C2- CLD*(C2-C3)
> DADT(3) = CLD*(C2-C3)
>
>
> Best regards,
>
> Liu, Dongyang, PhD, Postdoc Fellow
> Department of Pharmaceutical sciences,
> State University of New York at Buffalo.
> Tel(o):01-716-645-4840,
> Cell: 01-716-908-6644,
>