.Modelica_LinearSystems2.WorkInProgress.StateSpace.Internal.calcK

Information

Computes the feedback matrix from the assigned eigenvalues, closed loop eigenvectors and the B matrix factorization

Interface

function calcK
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.Math.Complex;
  import Re = Modelica_LinearSystems2.Math.Complex.real;
  import Im = Modelica_LinearSystems2.Math.Complex.imag;
  input Real A[:, size(A, 1)] "Real square system matrix";
  input Real U0[size(A, 1), :] "U0 and Z are the decompositions of B";
  input Real Z[size(U0, 2), size(U0, 2)] "Z and U0 are the decompositions of B";
  input Complex gamma[size(A, 1)] "Assigned complex eigenvalues";
  input Complex X[size(A, 1), size(A, 1)] "Closed loop eigenvectors";
  input Integer nre "number of real eigenvalues";
  output Real K[size(U0, 2), size(A, 1)] "Feedback matrix";
end calcK;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos