Skip to content

Switching between stochastic and ODE-based simulation #30

@eagmon

Description

@eagmon

It might be useful to switch between stochastic and deterministic simulation based on the time step and molecule counts of each reaction. For example, stochastic complexation is currently finding the same output as its deterministic counterpart. This is because the time step is large, and the counts of most molecules are probably large enough. So at the current state, it would be more efficient to just use a deterministic simulation.

I would think there could be a method for determining whether a reaction should be simulated stochastically or with ODEs, and this can parse out the problem into whatever solver is needed. Ideally, the stochastic method would only be invoked when necessary.

@jmason42, you probably have the best understanding of whether this is feasible, and under what conditions such a switch could be triggered. Do you have thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions