Tutorials › Pharmacometric Workflows and Reproducible Modeling › Infusions, Bioavailability, and Lag Times in Four Tools

Software Landscape and Interoperability · Tutorial 208 of 399

Infusions, Bioavailability, and Lag Times in Four Tools

Implement infusion, bioavailability, and lag-time assumptions consistently across four pharmacometric tools, then verify the resulting concentration and exposure calculations.

Intermediate 12 min read

What You'll Learn

  • Distinguish an infusion duration from an infusion rate and calculate the rate implied by a dose and duration.
  • Derive and calculate the one-compartment concentration profile during and after an infusion.
  • Explain how bioavailability scales systemic input and how an absorption lag shifts input in time.
  • Map these features to NONMEM, Monolix, nlmixr2, and mrgsolve event and model specifications.
  • Check cross-tool equivalence using dose, units, event timing, concentration profiles, and AUC.
  • Diagnose common implementation errors involving lag-time placement, bioavailability, and infusion records.

Why these event features need careful translation

The same dose can produce different predictions depending on how its input is represented. An infusion delivers drug over a duration; bioavailability determines what fraction of an extravascular dose reaches systemic circulation; and an absorption lag delays the start of that input. Each can be represented partly in a dose record and partly in a model specification, and the division differs across software.

Cross-tool translation therefore means more than copying a parameter name. The event must have the same dose amount, route, start time, duration or rate, bioavailability, and lag-time meaning. This tutorial uses a one-compartment model with linear elimination to make those meanings explicit. The examples are hypothetical and intended to illustrate implementation checks, not a real study.

Definition: An infusion duration \(T_{\mathrm{inf}}\) is the time over which a dose is delivered at a constant rate. For dose amount \(D\), the rate is \(R_0=D/T_{\mathrm{inf}}\). Bioavailability \(F\) is the fraction of an administered dose that reaches systemic circulation, with \(0\leq F\leq1\) under the usual fraction convention. An absorption lag time \(T_{\mathrm{lag}}\) delays the start of absorption after the recorded dose time.

The reference model and its checks

For an intravenous infusion into a one-compartment model, assume constant clearance \(CL\), volume \(V\), and elimination rate constant \(k=CL/V\). Drug enters the compartment at constant rate \(R_0\) from time zero to \(T_{\mathrm{inf}}\); after that, input is zero. Concentration is amount divided by \(V\). These assumptions exclude nonlinear elimination, time-varying parameters, and distribution into additional compartments.

During the infusion, the amount \(A\) satisfies \(dA/dt=R_0-kA\), with \(A(0)=0\). Dividing by \(V\) gives \(dC/dt=R_0/V-kC\). Multiplying by the integrating factor \(e^{kt}\) and integrating from 0 to \(t\) gives the concentration profile below.

$$ C(t)=\frac{R_0}{CL}\left(1-e^{-kt}\right),\quad 0\leq t\leq T_{\mathrm{inf}}. $$

At the end of the infusion, the concentration is \(C(T_{\mathrm{inf}})\). Thereafter the model has no input, so concentration declines exponentially from that value.

$$ C(t)=C(T_{\mathrm{inf}})e^{-k(t-T_{\mathrm{inf}})},\quad t>T_{\mathrm{inf}}. $$

For a complete infusion with linear elimination, the total area under the concentration-time curve (AUC) is \(D/CL\). The duration changes the shape and peak concentration, but not this AUC when the entire dose is delivered and clearance is unchanged. This is a useful check, not a guarantee that two implementations are equivalent: profiles can differ even when their AUCs match.

Worked Example: Infusion Duration and Rate

Suppose a hypothetical patient receives 100 mg intravenously over 2 h. Let \(CL=5\) L/h and \(V=50\) L. Calculate the rate, concentration at the end of infusion, concentration 2 h after infusion ends, and total AUC.

The rate and elimination rate constant are

