Documentation

28.17 Infusion, RATE, and dosing compartment

Infusion, RATE, and dosing compartment

Infusions require a RATE item in $INPUT; otherwise the event cannot be represented and sims stops. --infusion-duration H writes dose/duration, while --dose-rate supplies a RATE directly and also supports NONMEM-style -1 and -2 for modelled rate or duration. --dose-cmt chooses the receiving compartment.

Why this matters

This decision changes what population, random quantity, time interval, or numerical summary the command represents. For a novice, the safest habit is to write the question in one sentence before choosing an option, then verify that the resolved settings and output columns express that same question. For a reviewer, the important distinction is between what was assumed, what was randomly generated, what was calculated, and what can legitimately be concluded.

Detailed behavior

  • Duration and rate are alternative specifications; verify units such as mg/h.
  • RATE=-1/-2 require model variables that implement the corresponding rate or duration.
  • Sampling at infusion start or end needs deliberate same-time record ordering.
  • Exposure metrics should use the correct observation-compartment prediction variable.

The subject-level table is the bridge between the design and the exposure result. Use it to check IDs, arms, population labels, age, sex, weight, dose, interval start, tau, ETA values, and added covariates. Use the metric table to check one row per subject and simulation, the requested metric columns, and COVERED. Use pooled and replicate summaries for different purposes: pooled rows describe all simulated subject outcomes, while replicate intervals describe how a finite simulated study result varies from study to study.

Example command or settings fragment

nlmx sims infusion.ctl --dose 100 --infusion-duration 2 --dose-cmt 1 --sample-times 0,1,2,3,6,12,24

Start with a small smoke run and inspect the transcript before scaling. For command-line work, quote expressions containing comparison signs, brackets, or commas as required by the shell. For a permanent analysis, prefer a settings file: it exposes settings-only controls, resolves paths relative to itself, rejects unknown keys, and is echoed in fully resolved form with the output.

Interpretation and quality control

Inspect AMT, RATE, CMT, TIME, EVID, and MDV in the generated dataset, then verify that CMAX timing is consistent with the infusion rather than an oral or bolus interpretation.

At minimum, reconcile the console summary with the CSV/JSON result, inspect warnings and notes, confirm subject and observation counts, verify requested groups and targets, and review the source model's applicability. A chart can reveal shape and subgroup patterns, but every reported number should come from the tables. If a result changes a decision, run a prespecified sensitivity for Monte Carlo stability, parameter uncertainty, population assumptions, and the metric-profile source.

Common mistakes

  • Running an infusion without RATE in $INPUT
  • Confusing duration with rate
  • Using the wrong compartment or concentration variable

Also avoid overwriting a completed evidence folder merely to change styling. Create a new scenario directory or preserve the prior checksums so analytical changes remain distinguishable from presentation changes.

What to retain and report

  • the nlmx version, complete issued command, submitted settings, and resolved _settings.sims;
  • CTL, selected EXT, optional COV or parameter table, and supplied dataset or population-generation assumptions;
  • seed, subproblems, thread count, ETA/EPS and parameter-uncertainty policy;
  • metric interval, tau, profile source, grid, integration rule, group definitions, and target limits;
  • numerical tables, JSON, HTML, figures, transcript, checksums, warnings, sensitivities, and scoped interpretation.

See the previous page, next page, and complete sims command and settings index.