; ============================================= DESCRIPTION: Two cpt linear model Linear 2 compartmental distribution model with IV administration and absorption Dose: mg Concentrations: ug/mL Time: hours ; ============================================= [LONGITUDINAL] input = {Fabs1,ka,CL,Vc,Q,Vp} ; ============================================= PK: ; ============================================= ; Model parameters ; ---------------- Tlag1 = 0 Tlag2 = 0 ; Model compartments ; ------------------ compartment(cmt=1, amount=Ac) compartment(cmt=2, amount=Ap) ; Model dosing ; ------------ absorption(cmt=1, type=1, ka=ka, p=+Fabs1, Tlag=Tlag1) iv(cmt=1, type=2, p=1, Tlag=Tlag2) ; Transfer and elimination definitions ; ------------------------------------ elimination(cmt=1, k=-(-(Q/Vc + CL/Vc))-(Q/Vc)) transfer(from=2, to=1, kt=Q/Vp) transfer(from=1, to=2, kt=Q/Vc) ; Output variables ; ---------------- Cc = Ac/Vc ; ============================================= OUTPUT: ; ============================================= output = {Cc}