-
Notifications
You must be signed in to change notification settings - Fork 0
/
football_beta_sweep.psc
121 lines (98 loc) · 1.57 KB
/
football_beta_sweep.psc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#######################################################
# Simple Model of Football Season
# Author: Eric Lofgren ([email protected])
########################################################
#Descriptive Information for PML File
Modelname: COVID-19 Football
Description: PML Implementation of COVID-19 Football Model
# Set model to run with numbers of individuals
Species_In_Conc: False
Output_In_Conc: False
#Students
R1:
S > E + Incident
beta * S * (I/(S+I+E+A+R)) + beta*sigma * S * (A/(S+I+E+A+R))
R2:
S > E + Incident
betaF * switch * S * (VI/(S+I+E+A+R+VI+VS))
R3:
E > I + Symptomatic
gamma * alpha * E
R4:
E > A
gamma * (1-alpha) * E
R5:
I > R
delta_I * I
R6:
A > R
delta_A * A
# Events
Event: Game1, _TIME_ > 18, 0
{
switch = 1
}
Event: Game1Off, _TIME_ > 20, 0
{
switch = 0
}
Event: Game2, _TIME_ > 25, 0
{
switch = 1
}
Event: Game2Off, _TIME_ > 27, 0
{
switch = 0
}
Event: Game3, _TIME_ > 39, 0
{
switch = 1
}
Event: Game3Off, _TIME_ > 41, 0
{
switch = 0
}
Event: Game4, _TIME_ > 46, 0
{
switch = 1
}
Event: Game4Off, _TIME_ > 48, 0
{
switch = 0
}
Event: Game5, _TIME_ > 67, 0
{
switch = 1
}
Event: Game5Off, _TIME_ > 69, 0
{
switch = 0
}
Event: Game6, _TIME_ > 88, 0
{
switch = 1
}
Event: Game6Off, _TIME_ > 90, 0
{
switch = 0
}
# Compartments
VS = 9990
VI = 10
S = 19990
E = 0
I = 10
A = 0
R = 0
Incident = 0
Symptomatic = 0
#Parameters:
beta = 0.25
betaF = 0.0
switch = 0
sigma = 0.5 # relative transmissibility of asymptomatic individuals
gamma = 1/5.1
alpha = 0.80 # Percent who end up symptomatic
delta_I = 1/5
delta_A = 1/5
FIX: switch