Applying stiff integrators for ODEs and DDES to problems with distributed delays
Nicola Guglielmi and Ernst Hairer
Abstract. There exist excellent codes for an efficient numerical treatment of stiff and differentialalgebraic problems. Let us mention Radau5 which is based on the 3-stage Radau IIA collocation method, and its extension to problems with discrete delays Radar5. The aim of the present work is to present a technique that permits a direct application of these codes to problems having a righthand side with an additional distributed delay term (which is a special case of an integro-differential equation). Models with distributed delays are of increasing importance in pharmacodynamics and pharmacokinetics for the study of the interaction between drugs and the body.
The main idea is to approximate the distribution kernel of the integral term by a sum of exponential functions or by a quasi-polynomial expansion, and then to transform the distributed (integral) delay term into a set of ordinary differential equations. This set is typically stiff and, for some distribution kernels (e.g., Pareto distribution), it contains discrete delay terms with constant delay. The original equations augmented by this set of ordinary differential equations can have a very large dimension, and a careful treatment of the solution of the arising linear systems is necessary.
The use of the codes Radau5 and Radar5 is illustrated at three examples (two test equations and one problem taken from pharmacodynamics). The driver programs for these examples are publicly available from the homepages of the authors
Key Words. Stiff systems, differential-algebraic equations, delay equations, integro-differential equations, distributed delays, Runge-Kutta methods, approximation by sum of exponentials, gamma distribution, Pareto distribution, Radau5, Radar5