Simbiology program code gave different results from my custom code

조회 수: 2 (최근 30일)
Jesse Chao
Jesse Chao 2023년 5월 25일
댓글: Jesse Chao 2023년 5월 26일
Hello team,
I am working on a population pharmacokinetics (PK) project, so I am using sbiofitmixed() to solve the model.
However, I found that the fit program code directly exported from Simbiology Model Analyzer gave me different results from my custom code. Although I have all the settings set as the same, I have a problem with the parameter estimation on ka_Central.
My Simbiology Model Analyzer code can estimate this parameter with high confidence, but my custom code cannot.
I tried debugging but could not find where the problem came from.
Please find the code in the attachment file.
Thank you very much.
Jesse

채택된 답변

Jeremy Huard
Jeremy Huard 2023년 5월 25일
the issue comes from the dose template. In the first version your taget is Drug_Central (corresponding to IV bolus) whereas in the second the tdrug target is Dose_Central (corresponding to EV).
Since no absoprtion takes place in the first version, ka cannot be estimated.
If you change the drug target to Dose_Central, you will be able to estimate ka.
Best,
Jérémy
  댓글 수: 1
Jesse Chao
Jesse Chao 2023년 5월 26일
Hello Jérémy,
What a naive mistake from me. Thank you for your precious time to point it out.
Hope you have a nice day Jesse

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jeremy Huard
Jeremy Huard 2023년 5월 25일
this is difficult to debug without the actual model and data.
Would you be able to share them?
That said, I noticed a discrepancy in the initial values of both versions because of the order of estimated parameters (ka, Central, CL) instead of (ka, CL, Central).
Best,
Jérémy

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Import Data에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by