.Modelica_LinearSystems2.Internal.timeResponseMask

Information

Declares the common structure for the set of response functions

Interface

partial function timeResponseMask
  extends Modelica.Icons.Function;
  input StateSpace sc;
  input Real dt = 0 "Sample time [s]";
  input Real tSpan = 0 "Simulation time span [s]";
  input Integer toWindow[:, :] = fill(-1, size(sc.C, 1), size(sc.B, 2)) "-1/0/>0 plot in new window/last window/window ID";
  input Boolean clearWindow[:, :] = fill(false, size(sc.C, 1), size(sc.B, 2)) "True, if previous window content is removed" annotation(
    Dialog(enable = max(toWindow) >= 0));
  input String heading[:, :] = fill("Time response", size(sc.C, 1), size(sc.B, 2)) "Heading of the response diagram";
  input String columnLabels[size(sc.C, 1) + 1] = Modelica_LinearSystems2.Internal.defaultColumnLabels(size(sc.C, 1));
  replaceable output Real y[:, size(sc.C, 1), size(sc.B, 2)] "Output response: (number of samples) x (number of outputs) x (number of inputs)";
  output Real t[:] "Time vector: (number of samples)";
  replaceable output Real x_continuous[:, size(sc.A, 1), size(sc.B, 2)] "State trajectories: (number of samples) x (number of states) x (number of inputs)";
end timeResponseMask;

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