.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 Complex p[:] = {Complex(-3, 0), Complex(-4, 0)};
end designAssignPolesMIMO;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos