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

TypeNameDefaultDescription
StringfileNameDataDir + "abcd_siso2.mat"file where matrix [A, B; C, D] is stored
StringmatrixName"ABCD"Name of the state space system matrix
Real[:,:]Afill(0, 0, 0)
Real[:,:]Bfill(0, 0, 1)
Real[:,:]Cfill(0, 1, 0)
Real[:,:]Dfill(0, 1, 1)

Outputs

TypeNameDefaultDescription
Booleanok