genpark-gillespie-stochastic-simulation-chemical-master-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 7 GitHub stars
Code Pass
  • Code scan — Scanned 6 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Gillespie stochastic simulation algorithm (SSA / Direct Method) for jump Markov processes and chemical kinetics

README.md

Gillespie Stochastic Simulation Algorithm (SSA) Skill

Exact stochastic event simulation for chemical reaction networks and master equations.

flowchart TD
    State["Molecule Counts Vector X(t)"] --> Propensities["Calculate Reaction Propensities a_j(X)"]
    Propensities --> SumProp["Total Propensity a_0 = ∑ a_j"]
    SumProp --> WaitTime["Draw Exponential Waiting Time τ ~ Exp(a_0)"]
    WaitTime --> SelectReaction["Sample Discrete Reaction j with Probability a_j / a_0"]
    SelectReaction --> UpdateState["Update State X(t + τ) and Time t = t + τ"]
    UpdateState --> Loop{"t < t_max?"}
    Loop -- Yes --> State
    Loop -- No --> Done["Exact Stochastic Realization"]

Features

  • 100% Python Standard Library: Inversion sampling of exponential waiting intervals.
  • Exact Master Equation Realization: Captures genuine discrete stochastic noise in low-copy molecular systems.

Reviews (0)

No results found