.Modelica_LinearSystems2.Examples.StateSpace.plotTimeResponse

Information

Computes the impulse response of the system StateSpace sc = StateSpace(A=[-1,1;0,-2],B=[1, 0;0, 1],C=[1,0; 0,1],D=[0, 0; 0, 0]).

Interface

function plotTimeResponse
  extends Modelica.Icons.Function;
  input Modelica_LinearSystems2.Utilities.Types.TimeResponse response = Modelica_LinearSystems2.Utilities.Types.TimeResponse.Step "Type of time response";
  input Modelica_LinearSystems2.StateSpace ss = Modelica_LinearSystems2.StateSpace(A = [-1, 1; 0, -2], B = [4, 0; 0, 2], C = [2, 0; 0, 3; -1, 2], D = [0, 0; 0, 0; 1, 0], yNames = {"phi1", "w", "a"}, uNames = {"tau1", "f1"});
end plotTimeResponse;

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