How to solve the generalized Lyapunov equation of badly conditioned systems?

2 次查看(过去 30 天)
Dear community,
I am trying to determine the controllability and observability Gramians of large sparse descriptor systems
using the Generalized lyapunov equations, such as
Controllability Gramian.
MATLAB can either solve the direct Gramian (using lyap) or its cholesky factor (using gram or lyapchol). The problem I encounter is that, although my system is stable upon evaluation of the eigenvalues (all negative real part), these functions all return the error that the system is unstable and therefore cannot be solved.
An alternative approach is to convert to system to standard statespace, by
which does in fact allow me to solve the Lyapunov equation, but requires an additional inverse. In addition, these structural models often have a badly conditioned E matrix, making the inverse unreliable.
Would you have a suggestion on how to approach this problem most succesfully? I've attached some test that I did to compare different approaches for a set of models. The results, in terms of the norm of the residual, are also included.
Thank you!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Computations 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by