|
From: Chris M. <my...@ec...> - 2017-05-25 17:45:31
|
Ok, Lucian just restarted thread on sbml-team, so if you reply to him use this one. :-) Lucian: are you on sbml-arrays? Chris > On May 25, 2017, at 1:40 PM, Lucian Smith <luc...@gm...> wrote: > > If I can clarify something, I think: > > On Thu, May 25, 2017 at 10:09 AM, Leandro Watanabe <lea...@gm... <mailto:lea...@gm...>> wrote: > Hi Jacob, > > Sounds good. If you replace 0 by something like random < 0.2 then it makes sense, but leaving the 0 there effectively deletes that event > > What this means is that you should use 'true' as a placeholder (or '1') instead of 'false' (or '0'). Events trigger when they transition from false to true, so if you are checking to see when '0' will turn to true, the answer will always be 'never'. > > (Also, you should use 'true' and 'false' instead of '1' and '0'. In SBML L3v1, the latter is actually illegal, and will give you an invalid model. In SBML L3v2, that restriction was relaxed, but most simulators still use l3v1 for their models.) > > -Lucian |