Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-discuss » encoding a maximum function for t<=t0
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
kieransmallbone


Posts: 42
Registered:
February 2008
Re: encoding a maximum function for t<=t0 18 May '11 09:21 Go to previous messageGo to previous message

I like the events idea. I tried a slightly modified version, setting up
a species x that increases to 1 then decreases to zero; the parameter
xMax should increase to 1 then stay there.

I used the event
trigger: x > xMax
assignment: xMax = x
but it didn't seem to work (http://docs.u003f.com/max_model.xml) in
Copasi at least.

k

On 18/05/2011 16:55, Chris J. Myers wrote:
> Well, everything is implementation dependent :-).
>
> My assumption is that this would only be used in those cases where the
> assignment rule cycle reaches a fix point. Obviously, if it does not
> reach a fix point in a given time point, then it would cause the
> simulator to get stuck. In essence, you are defeating the check for
> cycles by going through an event. Therefore, buyer beware.
>
> Assuming that "x" and "xmax" are constant at a given time point, I
> don't see why this would not work for this case.
>
> Chris
>
> On May 18, 2011, at 9:47 AM, Sven Sahle wrote:
>
>> Hi Chris, Hi Michael,
>>
>> Am 18.05.2011 um 17:31 schrieb Chris J. Myers:
>>
>>> Rule:
>>> nextXmax := piecewise(x,gt(x,xmax),xmax)
>>>
>>> Event:
>>> Trigger: neq(xmax,nextXmax)
>>> Trigger initially true: false
>>> Assignment: xmax:=nextXmax
>>>
>>> I tried this, and it seems to work.
>>
>>
>> This is a clever idea, but wouldn't this mean the event is triggered
>> continuously if x is growing? This would mean that we would have to
>> trigger an infinite number of events and it is completely
>> implementation dependent how a solver would react to that.
>>
>> Sven
>>
>>
>> Dr. Sven Sahle
>> Abteilung Modellierung biologischer Prozesse
>> Universität Heidelberg, BIOQUANT/Zoologie
>>
>>
>>
>> ____________________________________________________________
>> To manage your sbml-discuss list subscription, visit
>> https://utils.its.caltech.edu/mailman/listinfo/sbml-discuss
>>
>> For a web interface to the sbml-discuss mailing list, visit
>> http://sbml.org/Forums/
>>
>> For questions or feedback about the sbml-discuss list,
>> contact sbml-team@caltech.edu
>
> ____________________________________________________________
> To manage your sbml-discuss list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/sbml-discuss
>
> For a web interface to the sbml-discuss mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the sbml-discuss list,
> contact sbml-team@caltech.edu

--
kieran smallbone
kieran.smallbone@manchester.ac.uk
http://u003f.com/

manchester centre for integrative systems biology
manchester interdisciplinary biocentre
131 princess street
manchester m1 7dn. uk
____________________________________________________________
To manage your sbml-discuss list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-discuss

For a web interface to the sbml-discuss mailing list, visit
http://sbml.org/Forums/

For questions or feedback about the sbml-discuss list,
contact sbml-team@caltech.edu

      

SubjectPosterDate
Read Message   encoding a maximum function for t<=t0 schubert18 May '11 01:51
Read Message   Re: encoding a maximum function for t<=t0 Nicolas Le Novere18 May '11 07:39
Read Message   Re: encoding a maximum function for t<=t0 myers18 May '11 08:31
Read Message   Re: encoding a maximum function for t<=t0 Sven Sahle18 May '11 08:47
Read Message   Re: encoding a maximum function for t<=t0 myers18 May '11 08:55
Read Message   Re: encoding a maximum function for t<=t0  kieransmallbone18 May '11 09:21
Read Message   Re: encoding a maximum function for t<=t0 Nicolas Le Novere18 May '11 09:25
Read Message   Re: encoding a maximum function for t<=t0 myers18 May '11 09:31
Read Message   Re: encoding a maximum function for t<=t0 schubert18 May '11 09:29
Read Message   Re: encoding a maximum function for t<=t0 myers18 May '11 10:12
Read Message   Re: encoding a maximum function for t<=t0 Sven Sahle18 May '11 10:55
Read Message   Re: encoding a maximum function for t<=t0 fbergman18 May '11 11:15
Read Message   Re: encoding a maximum function for t<=t0 myers18 May '11 11:58
Read Message   Re: encoding a maximum function for t<=t0 Stefan.Hoops18 May '11 13:17
Read Message   Re: encoding a maximum function for t<=t0 Lucian Smith18 May '11 12:15
Read Message   Re: encoding a maximum function for t<=t0 Sven Sahle18 May '11 08:41
Read Message   Re: encoding a maximum function for t<=t0 Nicolas Le Novere18 May '11 09:33
Previous Topic:About the upcoming votes on L3 package proposals
Next Topic:Re: [SED-ML-discuss] encoding a maximum function for t<=t0
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.