-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello everyone
New to mrgsolve here. I am trying to code a time-dependent input into a transit compartment model.
I am trying to modify the example model code from Kyle Baron #4. I also have the very similar code from https://github.com/mrgsolve/gallery/blob/master/absorption/transit.md
I do not have any bolus inputs or constant rate infusion dosing events. The only input to the system is the time-dependent input.
What is the best way to implement this? I was considering adding a new depot compartment "newcomp" whose differential equation that would receive the time-dependent input and transfer that input into the original "depot" compartment with the gamma distribution.
I am assuming that it would be inappropriate to simply add the new time-dependent input to the rate_in term.
Any help is appreciated