Documentation

37.26 Study-simulation settings: complete generated key catalogue

Chapter 37.26 visual
Settings reference workflow

This is the exhaustive generated-template catalogue for nlmx.sims in nlmx 4.16.2. It contains 153 unique dotted key paths. “Active” means the generated example assigns the key; “commented example” means the template exposes it without assigning it. The value column is a template value or example—not automatically the program default. Defaults and constraints are reported only when the nearby template annotation states them.

How to use the table

Search by the full table and key context. Preserve TOML type: do not quote numbers or Booleans, and do not replace an array with a comma-separated string unless the template explicitly uses a string grammar. When two settings interact, use the orientation page and command chapter to review the combination rather than interpreting rows independently.

input

Key Type Template state Generated value/example Template annotation and constraints
control_stream string commented example "run1.mod" the model (or give it on the command line)
data string commented example "data/own.csv" simulate on this dataset; the generation step is skipped
estimates_file string commented example "run1.ext" simulate the final estimates instead of the initial ones
cdc_table string commented example "wtage.csv" a table in the CDC layout (Sex, Agemos, L, M, S) replacing

columns

Key Type Template state Generated value/example Template annotation and constraints
weight string commented example "WT" age AGE AGEY AGEYR AGEYRS, sex SEX GENDER GNDR, arm ARM TRT TRTN COHORT GROUP. A covariate that no $INPUT item holds is still generated (it gives the dose of a weight-based regime…
age string commented example "AGE" No default or constraint is stated on this template line; consult the command page and resolved run.
sex string commented example "SEX" No default or constraint is stated on this template line; consult the command page and resolved run.
arm string commented example "ARM" No default or constraint is stated on this template line; consult the command page and resolved run.
age_unit string active "years" years | months | days: the unit of the age column

simulation

Key Type Template state Generated value/example Template annotation and constraints
seed integer commented example 20260101 default: the seed of $SIMULATION (12345 in $SIM (12345)), else 20260101
subproblems integer commented example 1 simulations of the whole study (SUBPROBLEMS); default: $SIMULATION, else 1
threads integer commented example 4 worker threads (--threads): subjects and simulations run in parallel;
etas string active "sample" default: all cores. The results are identical for any number. sample | zero: ETA from OMEGA, or all zero (typical subject)
eps string active "sample" sample | zero: EPS from SIGMA, or all zero (no residual error)
omega_scale number active 1.0 multiplies every OMEGA element (0.5 halves the variances)
sigma_scale number active 1.0 multiplies every SIGMA element
theta array commented example ["1=3.2", "4=0.5"] replace THETA values: INDEX=VALUE
estimates string active "auto" auto | initial | final
table_variables array commented example ["CL", "V", "KA"] otherwise the initial estimates, as NONMEM does. initial: always the initial estimates. final: the .ext of the run (estimates_file, or the one beside the control stream). model va…
use_table_record Boolean active true also write the items named in the control stream's $TABLE
lloq number commented example 0.05 limit of quantification of the simulated values
blq string active "none" none | flag | set-lloq | drop: simulated values below lloq (none and flag keep the

uncertainty

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean active false A new parameter set for every simulation of the study (subproblem), drawn around the estimates with their covariance matrix, or taken from a table.
covariance string commented example "run1.cov" default: the .cov beside the estimates or the control stream
parameter_file string commented example "raw_results.csv" columns THETA1, OMEGA(1,1), SIGMA(1,1) ...; used in turn
max_attempts integer active 100 draws tried before a parameter set that is not admissible fails

population

Key Type Template state Generated value/example Template annotation and constraints
kind string active "adult" adult | pediatric | mixed
subjects integer active 100 subjects per arm
pediatric_fraction number active 0.5 share of children in a mixed population
male_code number active 0.0 the codes written to the sex column
female_code number active 1.0 No default or constraint is stated on this template line; consult the command page and resolved run.
sex_sampling string active "random" random: each subject by chance | balanced: exact fractions, shuffled
age_decimals integer active 1 age (years) and body weight (kg) are rounded to these decimals
weight_decimals integer active 1 before they are written and used for the dose

population.pediatric

Key Type Template state Generated value/example Template annotation and constraints
age_min number active 2.0 Children and adolescents: the weight follows the CDC reference for the age and sex. years; the CDC reference covers 2 to 20
age_max number active 20.0 No default or constraint is stated on this template line; consult the command page and resolved run.
age_distribution string active "uniform" uniform | normal | lognormal (normal: age_mean and age_sd,
age_mean number active 11.0 truncated to age_min..age_max)
age_sd number active 5.0 No default or constraint is stated on this template line; consult the command page and resolved run.
weight string active "cdc" cdc | normal | lognormal. cdc: z ~ N(0,1) limited to
weight_mean number active 40.0 +-cdc_z_limit, weight from the LMS values at the age and sex kg, for weight = normal or lognormal
weight_cv number active 0.3 fraction (0.3 = 30 %). Give weight_sd (kg, e.g. 12.0) instead of weight_cv to
weight_mean_female number commented example 38.0 state the spread in kg; not both when the females differ from weight_mean
weight_min number active 5.0 kg: weights outside are redrawn
weight_max number active 250.0 No default or constraint is stated on this template line; consult the command page and resolved run.
cdc_z_limit number active 3.0 SD
female_fraction number active 0.5 No default or constraint is stated on this template line; consult the command page and resolved run.

population.adult

Key Type Template state Generated value/example Template annotation and constraints
age_min number active 18.0 Adults: normal body weight, for example 70 kg +/- 15 %.
age_max number active 80.0 No default or constraint is stated on this template line; consult the command page and resolved run.
age_distribution string active "normal" uniform | normal | lognormal
age_mean number active 45.0 No default or constraint is stated on this template line; consult the command page and resolved run.
age_sd number active 15.0 No default or constraint is stated on this template line; consult the command page and resolved run.
weight string active "normal" normal | lognormal (arithmetic mean and CV)
weight_mean number active 70.0 kg
weight_cv number active 0.15 fraction (0.15 = 15 %). Give weight_sd (kg, e.g. 10.5) instead of weight_cv to
weight_mean_female number commented example 62.0 state the spread in kg; not both when the females differ from weight_mean
weight_min number active 35.0 kg: weights outside are redrawn
weight_max number active 250.0 No default or constraint is stated on this template line; consult the command page and resolved run.
cdc_z_limit number active 3.0 No default or constraint is stated on this template line; consult the command page and resolved run.
female_fraction number active 0.5 No default or constraint is stated on this template line; consult the command page and resolved run.

dosing

Key Type Template state Generated value/example Template annotation and constraints
dose number active 100.0 mg per subject, or mg/kg when basis = "per-kg"
basis string active "fixed" fixed | per-kg
dose_min number commented example 10.0 smallest and largest dose given (limits of a weight-based dose)
dose_max number commented example 400.0 No default or constraint is stated on this template line; consult the command page and resolved run.
dose_round number commented example 5.0 round the dose to a multiple of this amount
weight_bands array active [] dose by weight band, replaces dose:

0, 20, 50[]

Key Type Template state Generated value/example Template annotation and constraints
interval number active 24.0 dosing interval in hours (II)
doses integer active 1 number of doses; the last dosing interval is analysed
steady_state Boolean active true the first dose is a steady-state dose (SS=1, II=interval), so a
ss_doses integer active 20 single dose already describes steady state without an SS item in $INPUT a steady-state dose cannot be written:
compartment integer active 1 the subject then gets this many doses (ADDL) and the last is observed CMT of the dose
duration number active 0.0 infusion time in hours (RATE = dose / duration); 0 = bolus or oral
rate number commented example 50.0 RATE written to the record, replaces duration; -1 and -2 hand the

sampling

Key Type Template state Generated value/example Template annotation and constraints
times array active [] hours; empty: 12 times spread over the dosing interval
relative_to string active "last-dose" last-dose: hours after the last dose | first-dose: since the first
compartment integer active 0 CMT of the observation records; 0 = the model's default observation compartment

metrics

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean active true No default or constraint is stated on this template line; consult the command page and resolved run.
parameters array active ["CMAX", "TMAX", "CMIN", "CTROUGH", "CAVG", "AUCTAU"] No default or constraint is stated on this template line; consult the command page and resolved run.
profile string active "dense" CMAX TMAX CMIN TMIN CTROUGH CAVG AUCTAU FLUCT SWING PTR CLSS dense: the model without residual error on a fine grid |
interval string active "last" sampled: at the sampling times | observed: the simulated DV the dosing interval analysed: last | first | the number of a dose
grid_points integer active 241 points of the dense grid over the interval
auc_method string active "linear-up-log-down" linear | linear-log | linear-up-log-down
variable string commented example "IPRED" model variable that holds the concentration; default: F (the prediction of the observation compartment)
tau number commented example 24.0 length of the interval (hours); default: the dosing interval
trough_time number commented example 24.0 hours after the dose at which CTROUGH is read; default: tau
partial_auc array active [] areas within the interval, e.g. ["0-4", "0-12"] (columns AUC_0_4 ...)
concentrations_at array active [] concentrations at these hours after the dose, e.g. [2.0, 6.0] (C_2H ...)
dose_normalize Boolean active false also divide the exposures by the dose (columns CMAX_DN ...)

summary

Key Type Template state Generated value/example Template annotation and constraints
statistics array active ["n", "mean", "sd", "cv", "geomean", "geocv", "min", "p5", "q1", "median", "q3", "p9… No default or constraint is stated on this template line; consult the command page and resolved run.
by array active [] n mean sd cv geomean geocv min max median q1 q3 iqr sem sum var, p for any percentile (p2.5, p97.5) subject columns to summarise by: ["ARM", "SEX", "AGEGRP"] ...
cross Boolean active false (an overall summary is always written) also summarise by the crossing of all columns in by
digits integer active 4 significant digits
replicate_interval number active 95.0 % interval of a statistic across the simulations of the study

summary.bins[]

Key Type Template state Generated value/example Template annotation and constraints
column string commented example "AGE" AGE, WEIGHT, or any subject column
breaks array commented example [2.0, 6.0, 12.0, 18.0, 100.0] No default or constraint is stated on this template line; consult the command page and resolved run.
labels array commented example ["2-5 y", "6-11 y", "12-17 y", "18+ y"] default "2-6" ...
name string commented example "AGEGRP" default _GRP

figures

Key Type Template state Generated value/example Template annotation and constraints
boxplots array commented example ["CMAX", "CMIN", "CAVG", "AUCTAU"] metrics drawn as box plots; default: these four as far as
boxplot_by string commented example "ARM" they are computed; [] = none column on the x axis; default: the first of summary.by, else ARM
points Boolean active true draw the subjects' points over the boxes
scatter array commented example ["WEIGHT:AUCTAU", "WEIGHT:CMAX", "AGE:AUCTAU", "AGE:CMAX"] No default or constraint is stated on this template line; consult the command page and resolved run.
smoother string active "loess" "COLUMN:METRIC" pairs (default: these as far as computed; [] = none); WEIGHT and AGE stand for the weight and age loess | linear | none
profiles Boolean active true concentration-time plot with percentile bands
profile_scale string active "linear" linear | log | both
profile_percentiles array active [5.0, 50.0, 95.0] No default or constraint is stated on this template line; consult the command page and resolved run.
profile_individuals integer active 20 individual profiles drawn faintly (0 = none)

output

Key Type Template state Generated value/example Template annotation and constraints
directory string commented example "run1_sims" default: /_sims
stem string commented example "run1" file stem of the tables; default: the control stream's
delimiter string active "comma" comma | tab | semicolon | space
missing string active "." text for a missing value
digits integer active 6 significant digits of the numbers written
header Boolean active true the data files start with a line of column names
dataset Boolean active true _data.csv: the generated dataset, ready for NONMEM
simulated Boolean active true _sim.csv: the simulated dataset
subjects Boolean active true _subjects.csv: covariates, doses and random effects
metrics Boolean active true _metrics.csv: the exposure metrics of every subject
summary Boolean active true _summary.csv and the other summary tables
profiles Boolean active false _profiles.csv: the profile of every subject of the first simulation (large when dense)
nonmem_table Boolean active false _sim.tab: the simulated dataset as a NONMEM table
html Boolean active true report.html
json Boolean active true _summary.json
settings Boolean active true _settings.sims: these settings, ready to rerun

plots

Key Type Template state Generated value/example Template annotation and constraints
enabled Boolean commented example true The figures (PNG, theme_classic style) are written to /plots unless enabled = false.
width number commented example 7.0 No default or constraint is stated on this template line; consult the command page and resolved run.
height number commented example 5.0 No default or constraint is stated on this template line; consult the command page and resolved run.
units string commented example "in" in | cm | mm | px
dpi number commented example 300.0 No default or constraint is stated on this template line; consult the command page and resolved run.
base_size number commented example 11.0 points
format string commented example "png" png | svg | both
title Boolean commented example true No default or constraint is stated on this template line; consult the command page and resolved run.
legend Boolean commented example true No default or constraint is stated on this template line; consult the command page and resolved run.

covariates[]

Key Type Template state Generated value/example Template annotation and constraints
name string commented example "CRCL" / "SMOK" / "RACE" / "ALB" / "STUDY" the $INPUT item the values are written to
distribution string commented example "normal" / "binary" / "categorical" / "lognormal" / "constant" normal | lognormal | uniform | binary | categorical | constant 1 with this probability, else 0 one of the values; weights are probabilities (any scale) geometric mean and coeffici…
group string commented example "adult" all | pediatric | adult
mean expression/value commented example 100.0 / 4.2 normal: mean; lognormal: geometric mean
sd number commented example 20.0 normal: standard deviation (or cv, a fraction)
min number commented example 30.0 limits of a normal or lognormal covariate (redrawn outside)
max number commented example 200.0 No default or constraint is stated on this template line; consult the command page and resolved run.
decimals integer commented example 0 No default or constraint is stated on this template line; consult the command page and resolved run.
probability number commented example 0.2 No default or constraint is stated on this template line; consult the command page and resolved run.
values array commented example [1.0, 2.0, 3.0] No default or constraint is stated on this template line; consult the command page and resolved run.
weights array commented example [0.7, 0.2, 0.1] No default or constraint is stated on this template line; consult the command page and resolved run.
cv number commented example 0.1 No default or constraint is stated on this template line; consult the command page and resolved run.
value number commented example 101.0 No default or constraint is stated on this template line; consult the command page and resolved run.

arms[]

Key Type Template state Generated value/example Template annotation and constraints
name string commented example "10 mg" whatever an arm does not say is taken from the tables above
subjects integer commented example 50 No default or constraint is stated on this template line; consult the command page and resolved run.

arms.dosing

Key Type Template state Generated value/example Template annotation and constraints
dose number commented example 10.0 No default or constraint is stated on this template line; consult the command page and resolved run.

arms.population

Key Type Template state Generated value/example Template annotation and constraints
kind string commented example "pediatric" No default or constraint is stated on this template line; consult the command page and resolved run.

arms.sampling

Key Type Template state Generated value/example Template annotation and constraints
times array commented example [0.5, 2.0, 6.0, 24.0] No default or constraint is stated on this template line; consult the command page and resolved run.

targets[]

Key Type Template state Generated value/example Template annotation and constraints
metric string commented example "CAVG" is reported (and drawn on the plots)
lower number commented example 10.0 No default or constraint is stated on this template line; consult the command page and resolved run.
upper number commented example 50.0 No default or constraint is stated on this template line; consult the command page and resolved run.
name string commented example "efficacy window" No default or constraint is stated on this template line; consult the command page and resolved run.

Catalogue review checklist

  • The key appears under the intended table and uses the exact spelling.
  • Its TOML type matches the generated example.
  • Any stated enumeration, range or unit is satisfied.
  • Required companion keys and mutually exclusive choices are reconciled.
  • Relative paths resolve from the documented base.
  • CLI overrides are recorded with the run.
  • The effective value and its scientific consequence are reviewed in output evidence.

Source snapshot: nlmx.sims.

See the previous page, next page, and complete settings reference.