Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Mimicking Urination in PKsim/MoBi #275
I have a few questions regarding Urine concentrations of compounds in PKsim.
I have built a model for a compound and verified the results against plasma data. However, I was also given measured urine concentrations of the compound and would like to further verify the model against this data.
From what I can tell the Urine compartment holds the total amount of the removed compound from the blood in PKsim with a static volume and the compound is never removed from the urine compartment. The total amount would work great most of the time, unfortunately this won’t work for my dataset.
I was wondering if there was a way to simulate the removal of the compound from the compartment to mimic urination in PKsim or MoBi.
If I can simply remove a percentage of the compound from the compartment at specified times after administration this would suffice to get a rough estimate. Is this something I could do in the Events Building block in MoBi? I could then presumably re-write the Urine compartment’s formula for volume as increasing a function with time that resets after urination occurs.
Dear @Tpa3 ,
as far as I know there is no removal form the urine compartment in PK-Sim. The predefined observer are the total amount and concentration (Urine volume by default is 1 L).
Why not? What do you want so simulate? How does your data look like?
If you have data that does not fit to PK-Sim observers (output), in general you have 2 options:
An example for 2) would be:
Hope this helps!
Yes, I would follow the proposal of Henrik: adjust your data so that they can be compared with the default PK-Sim observer (concentration in urine, which is actually amount due to the volume of 1 liter).
If you really want to model "emptying of the bladder", you would need to go to MoBi and create respective events at wished time points.
The reason I didn't initially go down that route was because the data I have was only taken on the last day of a TID multiweek study, and therefore I don't have data on the measure of the total amount removed into urine since the beginning of the study, and I don't know how much of the drug is still being removed into the urine from the previous application of the drug.
The somewhat inelegant solution I came up with was to run the simulation once for total amount in urine, note down the amount right before the final application of the drug and create an observer for the amount in urine minus the noted amount for right before the final application. This way I can still account for the drug being removed into the urine from the previous application of the drug and not have to have data on the total amount removed into the urine the weeks prior. It's not perfect since I have to run the somewhat large simulation twice each time I change a parameter to get a correct reading, but besides that I have seemed to have solved my own problem.
@sfrechen Thanks for the tip, that is definitely a far more elegant solution. The events BB is the one BB that I haven't totally understood yet, but this will be a wonderful opportunity to do so. I don't know when it changed but it looks like the help documentation for MoBi is a lot more detailed than before, so I'll take a look at that.