Skip to content

Commit 6a891b5

Browse files
committed
Added Antimony model. Added export non-mass action kynetics rate to tutorial
1 parent 0a18615 commit 6a891b5

File tree

5 files changed

+661
-45
lines changed

5 files changed

+661
-45
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from mobspy import *
2+
3+
Replicator, Mortal = BaseSpecies()
4+
Replicator >> 2*Replicator [lambda r: 2*(100 - r)*r]
5+
Mortal >> Zero [1]
6+
7+
A, B, C = New(Replicator*Mortal)
8+
A + B >> C [1]
9+
10+
S = Simulation(A | B | C)
11+
print(S.generate_antimony()[0])
12+
13+

0 commit comments

Comments
 (0)