functiontransformationToIrreducibleForm
Example to compute the minimal state space realization of a given SISO state space realization
Extends from Modelica.Icons.Function (Icon for functions).
Information
This example shows the usage of function Modelica_LinearSystems2.StateSpace.reduceSystem which compute a controllable and observable state space realization of a given state space realization.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | fileName | DataDir + "abcd_siso2.mat" | file where matrix [A, B; C, D] is stored |
| String | matrixName | "ABCD" | Name of the state space system matrix |
| Real[:,:] | A | fill(0, 0, 0) | |
| Real[:,:] | B | fill(0, 0, 1) | |
| Real[:,:] | C | fill(0, 1, 0) | |
| Real[:,:] | D | fill(0, 1, 1) |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | ok |