$$ R_0=\frac{100\ \mathrm{mg}}{2\ \mathrm{h}}=50\ \mathrm{mg/h},\qquad k=\frac{5\ \mathrm{L/h}}{50\ \mathrm{L}}=0.1\ \mathrm{h}^{-1}. $$

At the end of infusion,

$$ C(2)=\frac{50\ \mathrm{mg/h}}{5\ \mathrm{L/h}} \left(1-e^{-(0.1\ \mathrm{h}^{-1})(2\ \mathrm{h})}\right) =10(1-e^{-0.2})=1.813\ \mathrm{mg/L}. $$

Two hours after the infusion ends, the total elapsed time is 4 h, and the post-infusion concentration is

$$ C(4)=1.813e^{-(0.1)(4-2)}=1.484\ \mathrm{mg/L}. $$

The total AUC is \(100\ \mathrm{mg}/(5\ \mathrm{L/h})=20.00\ \mathrm{mg\cdot h/L}\). A simulation should approach these values, subject to output-grid resolution and numerical precision. In particular, the dose record must describe a 2 h infusion, not a 100 mg bolus or a 2 mg/h infusion.

Bioavailability and absorption lag

For an extravascular dose with first-order absorption, assume the dose enters an absorption compartment with rate constant \(k_a\), then reaches a one-compartment systemic model with \(CL\) and \(V\). A fraction \(F\) of the dose is available systemically. If the dose time is \(t_d\), absorption starts at \(t_d+T_{\mathrm{lag}}\). For time \(\tau=t-t_d-T_{\mathrm{lag}}\geq0\), the concentration after one dose is

$$ C(t)=\frac{F D k_a}{V(k_a-k)} \left(e^{-k\tau}-e^{-k_a\tau}\right),\quad \tau=t-t_d-T_{\mathrm{lag}}\geq0. $$

Before the lag has elapsed, that dose contributes no absorbed input in this model. Its AUC over the complete profile is \(FD/CL\). Thus \(F\) scales exposure, while \(T_{\mathrm{lag}}\) shifts the input timing. Neither parameter is interchangeable with a change in clearance, dose time, or infusion duration.

Worked Example: Bioavailability and Lag-Time Profile

Consider a hypothetical 200 mg oral dose with \(F=0.80\), \(T_{\mathrm{lag}}=1.5\) h, \(k_a=1.0\ \mathrm{h}^{-1}\), \(CL=5\) L/h, and \(V=50\) L. Calculate the dose-specific concentration 1 h after absorption begins and the complete-profile AUC.

First, \(k=CL/V=0.1\ \mathrm{h}^{-1}\). One hour after absorption begins, \(\tau=1\) h. Substitution gives

$$ C=\frac{(0.80)(200\ \mathrm{mg})(1.0\ \mathrm{h}^{-1})} {(50\ \mathrm{L})(1.0-0.1)\ \mathrm{h}^{-1}} \left(e^{-0.1}-e^{-1.0}\right) =\frac{160}{45}(0.53696) =1.909\ \mathrm{mg/L}. $$

The dose was recorded at time zero, so the calculation applies at time 2.5 h: 1.5 h of lag plus 1 h of absorption. Before 1.5 h, this dose contributes no concentration under the specified lag model. The complete-profile AUC is

$$ \mathrm{AUC}=\frac{FD}{CL} =\frac{(0.80)(200\ \mathrm{mg})}{5\ \mathrm{L/h}} =32.00\ \mathrm{mg\cdot h/L}. $$

The AUC check can detect a missing or duplicated bioavailability factor. It cannot by itself detect a wrong lag time, because shifting an otherwise complete concentration profile in time does not change its AUC.

Representing the same meaning in four tools

Before comparing software, specify the event independently of its syntax: dose amount and units; dose time; route and target compartment; infusion duration or rate when applicable; and whether \(F\) and \(T_{\mathrm{lag}}\) act on that route. Then inspect which parts are carried by the input data and which by model code. The names below refer to common conventions; verify the data-column and model-language requirements for the software version and model structure in use.

ToolInfusion representationBioavailability and lag representationKey equivalence check
NONMEMA dose record uses the dose amount and rate/duration conventions. With the common duration convention, RATE = -1 signals use of a duration value in D1.For a modeled dose compartment, F1 applies fractional bioavailability and ALAG1 specifies a lag. The subscript must identify the intended compartment.Confirm the event record’s compartment and that RATE/D1 describe the intended delivery interval.
MonolixRepresent the event as an infusion and provide its duration or rate through the administration data and configuration.Specify the intended administration type and the model’s fraction and lag for that input; check the administration-to-compartment mapping.Inspect the imported event interpretation and predicted input timing, not only the raw data columns.
nlmixr2Use the dose event’s infusion rate or duration fields in the event data, consistently with its target compartment.In RxODE-style model syntax, compartment-specific statements such as f(depot) and alag(depot) can specify fraction and lag for a depot input.Check that the dose enters the compartment whose fraction and lag are assigned.
mrgsolveRepresent infusion delivery with the dose event’s rate or duration information and the correct target compartment.Compartment-specific model variables such as F_GUT and ALAG_GUT set fraction and lag for a compartment named GUT.Check compartment names, dose-event fields, and the simulated start and stop of input.

The table summarizes semantic mappings, not a claim that one text record can be copied unchanged between tools. In NONMEM, the selected compartment index determines which compartment-specific F and ALAG values apply. In Monolix, the event type and administration mapping are central: a data column that looks like a duration is not sufficient if the event is interpreted as a bolus. In nlmixr2 and mrgsolve, compartment-specific settings must match the event’s target; a correct value assigned to a different compartment has no intended effect.

For a NONMEM duration-coded infusion, a conceptual event record has a dose amount, a target compartment, RATE set to the duration convention, and D1 containing the duration in the required time units. The corresponding model setup must not inadvertently apply an unrelated rate or duration. For the extravascular example, assign the fraction and lag to the dose compartment, rather than the central compartment, unless the model specifically defines the input differently.

In Monolix, configure an infusion event and its duration in the event data or administration setup, and verify how that configuration is imported. For extravascular input, ensure the model’s absorption process, fraction, lag, and administration identifier all refer to the same route. In nlmixr2, use event data with a dose and infusion information for the infusion case; for a depot dose, the model’s compartment-specific fraction and lag statements must match the depot name. In mrgsolve, likewise pair the dose event’s infusion information with the named compartment receiving the dose; set the compartment’s fraction and lag in the model where appropriate. These are implementation patterns: exact field requirements depend on the selected event format and model interface, so validate them with a small deterministic simulation before fitting.

Worked Example: Translating a Two-Hour Infusion

Use the 100 mg, 2 h infusion from the first example. The event must deliver \(50\ \mathrm{mg/h}\) to the systemic compartment from time 0 through time 2 h. One implementation can encode duration as 2 h; another can encode the equivalent rate of \(50\ \mathrm{mg/h}\). Either way, the implied delivered amount must be

$$ (50\ \mathrm{mg/h})(2\ \mathrm{h})=100\ \mathrm{mg}. $$

For each tool, inspect the simulated input or event interpretation and record concentration at 2 h and 4 h. Under the stated assumptions the reference values are \(1.813\ \mathrm{mg/L}\) and \(1.484\ \mathrm{mg/L}\), respectively, and the total AUC is \(20.00\ \mathrm{mg\cdot h/L}\). Agreement on these checks supports equivalence for this test case. A mismatch in the 2 h value may indicate a bolus, incorrect rate, or incorrect duration. A match at 2 h but mismatch at 4 h may indicate a discrepancy in elimination parameters, event stopping, or time units.

A reproducible cross-tool verification workflow

A reliable comparison separates event semantics from model predictions. Begin with fixed parameter values and one subject, without random effects or residual error. Use the same units, dose time, compartment structure, and output times in all implementations. Then test the route features separately: first a single infusion, then a single extravascular dose with fraction and lag, and only after those agree combine them or add repeated dosing.

1
Write the event specification.
State the amount, route, start time, target, duration or rate, fraction, and lag in ordinary units before translating to software fields.
2
Check the delivered amount and timing.
For an infusion, verify rate multiplied by duration equals dose amount. For a lagged dose, verify the input starts at dose time plus lag.
3
Compare profile values and exposure.
Evaluate concentrations at the infusion end and after it, or at specified times relative to absorption onset. Check AUC against dose divided by clearance, with F included for extravascular dosing.
4
Investigate discrepancies before fitting.
Check units, compartment indices or names, event types, time origins, and whether software-generated lag handling shifts the event or changes the input mechanism.

This verification is especially important when an event table is generated in one tool and imported into another. The same numeric value can have different meanings if one system expects a duration and another a rate, or if an event code identifies an infusion in one format but a bolus in another. Check event interpretation, not just whether the files load.

Diagnostics, alternatives, and limitations

Three checks are particularly informative. First, the amount check asks whether rate times duration equals the intended dose. Second, the timing check asks whether input begins and ends when intended, including the lag. Third, the exposure check compares AUC with \(D/CL\) for intravenous input or \(FD/CL\) for a completely absorbed extravascular profile under linear, time-invariant clearance. These checks address different errors; none substitutes for comparing the full concentration-time profile.

The main alternatives are not simply different spellings. Infusion duration and infusion rate are two equivalent ways to specify constant-rate delivery if their values satisfy \(R_0=D/T_{\mathrm{inf}}\). A bolus is not equivalent to an infusion, even if the same amount is delivered. Similarly, a lag can be implemented as a model input delay or by changing event time, but only if all downstream timing and observation conventions are shifted consistently. Changing a dose time in the data may also alter the relation between dose records and observations, so it is not automatically equivalent to a compartment-specific lag.

Bioavailability may be represented as a model-level multiplier or incorporated into a dose amount before simulation. Those approaches agree only when the multiplier is applied exactly once to the correct route and dose. If dose amounts are already expressed as systemic amounts, applying F again will reduce input twice. Conversely, omitting F from a nominal administered dose overstates systemic exposure when \(F<1\).

The reference equations rely on linear one-compartment kinetics. With nonlinear elimination, the simple AUC ratios need not hold. Multiple compartments change the concentration profile; repeated doses require accounting for prior doses; and software may implement numerical event handling differently. A close match at a few selected times is evidence of agreement for the tested case, not proof of equivalence for every model or data set.

Common pitfall: “The two models have the same dose amount and the same AUC, so their profiles must be equivalent.” This is incorrect. A bolus and an infusion can have the same total dose and AUC but different peak concentrations and time courses. Check event timing and concentrations at informative times as well as AUC.

Check Your Understanding

Answer each question using the definitions and assumptions in this tutorial. Solutions follow the questions.

  1. A 120 mg dose is infused over 3 h. What infusion rate is required?
  2. In the one-compartment infusion example, what is the predicted concentration 1 h after the 2 h infusion ends?
  3. For a 150 mg extravascular dose with \(F=0.60\) and \(CL=3\) L/h, what is the complete-profile AUC under linear kinetics?
  4. Why can equal AUC values fail to establish that two tools implemented an infusion equivalently?
  5. A dose is recorded at 8 h with a 2 h absorption lag. When does absorption begin in the stated lag model?

Solutions. (1) \(R_0=120\ \mathrm{mg}/3\ \mathrm{h}=40.00\ \mathrm{mg/h}\). (2) The end-of-infusion concentration is \(1.813\ \mathrm{mg/L}\), and one hour later it is \(1.813e^{-(0.1)(1)}=1.640\ \mathrm{mg/L}\). (3) \(\mathrm{AUC}=FD/CL=(0.60)(150\ \mathrm{mg})/(3\ \mathrm{L/h})=30.00\ \mathrm{mg\cdot h/L}\). (4) Equal AUC constrains total exposure but not the concentration-time shape; for example, a bolus and an infusion can have the same AUC but different peaks and timing. (5) Absorption begins at \(8+2=10\) h.

Clinical Biostats