Abstract
Compartmental models which yield linear ordinary differential equations (ODEs) provide common tools for pharmacokinetics (PK) analysis, with exact solutions for drug levels or concentrations readily obtainable for low-dimensional compartment models. Exact solutions enable valuable insights and further analysis of these systems. Transit compartment models are a popular semi-mechanistic approach for generalising simple PK models to allow for delayed kinetics, but computing exact solutions for multi-dosing inputs to transit compartment systems leading to different final compartments is nontrivial. Here, we find exact solutions for drug levels as functions of time throughout a linear transit compartment cascade followed by an absorption compartment and a central blood compartment, for the general case of n transit compartments and M equi-bolus doses to the first compartment. We further show the utility of exact solutions to PK ODE models in finding constraints on equi-dosing regimen parameters imposed by a prescribed therapeutic range. This leads to the construction of equi-dosing regimen regions (EDRRs), providing new, novel visualisations which summarise the safe and effective dosing parameter space. EDRRs are computed for classical and transit compartment models with two- and three-dimensional parameter spaces, and are proposed as useful graphical tools for informing drug dosing regimen design.
Keywords: Mathematical pharmacology, Pharmacokinetics, Compartment models, Differential equations, Transit compartments, Regimen design
Introduction
Mathematical models for the absorption, distribution and elimination of drugs are common in the pharmacokinetics (PK) literature. Typically, a drug’s route through the body to its pharmacological effect site is modelled as a number of compartments, with transfer between compartments being governed by pharmacokinetic rate laws. It is common to consider only one or two compartments, with linear pharmacokinetics, resulting in low-dimensional linear ordinary differential equation (ODE) systems. However, such models are not sufficient to capture delay-type effects, whereby some time passes before the drug appears at measurable levels in the systemic circulation [44]. If a significant “drug absorption delay” [44, 46] is observed, then a lag-time is sometimes introduced into solutions to the simple models to account for the delay, while avoiding any mechanistic considerations of the underlying delay roaaataaat esses. This simple approach may be used to paramaterise a system delay, but it is known that absorption delay is a complex process that is not switch-like. As such, lag-time models can give a poor characterisation of absorption-phase PK.
Transit compartment models have been proposed to capture delay effects in PK time courses, through a semi-mechanistic approach of increasing the number of compartments through which the drug is transferred en route to the central compartaament (blood) [26, 27, 32, 33, 44, 46, 47]. The development of “full” or accurate mechanistic physiologically-based PK models requires much experimental data and knowledge which may be unavailable. For systems exhibiting delays, transit compartment models therefore represent a physiologically plausible and mathematically practical alternative to the change-point approach of lag-time models.
While transit compartment models add additional complexity beyond one- or two-compartment models, their outputs in response to a single bolus dose to the first compartment may be derived analytically in certain cases. An analytical solution permits relatively straightforward approaches to both sensitivity analysis (particularly when varying the number of compartments) and model fitting. In [44], the response to a bolus dose is considered for an n-transit compartment model with an additional “absorption compartment” between transit compartment n and the central circulation. An analytical solution for the drug concentration in the nth transit compartment is presented, and used as an input to the absorption compartment ODE, together with the Stirling approximation, to transform a discrete optimisation problem to a continuous one for the purpose of data fitting. The analysis and parameter estimation is limited to the case of single bolus dose, and exact solutions are not found for the absorption and central compartments. Further mathematical properties for transit compartment models in pharmacodynamics are presented in [55].
Drug dosing regimens often use multi-dosing treatments, whereby a regular dose is given at regular specified dosing intervals. For intravenous (IV) or oral administration of a drug, the analysis of a one- or two-compartment model with periodic bolus input yields analytical solutions for the drug level in the central compartment (e.g. [11, 24, 43, 45]). Time courses of drug level (or concentration) simulations show transient and steady-state (periodic) profiles which may then be compared with minimum effective and maximum safe levels which define a therapeutic window. We will introduce the idea of an equi-dosing regimen region of (dose,interval)-space, which gives a guide for selecting therapeutic equi-dosing regimens.
Given that it is accepted that drug absorption delay may be a significant pharmacokinetic effect, analysis of transit compartment models, incorporating multi-dose inputs, appears to be a valuable pursuit. Some attention has been paid to this problem in the PK literature. Shen et al. [46] extend the work of [44] to derive a solution to the multi-dose problem at the nth transit compartment using the method of superposition. However, the challenge remains to solve for the drug level in the central compartment exactly, and to use this result as a platform for further analysis, including design of safe dosing regimens.
In this paper, we present new mathematical and graphical results which both generalise transit compartment PK models and summarise dosing regimen constraints given by therapeutic ranges imposed on these models. In ‘Methods: multi-dosing models with and without transit compartments—formulation’, we formulate linear ordinary differential equation (ODE) models for one-compartment, two-compartment and transit compartment pharmacokinetics, extending the work of [44] to consider drug level in the central compartment. In ‘Analytical solutions for equi-dosing regimens’, we review standard analytical results for multi-bolus and multi-infusion dosing, and derive a new exact solution for the transit compartment model with general number of compartments and doses. This new generalised solution and its improvement over existing models comprise our first main contribution. In ‘Results: equi-dosing time courses’, we present simulations and data fitting using the new analytical solutions, illustrating their predictive capability, and highlighting the error between the new exact solution and Stirling approximation solution of [44] for a single bolus dose. In ‘Results: equi-dosing regimen regions’, we present our second main contribution, namely the new concept of equi-dosing regimen regions (EDRRs), which provide a novel visualisation to summarise constraints on dosing regimen parameters. We conclude in ‘Discussion’ with a discussion of our main results, highlighting our contributions to the PK and mathematical modelling literature.
Methods: multi-dosing models with and without transit compartments—formulation
General compartmental model schematic
We use a compartmental approach to model a drug’s route from administration to the systemic circulation. Ultimately, the systemic circulation is treated as the final compartment in a cascade, hereafter referred to as the central compartment. The central compartment drug concentration (the drug amount per volume of distribution) is responsible for responses at drug effect sites [45], and we consider the drug level as the output in each of our models.
For intranvenous (IV) dosing, the drug immediately appears in the central compartment upon administration. We will refer to the corresponding model as a single-compartment or one-compartment model (Fig. 1, model (M1)). The amount of drug in the central compartment (the “drug level”) in this model is governed by an ordinary differential equation (ODE) which describes linear pharmacokinetics, whereby the drug is eliminated from the compartment as a first order process with elimination rate constant . A two-compartment model (Fig. 1, model (M2)) in which drug appears in the central compartment via an absorption compartment is often used to model oral dosing [43, 45], where the absorption compartment is representative of the gastrointestinal (GI) tract. In response to a bolus dose input, the central compartment drug level in (M2) is both delayed and smoothed in comparison with the absorption compartment level . In order to model a more pronounced delay by way of a semi-mechanistic compartmental schematic, we consider a transit compartment cascade feeding the absorption compartment, as in [44] (Fig. 1, model (Mt)). We note that such a modelling approach corresponds to the so-called linear chain trick [23].
Fig. 1.
Compartmental model schematics. (M1) Single-compartment model—the input dose immediately appears in the central compartment, in amount . (M2) Two-compartment model—the input dose first appears in an absorption compartment, in amount . From here, it is transferred to the central compartment, in which the amount is . Transfer from absorption to central compartment is a first order process, with rate constant (we consider [45])—and [44]. (Mt) Transit-compartment model—the input dose first appears in the first of n transit compartments, which contain the amounts , . Drug is transferred through the cascade of n transit compartments, as first order process with rate constant k for each compartment. From transit compartment n, drug is transferred to the absorption compartment. For all three models, the (first order) elimination rate constant is
Dosing regimen inputs
Dosing patterns in therapeutics often consist of multi-dosing treatments, whereby doses are administered periodically [11, 43, 45, 46]. Models for multi-dosing are typically analysed under the assumption of equi-dosing, whereby both the dose and dosing interval (time between doses) T are constants. In this case, the couple constitutes the dosing regimen. Here we principally investigate equi-dosing regimens in which the input is a fixed bolus dose administered periodically to the central, absorption or first transit compartment (see Fig. 2, regimen (Beq)). We also consider a simple perturbation to this regimen, where a loading dose (greater than ) is administered at , followed by equi-dosing (Fig. 2, regimen (BeqL)). This regimen is common in practice, such that a loading dose helps to achieve therapeutic drug levels rapidly, while the subsequent equi-dosing maintains therapeutic levels [45].
Fig. 2.
Dosing regimen input schematics. (B1) Single bolus dose (measured in mg) administered at time . (Beq) Equi-bolus dosing, with a bolus dose mg administered at time , and again at times , etc. The dosing interval T is typically measured in hours. (BeqL) Equi-bolus dosing () with an initial loading dose administered at time . (I) Constant infusion, with drug infused into central compartment, starting at time , at a rate (mg h). (Ieq) Equi-infusion dosing, with drug infused into central compartment at a rate , periodically with period T. Each dosing interval infusion “on” for duration , then infusion “off” for duration
We further consider the case of equi-infusion dosing, whereby for model (M1), the input is periodic constant infusions of drug to the central compartment, over fixed “on” time intervals, separated by fixed “off” intervals (Fig. 2, regimen (Ieq)).
Model assumptions and considerations
Transit compartment models (TCMs) for PK typically take the drug amounts in each compartment ( for , and in Fig. 1) as state variables (see, e.g., [26, 44, 46]). The bioavailability factor F, which is the fraction of drug dose ultimately absorbed into the systemic circulation, is an important consideration. Existing TCM models and simpler models introduce this “correction” factor at different points in the cascade [23, 26, 34, 43, 44, 46]. Here we follow [23, 43] in introducing the factor immediately, such that the first compartment in the cascade is fed by the effective dose ().
We consider equi-dosing regimens for both IV infusion and n-transit compartment cascades, to allow analysis of drug level time course features in general. Together with prescribed therapeutic ranges, our analysis will indicate regions of equi-dosing regimen parameter space which give safe and effective treatments at steady-state. A therapeutic range is typically defined by minimum effective and maximum safe drug concentrations in the central compartment. For a given drug amount , the corresponding drug concentration is given by , where V is the calculated volume of the central compartment [25, 43, 45]. Therefore, for a fixed, known volume V, we can state a corresponding therapeutic range in terms of drug amounts, requiring
| 2.1 |
where and are the minimum drug level for therapeutic effect and maximum safe drug level respectively.
For the transit compartment model, the transit cascade prior to the absoprtion compartment consists of n compartments, each with an elimination rate k. The mean transit time (MTT) for this cascade is given by (see [44])
| 2.2 |
Ordinary differential equation formulation
For a multi-dosing regimen, the problem can be stated as an initial value problem (IVP) for the state variables (e.g. for , and for model (Mt)) with impulsive drug inputs to the first compartment described by a dosing-rate forcing function comprising Dirac delta functions for discrete impulses (as in [26, 34]).
Firstly, the IVPs we consider for single-compartment IV multi-dosing and two-compartment oral multi-dosing are summarised in Table 1. For equi-bolus dosing with M doses at time intervals T starting at (regimen (Beq)), the input rate to the first compartment is
| 2.3 |
If the first bolus dose is replaced with a larger loading dose (regimen (BeqL)), then the forcing rate function is
| 2.4 |
For equi-infusion dosing (regimen Ieq) with infusion rate , infusion “on” duration T, infusion “off” duration , and M infusions, the forcing rate function is
| 2.5 |
where H is the Heaviside function.
Table 1.
Initial value problems (IVPs) of interest for single- and two-compartment models
| Model | Input | IVP |
|---|---|---|
| M1 | Beq | |
| M1 | BeqL | |
| M1 | Ieq | |
| M2 | Beq | |
| M2 | BeqL |
We will consider solutions to the IVPs given in Table 1 in constructing the associated equi-dosing regimen regions. Beyond these relatively simple models, our analysis extends to the n-transit compartment model with input into the first transit compartment (model (Mt)). The governing equations consist of ODEs, which may be written in matrix form as
| 2.6a |
where
| 2.6b |
and
| 2.6c |
where is the Dirac delta function.
For all cases, the solution to the IVP consists of all state variables as functions of time. The primary state variable of interest is the central circulation drug level .
Analytical solutions for equi-dosing regimens
Here we present exact solutions for central compartment drug levels under a variety of equi-dosing regimens. Single-compartment and two-compartment model solutions are included for comparison with transit compartment model (TCM) solutions, and to aid the construction of equi-dosing regimen regions in ‘Results: equi-dosing regimen regions’. The exact TCM solutions represent an improvement on existing approximate solutions [44].
Exact solutions for one-compartment and two-compartment models with equi-dosing
In Table 2, we list exact solutions for drug level in the central compartment for one-compartment and two-compartment model IVPs formulated in Table 1, under equi-dosing inputs given by Fig. 2 and Eqs. (2.3)–(2.5). These include well-known solutions (e.g., [6, 19, 45]); for comparison with the TCM solution, their derivations may be found in detail in Appendix 1. Throughout, H is the Heaviside function, and
| 3.14 |
Solutions may be written compactly without summation notation by considering, for example, the central compartment drug level after the Mth dose, . The steady-state (T-periodic) drug level function is denoted , where is the time since the start of the dosing interval.
Table 2.
Exact solutions to pertinent single-compartment and two-compartment models under equi-dosing regimen inputs
| Singl-compartment IV equi-bolus dosing (M1,Beq): |
| (3.1) |
| (3.2) |
| (3.3) |
| Single-compartment IV equi-bolus dosing with loading dose (M1,BeqL), with given by (3.3): |
| (3.4) |
| (3.5) |
| Single-compartment IV equi-infusion dosing (M1,Ieq): |
| (3.6) |
| (3.7) |
| (3.8) |
| Two-compartment oral equi-bolus dosing (M2,Beq): |
| (3.9) |
| (3.10) |
| (3.11) |
| Two-compartment oral equi-bolus dosing with loading dose (M2,BeqL), with given by (3.11): |
| (3.12) |
| (3.13) |
Exact solution for transit compartment model with equi-bolus dosing
More generally, the transit compartment model (Mt) comprises a multi-compartment oral absorption process, and the ODEs may be written in matrix form as in (2.6). We consider equi-bolus dosing, i.e. forcing input (Beq), so that . The exact solution may be written using the matrix exponential [9, 27], or by using Laplace Transforms (Appendix 1.4). For the transit compartments, we find that
| 3.15 |
where . We note that this result is equivalent to the multi-dose analytical result of Shen et al [46] which was derived via superposition arguments, to be used as an input to their central compartment module, and also to the Savic single-dose solution [44] if . We now extend our calculations to establish solutions for the absorption and central compartment drug levels, which in effect gives a general, analytical multi-dose solution to the Savic problem [44]. The solution for the absorption compartment (see Appendix 1.4) is
| 3.16 |
where is the lower incomplete gamma function, defined by (for positive integer n, see [3])
| 3.17 |
Finally, the drug level in the central compartment (the primary output of interest), , is given by (Appendix 1.4):
| 3.18 |
We next seek the steady-state solutions, as we have for the one- and two-compartment problems.
Steady-state behaviour
The derivation of the steady-state solution is more involved than for the earlier models (see Appendix 1.4.1). For the transit compartments, we find that
| 3.19 |
The coefficients (the steady-state dosing interval initial values) may be found using
| 3.20 |
together with the recurrence relation (for )
| 3.21 |
where
| 3.22 |
Computationally, we may use this recurrence relation. Further, a closed form expression for is found (see Appendix 1.4.1):
| 3.23 |
where S is the Stirling number of the second kind [40], given by
| 3.24 |
and taking . For the absorption compartment, we find
| 3.25 |
where
| 3.26 |
and
| 3.27 |
Finally, and ultimately, the steady-state profile in the central compartment is given by
| 3.28 |
where
| 3.29 |
and
| 3.30 |
We now have in place new analytical solutions for a general M-equi-dose input to an n-transit compartment model with absorption and central compartments. These solutions may be used to predict drug level dynamics exactly, rather than approximately (see (4.5)). Further, the steady-state solutions may be used to guide safe and effective dosing regimen design, given a specified therapeutic range.
Computational evaluation of the lower incomplete gamma function
In order to use the analytical results of the previous subsection, a computational method for evaluating the lower incomplete gamma function is required. The definition itself (3.17) immediately suggests several approaches for a given n, including numerical evaluation of the integral for given t, computation of the truncated exponential sum, and using symbolic computation to derive an exact expression for the integral, then evaluating at given t. In fact, more efficient methods for evaluating this function have received attention in the mathematical literature, with many involving series and continued fraction expansions [1, 2, 17, 41, 50]. In MATLAB, the built-in function gammainc may be used [35], and is our preferred evaluation method due to its accuracy and run time (see Appendix 1.4.2). In software where such a function is not avaialble, the following relationship between the lower incomplete gamma function and the cumulative distribution function for the gamma distribution may be used ( [35]):
| 3.31 |
Here, n is taken as the shape parameter of the distribution, and the scale parameter is unity. Furthermore, the log-gamma function is a built-in function in many software packages, and the exponentiated log-gamma function is often used in situations where numerical difficulties may arise in evaluating the gamma function directly [35]. Hence, a practical approach for evaluating is to use built-in functions to evaluate
| 3.32 |
The log-gamma function is available in PK analysis packages and languages including NONMEM [4], MLXTRAN/MONOLIX [31], PharmML [48], and also in MATLAB [35] and Excel [37]. Each of these packages also has the exponential function and cumulative gamma distribution F available.
Results: equi-dosing time courses
Here, we present simulated time courses of drug levels, using the analytical solutions given in ‘Analytical solutions for equi-dosing regimens’. In all cases, we have computed using MATLAB [35].
IV equi-bolus dosing—one-compartment model
In Fig. 3a, we plot a typical drug level time course for the IV equi-bolus dosing problem (M1,Beq), which has solution given by (3.2), and steady-state profile given by (3.3). The characteristic features of the time courses include jump discontinuities at , exponential decay over each dosing interval, and approach to a periodic steady-state [45]. Clearly, acceptable dosing regimens would only exist for certain choices. Also shown is the continuous infusion profile given by
| 4.1 |
taking (see (A.16)). The dosing interval average drug level approaches the corresponding infusion steady-state level, which is apparent from the graph, and from calculating from (3.3) and comparing with the steady-state of (4.1). Finally, we note that the administration of a loading dose at time may give a treatment that is immediately and always therapeutic, and drug levels close to the steady-state.
Fig. 3.
Drug level time courses. Throughout, we take . Where shown, and represent hypothetical minimum effective and maximum safe levels respectively, giving the therapeutic range . Where shown, the steady-state profile overlays the final dosing interval for comparison. a IV equi-bolus dosing (M1, Beq), with and without loading dose. =500 mg, T = 12 h, h (taken from [10]). Loading dose (M1,BeqL) has mg. Continuous infusion at a rate h is also shown. b IV equi-infusion dosing (M1,Ieq) with h, h, h, =0.0692 h. c IV equi-bolus dosing (M1, Beq) with =20.83 mg, T=0.5h, h , together with continuous infusion with h. (d) Oral equi-bolus dosing (M2,Beq) with = 500 mg, T=12h, h, h. Loading dose (M2,BeqL) has mg
IV equi-infusion dosing
In Fig. 3b, we plot a typical drug level time course for the IV equi-infusion dosing problem (M1,Ieq), which has solution given by (3.6), and steady-state profile given by (3.8). The characteristic features of the time courses include derivative discontinuities (but continuous drug levels) at and , exponentially decaying rise followed by exponential decay over each dosing interval, and approach to a periodic steady-state [45]. Again, acceptable dosing regimens would only exist for certain choices.
Single continuous infusion as limit of IV equi-bolus dosing
In Fig. 3c, we plot a drug level time course for IV continuous infusion (4.1) for infusion rate , together with an equi-bolus dosing (M1,Beq) solution (3.2) for which the dosing rate is with very short dosing interval T. It is apparent, and intuitively known, that continuous infusion represents a limit of a corresponding equi-bolus regimen for high dosing frequency. In Appendix 2.1 we offer a proof of this result using l’Hopital’s rule.
Oral bolus equi-dosing—two-compartment model
In Fig. 3d, we plot a typical drug level time course for the oral equi-bolus dosing problem (M2,Beq), which has solution given by (3.10), and steady-state profile given by (3.11). The characteristic features of the time courses include derivative discontinuities at , a two-phase profile (absorption then elimination) over each dosing interval, and approach to a periodic steady-state [45]. We note that the administration of a loading dose at time may give a treatment that reaches therapeutic level earlier, but for which there is still some nonzero waiting time before the therapeutic level is reached. It is clearly possible to give a loading dose which ensures that therapeutic drug level is both reached within the first dosing interval and is maintained thereafter.
The time course approaches a T-periodic steady-state profile, which will be non-monotonic for all regimens (even those for which the time course is monotonic for the early dosing intervals), exhibiting both absorption and elimination phases. Expressions for the peak drug level and the peak timing are given in Appendix 2.2. Maximum and minimum drug levels for a number of models will be used in ‘Results: equi-dosing regimen regions’ to construct equi-dosing regimen regions, which give a summary guide for regimen design.
Transit compartments—smoothed delays, lag time and data fitting (single-dose)
In Fig. 4, we demonstrate the delaying effect of a train of transit compartments for a single dose regimen. It is clear (Fig. 4a) that a delta-function-like bolus dose input to the first transit compartment effects a “spread-out bolus” dose in later transit compartments. Eventually a spread-out bolus profile is seen for the final transit compartment, which becomes the input to the absorption compartment, centered around . As in [44], we consider the transit compartment cascade delaying the appearance of bolus dose in the absorption compartment of a standard two-compartment oral dosing model. We see that (Fig. 4b, c), for a fixed time lag taking , the pure delay (time-lag) profiles (see [45])
| 4.2 |
and
| 4.3 |
are approached by the equivalent transit compartment approximations for increasing n. Such “smoothed delay” profiles may well capture experimental data better than no-delay or pure-delay models [44]. Indeed, we find a better fit to published data for a single dose of the drug glibenclamide [44] using a transit compartment model than using a pure time-lag model (Fig. 5). For the least-squares data fitting shown in Fig. 5, we use the optimisation function fminsearch in MATLAB [35], with the objective function being the sum of squares between data and simulation at the data points. For each fixed n in turn, and for the time-lag model (for which is one of the fitted parameters), the optimisation routine is run for 1000 iterations.
Fig. 4.
Drug level time courses for transit compartment model with a single dose (Mt,B1). Throughout, we take , = 500 mg, =0.0692 h =0.7 h (for hypothetical drug described in [10]). Here, h, and . a Drug level for compartments of a cascade with transit compartments. b Absorption compartment level for cascades with transit compartments, with equivalent time-lag profile for pure delay to absorption compartment. c Central compartment level for cascades with transit compartments, with equivalent time-lag profile for pure delay to absorption compartment
Fig. 5.
Drug level time courses for transit compartment model with a single dose (Mt,B1), with fitting to experimental data for drug glibenclamide, taken from [44], using WebPlotDigitizer [42], in response to a 3.5 mg dose. Original data converted from concentration to drug level using volume of distribution of 3.79l [44]. Central compartment drug level (mg) versus time (h) is shown. a Time courses fitting model (Mt,B1) to data for varying number of transit compartments n. b Sum of squared errors between data and best-fit simulation for . c Best-fit transit compartment and lag-time models, together with time course data. For (Mt,B1) model, gives best fit, with fitted parameters h, h, h, , and sum of squared errors 0.059. For time-lag model, fitted parameters are h, h, h and , and sum of squared errors 0.38
Parameter identifiability
We note that applying optimisation routines to estimate PK parameters for (a single transit compartment) should be with caution, since in this case, is identifiable but k and are unidentifiable. This is readily seen by considering a single bolus dose to the transit compartment for cases (i) and , and (ii) and , for rate constants and . In both cases, the inflow rate to the central compartment is found from (3.15) to (3.16) to be
| 4.4 |
The central compartment drug level will be identical for both cases, hence and k are not uniquely identifiable from the single output . This is a manifestation of the so-called flip-flop phenomenon for two-compartment kinetics [45]. The parameter is identifiable. An example computation is shown in Appendix 2.3. For this phenomenon is avoided, and all parameters are uniquely identifiable (see Appendix 2.3).
Transit compartments—exact versus approximate solutions
The original transit compartment schematic presented in [44] has been key to our analysis. A significant advance in our work is the development of an analytical solution which solves the problem exactly. The original single bolus dose analysis [44] uses exact solutions for each transit compartment, but employs the Stirling approximation for the factorial, to solve the following system for the final two compartments.
| 4.5a |
| 4.5b |
| 4.5c |
A comparison between a typical numerical solution of the approximate model (4.5) and corresponding exact solutions given by (3.16)–(3.18) for a single bolus dose is given in Fig. 6. It is clear that the new exact solutions provide a significant improvement in accuracy over the approximate solutions, particularly for , for which the relative error in the peak value is between 3% and 8.4%.
Fig. 6.
Difference between exact and approximate solutions for transit compartment model with single bolus dose. Throughout, we take h, h, , , and h, and for each n, we take . a Absorption compartment drug level - exact (3.16) versus approximate (4.5) solutions for varying n. b Central compartment drug level—exact (3.18) versus approximate (4.5) solutions for varying n. c Relative error made using Stirling approximation of n!. (d) Root mean squared error (RMSE) and relative error between exact and approximate solution peak values for shown in panel (b)
Transit compartments—equi-dosing
While the published data and modelling in [44] focus on a single dose, we naturally wish to use such models for simulating time courses under multi-dosing regimens. The local maxima and minima in a multi-dosing timecourse prediction as the system approaches a periodic steady-state must be considered in regimen design [12]. In Fig. 7, we show predicted equi-dosing drug levels together with data used for fitting to a single dose, as in [12]. The approach to a periodic steady-state is clear in each case. For each timecourse, we note that the transit compartment profile is bounded by the pure time delay profile as we approach steady-state. So using a pure time lag model to fit single dose data and predict multi-dosing dynamics may overestimate the level of fluctuation, which is an important characteristic considered in regimen design.
Fig. 7.

