write an ASCII script for a multiple dose iv injection

Hi everyone, could you please help me to write an ASCII model to modeling a multiple dose iv injection (n=ndose=5).

We already know that for a simple dose we have a 3 compartment model.

C(t)=D*(Ae-(alt)+Be-(bet)+Ce-(gat))}

But I would like to run a model based on an injection of Drug “X” at the same dose "D"once a week with a tho=7 days while 5 weeks.

So we have a new administration of drug X at the dose D ever 7 days.

I want use this following equation for code my model but I don’t know how to do it.

because with a tho=7 days the time of a new injection = T+Tho.

We start with a first condition

IF t<tho THEN C(t)=D*(Ae-(alt)+Be-(bet)+Ce-(gat))}

ENDIF

the following condition is that:

IF t >tho and n>1

THEN C(t)=Sum(i–> n) {Di*(Ae-(al(t-tho))+Be-(be(t-tho))+Ce-(ga(t-tho)))}

I do that with Excel solver but I must use Phoenix for get Pharmacokinetics parameters.

Please take a look,

Thanks you,

MHPK

Dear Mounia, The ASCII language is old and considered obsolete since Phoenix was released, the Phoenix Modeling language is far superior, accepting mulptiple dosing for both fitting and simulation by default without any additional code needing to be written. I suggest you try building your model in the Phoenix model, you can get a simple 3 compartment IV model either by built in options or using ‘set WNL model’;

this means you can select a model with the same name as WNL classic and see the equivalent created in Phoenix engine, don’t forget to click ‘apply’.

After that is done you can change the paremtisation to micro or clearance, edit in graphical and/or textual modes.

We also have out very popular PML school;

https://support.certara.com/forums/forum/34-pml-school/

which would be useful to ‘follow’ and review.

Simon.