ControlSystemsMTK.jl icon indicating copy to clipboard operation
ControlSystemsMTK.jl copied to clipboard

Technical question on `causal_simplification`

Open B-LIE opened this issue 10 months ago • 1 comments

In the documentation for ControlSystemsMTK, the call signature is:

function causal_simplification(sys, u2duinds::Vector{Pair{Int, Int}}; descriptor=true)

I have a system with 2 inputs, and linearize produces B/D matrices with 4 columns. According to the linearize documentation for MTK, the two first columns are the real inputs, while the two next ones are the derivatives of the inputs.

QUESTION: Would the correct call then be causal_simplification(sys, [1=>3, 2=>4)? Implying that the control input in column 1 finds the derivative in column 3, etc.?

B-LIE avatar Mar 25 '25 18:03 B-LIE

Would the correct call then be causal_simplification(sys, [1=>3, 2=>4)? Implying that the control input in column 1 finds the derivative in column 3, etc.?

Akkurat!

baggepinnen avatar Mar 25 '25 18:03 baggepinnen