This model tracks susceptibles, infected and recovered of 2 different types. Think of those types as e.g. males/females, children/adults, etc.
The following compartments are included, twice for each type (i=1,2):
The included processes/mechanisms are the following:
The flow diagram and the mathematical model which are implemented in this app are as follows:
Flow diagram for this model. Natural births and deaths are not drawn.
\[\dot S_1 = e_1 - S_1 (b_{11} I_1 + b_{12} I_2) + w_1 R_1 - n_1 S_1 \] \[\dot I_1 = S_1 (b_{11} I_1 + b_{12} I_2) - g_1 I_1 - n_1 I_1 \] \[\dot R_1 = g_1 I_1 - w_1 R_1 - n_1 R_1\] \[\dot S_2 = e_2 - S_2 (b_{22} I_2 + b_{21} I_1) + w_2 R_2 - n_2 S_2 \] \[\dot I_2 = S_2 (b_{22} I_2 + b_{21} I_1) - g_2 I_2 - n_2 I_2 \] \[\dot R_2 = g_2 I_2 - w_2 R_2 - n_2 R_2\]