Michael in MATLAB Answers
Última actividad el 13 de Dic. de 2015

Hi everyone, this feels like it should be easy, but I can't figure it out. I have a simple reaction A-->B following a given custom reaction rate. I want to add a delay. Using the event trigger I tried two approaches: # time<1800 B=0 # time<1800 Imax=0 (Imax is the reaction rate) However, in both cases the reaction is evaluated as if nothing ever changed. Any suggestions? What am I missing? (for completeness, in the actual model there are upstream components that funnel into A) Thanks a lot! Cheers, Michael
al in MATLAB Answers
Última actividad el 8 de Sept. de 2014

I am wondering if it's possible to define time delay as an event for a trigger in simbiology. I want to define a duration of 2 hours for one stage of the system. For example, when species_1 gets a certain value (like species_1 == 5), I need the system to stay in this state for 2 hours and afterwards species_1 =0 and species_2 = 1 (while some other species are interacting with each other independent of this process). I defined a function as event and used "tic toc" to make a delay after trigger, but even though this provides a delay, the amount of corresponding species are changed at the beginning of delay not at the end! Can somebody help me with this? thanks