PK-Sim icon indicating copy to clipboard operation
PK-Sim copied to clipboard

Opening V11 PK-Sim project in PK-Sim and sending a simulation to MoBi does not properly work

Open PavelBal opened this issue 2 years ago • 7 comments

  • Open the Midazolam project from here https://github.com/Open-Systems-Pharmacology/OSP-PBPK-Model-Library/tree/master/Midazolam in PK-Sim 12

  • Send the simulation "iv 0.05 mg/kg (2 min)" to MoBi

  • Create a new simulation from the existing building blocs

  • Try to run the simulation: image

  • Compare simulations: there are tons of differences. How can this be?

E.g. Organism|Volume (plasma) is defined as a sum formula in the building block but not in the simulation! Where are expression values stored?

PavelBal avatar Apr 17 '24 14:04 PavelBal

Unit conversion issue probably

Yuri05 avatar Apr 18 '24 12:04 Yuri05

No, there are just many parameters that are in the simulation and not in the building blocks. E.g. "Weight" is not defined etc..

PavelBal avatar Apr 18 '24 12:04 PavelBal

Actually what I meant was "Project conversion issue" 😄

Yuri05 avatar Apr 18 '24 13:04 Yuri05

PK-Sim project conversion

rwmcintosh avatar Jul 31 '24 13:07 rwmcintosh

After recent work for other issues related to ontogeny parameters, those seem to be cleared up but BMI remains

image

rwmcintosh avatar Aug 13 '24 12:08 rwmcintosh

image

In the exported Individual, BMI has neither a value nor a formula :D

PavelBal avatar Aug 21 '24 13:08 PavelBal

Parameter Rate Definition Organism-BMI has calculation method "Individual_HeightDependent"

But is not contained in the Individual OriginData calculation method cache

image

If I create a new individual, then the CalculationMethod is part of the OriginData and export/import works.

This must be another project conversion step that needs to be implemented

rwmcintosh avatar Aug 21 '24 15:08 rwmcintosh

The same principal is used in the BSA formula that's shown in the screenshot. Follow both to find the difference

rwmcintosh avatar Aug 28 '24 13:08 rwmcintosh

Individual_HeightDependent

Parameter Rate Definition Organism-BMI has calculation method "Individual_HeightDependent"

But is not contained in the Individual OriginData calculation method cache

image

If I create a new individual, then the CalculationMethod is part of the OriginData and export/import works.

This must be another project conversion step that needs to be implemented

thanks

msevestre avatar Sep 10 '24 14:09 msevestre

looking at this again now

msevestre avatar Oct 01 '24 15:10 msevestre

image

Very interesting. The conversion used Age_dependent not Height_dependent

msevestre avatar Oct 01 '24 16:10 msevestre