Reference model

Compartments

d — day index.
g — vaccination lag period (given).
wd — vaccine effectiveness on day d (given).
vd — vaccine coverage on day d.
rd — flu incidence on day d.
bd — number of vaccinations of susceptible on day d.

Calculations

d = 0 — initial conditions.
d = 1 — first timepoint (day) for which we have data.
N — starting population size (given).
Vd — vaccinations on day d (given).
sd* — infections on day d in absence of vaccination (given).
Pd* — susceptible population on day d in absence of vaccination.
sda — averted infections on day d.
sd — infections on day d.

For d = 0:

A0 = N
b0 = 0
C0 = 0
D0 = 0
E0 = 0
F0 = 0
P0* = N
s0 = 0
s0a = 0

For d > 0 (order presented corresponds to the order of calculations):

  1. $r_d = \frac{s_d^*}{P_{d-1}^*}$
  2. sd = rdAd − 1 + rdCd − 1 + rdbd − 1...d − g
  3. Pd* = Pd − 1* − sd*
  4. sda = sd* − sd
  5. $v_d = \frac{V_d}{A_{d-1}+E_{d-1}}$
  6. bd = vdAd − 1
  7. Ad = Ad − 1 − rdAd − 1 − bd
  8. bd − 1...bd − g = bd − 1...bd − g − rdbd − 1...bd − g
  9. Cd = Cd − 1 − rdCd + bd − g − wdbd − g
  10. Dd = Dd − 1 + wdbd − g
  11. Ed = Ed − 1 + rdAd − 1 − vdEd − 1
  12. Fd = Fd − 1 + rdCd − 1 + rdbd − 1...bd − g + vdEd − 1

Line bd − 1...bd − g means that the same calculation is done on each bd − i from i = 1 to i = g. The calculation being (in line 8) bd − i = bd − i − rdbd − i.