Skip to contents

This function tries to generate code for a stochastic solver, but assumming that the SBtab model is written in terms of concentrations and rate coefficients.

Usage

generateGillespieCode(sb, LV = 602214076)

Arguments

sb

SBtab list of data-frames, as returned by SBtabVFGEN::sbtab_from_*() functions

LV

Avogadro's Constant * volume in litres

Value

character vector with code

Details

The model is interpreted by stochasticModel(), parameters found in reaction kinetics are converted to stochastic parameters. Input parameters are not converted.

The default system size is 1 femtolitre.