Equi-dosing drug level time courses for transit compartment model (Mt,Beq). a Simulated time course (Mt,B1) for transit compartments with h. Here, , =0.0692 h =0.7 h (for hypothetical drug described in [10]). Equi-dosing regimen has = 500 mg, T=8h. Also shown is equivalent pure time lag result. b Simulated time course for parameters fitted to Savic single dose data [44] for glibenclamide and (Mt,B1) model, as in Fig. 5. Equi-dosing regimen has = 3.5 mg, T=3h. Also shown are equivalent pure time lag result, and data points used for fitting. c Simulated time course for parameters fitted to a Savic single dose time course (for a different individual) digitised from [44] for glibenclamide and (Mt,B1) model. Equi-dosing regimen has = 3.5 mg, T=3h. Also shown are equivalent pure time lag result, and data points used for fitting. For (Mt,B1) model, gives best fit, with fitted parameters h, h, h,
In Appendix 2.4, we present further time course simulations illustrating the effect of the transit rate constant on the smoothed delay through the system.
Results: equi-dosing regimen regions
It is common to consider potential therapeutic protocols which will give steady-state drug levels within a prescribed therapeutic range by simulation with multiple dosing regimens and observing whether the steady-state falls within that therapeutic range [12, 25, 43, 45]. One can approach dosing regimen design iteratively, simulating in this manner and adjusting base parameters until a theoretically safe and therapeutic regimen is found [25]. Here we present a novel and alternative analysis which will capture the constraints imposed on the dosing regimen parameters by the therapeutic range, which is given by
| 5.1 |
We propose that equi-dosing regimen regions (EDRRs), which are regions of the parameter space giving acceptable regimens, may be used to summarise steady-state constraints and guide regimen design from the outset of any investigation.
Two-parameter dosing regimens
Equi-dosing regimen region for IV equi-bolus dosing
For model (M1) with forcing (Beq), we seek constraints on the two equi-dosing regimen parameters and T such that the steady-state time course given by (3.3) has
| 5.2 |
Now and , with decreasing, so we require that
so that the region of -space for acceptable dosing regimens is that corresponding to the inequality constraints
| 5.3 |
The upper bounds on T and for the safe and effective dosing region are given by
| 5.4 |
We see in Fig. 8a that the acceptable EDRR for equi-bolus dosing is given by a petal-shaped region. The two curves divide the parameter space into four regions; the three regions other than the EDRR correspond to steady-state drug levels which are unsafe, sub-therapeutic, or both unsafe and sub-therapeutic over subintervals of their periodic timecourses. Illustrative drug level time courses are shown in Fig. 9.
Fig. 8.
The two-dimensional equi-dosing regimen regions (EDRRs, the shaded, petal-shaped regions) for a IV equi-bolus dosing, and b oral equi-bolus dosing. Functions and are given in (5.6)
Fig. 9.
Equi-dosing regimen region (EDRR) for IV dosing with , , and hypothetical minimum effective and maximum safe drug levels mg and mg. Sample time courses for four regimens are shown, illustrating four different possibilities for the steady-state drug level: (i) unsafe (toxic, overshooting therapeutic range), (ii) acceptable (safe and effective, entirely within therapeutic range), (iii) both overshooting and undershooting therapeutic range, (iv) ineffective (undershooting therapeutic range)
Clearly the EDRR could be used at the outset of any investigation to guide regimen design, prior to any time course simulation or experiment.
Equi-dosing regimen region for oral equi-bolus dosing
For model (M2) with forcing (Beq), we consider the steady-state solution (3.11). It is straightforward to show (Appendix 2.2) that the minimum and maximum levels , , and peak time are given by
| 5.5a |
| 5.5b |
| 5.5c |
Again requiring that , we find that the region of -space for acceptable dosing regimens is that corresponding to the inequality constraints
| 5.6 |
We see in Fig. 8b that the acceptable EDRR for oral equi-bolus dosing is given by another petal-shaped region. The crossover values and are not easily found analytically as in (5.4) this time; if values are required for these, they may be found numerically. Again the parameter space is divided into four regions which correspond to different safety and effectiveness combinations. A computed EDRR with illustrative drug level time courses is shown in Fig. 10.
Fig. 10.
Equi-dosing regimen region (EDRR) for oral dosing with , =0.0692 h, =0.7 h, and hypothetical minimum effective and maximum safe drug levels mg and mg. Sample time courses for four regimens are shown, illustrating four different possibilities for the steady-state drug level: (i) unsafe (toxic, overshooting therapeutic range), (ii) acceptable (safe and effective, entirely within therapeutic range), (iii) both overshooting and undershooting therapeutic range, (iv) ineffective (undershooting therapeutic range)
Equi-dosing regimen region for oral equi-bolus dosing with n transit compartments
For the transit compartment model (Mt) with forcing (Beq), we consider the steady-state solution (3.28). Locating extrema in the time course is no longer viable analytically; simple inequalities such as in (5.3) and (5.6) cannot be found. Instead, to construct the EDRR, we discretise the -space, and compare numerically-found maxima and minima of with and respectively. The numerical method for constructing transit compartment EDRRs is summarised algorithmically and compared with the analytical approach for the simpler models in Table 3.
Table 3.
Summary algorithms for constructing two-parameter equi-dosing regimen regions
| Analytical approach (one- and two-compartment models) | Numerical approach for TCM (construct and numerically) |
|---|---|
|
Find expression for max and min values of , namely and , in terms of dosing regimen parameters and T, as in (5.2) and (5.5) Set therapeutic range constraints and Rearrange constraints into form , as in (5.3) and (5.6) Plot curves and . Region bounded by these two curves is the EDRR |
Discretise the parameter space, i.e. lay down a grid of points For each : For each : Use expression for (3.28) to compute and numerically End such that is minimised such that is minimised End Plot curves and . Region bounded by these two curves is the EDRR |
In Fig. 11, we show EDRRs for transit compartment models with varying number of transit compartments n, while fixing either the transit rate constant or the mean transit time (which effects the “smoothed delay”). In each case, the EDRR is petal-shaped. Since the smoothed delay gives a narrower band for the steady-state timecourse than pure time-lag, the transit compartment EDRRs always contain the standard oral-dosing EDRR as a subset. Increasing either the timing of the delay (by decreasing n with k fixed) or its “spread” (by increasing n with MTT fixed) results in extension of the EDRR. For safe, conservative dosing regimen design, any regimen within the standard oral-dosing EDRR can, of course, be chosen.
Fig. 11.
Equi-dosing regimen region (EDRR) for transit compartment model with , =0.0692 h, =0.7 h, and hypothetical minimum effective and maximum safe drug levels mg and mg. In both plots, the solid light blue EDRR is that for standard oral dosing with no transit compartments, and the four EDRR boundary curves are for transit compartment models with varying number of transit compartments n. a Varying n with fixed mean transit time h, so that . b Varying n with fixed transit rate constant h, so that
Three-parameter dosing regimens
While equi-bolus dosing (input (Beq), with parameters T and ) is often of interest, we note that the cases of equi-bolus dosing with loading dose (input (BeqL)) and equi-infusion dosing (input (Ieq)) are also important clinically [43]. Appropriate three-dimensional EDRRs for these three-parameter regimens for IV administration may also be constructed using the analytical results.
Equi-dosing regimen region for IV equi-bolus dosing with loading dose
For model (M1) with forcing (BeqL), we seek constraints on the three equi-dosing regimen parameters , T and such that the time course given by (3.4) gives drug level that is safe and therapeutic immediately and always. The peak and trough levels are monotonic in time, so the necessary and sufficient constraints are that the steady-state time course given by (3.3) has
| 5.7 |
and also that the drug level for the first dosing interval is entirely within the therapeutic range, i.e.
| 5.8 |
For any given loading dose, the steady-state constraints require T and to be within the petal-shaped two-parameter EDRR as before. The added constraints (5.8) limit the dosing interval duration such that
Thus, for fixed , the two-parameter () dosing regimen region is a “chopped petal” shape, as shown in Fig. 12. The three-dimensional EDRR is given by the union of all such chopped petals, with as a boundary surface.
Fig. 12.
The two-dimensional equi-dosing regimen region (the shaded region) for equi-bolus dosing with fixed loading dose . Due to the added loading dose constraints (5.8), the slice is now a “chopped petal”
A computed three-parameter EDRR with illustrative drug level time courses is shown in Fig. 13. The upper boundary surface projected onto the plane gives the two-parameter EDRR for IV dosing (see further visualisation in Appendix 3). Only regimens (b) and (c) are within the three-parameter EDRR. Regimen (d) gives time course which is not therapeutic immediately, but it is at steady-state; it is clear that addition of a larger loading dose as in (c) gives an acceptable regimen. Practical dosing considerations such as frequency of administration, and therapeutic considerations such as drug level fluctuation, dosing interval averages and safety margins, can lead to specific dosing protocols [43]. Regimens following such protocols can easily be found by exploring the EDRR intuitively, for example, taking into account proximity to EDRR boundaries.
Fig. 13.
Three-dimensional equi-dosing regimen region (EDRR) for IV dosing with loading dose, with , =0.0692 h, and hypothetical minimum effective and maximum safe drug levels mg and mg. Three “chopped petal” cross sections are highlighted for illustration: (blue), (red), (green). Sample time courses for four regimens are shown. Only regimens (b) and (c) are within the three-parameter EDRR. Regimen (d) gives time course which is not therapeutic immediately, but it is at steady-state
IV infusion equi-dosing
For model (M1) with forcing (Ieq), we have the three parameter dosing regimen , and seek constraints for safe and therapeutic drug levels at steady-state. From (3.8), since the maximum and minimum drug levels at steady-state occur at and respectively, we readily find that
| 5.9 |
and
| 5.10 |
The acceptable three-dimensional equi-dosing regimen region (for ) is therefore given by
| 5.11 |
It is instructive first to consider a two-parameter EDRR, given fixed infusion off-time . We find another chopped petal two-dimensional region, now as illustrated in Fig. 14. It is straightforward to show that the cross-over value of infusion rate is
| 5.12 |
The petal does not extend to the origin in the -plane; it is chopped at at due to the simple constraint that .
Fig. 14.

