function characterizeEigenvalue import Modelica.ComplexMath; import Modelica.ComplexMath.j; import Complex; import Modelica_LinearSystems2; import Modelica_LinearSystems2.StateSpace; import Modelica_LinearSystems2.Internal.Eigenvalue; import Modelica_LinearSystems2.Internal; input StateSpace ss = Modelica_LinearSystems2.StateSpace(A = fill(0, 0, 0), B = fill(0, 0, 0), C = fill(0, 0, 0), D = fill(0, 0, 0)) "State space system"; input Eigenvalue evin[:] "Eigenvalues or a pairs of conjugated complex pair"; output Eigenvalue ev[size(ss.A, 1)]; end characterizeEigenvalue;