.Modelica_LinearSystems2.DiscreteStateSpace.'+'

Information

Parallel connection of two discrete state space systems (= inputs are the same, outputs of the two systems are added)

Interface

encapsulated operator function '+'
  import Modelica;
  import Modelica_LinearSystems2.DiscreteStateSpace;
  input DiscreteStateSpace dss1 "System 1";
  input DiscreteStateSpace dss2 "System 2 is added in parallel to system 1";
  output DiscreteStateSpace result(redeclare Real A[size(dss1.A, 1) + size(dss2.A, 1), size(dss1.A, 2) + size(dss2.A, 2)], redeclare Real B[size(dss1.B, 1) + size(dss2.B, 1), size(dss1.B, 2)], redeclare Real C[size(dss1.C, 1), size(dss1.C, 2) + size(dss2.C, 2)], redeclare Real D[size(dss1.D, 1), size(dss1.D, 2)], redeclare Real B2[size(dss1.B2, 1) + size(dss2.B2, 1), size(dss1.B2, 2)]) "= dss1 + dss2";
end '+';

Generated at 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos