Skip to contents

splitInfusion() is a model-only directive that rewrites infusion doses aimed at cmt into parallel infusion doses to the target compartments. Each target compartment receives the full original amount (or rate); use compartment properties like f() to scale the split (for example a Monolix-style double-absorption F1/1-F1 dose apportionment). The source-compartment infusion is replaced, not retained.

Both data-driven infusions (RATE or DUR records) and modeled rate()/dur() infusions are split. The source and every start or stop record of the infusion is re-targeted, so the pairings the solver relies on are preserved.

Unlike splitBolus(), this rewrite applies at etTrans() translation time only; doses pushed while solving with evid_() are not split.

The source compartment may also appear in the target list, but the target compartments in ... must be unique.

Usage

splitInfusion(cmt, ...)

Arguments

cmt

Source compartment name.

...

Target compartment names. Provide at least one target compartment.

Value

This function is only meaningful inside an rxode2 model; it errors when called directly from R.