Scinovex
article Open Access

Understanding influenza dynamics in Kenya: A comprehensive SEIRW model approach

Abstract

This study presents a Mathematical model to investigate the transmission dynamics of flu in Kenya, incorporating the waned compartment to represent individuals whose immunity has waned over time. A compartmental model is formulated to represent the population structure, dividing it into five epidemiological classes: Susceptible, Exposed, Infectious, Recovered, and Waned (SEIR-W). This addition allows for a more nuanced understanding of the disease particularly where the immunity may not be permanent. The resulting system is described by a five-dimensional deterministic set of ordinary differential equations (ODEs). Seasonal climate factors, such as temperature and humidity, are integrated into the model to modulate transmission rates. The model offers a comprehensive frame work for analyzing the spread of influenza particularly in Kenya where seasonal weather variations significantly influence transmission dynamics.

Full Text

Tables and figures are in the full-text PDF.

Introduction

Richard Shope and his mentor Paul A. Lewis identified the influenza virus in pigs in 1931, marking the first time a virus was linked to influenza in animals. This aided in shifting the scientific consensus from bacteria to viruses as the cause of flu. Later in the 1940s Thomas F. Jnr and Jonas S. developed the first inactivated influenza vaccine which later paved the way for seasonal flu vaccination programs. Centre for Disease Control and Prevention (CDC) tracks flu strains globally, researches vaccines and guides public health responses. This is because annual flu vaccines require regular updates due to antigenic drift and shift in the virus. The world Health Organization, on the other hand, coordinates global influenza surveillance and response. It has led global efforts to understand and predict flu pandemics, for example, the H1N1 of 2009.

Model Formulation and Analysis

