Simbiology plot problem when using global solvers
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to model model glycolysis, PPP and TCA using simbiology. While I get some output plots using local solvers, when I do it with global solvers options it simply does not show any results. (the solving procedure seems to be working properly)
Any ideas?
댓글 수: 2
Rick Paxson
2022년 4월 21일
We may need a bit more information to help. What version of MATLAB/SimBiology are you using?
I assume you are running a "Fit program" from within the Analysis app in SimBiology and see the estimation progress until conclusion. Is that the case? Then you don't see plots appear in the analysis app with the results. Can you confirm that my understanding is correct?
Thanks,
Rick Paxson
채택된 답변
Arthur Goldsipe
2022년 4월 21일
Can you share the project or provide some other way for us to reproduce what you're seeing? That would help us definitely say what going on
But if I had to guess, the program might be "stuck" simulation. A common problem when using global solvers or performing global sensitivity analysis is trying to simulate with parameter values that drastically slow down the simulation and make it appear like MATLAB or SimBiology is doing nothing. One thing that helps prevent that problem is to set MaximumWallClock to some reasonable value. So if your simulations normally take 1 second, maybe set this to 10 (seconds). You could also try setting narrower bounds on parameters that you're trying to estimate.
댓글 수: 2
Arthur Goldsipe
2022년 4월 22일
편집: Arthur Goldsipe
2022년 4월 22일
Ah, the extra information you provided is quite useful. It sounds like you got a plot that showed that your fits converged but then things appeared to "lock up" after that. There are still several things that happen after fit converges. But it's hard for me to say exactly where the problem is or how to fix it without being able to see the problem itself. If the concern is confidentially, could you contact me or Technical Support directly so that you don't have to share the model publicly? Even if you can't privately share the model file, could you screen share while we debug the problem together?
In the interim, I can offer one "hack" that I sometimes use to figure out where things are stuck. If you open the MATLAB editor before you run the program in SimBiology, you get an Editor section in the Toolstrip. Once you run the program, this Toolstrip should have a "Pause" button. When a program appears to be hung you can often click this button and stop in the debugger to figure out where you're stuck. If you can do that, I suggest typing "dbstack" at the command prompt and sharing that info here. That might give me an idea where the program is hanging. If you decide to do that, please also share the output from running "ver" so that I know exactly which version of MATLAB and SimBiology you're using.
추가 답변 (0개)
커뮤니티
더 많은 답변 보기: SimBiology Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!