Adding equations as a function of time
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Day
am 6 Mär. 2023
Kommentiert: Arthur Goldsipe
am 7 Mär. 2023
Hi,
Could you please help me in solving the following:
I set a trigger event in Simbiology that when 'X' species exceeds a certain mass then the value of this species as X= k*Time, where k is a parameter. This condition is achieved at time equals n value. When I ran a simulation, I received an error saying that
Error computing event function at t=n
How should I solve this problem? I mean how could I force the content of a species to follow an equation as a function of time after a trigger event occured?
0 Kommentare
Akzeptierte Antwort
Arthur Goldsipe
am 6 Mär. 2023
I suspect the problem is with "Time". SimBiology requires you to reference time as "time" (all lowercase).
If that doesn't fix the problem, can you share the model?
2 Kommentare
Arthur Goldsipe
am 7 Mär. 2023
I don't know what the problem is. And without reproduction steps, I'm not sure how to help. If the issue is confientiality, would you be comfortable sharing the model with MathWorks Technical Support? If so, what do yo uthink of contacting them? If not, then my suggestion is to try to create reproductions steps that you are comfortable sharing. That is, remove any information you want to keep confidential.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Perform Sensitivity Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!