-
-
Notifications
You must be signed in to change notification settings - Fork 80
Description
I'm currently implementing a model where some species evolve according to ODEs and some according to the SSA. This causes some reactions to have variable rates (due to the ODEs), even if their rate only depends on other species, not on t . Currently Catalyst does not recognise this in assemble_jumps, leading to wrong simulations. It would be nice if we could mark certain species as time-variable to ensure that Catalyst treats them as such.
For now a simple solution is to create a variable-rate dummy reaction of the form t < 0, 0 --> X, but this is not ideal.
(A tutorial or example code on such models might be a good addition to the documentation, my implementation is very haphazard. I can share some of my code later to see if that could make its way in)