Skip to content

Time dependent input in transit compartment model #8

@Murali-Ramanathan

Description

@Murali-Ramanathan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions