Closed rfaelens closed 2 years ago
Hi @rfaelens -
That's the expected behavior - changing bioavailability changes infusion duration. If you want an specific duration, you have to model D
.
Kyle
OK, then I will need to double-check my validation step. Thanks!
Ok; are you working from our set? Or developing your own? That 4.12 in the other issue looked familiar. I added cases showing only infusion + bioav and infusion + bioav + pinned duration.
some history is here https://www.cognigen.com/nonmem/nm/98nov012001.html (see Stuart Beal comment). Also you can look at NONMEM PREDPP guide and I think mrgsolve try to be consistent with the NONMEM zoo :).
Thanks for the reference, @smouksassi ; you indeed are a wise elephant.
@kylebaron do you have a fixed duration data item. In nlmixr
/rxode
we have dur
. They have one in monolix as well (though I cannot remember what it is, but it wasn't dur
). If you don't it should not be too hard to add (and would make translation from nlmixr
to mrgsolve
a bit easier).
Thanks, @mattfidler ... I'll look into it.
When calculating infusion duration based on
rate
, the bio-availability parameter is taken into account before calculating the infusion duration.What I did:
What I expected: Both ID's have an infusion of duration 10h, but ID 2 will receive only 10% of the amount.
What happened: Both ID's receive the same rate of infusion, but ID 2 stops infusing earlier.
Created on 2022-03-24 by the reprex package (v2.0.1)
Reprex based on https://github.com/metrumresearchgroup/mrgsolve/blob/37c581518eb591282c19314a9030df44fb908a04/inst/maintenance/unit/test-bioav.R