Sometimes ss2sim (via LinearSystem) will destabilize sys when discretizing it with the given dt. This occurs for larger order delays that are not properly balanced / normalized. A workaround is to supply dt=None. It would be better to gracefully detect and handle this problem automatically, since it's not always apparent that something is going to go wrong.
Sometimes
ss2sim
(viaLinearSystem
) will destabilizesys
when discretizing it with the givendt
. This occurs for larger order delays that are not properly balanced / normalized. A workaround is to supplydt=None
. It would be better to gracefully detect and handle this problem automatically, since it's not always apparent that something is going to go wrong.