; ============================================= DESCRIPTION: PK model Simple linear one compartment PK model with 1st order absorption. ; ============================================= [LONGITUDINAL] input = {ka,CL,Vc,Tlag1,Tk0} ; ============================================= PK: ; ============================================= ; Model compartments ; ------------------ compartment(cmt=1, amount=Ad) compartment(cmt=2, amount=Ac) ; Model dosing ; ------------ absorption(cmt=1, type=1, Tk0=Tk0, p=1, Tlag=Tlag1) elimination(cmt=1, k=0) ; dummy elimination to have the chance at an analytic solution ... ; Transfer and elimination definitions ; ------------------------------------ transfer(from=1, to=2, kt=ka) elimination(cmt=2, k=-(-(CL/Vc))) ; Output variables ; ---------------- Cc = Ac/Vc ; ============================================= OUTPUT: ; ============================================= output = {Cc}