Skip to content

Commit 5ed4cc6

Browse files
new model containing an assignment rule
1 parent e7ce4e7 commit 5ed4cc6

4 files changed

+132
-0
lines changed

dsmts-001-19-mean.csv

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
"time","X","y"
2+
0,100.00000,200.00000
3+
1,99.00498,198.00996
4+
2,98.01987,196.03974
5+
3,97.04455,194.08910
6+
4,96.07894,192.15788
7+
5,95.12294,190.24588
8+
6,94.17645,188.35290
9+
7,93.23938,186.47876
10+
8,92.31163,184.62326
11+
9,91.39312,182.78624
12+
10,90.48374,180.96748
13+
11,89.58341,179.16682
14+
12,88.69204,177.38408
15+
13,87.80954,175.61908
16+
14,86.93582,173.87164
17+
15,86.07080,172.14160
18+
16,85.21438,170.42876
19+
17,84.36648,168.73296
20+
18,83.52702,167.05404
21+
19,82.69591,165.39182
22+
20,81.87308,163.74616
23+
21,81.05842,162.11684
24+
22,80.25188,160.50376
25+
23,79.45336,158.90672
26+
24,78.66279,157.32558
27+
25,77.88008,155.76016
28+
26,77.10516,154.21032
29+
27,76.33795,152.67590
30+
28,75.57837,151.15674
31+
29,74.82636,149.65272
32+
30,74.08182,148.16364
33+
31,73.34470,146.68940
34+
32,72.61490,145.22980
35+
33,71.89237,143.78474
36+
34,71.17703,142.35406
37+
35,70.46881,140.93762
38+
36,69.76763,139.53526
39+
37,69.07343,138.14686
40+
38,68.38614,136.77228
41+
39,67.70569,135.41138
42+
40,67.03200,134.06400
43+
41,66.36503,132.73006
44+
42,65.70468,131.40936
45+
43,65.05091,130.10182
46+
44,64.40364,128.80728
47+
45,63.76282,127.52564
48+
46,63.12836,126.25672
49+
47,62.50023,125.00046
50+
48,61.87834,123.75668
51+
49,61.26264,122.52528
52+
50,60.65307,121.30614

dsmts-001-19-sd.csv

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
"time","X","y"
2+
0,0.00000,0.00000
3+
1,4.54834,9.09668
4+
2,6.38431,12.76862
5+
3,7.76081,15.52162
6+
4,8.89458,17.78916
7+
5,9.87032,19.74064
8+
6,10.73185,21.46370
9+
7,11.50542,23.01084
10+
8,12.20829,24.41658
11+
9,12.85255,25.70510
12+
10,13.44708,26.89416
13+
11,13.99865,27.99730
14+
12,14.51256,29.02512
15+
13,14.99307,29.98614
16+
14,15.44365,30.88730
17+
15,15.86721,31.73442
18+
16,16.26619,32.53238
19+
17,16.64267,33.28534
20+
18,16.99845,33.99690
21+
19,17.33509,34.67018
22+
20,17.65397,35.30794
23+
21,17.95630,35.91260
24+
22,18.24316,36.48632
25+
23,18.51553,37.03106
26+
24,18.77427,37.54854
27+
25,19.02018,38.04036
28+
26,19.25397,38.50794
29+
27,19.47628,38.95256
30+
28,19.68773,39.37546
31+
29,19.88886,39.77772
32+
30,20.08018,40.16036
33+
31,20.26216,40.52432
34+
32,20.43524,40.87048
35+
33,20.59981,41.19962
36+
34,20.75625,41.51250
37+
35,20.90493,41.80986
38+
36,21.04615,42.09230
39+
37,21.18025,42.36050
40+
38,21.30750,42.61500
41+
39,21.42818,42.85636
42+
40,21.54255,43.08510
43+
41,21.65085,43.30170
44+
42,21.75330,43.50660
45+
43,21.85014,43.70028
46+
44,21.94157,43.88314
47+
45,22.02777,44.05554
48+
46,22.10895,44.21790
49+
47,22.18527,44.37054
50+
48,22.25691,44.51382
51+
49,22.32403,44.64806
52+
50,22.38677,44.77354

dsmts-001-19.mod

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@model:2.4.1=BirthDeath01 "Birth-death model (001), variant 01"
2+
@units
3+
substance=item
4+
@compartments
5+
Cell
6+
@species
7+
Cell:X=100 s
8+
Cell:y=0 s
9+
@parameters
10+
Lambda=0.1
11+
Mu=0.11
12+
@rules
13+
y = 2*X
14+
@reactions
15+
@r=Birth
16+
X -> 2X
17+
Lambda*X
18+
@r=Death
19+
X ->
20+
Mu*X

dsmts-models.tex

+8
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ \subsubsection{dsmts--001--18}
185185

186186
\addplots{dsmts-001-18}
187187

188+
\subsubsection{dsmts--001--19}
189+
190+
This is the same as \verb$dsmts-001-01$, except that
191+
there is an assignment rule that defines a new species $y$ that is
192+
$2\times X$.
193+
194+
\addplots{dsmts-001-19}
195+
188196

189197

190198
\subsection{dsmts--002 --- The immigration-death process}

0 commit comments

Comments
 (0)