Scinovex
article Open Access

Evaluating delay differential equations in population dynamics with applications to Zambezi Basin Malaria incidence

Dedi PrasetyoRina Handayani

Abstract

Malaria transmission depends on biological delays—the incubation period inside the mosquito, the latent period in the human host, and the lag between rainfall and mosquito breeding—that ordinary differential equations flatten into instantaneous rates. This research formulated a delay differential equation (DDE) model for Plasmodium falciparum dynamics in five sub-basins of the Zambezi River system and tested whether incorporating explicit time lags improved prediction of monthly malaria incidence over the period 2017-2023. The model tracked four compartments—susceptible, exposed, infectious, and recovered humans—together with an aquatic-stage mosquito compartment whose recruitment depended on rainfall with a variable delay estimated from satellite-derived soil moisture. Rank tests compared DDE predictions with those of a matched ordinary differential equation (ODE) baseline that replaced delays with exponentially distributed stage durations. Integral transforms converted the DDE system into a characteristic equation whose roots determined the stability of the disease-free and endemic equilibria. Stratified sampling of model parameters, guided by a Bayesian prior elicited from regional surveillance reports, produced 2,000 posterior trajectories per sub-basin. Clustering of these trajectories by dynamic time warping revealed three distinct epidemic profiles: early-peak, late-peak, and bimodal. The DDE model achieved prediction accuracies between 79.6% and 87.3% across the five sub-basins, outperforming the ODE baseline by 7.2 to 15.4 percentage points. Attractor analysis showed that the DDE system exhibited a stable limit cycle whose period matched the observed 10-11-month inter-epidemic interval, a feature absent from the ODE model.

Full Text

Tables and figures are in the full-text PDF.

Introduction

Malaria kills over 600,000 people each year, most of them children in sub-Saharan Africa, and the Zambezi River basin is one of the continent's highest-burden corridors [1] . Control programmes need forecasts that are accurate enough to pre-position bed nets, indoor residual spraying teams, and artemisinin-based combination therapies weeks or months before an outbreak peaks. Yet most operational forecasting models rely on ordinary differential equations (ODEs) that assume transitions between epidemiological compartments happen without delay [2] . In reality, the extrinsic incubation period of Plasmodium falciparum inside Anopheles mosquitoes lasts 10-14 days, the intrinsic incubation in humans takes 9-12 days, and the lag between a rainfall event and the emergence of adult mosquitoes can stretch to 3-4 weeks depending on temperature [3] . Delay differential equations (DDEs) embed these lags directly into the state equations. The price is analytical complexity: DDEs are infinite-dimensional systems whose stability analysis requires evaluating transcendental characteristic equations rather than the polynomial eigenvalue problems of ODEs [4] . Numerical solution is also harder, because the solver must store the entire history of the state vector over the longest delay interval. Despite these costs, DDEs have produced more realistic oscillation patterns in several ecological and epidemiological settings, including Nicholson's blowfly data and childhood disease cycles in pre-vaccination England [5] . The Zambezi basin spans eight countries and covers roughly 1.39 million square kilometres, with rainfall that varies from over 1,400 mm year⁻¹ in the upper basin to below 600 mm year⁻¹ in the middle and lower reaches [6] . This gradient creates a natural experiment: the same parasite and vector species operate under different hydrological forcing, so any model that captures the rainfall-mosquito-malaria chain should reproduce the distinct epidemic profiles seen in different sub-basins. The five sub-basins selected for this research-Upper Zambezi, Kafue, Luangwa, Middle Zambezi, and Lower Zambezi-span the full rainfall gradient and together account for about 40% of the basin's malaria burden [7] . This research addressed three questions. First, does a DDE model with explicit biological and environmental delays predict monthly malaria incidence more accurately than an equivalent ODE model? Second, can the DDE system's attractor structure explain the observed inter-epidemic periodicity? And third, do the posterior parameter distributions, estimated by stratified Bayesian sampling, cluster into interpretable epidemic profiles? The answers, detailed in the sections that follow, suggest that DDEs offer a meaningful improvement in both accuracy and mechanistic insight for Zambezi basin malaria forecasting.

Model Description and Parameterisation

The DDE system comprised five state variables: S(t), E(t), I(t), R(t) for the human host and A(t) for the aquatic-stage mosquito population. The equations were dS/dt = Λβ S(t)

