SPaRKS is a highly-modular framework for deterministic and stochastic simulations of polymerization and general reaction kinetics. It provides a unified interface to define and compare models and simulators, and parameter estimation. Written in Python.
The easiest way to install SPaRKS is via pip:
pip3 install pysparksWe recommend setting a python virtual environment before installing the package.
python3 -m venv .venv
source .venv/bin/activateThere are jupyter notebooks in the docs/notebooks directory. More relevant examples can be found at the supporting data for the manuscript below. This can be found at this repository:
Citeable DOI for this version of SPaRKS:
If you use SPaRKS in your project, please cite
- Callan, D. H., and Bates, C. M. Efficient Deterministic Modeling of Reversile Copolymerizations, Macromolecules, 2025, doi:10.1021/acs.macromol.5c01421