NONMEM Users Network Archive

Hosted by Cognigen

RE: Resetting of single compartment

From: Samtani, Mahesh [PRDUS] <MSamtani>
Date: Thu, 23 Apr 2009 12:56:38 -0400

Dear Dr. Bachman,
My thinking was that the amount in these compartments is "emptied" i.e. =
set to zero and turned off (and hence the CMT needs to turned back on =
again). There are some nice postings by Drs. Karlsson and Gibiansky on =
how to "empty" the urine compartment when modeling urine sample =
collection interval data and plasma PK data simultaneously.

I have also used this trick to model transdermal patch data. The patch =
is removed after a fixed time, so the time point when the patch is =
removed the absorption compartment should be emptied (thanks to Dr. =
Gastonguay for teaching me this trick):


-----Original Message-----
From: owner-nmusers
Sent: Thursday, April 23, 2009 12:05 PM
To: Leonid Gibiansky; Elassaiss - Schaap, J. (Jeroen)
Cc: nmusers
Subject: RE: [NMusers] Resetting af single compartment

I have not tried it either, but, I think this would not reset the =
amounts in these compartments. I believe it would retain the value when =
turned off until turned back on.

-----Original Message-----
From: owner-nmusers
On Behalf Of Leonid Gibiansky
Sent: Thursday, April 23, 2009 11:40 AM
To: Elassaiss - Schaap, J. (Jeroen)
Cc: nmusers
Subject: Re: [NMusers] Resetting af single compartment

 From the NM help for CMT data item:

  Other-Type Event:
       A positive value of CMT specifies a compartment to be turned on.
       A negative value of CMT specifies a compartment to be turned off.

So my guess is that

   2 -3
   2 3

Should reset this particular compartment 3 (although I never tried it)

Leonid Gibiansky, Ph.D.
President, QuantPharm LLC
e-mail: LGibiansky at
tel: (301) 767 5566

Elassaiss - Schaap, J. (Jeroen) wrote:
> Thomas,
> Two solutions (their smart scale is up to you to judge ;-):
> 1 - rewrite the model so you don't need the changepoint (best approach =
> 2 - I guess you could switch the model to a different differential
> equation instead
> e.g.
> CHNG = KIN*(1-EFF) - (A(3)*SLCT+A(4)*(1-SLCT))*KOUT
> DADT(4) = (1-SLCT)*CHNG
> But I have not tested that approach. I guess it should work.
> Best regards,
> Jeroen
> *Jeroen Elassaiss-Schaap, PhD*
> Modeling & Simulation Expert
> Pharmacokinetics, Pharmacodynamics & Pharmacometrics (P3)
> Early Clinical Research and Experimental Medicine
> Schering-Plough Research Institute
> T: +31 41266 9320
> =
> *From:* owner-nmusers
> [mailto:owner-nmusers
> *Sent:* Thursday, 23 April, 2009 15:20
> *To:* nmusers
> *Subject:* [NMusers] Resetting af single compartment
> Dear all
> I need to reset a single compartment in a model of several cmts, =
> resetting the whole system for the
> subject (which EVID=4 would do). Is there a *smart* way to do this?
> Thanks,
> Thomas
> ____________________
> *Thomas Klitgaard
> *Principal Scientist
> Biomodelling
> Novo Nordisk A/S
> Krogshøjvej 53 A
> DK-2880 Bagsværd
> Denmark
> +45 4442 4960 (direct)
> +45 3079 4960 (mobile)
> tkt
> _www.novonordisk.com_
> *Changing **possibilities in haemophilia
> *Did you know that 75% of people with haemophilia live in developing
> countries, and receive neither proper diagnosis nor adequate care and
> treatment? This reduces life expectancy down to just the teenage =
> The Novo Nordisk Haemophilia Foundation supports 22 projects in the
> developing world to improve haemophilia care and treatment. _Learn =
> _
> =
> This e-mail (including any attachments) is intended for the =
> stated above only and may contain confidential information protected =
> law. You are hereby notified that any unauthorized reading, =
> copying or distribution of this e-mail or use of information contained =

> herein is strictly prohibited and may violate rights to proprietary
> information. If you are not an intended recipient, please return this
> e-mail to the sender and delete it immediately hereafter. Thank you.
> =
> This message and any attachments are solely for the intended =
> If you are not the intended recipient, disclosure, copying, use or
> distribution of the information included in this message is prohibited =

> --- Please immediately and permanently delete.
> =
ICON plc made the following annotations.
This e-mail transmission may contain confidential or legally privileged =
that is intended only for the individual or entity named in the e-mail =
address. If you
are not the intended recipient, you are hereby notified that any =
disclosure, copying,
distribution, or reliance upon the contents of this e-mail is strictly =
prohibited. If
you have received this e-mail transmission in error, please reply to the =
sender, so that
ICON plc can arrange for proper delivery, and then please delete the =
Thank You,
ICON plc
South County Business Park
Dublin 18
Registered number: 145835

Received on Thu Apr 23 2009 - 12:56:38 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to:

Once subscribed, you may contribute to the discussion by emailing: