Gillespie Stochastic Simulation Algorithm

版本 1.3.0.0 (10.8 KB) 作者: Nezar
Simulate discrete stochastic models of chemical reaction networks.
5.2K 次下载
更新 2015/8/17

The kinetics of chemical reaction networks are often modeled using differential equations, treating the amounts of chemical species as continuous and deterministic quantities. If the number of reacting molecules is small, random molecular fluctuations become significant and a discrete, stochastic modeling approach is often more appropriate. Under assumptions of a "well-mixed" environment, such a system can be modeled as a continuous-time Markov process, whose probability distribution obeys what is called a chemical "master equation". The Gillespie algorithm (or SSA) is a discrete-event simulation algorithm that produces single realizations of the stochastic process that are in exact statistical agreement with the master equation.
This submission includes simple implementations of the two original versions of the SSA (Direct and First-Reaction Method). The user provides a model consisting of a matrix of reaction stoichiometries, a handle to a function that computes reaction propensities (probability/unit time), an initial state vector, and initial/final times. The ssa functions returns the sequence of event times and species amounts.

引用格式

Nezar (2026). Gillespie Stochastic Simulation Algorithm (https://github.com/nvictus/Gillespie), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Chemistry 的更多信息

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.3.0.0

linked to Github

1.1.0.0

Minor bug fix for logging the last event. Removed package folder.

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 存储库