different event functions for the same species
古いコメントを表示
Hi,
I developed a model in Simbiology in which Fw is a parameter as a function of mass. The mass varies with time.
I want to set two events as follows:
Trigger: mass>=Threshold_mass
event function: Fw = 0.1* mass
Trigger: mass<Threshold_mass
event function: Fw = 0.0003* mass
I received this error message:
"Invalid repeatedAssignment rule 'Rule_20'. The variable 'Fw_T' is also used by an event function.\n"
Could you please suggest any idea that may help?
Thanks
3 件のコメント
Mann Baidi
2024 年 4 月 30 日
Hi,
I have no knowledge about the SimBiology Toolbox. But as per my guess ,the 'equal to' case might be creating the problem. For both the triggers mass=Threshold_mass holds.
I would suggest you to remve the equal to operator from any of the trigger.
Torsten
2024 年 4 月 30 日
We need Arthur Goldsipe here :-)
Day
2024 年 4 月 30 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Extend Modeling Environment についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!