To formulate the model, we use the idea of the model formulated by Chowel (2010) and incorporate the idea of variable transmission rate by Chong (2015) [6] . For this model of flu transmission as a 5-dimensional deterministic system of ODEs, we shall define a compartmental structure that captures both disease dynamics and seasonal weather effects. To construct the SEIRW deterministic model, we divide the total population N into five epidemiological classes; Susceptible individuals S (t), the exposed individuals (exposed but not yet infectious) E (t), Infectious individuals I (t), Recovered individuals R (t), and a compartment representing recovered individuals who lose immunity, the Waned W (t). We shall assume that individuals within the population mix uniformly, meaning every person has an equal probability of coming into contact with any other individual. The model considers a closed system with no births, deaths, or migration, keeping the total population size constant over time. Transitions between compartments (e.g., from Exposed to Infectious) occur at constant rates, characterized by parameters such as:  β ( Recovered individuals do not retain lifelong immunity. Over time, their immunity diminishes at a rate ω, transitioning them into the waned compartment, where they become partially susceptible to reinfection. Individuals in the waned compartment have reduced immunity compared to fully susceptible individuals but are still at risk of reinfection. The model assumes they can return to the exposed state upon contact with infectious individuals, albeit potentially at a different rate than those in the susceptible compartment. The model does not account for deaths caused by the disease, focusing solely on the transmission dynamics among the living population. Transitions between compartments occur instantaneously at the defined rates, without delays or time lags. The model does not differentiate individuals based on age or geographic location, treating the population as a single, undifferentiated group.

Model equations

The following differential equations are obtained;

With the following parameters;  is the transmission rate modulated by the weather,  be the incubation rate,  is the recovery rate (inverse of infectious period),  is the immunity wanning rate,  is the rate at which wanned individuals become susceptible again. The weather-dependent transmission rate can be modelled by;

 is the baseline transmission rate, T (t) is the temperature at time t, H (t) is the humidity at time t, 12 and  are coefficients determining the influence of temperature and humidity respectively. This formulation allows the model to capture the seasonal variations in the disease transmission due to weather changes.

Invariance, positivity and boundedness of solution

Establishing positivity, boundedness and invariance of the feasible region in the SEIRW model ensures that the model's solutions are Biologically meaningful and Mathematically well posed. For invariance, positivity, and boundedness, the system has to be dissipative (Vibound, 2013). Positivity ensures that all the population compartments remain non negative for all time, 0 t  given non-negative initial conditions. That all solutions are uniformly bounded in a proper subset 5 R   with non-negative initial conditions;

From system (1), all Recovery terms are linear and remove individuals only. All the infection terms are positive when the compartments are positive. Since the system is smooth and well behaved, solutions remain non-negative for all 0 t  due to the form of the equations and standard theorems from ODE theory, for instance; Nagumo's theorem. Next, we show that the total population ( )

remain within a finite range for all 0 t  . Define the Biologically feasible region;

If the initial conditions are in  then the trajectory remains in  and this follows from the boundedness of () Nt and positivity of each compartment and therefore the region  is positively invariant under the dynamics The equilibrium points are obtained by setting he model Eqns. (1) to zero. That is.,

At the disease free equilibrium, we set 0 EI  

The DFE is locally asymptotically stable if both eigenvalues have negative real parts, which occurs when ( )( )

 which implies that the DFE is locally asymptotically stable, which implies that small perturbations will decay over time, and the disease will die out. That is, when each infected individual causes less than one new infection on average, the disease cannot sustain itself, the system returns to the DFE, hence no

implying that the DFE is unstable and the disease can invade the population.

Global stability of the DFE

We employ the Castillo-Chavez method. The method splits the system into; uninfected compartments ( , , ) x S R W  and Infected compartment ( , ) z E I  . Let the system be written as;

The subsystem ( ,0) x f x  has a globally asymptotically stable equilibrium point at xx   ; in our case when 0 z  , no infection occurs and the uninfected system stabilizes at ( , , ) ( ,0,0) S R W N 

. Secondly, the infected subsystem can be written out as ( , ) ( , ) with ( , ) 0

 and A an M-matrix with non-negative off diagonals.

From the infected subsystem, we can rewrite;

R  , N is constant, the uninfected subsystem is globally asymptotically stable when 0 z  , the infected subsystem satisfies the Castillo-Chavez's decomposition, then the DFE is globally asymptotically stable

Endemic equilibrium

This is the case where; 0 1 and ( ) 0, ( ) 0, ( ) 0, ( ) 0

 . An endemic equilibrium point is a steady state that exists when there is a disease in the population. Stability of an endemic equilibrium point represents a situation in which a disease establishes itself within the community, which is possible when 0 1 R  We solve the non-linear algebraic system that results from setting the system (4) to zero in the steady sate. Consider system (4) with constant parameters, when

Plug into the population constraint, substituting all the terms of I and known parameters gives a non linear equation in I that typically must be solved numerically to find the endemic equilibrium point (s) The endemic equilibrium exists if and only if 0 0, since IR     it implies that the endemic equilibrium exists only when 0 1 R  therefore an endemic equilibrium exists.

Local stability Analysis of the endemic equilibrium

We analyze the Jacobian matrix evaluated at the endemic equilibrium point. We put the parameter values 0.9, 0.5, 0.25, 0.02, 0.03, 1000000

(based on WHO and Kenyan source. At endemic equilibrium, all the derivatives of system (1) are equal to zero. Using the and IE equations of the system, we have; 250, 000 250, 000 0.5 , 12.5 , , and 1, 000, 000 14 0.9 30, 000 0.9 30, 000

From which we solve numerically to obtain 51,587

. Using this value and the equations ( 7 . This represents a state where the disease persists in the population. Next, we compute the jacobian matrix by taking partial derivatives of the vector field with respect to S, E, I, R, W: 00 () 0 0 0 0 0 0 0 00

So that at the endemic equilibrium point, the numerical Jacobian matrix will be;

All the eigenvalues of this matrix have negative real parts, indicating a locally asymptotically stable endemic equilibrium. The eigenvalue plot visualizes the stability, with all eigenvalues in the left half of the plane. The complex eigenvalues suggest oscillatory behavior, leading to a stable spiral in the phase plane. The phase portrait shows a trajectory spiraling inward toward the endemic equilibrium, confirming a stable spiral. This is consistent with the complex eigenvalues with negative real parts. .

Global stability analysis of the endemic equilibrium

We analyze the global stability of the EE via the Lyapunov method. Let the Lyapunov function V be that;

( ) 0 for all , ( ) 0 only at the endemic equilibrium and 0 for all dV V x x V x x x dt      ; then the LaSalle's principal asserts that the endemic equilibrium point is globally asymptotically stable. We use a Kullback-Leibler type Lyapunov function based on the normalized compartments. Let; , , , ,

, Then define the Lyapunov function;

This function is such that 0 and 0 VV  if and only if 1 s e i r w     

i.e., the system is at equilibrium. The derivative of V along the system trajectories is given by;

substituting all the model equations, at equilibrium, this derivative simplifies to show that; 0 0 ( , , , , ) ( , , , , )

, hence all trajectories approach the endemic equilibrium.

with perturbed initial conditions;

(0) 36,750,000, (0) 1,960,000, (0) 56,745, (0) 1,140,000, (0) 4,850,000

The model is then simulated over 365 days, with time series, I vs. S phase portrait, Lyapunov function and Jacobian eigenvalue analysis. The phase portrait shows a trajectory spiraling inward toward the endemic equilibrium ( , ) (35, 000000 , 51857) SI   . Starting from the perturbed initial conditions, the trajectory does not remain at a single point as would be expected if starting exactly at the equilibrium, but instead confirms the equilibrium's stability as the system approaches ( , ) SI  .

The Lyapunov function used is given by;

The plot of Lyapunov function over time indicates that V (t) decreases and approaches a small positive value.

All the eigenvalues have negative real parts, confirming that the endemic equilibrium is globally asymptotically stable. The conjugate pair with small imaginary parts suggests damped oscillatory convergence.   suggest prolonged immunity dynamics. The equilibrium sum 43,251,587 is less than N = 50,000,000 indicating an approximate equilibrium or unmodeled population segments.

Conclusion and Recommendations

This study employed an extended SEIRW (Susceptible, Exposed, Infectious, Recovered, Waned) compartmental model to investigate the spread and control of seasonal influenza in Kenya. The model incorporated realistic estimates from WHO and Kenyan public health sources to evaluate the disease dynamics. The DFE exists and is both locally and globally stable when the basic reproduction number 0 1 R  . Global stability was verified using a Lyapunov function, and the system tends toward the DFE in the absence of infection pressure. An endemic equilibrium exists when evidence for global stability. Time series and phase portraits showed that the system stabilizes near the endemic equilibrium. This matches Kenya's empirical influenza trend of seasonal persistence with modest fluctuations.

Recommendations for Kenya

The model results strongly recommend; Implementation of annual influenza vaccination campaigns. Targeting individuals recently recovered to mitigate waning immunity, Considering booster programs based on immunity duration (~180 days), Enhancing early detection infrastructure, especially before seasonal peaks. Promote awareness about influenza symptoms, personal hygiene, and self-isolation. These actions reduce transmission rates and indirectly lower the spread. The SEIRW model is a valuable tool for capturing the medium-to long-term dynamics of influenza in Kenya. Its ability to incorporate waning immunity and capture realistic disease persistence enhances its utility for strategic public health planning and response. Further extensions may include age-structured models, vaccination compartments, or stochastic effects for low-incidence regions.

References

  1. World Health Organization. Influenza (seasonal) [Internet]. Geneva: World Health Organization; 2023 [cited 2026 Feb 17]. Available from: https://www.who.int/news-room/fact-sheets/detail/influenza-(seasonal)
  2. Ministry of Health Kenya. Kenya health sector strategic plan 2022-2027. Nairobi: Government of Kenya; 2022.
  3. Nokes DJ, et al. Incidence and severity of respiratory syncytial virus pneumonia in rural Kenyan children. Lancet. 2009;375(9708):300-305.
  4. Anderson RM, May RM. Infectious diseases of humans: dynamics and control. Oxford: Oxford University Press; 1991.
  5. Brauer F, Castillo-Chavez C, Feng Z. Mathematical models in epidemiology. New York: Springer; 2019.
  6. Chong AJ, German JS. Prosodic phrasing and F0 in Singapore English. In: Proceedings of the 18th International Congress of Phonetic Sciences; 2015; Glasgow, UK.
Citations
0
FWCI
0.00
field-weighted impact
References
0
Percentile
46%
vs. same field & year
Citation Network

How this paper connects to the literature. Drag to explore, click any node to open that paper.