Skip to content
01Read it, run it, change it

Models you can start from

Complete programs, small enough to read in one sitting. Take one, change a constant, and see what moves.

02Programs
01

Simple enzyme reaction

Michaelis–Menten written both ways: the two elementary steps, and the single protein abstraction that summarises them.

SimpleEnzymeReaction.lpp
// =============================================
//  Simple Enzyme Reaction Model
//  E + S <-> ES -> E + P  (Michaelis-Menten)
// =============================================

// binding, reversible, mass-action
reaction R_bind(E + S -> ES, k = 30, kr = 1)

// catalysis, irreversible
reaction R_cat(ES -> E + P, k = 10)

// initial concentrations
E = 1.0, S = 5.0

// --- the same kinetics as one abstraction ---
protein enz(sub -> prod, k = 10, km = 0.3666667)
enz = 1.0, sub = 5.0
03More

The rest are on the way

Signalling cascades, competitive inhibition and a dosing model are being written up. Until then, the source repository has the working set.