MATLAB Answers

0

Is there a listing of functions (such as 'trapz') to use in SimBiology explorer?

Asked by Andrew Heitman on 26 Sep 2019
Latest activity Commented on by Andrew Heitman on 27 Sep 2019
I am looking to generate some standard PK parameters from the simulation runs (AUC, Tmax, Cmax etc).
Is there a listing of functions somewhere that I can incorporate into the explorer such as 'trapz'?

  0 Comments

Sign in to comment.

Communities

More Answers in the  SimBiology Community

1 Answer

Answer by Sietse Braakman on 26 Sep 2019
 Accepted Answer

Hi Andrew,
You could use the following:
Cmax: max(Central.Drug_Central)
Tmax: time(Central.Drug_Central == max(Central.Drug_Central))
Tend: time(end)
AUC0-last: trapz(time,Central.Drug_Central)
Other quantities (half-life, C0, AUC0-inf, CL etc) require extrapolation and regressions, which is what sbionca takes care of for you. More definitions of the NCA parameters are here.
You could also turn your simulation results into a table and pass that onto sbionca. This is somewhat easier said then done. I have some code that you download here, see the function 'CreateTableSimdata' in the NCA folder of the download.
Let me know if you have further questions.
Best,
Sietse

  1 Comment

This looks great. Is it possible to build the data table creation and sbionca command into a custom task?

Sign in to comment.