6.7 ADDL, II, SS and resets
Repeated dosing can be compactly represented on one dose row, but compact notation introduces ordering and steady-state assumptions that must be recorded.
Additional doses
ADDL=k schedules k additional doses at TIME + II, TIME + 2×II, … using the original amount, compartment, bioavailability, RATE form and lag. ADDL>0 requires II>0. Use a non-negative whole number; the event engine rounds the parsed value when creating pending doses, so a fractional value is a defect even if it passes an early numeric check.
An observation exactly at an implied dose time is evaluated after that implied dose in nlmx 4.3.0. The Chapter 6 time-varying fixture intentionally has 24 such observations across eight subjects; the log warns:
nlmx gives the implied dose first, so these observations include it.
For a pre-dose trough, use a time just before the dose according to the study's time precision, or replace ADDL with explicit ordered dose rows.
Steady state
| SS | Implemented intent |
|---|---|
| 0 | ordinary dose history |
| 1 | reset, construct periodic steady state, then give the current dose |
| 2 | superimpose the periodic steady-state contribution on the current state |
| 3 | unsupported in nlmx 4.3.0 |
A periodic steady-state dose requires II>0. A special constant-infusion steady-state row can use AMT=0, positive RATE and II=0; the engine solves for equilibrium and keeps the infusion active. Nonlinear models can fail to have an admissible equilibrium.
Reset records
EVID=3 resets the system; EVID=4 resets and then doses. A reset clears compartment amounts, active infusions, lagged and additional pending doses, output accumulation and relevant past-event state, then reapplies model initial conditions (A_0 values). It also permits the subsequent TIME to be less than the preceding record's TIME.
An occasion number by itself does not reset state. If a crossover or occasion requires washout/reset semantics, encode the reset event deliberately and validate the intended initial condition.
Explicit versus compact schedules
ADDL/II reduces file size and expresses regular regimens cleanly. Explicit rows are better when doses differ, adherence varies, covariates change at dosing times, or pre/post-dose ordering matters. A cross-software benchmark should include at least one test that proves compact and explicit schedules agree for a regimen where they are mathematically equivalent.
Common mistakes
- Coding
ADDL>0withII=0. - Treating an equal-time sample as pre-dose when the dose is implied.
- Assuming
OCCresets the model. - Using
SS=3. - Applying steady-state assumptions to an aperiodic regimen.
Checklist
- ADDL is a whole number and II is positive.
- Equal-time implied-dose observations have the intended order.
- SS mode matches reset or superposition intent.
- Nonlinear steady state is numerically admissible.
- Explicit rows replace compact dosing when adherence or timing varies.
Further reading
The runnable warning is in txttimevary-fit.txt. Section 6.16 reproduces it, and Chapter 8 will describe the event queue in depth.