Chapter 28 — sims: simulating a study
nlmx sims turns a qualified population model into a reproducible study-simulation experiment. It can generate adult, pediatric, or mixed populations; encode fixed, weight-based, banded, repeated, steady-state, bolus, or infusion regimens; simulate ETA, EPS, parameter uncertainty, and repeated studies; calculate individual exposure metrics; summarize groups and target attainment; and produce numerical, graphical, and machine-readable evidence.

What you will learn
- when
simsis the correct command and how it differs from VPC,simulate-study, andpower;- how generated and supplied datasets become NONMEM-style event records;
- every population, covariate, dosing, sampling, simulation, metric, summary, target, figure, and output control;
- how dense, sampled, and observed exposure metrics answer different questions;
- how to separate interindividual, residual, trial-to-trial, and parameter uncertainty; and
- how to review and report a simulation without extending the model beyond its evidence.
Executed nlmx 4.14.3 evidence
Seven successful workflows were executed on 2026-11-10 and preserved under documents/ch28/results:
- 48 generated adults receiving 100 mg q24h, simulated for 20 studies with complete exposure metrics, partial AUCs, point concentrations, dose-normalised metrics, profiles, and a NONMEM table;
- three 20-subject dose arms at 50, 100, and 200 mg, simulated for 15 studies;
- 48 pediatric subjects generated with CDC LMS weights and dosed at 2 mg/kg with limits and rounding, simulated for 15 studies;
- a 60-subject mixed population using weight-band doses, crossed target summaries, and 15 studies;
- 32 adults simulated for 30 studies with covariance-based parameter uncertainty;
- the supplied 60-subject Chapter 22 design simulated for 12 studies with observed-profile metrics and an explicit metrics tau; and
- a zero-ETA, zero-EPS typical-subject sensitivity with a 481-point dense grid.
The examples produced 43 executed PNG figures plus complete tables, JSON, HTML, settings echoes, logs, and checksums. The primary fixed-dose example had mean CAVG 1.070, mean AUCTAU 25.69, and 82.6% pooled attainment of its teaching CAVG window, with a 73.91–90.68% interval across simulated studies. These are reproducible teaching results, not clinical dose recommendations.
Important version-specific observation
For a supplied single-dose dataset without II, nlmx 4.14.3 requires tau under [metrics] in the .sims settings file. The shared --tau CLI option did not populate that sims setting in the executed run, despite broader documentation describing it as a dosing option. The successful example therefore uses documents/ch28/input/own-design.sims, and this limitation is documented explicitly throughout the chapter.
How to read the chapter
Pages 28.1–28.6 define the role, stages, prerequisites, and input layout. Pages 28.7–28.12 cover population generation and covariates. Pages 28.13–28.18 cover dosing and sampling. Pages 28.19–28.24 cover parameter resolution, random variables, uncertainty, table variables, and BLQ handling. Pages 28.25–28.35 explain every metric, grouping, target, and figure family. Pages 28.36–28.38 cover outputs, settings, limits, and validation. Pages 28.39–28.43 interpret executed workflows, and page 28.44 is the reporting checklist.
Start with the complete command and settings index when you need a versioned option lookup. The numbered pages explain why and when to use each control, how to inspect it, and what not to infer.
This chapter describes nlmx 4.14.3. Simulation results are conditional predictions from a model and scenario. They do not establish model truth, clinical efficacy, safety, or support for populations and regimens that have not been qualified.