Series connection of two state space systems
encapsulated operator function '*' import StateSpace = Modelica_LinearSystems2.Internal.StateSpace2; input StateSpace ss1 "System 1"; input StateSpace ss2 "System 2"; output StateSpace result(redeclare Real A[size(ss1.A, 1) + size(ss2.A, 1), size(ss1.A, 2) + size(ss2.A, 2)], redeclare Real B[size(ss1.B, 1) + size(ss2.B, 1), size(ss2.B, 2)], redeclare Real C[size(ss1.C, 1), size(ss1.C, 2) + size(ss2.C, 2)], redeclare Real D[size(ss1.D, 1), size(ss2.D, 2)]) "y = G(s)*u = G(ss1)*G(ss2)*u"; end '*';