nocad.structural.is_structurally_controllable#
- nocad.structural.is_structurally_controllable(A, B)[source]#
Lin’s structural controllability test.
- Parameters:
- Aarray_like or
sparse,shape(N,N) - Barray_like or
sparse,shape(N,M)
- Aarray_like or
- Returns:
- bool
Trueiff every state is accessible from the inputs and \(\operatorname{rank}_g[\mathbf{A},\mathbf{B}]=N\).
References
[1]C.-T. Lin, “Structural controllability”, IEEE Transactions on Automatic Control 19 (1974) 201–208.
Examples
>>> A = [[0, 0, 0], [1, 0, 0], [1, 0, 0]] # x1 -> x2, x1 -> x3 (a dilation) >>> is_structurally_controllable(A, [[1], [0], [0]]) False >>> is_structurally_controllable(A, [[1, 0], [0, 1], [0, 0]]) True