chemart / analog-function-crn
View on GitHubAnalog computation of algebraic functions with concentrations — Concentrations used as analog numbers. Pick reactions whose steady state satisfies the algebraic relation you want, then read the answer off the output species once it settles: X -> X + Y together with 2Y -> nothing bala…
Analog computation of algebraic functions with concentrations
One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §17.4.3; first proposed by Hjelmfelt et al.; Deckard & Sauro; Dittrich et al..
Its generator ships with the chemart library, so loading it runs no code from the hub and needs no trust_remote_code.
import chemart
net = chemart.generate_network("chemart/analog-function-crn", seed=0) # same as "analog-function-crn"
print(net.summary())