.Modelica_LinearSystems2.Examples.StateSpace.designAssignPolesMIMO

Information

Computes the gain vector k for the state space system

ss = StateSpace(A=[-1,1;0,-2],B=[0, 1],C=[1,0; 0, 1],D=[0; 0])

such that for the state feedback

u = -k*y = -k*x

the closed-loop poles are placed at

p = {-3,-4}.

Interface

function designAssignPolesMIMO
  extends Modelica.Icons.Function;
  output Real K[:, :] "Gain vector";
  output Real S[:, :];
  input Modelica_LinearSystems2.StateSpace ss = Modelica_LinearSystems2.StateSpace(A = [-1, 1; 0, -2], B = [0; 1], C = [1, 0; 0, 1], D = [0; 0]);
  input Modelica_LinearSystems2.Math.Complex p[:] = {Modelica_LinearSystems2.Math.Complex(-3, 0), Modelica_LinearSystems2.Math.Complex(-4, 0)};
end designAssignPolesMIMO;

Generated at 2024-03-28T19:15:55Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos