Could Simbiology simulations have a preload function?
1 回表示 (過去 30 日間)
古いコメントを表示
In Simulink, one can write preload scripts that run upon opening a model or upon any number of other actions.
In Simbiology we have the option to have many tasks associated with a model, but (to my knowledge) we do not have preload functions. We DO have variants that we can apply to a Simulation, but Variants cannot turn rules on or off.
This is a huge gap. If I have a model that I run under two scenarios (for example, autonomous/ODE-calculated blood sugar, and blood sugar that is forced to follow a dataset, perhaps using splines) and those two scenarios are determined by rules (either the ODE rule is active and the forced rule is inactive, or vice versa), and I want to compare runs under both scenarios, I have to manually switch the flags on the model. And if I forget, the model results are wrong - with no error flag.
I'd very much like to see either Variants have control over rules being active AND/OR simulation tasks having a preload function (a postload wouldn't be bad either, to allow plotting of values calculated outside of the model).
Any plans for these functions? Or are they in the app, and I'm just missing them.
0 件のコメント
回答 (1 件)
Arthur Goldsipe
2018 年 8 月 17 日
編集済み: Arthur Goldsipe
2018 年 8 月 17 日
Hi Jim,
You're not overlooking any functionality. I agree that these would be useful enhancements. I work primarily from functions and scripts at the command line. I had the same challenges remembering to activate and deactivate rules when running different scenarios for the insulin demo I created.
Rest assured that this is on the team's radar. I don't know how soon you will see a solution though. Would you consider this one of the highest priorities for you? Or are there other things you can think of that would be a higher priority?
-Arthur
参考
カテゴリ
Help Center および File Exchange で Perform Sensitivity Analysis についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!