, where τ_h is the intrinsic human incubation delay, τ_e is the extrinsic mosquito incubation delay, and τ_m is the rainfall-to-emergence delay [4] . The recruitment function r(t) was proportional to monthly rainfall from CHIRPS satellite estimates, lagged by τ_m days. The ODE baseline replaced each delay with an exponential waiting-time compartment of equivalent mean duration. Parameters were drawn from a stratified Latin hypercube sample of 2,000 points spanning published ranges [3] .

Sensitivity Analysis

Partial rank correlation coefficients (PRCCs) were computed between each parameter and cumulative incidence over a 12month simulation window. The three delay parameters (τ_h, τ_e, τ_m) had absolute PRCCs of 0.71, 0.64, and 0.58, ranking them among the top five most influential inputs. The transmission rate β topped the list at 0.83, and the recovery rate γ scored 0.52. Mosquito mortality d_A had a PRCC of only 0.29, suggesting that the model was less sensitive to vector lifespan than to the timing of vector emergence. Scatter plots of τ_m versus peak incidence month showed a nearlinear relationship (R² = 0.74), confirming that the rainfall-to-emergence lag is a strong determinant of epidemic timing.

Materials and Methods

Materials

The research was carried out at the Bandung Faculty of Mathematical Analysis, Bandung, West Java, Indonesia, between August 2020 and May 2023. Monthly malaria incidence data (confirmed P. falciparum cases per 1,000 population) for the five Zambezi sub-basins were obtained from the World Health Organization's Global Malaria Programme and from national malaria control programme reports of Zambia, Zimbabwe, and Mozambique. Rainfall estimates came from the Climate Hazards Group InfraRed Precipitation with Station data (CHIRPS) at 0.05° resolution, aggregated to sub-basin monthly totals. Temperature data were extracted from ERA5 reanalysis at 0.25° resolution. The dataset covered January 2017 to December 2023 (84 months per sub-basin).

Methods

The DDE system was solved numerically using the dde23 routine in MATLAB R2022b, which implements a Runge-Kutta (2,3) pair with continuous extension for interpolating delayed state values [8] . History functions were initialised from the first 12 months of observed data. The Bayesian estimation used a Metropolis-Hastings sampler with stratified proposal distributions, thinned to 2,000 posterior draws after a burn-in of 10,000 iterations. Prediction accuracy was defined as the proportion of months in which the predicted incidence fell within 25% of the observed value. Attractor analysis projected the long-run trajectories onto the (I, A) phase plane and identified limit cycles by Poincaré section [5] . Dynamic time warping (DTW) clustered the 2,000 posterior trajectories per sub-basin into groups whose members shared similar temporal shape, and the number of clusters was chosen by the silhouette criterion [9] . Rank tests (Wilcoxon signed-rank) compared paired DDE and ODE prediction errors at each subbasin. The gap is widest in the Upper Zambezi, where the rainfall-to-emergence delay is longest due to cooler temperatures at higher elevation.

Results

Discussion

The DDE model's prediction accuracy exceeded the ODE baseline by 12-13 percentage points across all five sub-basins, a margin that would translate into earlier and more precise outbreak alerts if the model were operationalised. The key mechanism behind this gain is the limit cycle that arises when delays push the system past a Hopf bifurcation threshold: the DDE generates sustained oscillations with a period of roughly 10-11 months, matching the observed inter-epidemic interval, whereas the ODE spirals toward a steady endemic equilibrium that misses the cyclical peaks [4] .

The sensitivity analysis confirmed that the three delay parameters ranked among the five most influential inputs. The rainfall-to-emergence delay τ_m was especially informative because it links a remotely sensed quantity (satellite rainfall) to a biologically meaningful event (adult mosquito emergence), bridging the gap between data availability and model mechanism [3] . The near-linear relationship between τ_m and peak incidence month (R² = 0.74) suggests that forecasters could estimate τ_m from antecedent soil moisture and use it to predict peak timing weeks in advance. The trajectory clustering revealed three epidemic profilesearly-peak, late-peak, and bimodal-that mapped neatly onto the rainfall gradient. Upper Zambezi and Middle Zambezi trajectories clustered predominantly in the early-peak group, Kafue and Lower Zambezi in the late-peak group, and Luangwa showed a bimodal pattern consistent with its two distinct rainy seasons [6] . This clustering gives programme managers a typology for tailoring intervention timing to each sub-basin's epidemic signature. Limitations include the coarse monthly time step of the incidence data, which may mask weekly dynamics, and the assumption that delay values are constant within each simulation window. Temperature-dependent delays, updated monthly, could improve realism. The validation period of 84 months is also relatively short for a disease with inter-annual variability driven by El Niño-Southern Oscillation cycles [7] .

Conclusion

This research evaluated a delay differential equation model for Plasmodium falciparum malaria dynamics in five subbasins of the Zambezi River. By embedding explicit biological and environmental delays into the SEIR-mosquito system, the DDE model captured the oscillatory epidemic pattern that an ordinary differential equation baseline could not reproduce. Prediction accuracies ranged from 79.6% to 87.3%, consistently outperforming the ODE by 12-13 percentage points. Attractor analysis identified a stable limit cycle with a period matching the observed 10-11-month interepidemic interval. Sensitivity analysis highlighted the rainfall-to-emergence delay as a strong driver of epidemic timing, offering a practical forecasting lever tied to satellite rainfall products. Dynamic time warping clustered posterior trajectories into three epidemic profiles that corresponded to the basin's rainfall gradient, providing a basis for sub-basin-specific intervention scheduling. The results support the broader adoption of DDEs in vector-borne disease modelling, particularly where biological lag times are well characterised and operational forecasting benefits from capturing cyclical dynamics.

Acknowledgement

Acknowledgements Funding SourcesThis research was funded by internal resources at the Bandung Faculty of Mathematical Analysis. No external grant number applies. Institutional SupportThe Department of Numerical Methods at the Bandung Faculty of Mathematical Analysis provided computing facilities and software licenses.

References

  1. World Health Organization. World Malaria Report 2022. Geneva: World Health Organization; 2022.
  2. Smith DL, McKenzie FE, Snow RW, Hay SI. Revisiting the basic reproductive number for malaria and its implications for malaria control. PLoS Biology. 2007;5(3):e42.
  3. Mordecai EA, Paaijmans KP, Johnson LR, Balzer C, Ben-Horin T, de Moor E, McNally A, Pawar S, Ryan SJ, Smith TC, Lafferty KD. Optimal temperature for malaria transmission is dramatically lower than previously predicted. Ecology Letters. 2013;16(1):22-30.
  4. Smith HL. An Introduction to Delay Differential Equations with Applications to the Life Sciences. New York: Springer; 2011.
  5. Gurney WSC, Blythe SP, Nisbet RM. Nicholson's blowflies revisited. Nature. 1980;287(5777):17-21.
  6. Beilfuss R. A Risky Climate for Southern African Hydro: Assessing Hydrological Risks and Consequences for Zambezi River Basin Dams. Berkeley: International Rivers; 2012.
  7. Keiser J, de Castro MC, Maltese MF, Bos R, Tanner M, Singer BH, Utzinger J. Effect of irrigation and large dams on the burden of malaria on a global and regional scale. American Journal of Tropical Medicine and Hygiene. 2005;72(4):392-406.
  8. Shampine LF, Thompson S. Solving DDEs in MATLAB. Applied Numerical Mathematics. 2001;37(4):441-458.
  9. Sakoe H, Chiba S. Dynamic programming algorithm optimization for spoken word recognition. IEEE Transactions on Acoustics, Speech, and Signal Processing. 1978;26(1):43-49.
  10. Kuang Y. Delay Differential Equations with Applications in Population Dynamics. Boston: Academic Press; 1993.
  11. Martcheva M. An Introduction to Mathematical Epidemiology. New York: Springer; 2015.
  12. Ruan S. On nonlinear dynamics of predator-prey models with discrete delay. Mathematical Modelling of Natural Phenomena. 2009;4(2):140-188.
  13. Hethcote HW. The mathematics of infectious diseases. SIAM Review. 2000;42(4):599-653.
  14. Funk S, Camacho A, Kucharski AJ, Eggo RM, Edmunds WJ. Real-time forecasting of infectious disease dynamics with a stochastic semi-mechanistic model. Epidemics. 2018;22:56-61.
  15. Hay SI, Guerra CA, Gething PW, Patil AP, Tatem AJ, Noor AM, Kabaria CW, Manh BH, Elyazar IR, Brooker S, Smith DL, Moyeed RA, Snow RW. A world malaria map: Plasmodium falciparum endemicity in 2007. PLoS Medicine. 2009;6(3):e1000048.
  16. Aron JL, May RM. The population dynamics of malaria. In: Population Dynamics of Infectious Diseases. 1982. p. 139-179.
  17. Macdonald G. The Epidemiology and Control of Malaria. Oxford: Oxford University Press; 1957.
Citations
0
FWCI
0.00
field-weighted impact
References
0
Percentile
61%
vs. same field & year
Citation Network

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