tdmore-dev / tdmore

In silico evaluation of precision dosing
https://tdmore-dev.github.io/tdmore/dev
GNU Affero General Public License v3.0
3 stars 1 forks source link

Steady-state calculations #34

Closed rfaelens closed 5 years ago

rfaelens commented 6 years ago

Allow to calculate steady-state concentrations by supporting the SS column in the treatment regimen.

Instead of requiring two different model definitions (one for longitudinal and one for steady-state), we use the "Monolix trick": we simply specify the typical terminal half-life in the model, and how many terminal half-lifes we simulate before we assume steady-state.

The SS column will then result in the adequate number of extra treatments planned just before this time. Both SS=1 and SS=2 should be supported. Please note that this may require us to work "flexibly" with time (and perform multiple simulations runs to get the right output).

rfaelens commented 5 years ago

Steady-state calculations included, both in algebraic equations and in RxODE (the Monolix way: by adding extra treatments). RxODE also has an automated SS function, but we do not use it yet.