Path: blob/master/CH09/CH09_SEC02_2_BalancedTruncation.ipynb
597 views
Kernel: Python 3
In [149]:
In [150]:
In [152]:
Out[152]:
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-152-ccc8d3fe306c> in <module>
4 # hsvs = hsvd(sysFull_stable) # Hankel singular values
5 # hsvs = hsvd(sysFull)
----> 6 Wo = gram(sysFull,'o')
C:\ProgramData\Anaconda3\lib\site-packages\control\statefbk.py in gram(sys, type)
482 # or a method of the StateSpace class?
483 if np.any(np.linalg.eigvals(sys.A).real >= 0.0):
--> 484 raise ValueError("Oops, the system is unstable!")
485
486 if type=='c' or type=='o':
ValueError: Oops, the system is unstable!
In [63]:
Out[63]:
C:\ProgramData\Anaconda3\lib\site-packages\slycot\analysis.py:1036: UserWarning: with ordsel = 'F', the selected order nr is less than the order of the alpha-unstable part of the given system. In this case nr is set equal to the order of the alpha-unstable part.
order of the alpha-unstable part.")
In [143]:
In [148]:
Out[148]:
In [ ]: