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

31 Ansichten (letzte 30 Tage)
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 Kommentare
Mathieu NOE
Mathieu NOE am 30 Okt. 2025 um 10:34
hello
without a working code and some data it's going to be difficult to help you
Arthur Goldsipe
Arthur Goldsipe am 30 Okt. 2025 um 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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Jeremy Huard
Jeremy Huard am 31 Okt. 2025 um 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.

Weitere Antworten (0)

Communitys

Weitere Antworten in  SimBiology Community

Kategorien

Mehr zu Scan Parameter Ranges finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by