chemart / bigan-conservative-crn

View on GitHub

Conservative random chemical reaction networks — A random reaction network built to be thermodynamically honest. Each abstract chemical gets a random free energy of formation; reactions are drawn as association, dissociation and transformation steps, and every backward…

chemistry official · built in network fidelity: reconstructed #banzhaf-yamamoto
files / README.md · 496 B · at 2c7cdd08db24 Raw

Conservative random chemical reaction networks

One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §11.3.2; first proposed by Bigan, Steyaert & Douady, 2013.

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/bigan-conservative-crn", seed=0)   # same as "bigan-conservative-crn"
print(net.summary())