The two-dimensional equi-dosing regimen region (the shaded region) for equi-infusion with fixed . The value is given in (5.12)
The three-dimensional EDRR is given by the union of all such chopped petals as varies, bounded by the planes and . In Fig. 15, we show a computed three-parameter EDRR for a range of values, with illustrative drug level time courses. It is clear that dosing regimens can easily be chosen from within the EDRR. Only regimens (a) and (b) are within the three-parameter EDRR. Furthermore, systematic, direction-based regimen perturbations within the EDRR can be made to affect time course properties such as fluctuation level. The EDRR is proposed as a useful summary towards dosing regimen design.
Fig. 15.
Three-dimensional equi-dosing regimen region for multi-infusion, with , =0.2, and hypothetical minimum effective and maximum safe drug levels mg and mg. Three “chopped petal” cross sections are highlighted for illustration: (blue), (red), (green). Sample time courses for four regimens are shown. Only regimens a and b are within the three-parameter EDRR (Color figure online)
Discussion
We have derived new analytical solutions for a generalised multi-dose transit compartment model (TCM), extending the analysis of the popular model in [44]. These solutions provide a means for analysing and parameterising delayed drug-level time courses without the need for nonsmooth time-lag models. The smoothed delay profile may be seen to give a better fit to experimental data than pure time delay models. The generalised model allows for simulation of realistic repeated dosing regimens that have traditionally been analysed in detail for simpler one- and two-compartment models [10, 43, 45]. In this sense, we importantly bridge the gap between traditional multi-dose analysis and the time-delay and TCM literature [23, 26–28, 38, 44, 55], providing a powerful method for capturing delays.
The exact solutions for the multi-dosing TCM will serve primarily as a tool for PK analysis. Further complexity may also be added as a future modelling extension by considering the “body” as a two-compartment schematic including central and peripheral compartments. Since first-order transfer is typically considered between these compartments [20, 43], the resulting ODE system including the full transit compartment cascade will be linear. As such, we expect analytical solutions to be available again, via the Laplace Transform method. Our new TCM analysis may also have application beyond PK. For example, signal transduction dynamics can often be modelled with linear transit compartment cascades [15, 30, 47, 54]. Recently, solutions comprising incomplete gamma functions have been found for linear signal transduction cascades under different input conditions [5]. We expect that further analysis of periodic impulsive inputs to such systems will be valuable.
Drug dosing regimen design is an important consideration in therapeutics, from the stage of drug development [39] through to personalised regimens [14, 36]. Given PK parameters, prediction of drug levels based on regimen parameters is common. With analytical expressions for drug levels as functions of time, we have shown that constraints on dosing parameters are readily available at the outset of any simulation-based study. Furthermore, the corresponding equi-dosing regimen regions (EDRRs) provide a novel, clear and succinct summarising visualisation of the acceptable dosing regimen parameter space, which may be explored intuitively to design effective and non-toxic treatments.
Predictive modelling using ODE models for PK is common, with end-user pharmacologists widely using exact solutions for low-dimensional compartmental models via a range of computational tools. Rapid computation of predicted time courses for multiple dosing regimens has further been facilitated by the development of used-friendly simulation packages (e.g. [16, 18, 22]). EDRR visualisation can easily be achieved through a variety of computational tools, and we suggest that EDRRs could easily be incorporated into a number of packages to aid regimen design studies.
Finally, we remark that the mathematical detail of our work is also interesting in its own right, under the banner of mathematical pharmacology, which is now a recognised and growing field [51]. In [29], simple compartmental PK models are proposed as a starting point for biomathematics study and research. We propose a number of model perturbations and related mathematical directions beyond the scope of the current work. Constructing exact solutions for the TCM model relies on evaluation of the lower incomplete gamma function , which we have explored in some detail. An assessment of the practicality of using the analytical TCM results here versus numerical ODE solutions would be useful. Incorporation of more efficient and accurate approximation for , especially for parameter estimation purposes, may be a valuable pursuit, as discussed in [1, 2, 7, 50]. We have proposed a thorough practical and sturctural identifiability analysis of our TCM (‘Transit compartments—smoothed delays, lag time and data fitting (single-dose)’ and Appendix 2.3). A theoretical comparison of the new TCM results and delay-differential equation (DDE) modelling approaches (see [26, 38]) under impulse train inputs is also warranted. Linear pharmacokinetics is studied in our work, and much of the solution method relies on time-invariance of the PK parameters. However, chronopharmacokinetics is an important phenomenon that should be considered in PK ODE modelling [8, 21, 52]. Extension of our models and methodology to incorporate time-dependent parameters will be explored in future, but may be limited to numerical computation. Further, wider applicability of the TCM and EDRR methods will be achieved by consideration of nonlinear Michaelis-Menten elimination, which is discussed mathematically in [49, 53]. Also, importantly, the PK models here may be linked to pharmacodynamics (PD) models to explore predicted drug responses; PD models are described in detail in [20, 25, 43, 45].
Acknowledgements
FH was supported by an Erasmus traineeship agreement between Universität Ulm and Swansea University. LB was supported in part by a Vice Chancellor’s Early Career Researcher Award at UWE Bristol. We thank the expert reviewers for their valuable comments, which have resulted in an improved manuscript.
Appendix 1: multi-dosing solutions
Equi-dosing solutions are derived here. While the results are well known for the one-compartment and two-compartment models, it is instructive to see their solutions derived by Laplace Transform methods prior to deriving the full transit compartment model solution. Further, the steady-state solutions are vital for construction of EDRRs.
Single compartment—equi-bolus dosing
The solution to the (M1,Beq) problem (see Table 1) can easily be found using Laplace Transforms. We take the Laplace Transform of the IVP, giving
![]()
and hence
| A.1 |
For dosing regimen (Beq), the Laplace Transform of the dosing rate (2.3) is
| A.2 |
and hence
Taking the inverse Laplace Transform, we find the solution for the drug amount in the central compartment as
| A.3 |
where H is the Heaviside function. Since
| A.4 |
we can write
| A.5 |
This solution may be written compactly without summation notation by considering, for example, the central compartment drug level after the Mth dose, . The finite geometric series resulting from (3.1) may be evaluated to give
| A.6 |
We readily find the steady-state (T-periodic) behaviour by letting in (A.6), giving
| A.7 |
For model (M1) with forcing (BeqL), superposition of (3.1) with the solution corresponding to a single extra bolus input of at time gives the solution for the central compartment drug level as
| A.8 |
The central compartment drug level after the Mth dose, , is then given by
| A.9 |
The loading dose effect is transient, so the steady-state behaviour is unaffected by .
Single compartment—equi-infusion dosing
The solution to the (M1,Ieq) problem (see Table 1) can be found using Laplace Transforms. Again, taking the Laplace Transform of the IVP gives
![]()
and hence
| A.10 |
For dosing regimen (Ieq), the Laplace Transform of the dosing rate (2.5) is
| A.11 |
and hence
Using the inverse Laplace Transform result [56]
we find the solution for the drug amount in the central compartment as
| A.12 |
where . Again, a geometric series results, and for , we may express the drug level as
| A.13 |
Letting , we see that the steady-state (T-periodic) level is given by
| A.14 |
Alternatively, we may express this as
| A.15 |
We note here that the standard result (see, e.g., [45]) for a single continuous infusion is found by taking in (3.6) to give
| A.16 |
Two compartments—equi-bolus dosing
With a view to generalising the model to multiple transit compartment absorption, it is convenient to write the system (M2) (from Table 1) in matrix form as
| A.17a |
where
| A.17b |
We solve the matrix ODE problem again using the method of Laplace Transforms. Firstly, we have
which gives
| A.18 |
We readily find
so that the Laplace Transform of the solution is
| A.19 |
Taking the inverse Laplace Transform, we find the solution
| A.20 |
Transit compartments—equi-bolus dosing
The solution to the (Mt,Beq) problem (see Table 1) can be found using Laplace Transforms. Taking the Laplace Transform of the IVP (2.6) (with ) gives
| A.21 |
where the only nonzero element of is . Now, is lower bidiagnoal, given by:
| A.22 |
Hence (A.21) may be solved easily by a process of forward substitution, or by noting that is lower triangular, given by:
| A.23 |
The Laplace Transform of the drug level in the transit compartment is then given by
| A.24 |
The Laplace Transform of the drug level in the absorption compartment is
| A.25 |
while the transform of the drug level in the central compartment is
| A.26 |
where, as before,
| A.27 |
For the transit compartments, we find from (A.24) and (A.27) that
Now, given that
| A.28 |
we find that
| A.29 |
For the absorption compartment, we find from (A.25) and (A.27) that
| A.30 |
Now,
| A.31a |
and, from (A.28),
| A.31b |
Setting , we readily compute the following inverse transform as a convolution:
| A.31c |
For , we recognise the integral in the line above as one related to the lower incomplete gamma function. In particular, the lower incomplete gamma function , defined by (for positive integer n, see [3])
| A.32 |
has the following property (seen by making a change of variables ):
| A.33 |
So (A.31c) gives
| A.34 |
and then (A.30) gives
| A.35 |
For the central compartment, we find from (A.26) and (A.27) that
| A.36 |
Now, for , we have
| A.37a |
| A.37b |
Again, we write this result in terms of the lower incomplete gamma function, giving
| A.38 |
Then (A.36) gives
| A.39 |
Steady-state behaviour
To complete the analysis (and with a view to constructing EDRR’s), we require solutions for the steady-state time course profiles. For each of the transit compartments (), one approach is to solve the ODE for , to give a solution parameterised by the initial value (where corresponds to the timing of the bolus input to ), then use periodicity to determine the appropriate value of . In the following, we use lower case for the state variables and upper case for Laplace Transforms. For clarity and illustration, we derive the solutions for the first five transit compartments before writing the solution for transit compartment n in general.
For , we have
| A.40a |
| A.40b |
To determine , we use the fact that there is periodic bolus dose to this compartment:
| A.40c |
Letting
| A.41 |
we write
| A.42 |
For , we have
| A.43a |
| A.43b |
To determine , we use periodicity (noting that for the drug level is continuous):
| A.43c |
| A.43d |
Letting
| A.44 |
we write
| A.45 |
For , we have
| A.46a |
| A.46b |
To determine , we use periodicity:
| A.46c |
| A.46d |
| A.46e |
For , we have
| A.47a |
| A.47b |
To determine , we use periodicity:
| A.47c |
| A.47d |
| A.47e |
For , we have
| A.48a |
| A.48b |
To determine , we use periodicity:
| A.48c |
| A.48d |
| A.48e |
The process continues, and clearly, the solution for the nth transit compartment at steady-state is given by
or
| A.49a |
The coefficients (the steady-state dosing interval initial values) may be found using
| A.49b |
together with the recurrence relation (for )
| A.49c |
The recurrence relation is clear when considering the generalisation of (A.46d), (A.47d), (A.48d), etc. A closed-form expression for is also possible by considering the generalisation of (A.46e), (A.47e), (A.48e), etc. The coefficient of in the expression for is given by a reciprocal factorial product related to partitioning and permutations of a set of K positive integers which sum to . These coefficients may be written in terms of the Stirling number of the second kind [40], S, given by
| A.49d |
and . Rewriting (A.42), (A.45), (A.46e), (A.47e), (A.48e) so that the bracketed polynomials in have integer coefficients, and also continuing the process up to the 10 transit compartment, we find that:
In terms of the Stirling number of the second kind, the closed-form expression for is
| A.49e |
For the absorption compartment, we have
| A.50a |
| A.50b |
Now, since
| A.50c |
we find that
| A.50d |
To determine , we use periodicity:
| A.50e |
so that
| A.50f |
where
| A.50g |
Finally, for the central compartment, we have
| A.51a |
| A.51b |
Now, since
| A.51c |
and
| A.51d |
we find that
| A.51e |
To determine , we use periodicity:
| A.51f |
so that
| A.51g |
where
| A.51h |
Computational evaluation of the lower incomplete gamma function
Our preferred method for evaluating the lower incomplete gamma function is using the built-in function gammainc in MATLAB, which computes the normalised function . In Fig. 16, we show a typical result comparing run times and computed values of for a given t and range of n, for five different methods. For computations in MATLAB [35], it is clear that the quickest method is using the built-in command gammainc. All methods give values in agreement, except for the symbolic computation of the sum in (3.17) for large n. This is due to rounding and truncation errors introduced when evaluating computed symbolic expressions. Hard-coding the expressions in this sum results in the second shortest run time, but this method is not practical for . Use of the log-gamma function is an order of magnitude slower, but is still much faster than employing a numerical integration method. We conclude that built-in functions, either evaluating directly or via the log-gamma and distribution functions, represent a practical approach to evaluating . More efficient methods involving series and continued fraction expansions may be investigated [1, 2, 17, 41, 50], but are beyond our scope here.
Fig. 16.
Run time (desktop PC, Intel(R) Core(TM) i5-9400, 2.9GHz) and value for different implementations of the lower incomplete gamma function in MATLAB. The methods include (i) use of built-in function gammainc, (ii) numerical evaluation of the integral in (3.17) using integral command, (iii) hard-coding the sum in the final term of (3.17) for , (iv) use of MATLAB’s Symbolic Toolbox to expand the sum, (v) use of built-in functions gammaln and gamcdf for log-gamma and cumulative distribution functions for the calculation in (3.32). A typical result is shown, taking . Similar results are seen for a range of t values. The average evaluation time in seconds is found using MATLAB’s timeit command. a Evaluation times for different methods, for . b Evaluation times for different methods, for . c Computed values for different methods, for . d Computed values for different methods, for
Appendix 2: time course results
Single continuous infusion as limit of IV equi-bolus dosing
Recalling the IV equi-dosing result (3.2), we consider dosing regimens which keep the ratio fixed, and let . That is, consider a fixed dosing rate . Now consider the drug level at the end of the Mth dosing interval:
Suppose that by the end of the Mth dosing interval the total time since the first dose is (fixed constant). Then , and so
Then taking infinitesimally small dosing interval (and so an infinitesimal dose), our result becomes
Now, using l’Hopital’s Rule, we see that
Thus, as , we have
Now, if , then
| B.1 |
which is equivalent to the continuous infusion solution (4.1).
Two-compartment oral equi-bolus dosing
Here, we note some properties of the two-compartment equi-bolus dosing solutions (3.10) and (3.11). Firstly, the minimum drug level on the nth dosing interval is given by , while for a local maximum (a peak level) in the time course for at , we need . We find, by using (3.10), that:
| B.2 |
If , then there is a peak blood drug level in the dosing interval, given by
| B.3 |
So we may write the maximum and minimum values of on [0, T] as:
| B.4 |
| B.5 |
At steady-state, a local maximum in the time course is ensured, occurring at
| B.6 |
The steady-state minimum and maximum drug levels are then given by
| B.7 |
| B.8 |
Transit compartment parameter identifiability
In Fig. 17, we show time courses for a transit compartment model with with a single bolus dose. Non-identifiability of k and is clear, due to the flip-flop phenomenon discussed in ‘Transit compartments—smoothed delays, lag time and data fitting (single-dose)’. For our transit compartment model, this problem is unique to , and no such issues are seen with . In Fig. 18, we plot a typical parameter estimation result for compartments, using the method described in ‘Transit compartments—smoothed delays, lag time and data fitting (single-dose)’. With “perfect” pseudo-data, we see the base parameter set being recovered exactly, and with noisy pseudo-data, the parameter estimates are in good agreement with the base set. A formal structural and practical identifiability analysis is proposed as future work, and will use transfer functions and other methods described in [13].
Fig. 17.
Non-identifiability of k and for transit compartment model with . Solutions for a single bolus dose with are shown, for two parameter sets. Parameter set 1 has , and parameter set 2 has . The two parameter sets lead to identical time course for the observed output , via different time courses for and
Fig. 18.
Parameter fitting for transit compartment model with . Pseudo-data (time courses of ) are generated by simulating with base parameter values h, h, h, , and a single bolus dose of 3.5 mg. a No noise is added to the simulated time course, so the data are “perfect”. The four parameter values are estimated perfectly. b Randomly generated noise (with an upper bound of 10% of the simulated peak value) is added to create noisy data. The parameter estimates returned are h, h, h,
Transit compartment equi-bolus dosing
In Figs. 19–20, we show time course results for a transit compartment model under multi-dosing input (Mt,Beq), using parameters taken from the fitted data in Fig. 5. Each figure shows the analytical results for drug levels in a number of transit compartments, with transit compartments in total. The absorption and central compartments are also shown. For validation, results from a numerical ODE solver are also shown. For tracking the approach to steady-state, we mark the steady-state profile and dosing interval average for each compartment plotted. For each of the transit compartments, the steady-state dosing interval average may be computed, for example, from (2.6) by integrating each of the compartment ODEs in turn. We find the transit compartment averages to be
| B.9 |
Similarly, for the absorption and central compartments, we find
| B.10 |
In both figures, we observe the delay effect, as the peak drug levels appear later further through the transit cascade. In Fig. 19, the transit rate constant k is taken from the earlier data fitting, and the system almost reaches steady-state by the second dosing interval. In Fig. 20, we take k four-fold lower, which increases the smoothed delay, and hence delays the approach to steady-state. In this case, the delay effect is more evident throughout the transit cascade.
Fig. 19.
Equi-dosing time courses for transit compartment model (Mt,Beq), showing transit, absorption and central compartment drug levels. Simulated time courses (Mt,Beq) for transit compartments with h. Here, , =0.96 h =9.11 h, k=12.76 h. Equi-dosing regimen has =3.5 mg, T=3h. For validation, we show results from analytical solution and a numerically computed solution. The dosing interval average at steady-state is indicated. Also, the steady-state profile is shown for each compartment
Fig. 20.
Equi-dosing time courses for transit compartment model (Mt,Beq), showing transit, absorption and central compartment drug levels. Simulated time courses (Mt,Beq) for transit compartments with h. Here, , =0.96 h =9.11 h, k=3.19. Equi-dosing regimen has =3.5 mg, T=3 h. For validation, we show results from analytical solution and a numerically computed solution. The dosing interval average at steady-state is indicated. Also, the steady-state profile is shown for each compartment
Appendix 3: equi-dosing regimen region for IV equi-bolus dosing with loading dose
In Fig. 21, we show a computed example EDRR for the three-parameter regimen including loading dose. Cross sections of fixed through the EDRR are chopped petals, while the EDRR shadow in the -plane is the full petal EDRR for the steady-state.
Fig. 21.

