functionanalysisStairCase

Example to check controllability of a state space system in staircase form

Extends from Modelica.Icons.Function (Icon for functions).

Information

This example shows the usage of the staircase algorithm to transform a state space system in staircase form to analyze controllability.

Inputs

TypeNameDefaultDescription
BooleansystemOnFilefalseTrue, if state space system is defined on file
StringfileName"NoName"file where matrix [A, B; C, D] is stored
StringmatrixName"ABCD"Name of the state space system matrix
StateSpacessiStateSpace(A = [1, 2, 3, 4, 5, 6; 5, 6, 7, 8, 9, 4; 0, 2, 3, 0, 78, 6; 1, 1, 2, 2, 3, 3; 10, 13, 34, 0, 0, 1; 0, 0, 0, 2, 0, 1], B = [1; 2; 0; 0; 0; 0], C = [1, 0, 1, 0, 1, 0], D = [0])

Outputs

TypeNameDefaultDescription
Booleanok