** Binomial Number mechanics
** 2022.8.23

** inp_015.txt
** inp_025.txt

*Time, 
** start,  end, console out, plot out,  csv out,   unit
       0,  500,       500,      500,    500,    generations
*End 

*Element
** 0:element name, 1:initial number, 2:plot color, 3:real name, 4:type, 5:volume , 6: volume unit
N, 10000, Blue, 
P, 0, Green, 8
S1, 0, Orange, s
S2, 0, Yellow, p
S3, 0, magenta, <
T, 10000, Blue, 1
W, 10000, Black, D
*End 

*ElementInOut
** 0:element name, 1:initial number, 2:plot color, 3:real name, 4:type,
** 5:schedule_type(0 or 1 or 2), 
** 6 to end; if type-0 (8:at time, 9:amaunt, 10:at time, 11:amaunt, -> -> ), 
**           if type-1 (8:interval, 9:amaunt), 
**           if type-2 (8:const, 9:amplitude, 10:period-time, 11:add-interval)
** T-in, 100000, Green, , , 2, 1000, 1000, 2000, 500
** T-in, 0, blue, , , 0, 5, 100, 10, 100, 15, 20, 2, 100
T-in, 0, blue, h, , 1, 2, 10
T-out, 10000, magenta, 4, , , , 1, 2, -50
*End

*Reaction, 2000000, random
r1_1, 100, 1, N, 0.02, 1, P
r1_+, 300, 0, 0, 0.1, 8, S1
r1_+, 350, 0, 0, 0.1, 7, S2
r1_+, 380, 0, 0, 0.09, 8, S3
r1_-, 400, 10, T, 1.0
r1_0, 500, 1, W, 0.05
*End 

*Plot
** second item is "linear"(default) or "log".
N, P, T-out
S1, S2, S3, T-in
T, W
*End