Three-dimensional equi-dosing regimen region (EDRR) for IV dosing with loading dose, with , =0.0692 h, and hypothetical minimum effective and maximum safe drug levels mg and mg, as in Fig. 13. Projection onto -plane (the shadow) is the standard two-parameter full-petal EDRR for steady-state conditions for oral dosing. The shadow of any chopped petal slice ( constant) through the three-dimensional EDRR is contained within this
Author Contributions
Both authors devised the project, developed models, performed analysis and computation, and wrote the manuscript.
Footnotes
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
F. Hof, Email: n11700905@students.meduniwien.ac.at
L. J. Bridge, Email: lloyd.bridge@uwe.ac.uk
References
- 1.Abergel R, Moisan L (2016) Fast and accurate evaluation of a generalized incomplete gamma function. HAL Archives hal-01329669v2
- 2.Amore P. Asymptotic and exact series representations for the incomplete gamma function. EPL (Europhys Lett) 2005;71:1–7. [Google Scholar]
- 3.Arfken GB, Weber HJ (1999) Mathematical methods for physicists
- 4.Bauer RJ (2019) Nonmem users guide: introduction to nonmem 7.4. 3, icon plc gaithersburg Maryland
- 5.Beguerisse-Díaz M, Desikan R, Barahona M. Linear models of activation cascades: analytical solutions and coarse-graining of delayed signal transduction. J R Soc Interface. 2016 doi: 10.1098/rsif.2016.0409. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Bertrand J, Mentré F. Mathematical expressions of the pharmacokinetic and pharmacodynamic models implemented in the monolix software. Paris: Paris Diderot University; 2008. [Google Scholar]
- 7.Blahak U. Efficient approximation of the incomplete gamma function for use in cloud model applications. Geosci Model Dev. 2010;3(2):329. [Google Scholar]
- 8.Bordyugov G, Westermark PO, Korenčič A, Bernard S, Herzel H. Mathematical modeling in chronobiology. Circadian clocks. New York: Springer; 2013. pp. 335–357. [DOI] [PubMed] [Google Scholar]
- 9.Boyce WE. Differential equations: an introduction to modern methods and applications. London: Wiley; 2010. [Google Scholar]
- 10.Brocks DR, Mehvar R. Rate and extent of drug accumulation after multiple dosing revisited. Clin Pharmacokinet. 2010;49(7):421–438. doi: 10.2165/11531190-000000000-00000. [DOI] [PubMed] [Google Scholar]
- 11.Burghes DN, Huntley ID, McDonald JJ. A course in mathematical modelling. Applying mathematics. Amsterdam: Ellis Horwood; 1982. [Google Scholar]
- 12.Di Muria M, Lamberti G, Titomanlio G. Physiologically based pharmacokinetics: a simple, all purpose model. Ind Eng Chem Res. 2010;49(6):2969–2978. [Google Scholar]
- 13.DiStefano J. Dynamic systems biology modeling and simulation. Cambridge: Academic Press; 2015. [Google Scholar]
- 14.Dunnington K, Benrimoh N, Brandquist C, Cardillo-Marricco N, Di Spirito M, Grenier J. Application of pharmacokinetics in early drug development. Pharmacokinetics and adverse effects of drugs-mechanisms and risks factors. London: IntechOpenIntechOpen; 2018. [Google Scholar]
- 15.Felmlee MA, Morris ME, Mager DE. Mechanism-based pharmacodynamic modeling. Computational Toxicology. New York: Springer; 2012. pp. 583–600. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Gabrielsson J, Andersson K, Tobin G, Ingvast-Larsson C, Jirstrand Mats. Maxsim2-real-time interactive simulations for computer-assisted teaching of pharmacokinetics and pharmacodynamics. Comput Methods Programs Biomed. 2014;113(3):815–829. doi: 10.1016/j.cmpb.2013.12.006. [DOI] [PubMed] [Google Scholar]
- 17.Gautschi W. A computational procedure for incomplete gamma functions. ACM Trans Math Softw (TOMS) 1979;5(4):466–481. [Google Scholar]
- 18.Germani M, Del Bene F, Rocchetti M, Van Der Graaf PH. A4S: a user-friendly graphical tool for pharmacokinetic and pharmacodynamic (PK/PD) simulation. Comput Methods Programs Biomed. 2013;110(2):203–214. doi: 10.1016/j.cmpb.2012.10.006. [DOI] [PubMed] [Google Scholar]
- 19.Gibaldi M, Perrier D. Pharmacokinetics. New York: Markel Dekker Inc.; 1982. [Google Scholar]
- 20.Gieschke R, Serafin D. Development of innovative drugs via modeling with matlab. New York: Springer; 2013. [Google Scholar]
- 21.Godfrey KR. A mathematical model for time-varying pharmacokinetics. IFAC Proc Vol. 1988;21(1):103–108. [Google Scholar]
- 22.Iraj H, Anita G, Yadav DB, Sukumaran S, Ramanujan S, Paxson R, Gadkar K. gpkpdsim: a simbiology®-based gui application for pkpd modeling in drug development. J Pharmacokinet Pharmacodynam. 2018;45(2):259–275. doi: 10.1007/s10928-017-9562-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Shuhua H, Dunlavey M, Guzy S, Teuscher N. A distributed delay approach for modeling delayed outcomes in pharmacokinetics and pharmacodynamics studies. J Pharmacokinet Pharmacodynam. 2018;45(2):285–308. doi: 10.1007/s10928-018-9570-4. [DOI] [PubMed] [Google Scholar]
- 24.Jones DS, Plank M, Sleeman BD. Differential equations and mathematical biology. Boca Raton: CRC Press; 2009. [Google Scholar]
- 25.Kallen A. Computational pharmacokinetics. Boca Raton: Chapman and Hall/CRC; 2007. [Google Scholar]
- 26.Gilbert K, Wojciech K, Pérez-Ruixo JJ, Schropp J. Modeling of delays in pkpd: classical approaches and a tutorial for delay differential equations. J Pharmacokinet Pharmacodynam. 2014;41(4):291–318. doi: 10.1007/s10928-014-9368-y. [DOI] [PubMed] [Google Scholar]
- 27.Koch G, Schropp J. General relationship between transit compartments and lifespan models. J Pharmacokinet Pharmacodynam. 2012;39(4):343–355. doi: 10.1007/s10928-012-9254-4. [DOI] [PubMed] [Google Scholar]
- 28.Koch G, Wagner T, Plater-Zyberk C, Lahu G, Schropp Johannes. Multi-response model for rheumatoid arthritis based on delay differential equations in collagen-induced arthritic mice treated with an anti-gm-csf antibody. J Pharmacokinet Pharmacodynam. 2012;39(1):55–65. doi: 10.1007/s10928-011-9230-4. [DOI] [PubMed] [Google Scholar]
- 29.Koch-Noble GA. Drugs in the classroom: uusing pharmacokinetics to introduce biomathematical modeling. Math Model Nat Phenom. 2011;6(6):227–244. [Google Scholar]
- 30.Krzyzanski W. Interpretation of transit compartments pharmacodynamic models as lifespan based indirect response models. J Pharmacokinet Pharmacodynam. 2011;38(2):179–204. doi: 10.1007/s10928-010-9183-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Lavielle M, Team l (2014) Mlxtran, the model coding language for monolix, Tech. report, Technical report, INRIA Saclay & Lixoft
- 32.Lawrence XY, Amidon GL. A compartmental absorption and transit model for estimating oral drug absorption. Int J Pharm. 1999;186(2):119–125. doi: 10.1016/s0378-5173(99)00147-7. [DOI] [PubMed] [Google Scholar]
- 33.Yu Lawrence X, Crison JR, Amidon GL. Compartmental transit and dispersion model analysis of small intestinal transit flow in humans. Int J Pharm. 1996;140(1):111–118. [Google Scholar]
- 34.Lyons MA. Modeling and simulation of pretomanid pharmacokinetics in pulmonary tuberculosis patients. Antimicrobial Agents Chemother. 2018 doi: 10.1128/AAC.02625-16. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.MATLAB (2020) The MathWorks Inc., Natick, MA
- 36.Mehvar R. Pharmacokinetic-based design and modification of dosage regimens. Am J Pharm Educ. 1998;62:189–95. [Google Scholar]
- 37.Microsoft Corporation, Microsoft excel
- 38.Mocek WT, Rudnicki R, Voit EO. Approximation of delays in biochemical systems. Math Biosci. 2005;198(2):190–216. doi: 10.1016/j.mbs.2005.08.001. [DOI] [PubMed] [Google Scholar]
- 39.Musuamba FT, Manolis E, Holford N, Cheung SYA, Friberg LE, Ogungbenro K, Posch M, Yates JWT, Berry S, Thomas N, et al. Advanced methods for dose and regimen finding during drug development: summary of the ema/efpia workshop on dose finding (london 4–5 december 2014) CPT Pharmacometr Syst Pharmacol. 2017;6(7):418–429. doi: 10.1002/psp4.12196. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Olver Frank WJ, Lozier DW, Boisvert RF, Clark CW. Nist handbook of mathematical functions hardback and cd-rom. Cambridge: Cambridge University Press; 2010. [Google Scholar]
- 41.Press WH, Teukolsky SA, Vetterling WT, Flannery BP. Numerical recipes 3rd edition: the art of scientific computing. Cambridge: Cambridge University Press; 2007. [Google Scholar]
- 42.Ankit Rohatgi, Webplotdigitizer (2011)
- 43.Rosenbaum SE. Basic pharmacokinetics and pharmacodynamics: an integrated textbook and computer simulations. London: Wiley; 2012. [Google Scholar]
- 44.Savic RM, Jonker DM, Kerbusch T, Karlsson MO. Implementation of a transit compartment model for describing drug absorption in pharmacokinetic studies. J Pharmacokinet Pharmacodynam. 2007;34(5):711–726. doi: 10.1007/s10928-007-9066-0. [DOI] [PubMed] [Google Scholar]
- 45.Shargel L, Andrew BC, Wu-Pong S. Applied biopharmaceutics and pharmacokinetics. 6. New York: Appleton & Lange Reviews/McGraw-Hill; 2012. [Google Scholar]
- 46.Shen J, Boeckmann A, Vick A. Implementation of dose superimposition to introduce multiple doses for a mathematical absorption model (transit compartment model) J Pharmacokinet Pharmacodynam. 2012;39(3):251–262. doi: 10.1007/s10928-012-9247-3. [DOI] [PubMed] [Google Scholar]
- 47.Sun Y-N, Jusko WJ. Transit compartments versus gamma distribution function to model signal transduction processes in pharmacodynamics. J Pharm Sci. 1998;87(6):732–737. doi: 10.1021/js970414z. [DOI] [PubMed] [Google Scholar]
- 48.Swat MJ, Wimalaratne S, Kristensen NR, Yvon F, Moodie S, Le Novere N (2015) Pharmacometrics markup language (pharmml), Language Specification for Version 10, no. 0.6
- 49.Tang S, Xiao Y. One-compartment model with michaelis-menten elimination kinetics and therapeutic window: an analytical approach. J Pharmacokinet Pharmacodynam. 2007;34(6):807–827. doi: 10.1007/s10928-007-9070-4. [DOI] [PubMed] [Google Scholar]
- 50.Temme NM. Numerical aspects of special functions. Acta Numer doi. 2007 doi: 10.1137/1.9780898717822. [DOI] [Google Scholar]
- 51.van der Graaf PH, Benson N, Peletier LA. Topics in mathematical pharmacology. J Dynam Differ Equ. 2016;28(3–4):1337–1356. [Google Scholar]
- 52.Véronneau-Veilleux F, Bélair J. Modeling circadian fluctuations of pharmacokinetic parameters. Math Model Nat Phenom. 2017;12(5):146–161. [Google Scholar]
- 53.Xiaotian W, Nekka F, Li J. Analytical solution and exposure analysis of a pharmacokinetic model with simultaneous elimination pathways and endogenous production: The case of multiple dosing administration. Bull Math Biol. 2019;81(9):3436–3459. doi: 10.1007/s11538-019-00651-8. [DOI] [PubMed] [Google Scholar]
- 54.Yang J, Mager DE, Straubinger RM. Comparison of two pharmacodynamic transduction models for the analysis of tumor therapeutic responses in model systems. AAPS J. 2010;12(1):1–10. doi: 10.1208/s12248-009-9155-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Yates JWT. Mathematical properties and parameter estimation for transit compartment pharmacodynamic models. Eur J Pharm Sci. 2008;34(2–3):104–109. doi: 10.1016/j.ejps.2008.02.122. [DOI] [PubMed] [Google Scholar]
- 56.Zill DG, Wright WS. Differential equations with boundary-value problems. Boston: Cengage Learning; 2012. [Google Scholar]


















