Skip to content

Commit

Permalink
Fix controller of infection
Browse files Browse the repository at this point in the history
Fixes #192
  • Loading branch information
bgyori committed Jul 6, 2023
1 parent 34488c0 commit d084a9a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion notebooks/hackathon_2023.07/scenario1.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"\n",
"t1 = ControlledConversion(subject=c['S'],\n",
" outcome=c['E'],\n",
" controller=c['E'],\n",
" controller=c['I'],\n",
" rate_law=S*I*beta / N)\n",
"t2 = NaturalConversion(subject=c['E'],\n",
" outcome=c['I'],\n",
Expand Down
22 changes: 11 additions & 11 deletions notebooks/hackathon_2023.07/scenario1_a.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}
},
{
"id": "E",
"name": "E",
"id": "I",
"name": "I",
"grounding": {
"identifiers": {},
"modifiers": {}
Expand All @@ -32,8 +32,8 @@
}
},
{
"id": "I",
"name": "I",
"id": "E",
"name": "E",
"grounding": {
"identifiers": {},
"modifiers": {}
Expand Down Expand Up @@ -72,11 +72,11 @@
{
"id": "t1",
"input": [
"E",
"I",
"S"
],
"output": [
"E",
"I",
"E"
],
"properties": {
Expand Down Expand Up @@ -151,16 +151,16 @@
"expression": "5599999.00000000",
"expression_mathml": "<cn>5599999.0</cn>"
},
{
"target": "E",
"expression": "1.00000000000000",
"expression_mathml": "<cn>1.0</cn>"
},
{
"target": "I",
"expression": "0.0",
"expression_mathml": "<cn>0.0</cn>"
},
{
"target": "E",
"expression": "1.00000000000000",
"expression_mathml": "<cn>1.0</cn>"
},
{
"target": "R",
"expression": "0.0",
Expand Down
22 changes: 11 additions & 11 deletions notebooks/hackathon_2023.07/scenario1_c.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}
},
{
"id": "E",
"name": "E",
"id": "I",
"name": "I",
"grounding": {
"identifiers": {},
"modifiers": {}
Expand All @@ -32,8 +32,8 @@
}
},
{
"id": "I",
"name": "I",
"id": "E",
"name": "E",
"grounding": {
"identifiers": {},
"modifiers": {}
Expand Down Expand Up @@ -72,11 +72,11 @@
{
"id": "t1",
"input": [
"E",
"I",
"S"
],
"output": [
"E",
"I",
"E"
],
"properties": {
Expand Down Expand Up @@ -151,16 +151,16 @@
"expression": "5599999.00000000",
"expression_mathml": "<cn>5599999.0</cn>"
},
{
"target": "E",
"expression": "1.00000000000000",
"expression_mathml": "<cn>1.0</cn>"
},
{
"target": "I",
"expression": "0.0",
"expression_mathml": "<cn>0.0</cn>"
},
{
"target": "E",
"expression": "1.00000000000000",
"expression_mathml": "<cn>1.0</cn>"
},
{
"target": "R",
"expression": "0.0",
Expand Down
22 changes: 11 additions & 11 deletions notebooks/hackathon_2023.07/scenario1_d.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}
},
{
"id": "E",
"name": "E",
"id": "I",
"name": "I",
"grounding": {
"identifiers": {},
"modifiers": {}
Expand All @@ -32,8 +32,8 @@
}
},
{
"id": "I",
"name": "I",
"id": "E",
"name": "E",
"grounding": {
"identifiers": {},
"modifiers": {}
Expand Down Expand Up @@ -72,11 +72,11 @@
{
"id": "t1",
"input": [
"E",
"I",
"S"
],
"output": [
"E",
"I",
"E"
],
"properties": {
Expand Down Expand Up @@ -151,16 +151,16 @@
"expression": "5599999.00000000",
"expression_mathml": "<cn>5599999.0</cn>"
},
{
"target": "E",
"expression": "1.00000000000000",
"expression_mathml": "<cn>1.0</cn>"
},
{
"target": "I",
"expression": "0.0",
"expression_mathml": "<cn>0.0</cn>"
},
{
"target": "E",
"expression": "1.00000000000000",
"expression_mathml": "<cn>1.0</cn>"
},
{
"target": "R",
"expression": "0.0",
Expand Down

0 comments on commit d084a9a

Please sign in to comment.