I am working on a Delayed Coupled SIR model. The model's equations are as follows
SS1 = NDSolve[
{x1'[t] == - x1[t] ((0.3/(80*10^6)) y1[t] + (0.5/(80*10^6)) y2[t]),
x2'[t] == - x2[t] ((0.3/(50*10^6)) y1[t] + (0.5/(50*10^6)) y2[t]),
y1'[t] == x1[t] ((0.3/(80*10^6)) y1[t] + 0.5/(80*10^6) y2[t]) -
x1[t - 14] ((0.3/(80*10^6)) y1[t - 14] + (0.5/(80*10^6)) y2[t - 14]),
y2'[t] == x2[t] ((0.5/(50*10^6)) y1[t] + (0.5/(50*10^6)) y2[t]) -
x2[t - 10] ((0.5/(50*10^6)) y1[t - 10] + (0.5/(50*10^6)) y2[t - 10]),
z1'[t] == x1[t - 14] ((0.3/(80*10^6)) y1[t - 14] + (0.5/(80*10^6)) y2[t - 14]),
z2'[t] == x2[t - 10] ((0.5/(50*10^6)) y1[t - 10] + (0.5/(50*10^6)) y2[t - 10]),
x1[0] == 80*10^6, y1[0] == 150, y1[t /; t <= 0] == E^t, z1[0] == 0,
x2[0] == 50*10^6, y2[t /; t <= 0] == E^t, y2[0] == 100,
z2[0] == 0 }, {x1, y1, z1, x2, y2, z2}, {t, 0, 200}]
As you can see, I have tried to couple two SIR models with different coefficients (and delays). I am having issues with introducing a delay (or a disjoint) in the coupling. I wished to give the mixed coefficient values based on time ie
$\beta_{12}$ = {$a_1$ : t<$t_0$, 0 :($t_0$<t<$t_1$), $a_2$ :($t_1$<t)
The mixed and pure coefficients are constant in the above equation, and I couldn't go about how to incorporate this in my model.