zeros = TransferFunction.Analysis.invariantZeros(tf)
Computes the invariant zeros of the corresponding state space representation of a transfer function. The output is a complex vector containing the eigenvalues. Note, that the conversion of the transfer function does not result in a minimal state space system. Therefore, also zeros equal to unobservable or uncontrollable eigenvalues will be computed.
TransferFunction s = Modelica_LinearSystems2.TransferFunction.s();
Modelica_LinearSystems2.TransferFunction tf=(s+1)/(s^2+s+1);
Complex zeros[:];
algorithm
zeros := Modelica_LinearSystems2.TransferFunction.Analysis.invariantZeros(tf);
// zeros = {-1}
encapsulated function invariantZeros import Complex; import Modelica_LinearSystems2.TransferFunction; import Modelica_LinearSystems2.StateSpace; input TransferFunction tf "Transfer function of a system"; output Complex Zeros[:] "Invariant zeros"; end invariantZeros;