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
In certain cases, structural_simplify(sys, (in, out)) can lead to derivatives of the input showing up in the rhs of the simplified system.
Expected behavior
Never have derivatives of inputs in the equations.
Minimal Reproducible Example 👇
I have an MWE, which I constructed by stripping as many parameters, states, and equations from a much larger system. I don't know if it has a meaningful physical interpretation anymore, but still, it shows that tearing gets rid of the differential equation Dt(ψ_d) ~ I_d + V_d even though this leads to derivatives of inputs.
Are you sure your model is correct? If you manually simplify the full_equations(simp) by computing and inserting Differential(t)(busbar₊i_r(t)) in the last equation, I get I_d=0 which means that The input also has to be 0?
This error typically occurs when the model is actually differentiating the input, and if that's the case, it cannot be represented on statespace form.
Describe the bug 🐞
In certain cases,
structural_simplify(sys, (in, out))
can lead to derivatives of the input showing up in the rhs of the simplified system.Expected behavior
Never have derivatives of inputs in the equations.
Minimal Reproducible Example 👇
I have an MWE, which I constructed by stripping as many parameters, states, and equations from a much larger system. I don't know if it has a meaningful physical interpretation anymore, but still, it shows that tearing gets rid of the differential equation
Dt(ψ_d) ~ I_d + V_d
even though this leads to derivatives of inputs.Output⚠️
The output shows a differential of an input in the rhs.
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
The text was updated successfully, but these errors were encountered: