functionanalysisControllablePoles
Example to check controllability of a state space system and print the controllable poles
Extends from Modelica.Icons.Function (Icon for functions).
Information
This example shows the usage of function StateSpace.Internal.controllablePoles which is to compute the controllable and uncontrollable poles of a state space system.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| StateSpace | ssi | Modelica_LinearSystems2.StateSpace(A = [1, 0, 0, 0, 0, 0; 1, 0, 0, 0, 0, 0; 0, 2, 3, 0, 78, 6; 1, 1, 2, 2, 3, 3; 10, 13, 34, 0, 0, 1; 0, 0, 0, 2, 0, 0], B = [0, 0; 0, 0; 0, 0; 0, 0; 1, 0; 0, 0], C = [1, 0, 1, 0, 1, 0; 0, 1, 0, 1, 0, 1; 0, 1, 0, 1, 0, 1], D = [0, 0; 0, 0; 0, 0]) | |
| Boolean | systemOnFile | false | True, if state space system is defined on file |
| String | fileName | "NoName" | file where matrix [A, B; C, D] is stored |
| String | matrixName | "ABCD" | Name of the state space system matrix |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | ok |