Hi All,
Looking for an equivalent pumas code to translate the below nonmem code in pre block of the model. In nonmem advan4 trans1 is implemented.
KA = TVKA*EXP(ETA(1))
K = (TVCL/TVV2)*EXP(ETA(2))
V2 = TVV2*EXP(ETA(3))
K32= (TVQ/TVV3)*EXP(ETA(4))
K23= (TVQ/TVV2)*EXP(ETA(5))
Many thanks for the help.
In Pumas, you are looking for this model: Analytical Solutions and Differential Equations · Pumas. Notice that you’d have to define the parameters CL
, Q
, Vc
, and Vp
so if you want to apply random effects to the rate constants, like your example, you’d have to first define the rate constants and then convert to the physiological parameters, i.e.
CL = K*V2
Q = K23*V2
Vc = V2
Vp = V3
Here I’m reusing your variable names for simplicity so the Pumas model can be simplified such that you just define Vc
directly instead of defining V2
.