Result of fitting, and group simulation with the results of the fitting are giving me different simulations

조회 수: 33 (최근 30일)
I fit some data and create a variant with the results.
Then I duplicate the program of the fitting, and change the configuration into a group simulation, and added the new variant.
The simulation is different in the group simulation, than the result of the fitting. I do not know why this is happening.
If I create another program with only simulation, without data, the plot is the same as in the fitting.
Is this a bug?
  댓글 수: 2
Mathieu NOE
Mathieu NOE 2025년 10월 30일 10:34
hello
without a working code and some data it's going to be difficult to help you
Arthur Goldsipe
Arthur Goldsipe 2025년 10월 30일 14:55
I'm a developer on the SimBiology team. There are many possible explanations for this. If you can provide reproduction steps here, we can better assist you. If you are unable to share reproduction steps publicly, another option would be to share reproduction steps privately with me or MathWorks Technical Support. If even that is a concern, then please share more information on what prevents you from sharing the details. Some SimBiology users have been able to share models privately after "obfuscating" the names of species, and MathWorks has tools to assist with that obfuscation.

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

채택된 답변

Jeremy Huard
Jeremy Huard 2025년 10월 31일 20:41
Gustavo shared his project offline, and we identified the issue: The group simulation program was configured to apply variants in the wrong order.
In the group simulation program, the variant containing the estimated values is applied first. Then, a baseline variant that also contains values for these parameters is applied, overwriting the estimated values.
To verify the application order, check the Variant and Dose Setup table in the group simulation. Variants are applied from right to left.
Note that this behavior differs from single simulation programs, where baseline variants are applied from top to bottom in the list.
Thank you, @Gustavo, for reporting the issue. The SimBiology development team has made a note that this behavior difference can be confusing and result in mistakes when configuring programs. We hope to fix this usability issue in a future release.

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by