Jump to content


Photo

Delayed differential equations


  • Please log in to reply
3 replies to this topic

#1 Jun Shen

Jun Shen

    Member

  • Members
  • PipPip
  • 23 posts

Posted 16 November 2010 - 10:22 PM

Hi,

 

I wonder if there is anyway to define a lag time in the differential equations? Thanks.

 

Jun



#2 Simon Davis

Simon Davis

    Advanced Member

  • Administrators
  • 1,318 posts

Posted 16 November 2010 - 10:36 PM

Hi Jun, If you're looking to write your own models I really suggest you look at the new Phoenix model engine since in addition to richer options for built-in models and the Graphical model designer; it also has a text model editor that will highlight typos/options for you; Posted Image

Simon

Forthcoming meetings and training -http://www.pharsight.com/training;
Introduction to Phoenix v6.1: 8-10 Dec 2010, Paris, France.
Introduction to Phoenix v6.x: 22-24 Feb 2011 Berlin, Germany.
Introduction to Phoenix v6.x: 15-17 Mar 2011 Paris, France
Introduction to Phoenix v6.x: 12-14 Apr 2011 London, UK
Introduction to Phoenix v6.x: 10-12 May 2011 Amsterdam, NL.
Population analysis with Phoenix v6.1 NLME : 17-19 May 2011, Paris, France.
Population analysis with Phoenix v6.1 NLME : 6-7 Jun 2011, Athens, Greece (Before PAGE)
2-3 April 2011, Two-day Pre ACOP-meeting Workshop: Population Modelling with Phoenix NLME and Connect.
http://www.go-acop.o...lme-and-connect

#3 Jun Shen

Jun Shen

    Member

  • Members
  • PipPip
  • 23 posts

Posted 16 November 2010 - 10:46 PM

Hi, Simon,

 

I believe eventually we will. It's just a matter of timing issue as the validation is kind of big deal. But the question is still here: does Phoenix support delayed differential equations? If not, what is the workaround?

 

Jun



#4 Martin Beliveau

Martin Beliveau

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 17 November 2010 - 03:50 PM

Jun,

 

In ASCII code, lag time in DE were handled in the form of "if, then" statements relating the time variable defined as X. See PD14 in Weiner and Gabrielsson (4th Ed).

 

PHX handles time in DE through the use of the sleep statement through a sequence block, which is an elegant way of handling the unstability of the if then statements. Syntax in PML is:

 

    sequence{"initialize"

        sleep("whatever")

         "switch on"

        }

Keeping PD14 as an example, the code in PML would look like:

    sequence{E1 = Kin / Kout

         E2 = Kin / Kout

         ACTH = 1

        sleep(T1)

         ACTH = 2^n

        sleep(T2)

         ACTH = 1

        }

This allows you to turn compartments on and off by changing the appropriate switch following the sleep time.

 

martin






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users