.Modelica_LinearSystems2.Examples.StateSpace.analysisDcGain

Information

This example shows how to calculate the dc-gain of a state space system.

Interface

function analysisDcGain
  extends Modelica.Icons.Function;
  import Modelica.Math.Matrices;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica.Utilities.Streams.print;
  input StateSpace ssi = StateSpace(A = [1, 0, 0, 0, 0, 0; 1, 4, 0, 2, 0, -1; 0, 2, 3, 0, 78, 6; 1, 1, 2, 2, 3, 3; 10, 13, 34, 0, 0, 1; 3, 0, 0, 2, 0, 0], B = [0, 0; 0, 0; 0, 0; 0, 0; 1, 0; 0, 0], C = [1, 0, 1, 0, 1, 0; 0, 1, 0, 1, 0, 1; 0, 1, 0, 1, 0, 1], D = [0, 0; 0, 0; 0, 0]);
  output Boolean ok;
end analysisDcGain;

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