Right-click the selected model and choose File actions > Duplicate from the menu.
Or select the Models > Duplicate model menu option.
Or click in the toolbar.
Enter details for the new model.
New model number — Model number identifying the new model.
Reference model — Number of the model serving as the reference.
By default, this will take the name of the original model selected for duplicating.
Model description — Brief description for the new model.
Specify the procedure for copying.
Change model name in... — Check to update the model’s name within sections of the model file itself with the new model number.
Use final parameter estimates from reference model — Check to copy parameter estimates from the original model.
Make simulation — Check to set the copied model as a simulation model. The estimation and covariance steps ($EST and $COV, if present) records are commented out with a semicolon, and a simulation record is inserted into the control file, e.g.,
$SIM (12345) (54321) ONLY SIM
Fix all estimates — Check to copy the estimates from the original and fix them. $THETA, $OMEGA, and $SIGMA records are modified with the text “FIX” to fix the parameter estimates, e.g.,
$THETA
(0, 1.5,4) FIX ;KA
(0.1, 0.377,5) FIX ;V/F
(0, 0.0327,1) FIX ;CL/F
...
To correctly duplicate with updated parameter estimates, you must adhere to some coding guidelines, especially for the $OMEGA and $SIGMA blocks. See the “NONMEM template control file syntax” for more information.
Press the Duplicate button to create the new model and open it in the editor.
Note: A useful output file generated when MSF option is used is called INTER, which is an easy read format of the output from NONMEM. Iteration by iteration is listed so the analyst can get ideas for where the run is struggling.
Multiple duplicates of multiple NONMEM models
Creates multiple duplicates of multiple model files, with (optionally) updated run/table numbers and final parameter estimates.
Select the Tools > Batch operations > Create n duplicates of model(s) menu option.
Or click in the toolbar and select Create n duplicates of model(s).
Enter duplication details.
Duplicate models — Select the model(s) to be duplicated.
Number of duplicates — Number of duplicates to create for each selected model.
Specify the procedure for copying.
Change run-numbers in output/tables — Check to incrementally update the run numbers for each duplicate.
Use final parameter estimates from reference model — Check to copy parameter estimates from the original model.
Press the Duplicate button.
Duplicating a model for MSF restart adds an $MSFI record, comments out parameter estimate blocks, and updates the $MSFO record.
Restarting a NONMEM run using an MSF file requires that the original model include an MSF command in the estimation record, e.g.,
$EST MAXEVAL=9999 PRINT=5 MSF=run4.msf METHOD=CONDITIONAL INTER
NONMEM will then produce additional files, two of which (run4.msf and run4_ETAS.msf) are used to restart a NONMEM run from where the previous run terminated using the control file created with this feature.
Note that the files run4.msf and run4_ETAS.msf must be copied into the root project folder directory from the previous run’s subdirectory, where complete output run records are stored, e.g., modelfit_dir4/NM_run1/run4.msf. Although run4_ETAs.msf is not required, NONMEM will throw a warning if it is not in the root project directory.
Right-click the selected model and choose File actions > Duplicate for MSF restart.
Or select the Models > Duplicate model for MSF restart menu option.
Or click in the toolbar.
Enter the New model number identifying the duplicate model.
Enter the name of the MSF file specified in the previous run’s $EST record in the Restart using MSF file field.
Enter the filename for the New MSF file created during the restart.
Legal Notice | Contact Certara
© Certara USA, Inc. All rights reserved.