# MGen Script

Simulates multiple datasets from a PopPK/PD model. A multi population version of Gen Script.

Note that running PoPy on a MGen Script creates similar outputs to running it on a MSim Script. However, a MGen Script also generates new time points and dose data for each data set.

A MGen Script can be created by a MTut Script in a similar fashion to how a Gen Script can be created by a Tut Script.

## Main Sections of a MGen Script

- METHOD_OPTIONS

- PARALLEL

- DESCRIPTION

- FILE_PATHS

- DATA_FIELDS

- EFFECTS

- PREPROCESS

- MODEL_PARAMS

- STATES

- DERIVATIVES

- PREDICTIONS

- POSTPROCESS

- ODE_SOLVER

- OUTPUT_OPTIONS