begin parameters kp1 1 km1 1 kp2 1 km2 1 kp3 1 km3 1 R0 3e5 L0 3e5 end parameters begin species R(r,r) R0 L(l,l) L0 end species begin reaction rules # Ligand addition R(r) + L(l,l) <-> R(r!1).L(l!1,l) kp1,km1 # Chain elongation R(r) + L(l,l!2) <-> R(r!1).L(l!1,l!2) kp2,km2 # Ring closure R(r).L(l) <-> R(r!1).L(l!1) kp3,km3 end reaction rules generate_network({overwrite=>1,check_iso=>0,max_stoich=>{R=>10,L=>10}});