Calvagone / campsis

A generic PK/PD simulation platform based on rxode2 and mrgsolve engines.
https://calvagone.github.io/
GNU General Public License v3.0
8 stars 3 forks source link

Improvement with mrgsolve: don't recompile model for each replicate #93

Closed luyckxn closed 1 year ago

luyckxn commented 2 years ago

Currently the Campsis model is exported into mrgsolve as structured text file by package campsismod. Model parameters are part of this model. This text file is then parsed and compiled by mrgsolve.

This process works quite well but is repeated for each replicate, which is not optimal.

Compiling the mrgsolve model should only occur once (if possible) and model parameters should simply be updated when the model/simulation is replicated.