different event functions for the same species
Mostrar comentarios más antiguos
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 comentarios
Mann Baidi
el 30 de Abr. de 2024
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
el 30 de Abr. de 2024
We need Arthur Goldsipe here :-)
Day
el 30 de Abr. de 2024
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Scan Parameter Ranges en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!