functionanalysis
Example to check controllability of a state space system
Extends from Modelica.Icons.Function (Icon for functions).
Information
This example shows the usage of function StateSpace.Design.assignPolesMI which is to design pole assignment controllers for state space systems with multiple input.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| StateSpace | ssi | StateSpace(A = [-3, 2, -3, 4, 5, 6; 0, 6, 7, 8, 9, 4; 0, 2, 3, 0, 78, 6; 0, 1, 2, 2, 3, 3; 0, 13, 34, 0, 0, 1; 0, 0, 0, -17, 0, 0], B = [1, 0; 0, 1; 1, 0; 0, 1; 1, 0; 0, 1], C = [0, 0, 1, 0, 1, 0; 0, 1, 0, 0, 1, 1], D = [0, 0; 0, 0], xNames = {"x1", "x2", "x3", "x4", "x5", "x6"}, uNames = {"u1", "u2"}, yNames = {"y1", "y2"}) | |
| Internal.AnalyseOptions | analyseOptions | Modelica_LinearSystems2.Internal.AnalyseOptions(plotEigenValues = true, plotInvariantZeros = true, plotStepResponse = true, plotFrequencyResponse = true, printEigenValues = true, printEigenValueProperties = true, printInvariantZeros = true, printControllability = true, printObservability = true, headingEigenValues = "Eigenvalues", headingInvariantzeros = "Invariant zeros", headingStepResponse = "Step response", headingFrequencyResponse = "Frequency response") | |
| 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 |