Jump to content


Photo
* * * * * 1 votes

PML codes for a precursor model

PML Coding precursor model

  • Please log in to reply
3 replies to this topic

#1 mike.liu

mike.liu

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 June 2020 - 05:57 PM

Hi,

 

I'm working on using Phoenix WinNonlin 8.2 on a PKPD model project. The model scheme is in the attached figure. I used IDR in Phoenix model to work out the part in the red box. To move forward, it seems I need to use PML codes. Could you give me some guidance on this? I've also include my IDR codes below. 

 

Thanks,

 

-Mike

 

 

test(){
deriv(E = Kin * (1 + Emax * C / (C + EC50)) - Kout * E)
cfMicro(A1, Cl / V, first = (Aa = Ka))
dosepoint(Aa)
C = A1 / V
sequence{E = Kin / Kout}
error(EEps = 0.1)
observe(EObs = E * (1 + EEps))
stparm(Ka = tvKa)
stparm(V = tvV)
stparm(Cl = tvCl)
stparm(Kin = tvKin)
stparm(Kout = tvKout)
stparm(Emax = tvEmax)
stparm(EC50 = tvEC50)
fixef(tvKa(freeze) = c(, 3, ))
fixef(tvV(freeze) = c(, 47.584317, ))
fixef(tvCl(freeze) = c(, 1.6311257, ))
fixef(tvKin = c(, 0.00062, ))
fixef(tvKout = c(, 0.0066, ))
fixef(tvEmax = c(, 803, ))
fixef(tvEC50 = c(, 2.9, ))
}

Attached Thumbnails

  • model_scheme.jpg

  • RonaldAxon and MichaelShoox like this

#2 mike.liu

mike.liu

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 June 2020 - 10:28 PM

I made some progress but the model can't go through. There is an error message. Please help take a look on the Phoenix file and error message here.

Thanks!

Attached Thumbnails

  • error message.png

Attached Files



#3 Ana Henry

Ana Henry

    Advanced Member

  • Val_Members
  • PipPipPip
  • 232 posts

Posted 17 June 2020 - 10:38 PM

Hello Mike,

I think the problem is that you have a 2 EEps parameters (the same name) for both observation blocks.  I renamed one EEps to EEps2 and the model seems to run fine.  Give it a try.

 

Ana



#4 mike.liu

mike.liu

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 18 June 2020 - 05:04 PM

Hi Ana,

 

It worked!

 

Thanks,

 

Mike







Also tagged with one or more of these keywords: PML, Coding, precursor model

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users