Documentation

37.25 Study-simulation settings: purpose, structure, and workflow

Chapter 37.25 visual
Settings reference workflow

.sims is the settings format for sims. It defines model/data inputs, population generation, dosing, sampling, variability, uncertainty, exposure metrics, targets, summaries and figures. The template snapshot used here was generated by nlmx 4.16.2; its SHA-256 is fc1927ce09a3cdf62c4186e22bf333201800588fcd1bb2b811ba6695ccc7943b.

Why this file matters

Simulation conclusions are conditional on the structural model, parameter distribution, virtual population, design and random-variability assumptions. Treat the file as controlled analysis source. A reviewer should be able to connect each active value to a design decision, data convention, method choice, output requirement or operational guardrail.

Generate and begin safely

nlmx sims --print-config study.sims
nlmx sims -c study.sims --output disposable-review

For .covar, generate the reference with nlmx schema --format toml and save it with the required extension. For every format, compare command-specific help before relying on the generic example above; commands differ in positional inputs, validation modes and whether --output is appropriate.

Template map

The snapshot represents 153 unique dotted key paths across 22 tables or top-level groups. Commented assignments are possibilities or examples; uncommented assignments form the generated example. The next page catalogs every represented key.

Table Unique keys represented Review focus
input 4 values and interactions inside this settings group
columns 5 values and interactions inside this settings group
simulation 13 values and interactions inside this settings group
uncertainty 4 values and interactions inside this settings group
population 8 values and interactions inside this settings group
population.pediatric 13 values and interactions inside this settings group
population.adult 13 values and interactions inside this settings group
dosing 6 values and interactions inside this settings group
0, 20, 50[] 7 values and interactions inside this settings group
sampling 3 values and interactions inside this settings group
metrics 12 values and interactions inside this settings group
summary 5 values and interactions inside this settings group
summary.bins[] 4 values and interactions inside this settings group
figures 9 values and interactions inside this settings group
output 16 values and interactions inside this settings group
plots 9 values and interactions inside this settings group
covariates[] 13 values and interactions inside this settings group
arms[] 2 values and interactions inside this settings group
arms.dosing 1 values and interactions inside this settings group
arms.population 1 values and interactions inside this settings group
arms.sampling 1 values and interactions inside this settings group
targets[] 4 values and interactions inside this settings group

Important interactions

  • Separate between-subject variability from residual variability and parameter uncertainty.
  • Confirm dose units, body-size scaling, occasions and steady-state assumptions.
  • Sampling schedules determine what observations exist, while metric grids may be denser.
  • Use fixed seeds and retain scenario-level denominators and failures.

Novice workflow

First identify the input population and artifact version. Second, delete or leave commented every option you do not intend to control. Third, edit one table at a time and keep short comments explaining study-specific values. Fourth, run into a new disposable folder and verify resolved inputs, paths, warnings and output count. Fifth, compare the result with the scientific question and expected behavior. Finally, retain the settings, command transcript and reviewed outputs together.

What validation can and cannot prove

Parsing proves that TOML syntax and recognized keys are acceptable. Command validation may prove that referenced data and values satisfy implemented checks. Neither proves that the selected population, endpoint, method, threshold or model is scientifically justified. That judgment belongs in the analysis plan and review record.

The exact generated snapshot is available at documents/ch37/reference/templates/nlmx.sims.

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