zeros = ZerosAndPoles.Analysis.invariantZeros(zp)
Computes the invariant zeros of the corresponding state space representation of a zeros-and-poles 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.
ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p(); Modelica_LinearSystems2.ZerosAndPoles zp=(p+1)/(p^2+p+1); Complex zeros[:]; algorithm zeros := Modelica_LinearSystems2.ZerosAndPoles.Analysis.invariantZeros(zp); // zeros = {-1}
encapsulated function invariantZeros import Modelica_LinearSystems2.ZerosAndPoles; import Complex; input ZerosAndPoles zp "ZerosAndPoles transfer function of a system"; output Complex Zeros[:] = ZerosAndPoles.Analysis.zerosAndPoles(zp); end invariantZeros;
Date | Author | Comment |
---|---|---|
2010-05-31 | Marcus Baur, DLR-RM | Realization |