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
{{ message }}
Repository navigation
predplot of identified state-space system emits a warning about transfer functions #176
It may be not a bug but using predplot on an identified state-space system with a large enough prediction horizon h results in the following warning (h=30 with a state space system of nx=6 states):
┌ Warning: High-order transfer functions are highly sensitive to numerical errors. The result may be inaccurate. Consider making use of statespace systems instead
└ @ ControlSystemsBase ~/.julia/packages/ControlSystemsBase/hoyMe/src/types/SisoTfTypes/SisoRational.jl:12
I'm trying to understand why the state-space system (identified using subspaceid) is first converted into a transfer function. I'm also not sure why high h values leads to high order transfer functions even if the order of the original system was quite low.
Thanks for your help.
Reactions are currently unavailable
Activity
ghost changed the title [-]`predplot` of identified state-space system[/-][+]`predplot` of identified state-space system emit a warning about transfer functions[/+]on Feb 4, 2025
ghost changed the title [-]`predplot` of identified state-space system emit a warning about transfer functions[/-][+]`predplot` of identified state-space system emits a warning about transfer functions[/+]on Feb 4, 2025
I'm trying to understand why the state-space system (identified using subspaceid) is first converted into a transfer function.
It is not. The function observer_predictor forms a predictor system using transfer functions, which is then converted to statespace form and multiplied by the identified system. This happens to be okay since no operations are actually performed on the transfer function, but the warning does not know that
Activity
[-]`predplot` of identified state-space system[/-][+]`predplot` of identified state-space system emit a warning about transfer functions[/+][-]`predplot` of identified state-space system emit a warning about transfer functions[/-][+]`predplot` of identified state-space system emits a warning about transfer functions[/+]baggepinnen commentedon Feb 6, 2025
It is not. The function
observer_predictorforms a predictor system using transfer functions, which is then converted to statespace form and multiplied by the identified system. This happens to be okay since no operations are actually performed on the transfer function, but the warning does not know that