functiontoStaircaseForm
Transforms a state space system to upper staircase form
Information
Syntax
ss_sc = StateSpace.Transformation.toStaircaseForm(ss, method)
Description
This function computes the upper staircase form state space system.
Example
Modelica_LinearSystems2.StateSpace ss=Modelica_LinearSystems2.StateSpace(
A=[17.0, 24.0, 1.0, 8.0, 15.0;
23.0, 5.0, 7.0, 14.0, 16.0;
4.0, 6.0, 13.0, 20.0, 22.0;
10.0, 12.0, 19.0, 21.0, 3.0;
11.0, 18.0, 25.0, 2.0, 9.0],
B=[-1.0, -4.0;
4.0, 9.0;
-9.0, -16.0;
16.0, 25.0;
-25.0, -36.0],
C=[1, 0, 1, 0, 0;
0, 1, 0, 1, 1],
D=[0, 0;
0, 0]);
algorithm
ss_sc:=Modelica_LinearSystems2.StateSpace.Transformation.toStaircaseForm(ss);
ss_sc=StateSpace(
A=[-1, 0; 0, -2],
B=[1; 0],
C=[1, 0],
D=[0])
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| StateSpace | ss | State space system | |
| Modelica_LinearSystems2.Utilities.Types.StaircaseMethod | method | Modelica_LinearSystems2.Utilities.Types.StaircaseMethod.SVD | Method for staircase algorithm |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| StateSpace | ss_sc | Transformed state space system |
Revisions
| Date | Author | Comment |
|---|---|---|
| 2010-05-31 | Marcus Baur, DLR-RM | Realization |