# MSim Script

Generates multiple simulations of PK/PD curves from given a PopPK/PD model and an input data set.

An MSim Script often outputs a Vpc Script, which generates a VPC plot from the multiple population simulations.

See Visual Predictive Check for Two Compartment PopPK Model for a working example.

## Main Sections of a MSim Script

- METHOD_OPTIONS

- PARALLEL

- DESCRIPTION

- FILE_PATHS

- DATA_FIELDS

- PREPROCESS

- EFFECTS

- MODEL_PARAMS

- STATES

- DERIVATIVES

- PREDICTIONS

- ODE_SOLVER

- OUTPUT_OPTIONS

- OUTPUT_SCRIPTS