alanderos91 / BioSimulator.jl

A stochastic simulation framework in Julia.
https://alanderos91.github.io/BioSimulator.jl/stable/
Other
47 stars 7 forks source link

How to model reactions with complicated rate terms? #42

Closed askhari139 closed 3 years ago

askhari139 commented 3 years ago

How to simulate reactions that have complicated rate terms? For example, in a 2 reactant system (A,B), the production rate of A is p*(B^n/(K^n + B^n)) where p,n, and K are constants.

alanderos91 commented 3 years ago

This is not currently supported in BioSimulator. It is possible, but requires some work. If you're interested in giving this a try, I can walk you through what needs to be done. Unfortunately, it is unlikely that I will get to this any time soon.

Alternatively, you might give Catalyst.jl or Gillespie.jl a try. Both packages are excellent and support more general rate functions.

Edit: I realized the Catalyst.jl docs are quite vast. See this and this in the Catalyst.jl documentation for what you need.

askhari139 commented 3 years ago

@alanderos91 Thank you very much for the Catalyst.jl links! That is exactly what I needed.