Model translation

  1. Select a model in the list.

  2. Right-click the selected model and choose Translate model from the menu.
    Or
    Click icon_translate.png in the toolbar.

  3. Select the format from the pop-up list:
    To NONMEM
    To R
    To Matlab
    To Berkely Madonna

  4. Enter a name for the new file in the field (click icon_browse_3.png to browse to a different location).

  5. Press Translate.

To NONMEM

Pirana includes translators that will convert specific parts of NONMEM code to alternate NONMEM code.

To R

The R translation options extract the parameter estimates for the structural model (q) and also the between subject variability matrix (W). A multi-dose simulation is automatically implemented (Pirana currently does not read in the dataset to extract dosing information). No residual error model is cur­rently implemented in the R translators, but can be added by the user.

GeneratedRCode.png 

An example of associated simulation output for the deSolve-generated R code is depicted below.

RSimulationGraph.png 

To Matlab

The Matlab translation options extract the parameter estimates for the structural model (q) only (the between subject variability matrix is not extracted). No residual error model is currently implemented in the R translators, but can be added by the user.

The generated Matlab code is automatically loaded in the defined code editor.

To Berkely Madonna

The Berkely Madonna translation option extracts the parameter estimates for the structural model (q) and also the between subject variability matrix (W). No residual error model is currently imple­mented in the R translators, but can be added by the user.

Check the Include between-subject variability box to consider variability between subjects. If checked, then choose the type of sampling to perform during the between-subject variability compu­tations: Univariate sampling or Multivariate sampling.

The generated Berkeley Madonna code is automatically loaded in the defined code editor.

An example of generated Berkely Madonna code is depicted in the following image.

GeneratedBerkelyCode.png 


Last modified date:12/17/20
Certara USA, Inc.
Legal Notice | Contact Certara
© 2020 Certara USA, Inc. All rights reserved.