Hello
I have been using diffrax to solve pharmacokinetic models. The ones I am working with typically have a drug dose at an interval over time. For example every 2 weeks. I want to ensure my solver steps on these points and have been using PID controller with jump_ts for this. At the same time the problem is very stiff with reactions at different time scales. Does anyone have suggestions for a solver best suited for a stiff problem with a variable that changes due to a dosing schedule? Thank you for the help
Hello
I have been using diffrax to solve pharmacokinetic models. The ones I am working with typically have a drug dose at an interval over time. For example every 2 weeks. I want to ensure my solver steps on these points and have been using PID controller with jump_ts for this. At the same time the problem is very stiff with reactions at different time scales. Does anyone have suggestions for a solver best suited for a stiff problem with a variable that changes due to a dosing schedule? Thank you for the help