Result of fitting, and group simulation with the results of the fitting are giving me different simulations
36 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Gustavo
il 30 Ott 2025 alle 10:10
Risposto: Jeremy Huard
il 31 Ott 2025 alle 20:41
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 Commenti
Mathieu NOE
il 30 Ott 2025 alle 10:34
hello
without a working code and some data it's going to be difficult to help you
Arthur Goldsipe
il 30 Ott 2025 alle 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.
Risposta accettata
Jeremy Huard
il 31 Ott 2025 alle 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 Commenti
Più risposte (0)
Community
Più risposte nel SimBiology Community
Vedere anche
Categorie
Scopri di più su Scan Parameter Ranges in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!