I was able to get a single compartment model working as indicated below using Chris R’s links.
My example can be seen at https://github.com/mmarikar/julia/blob/master/OneCompartmentPBPKmodel.jl
Does anyone have an example for a multi-compartment PBPK model?
Specifically I’m trying to port the following octave code to Julia
https://github.com/mmarikar/PBPK/blob/master/Sept3_Simple_Octave_PBPK_ODE-Copy1.ipynb
Yes there are examples. One is shown in this presentation very very briefly:
Parts of PuMaS.jl will be released by ACoP (early October) along with the shown PBPK model.
In the meantime, all of this can be done directly with DifferentialEquations.jl of course. The advantage of PuMaS.jl is that it builds a DSL for handling the dosing.
1 Like