You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here seems to be that the initialization system thinks f(c, 80) is a variable because (somehow) there's a Differential(t)(f(c, 80)) in the system.
Okay, so the problem is that dummy derivatives tries to differentiate the last equation (the one involving f(c, 80)), resulting in the Differential(t)(f(c, 80)).
This can be solved by providing symbolic derivatives for the registered function as in this section of Symbolics docs. We should surface this in MTK somewhere.
Describe the bug 🐞
I get an obscure error from a seemingly well-constructed system. Perhaps it's just that I would need to specify the derivative of
f
?Expected behavior
Better error message?
Minimal Reproducible Example 👇
This is heavily reduced of course.
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
Julia 1.10.5
MTK v9.62.0
The text was updated successfully, but these errors were encountered: