Skip to content

failure to construct proper and stable approximate inverse #21

@baggepinnen

Description

@baggepinnen

The following error is surprising to me, I am trying to find a stable approximate inverse $R$ to the system $P$ (finding approximate solution $P R \approx T_r$) using the function grasol and I have ensured that $T_r$ has higher order than $P$ so that $R$ will be proper. I'm not finding a way to accomplish this, what am I missing?

P = let
    tempA = [-127.71761592895362 33.740472583436485 18.69926152087514 16.2653468435812 -60.8537683435043 -27.663561859737232; 33.599695985371504 -18.33957948184755 5.435950763181253 6.438453963791473 -50.57194688335815 -10.88056707117063; 0.0 -9.984850557442169 5.909777138354576 9.645266687309263 -28.204903435199924 39.84215207598821; 0.0 0.0 -3.200344495993629 -2.3302121892316534 21.190934019367457 53.843586702867505; 0.0 0.0 0.0 -0.09447508503844063 -5.45325278997154 -22.807939980462518; 0.0 0.0 0.0 0.0 0.21710913034924129 0.41541933413572085]
    tempB = [-6.380782719358301; 0.0; 0.0; 0.0; 0.0; 0.0;;]
    tempC = [0.0 2.1420348851324356 -0.7829492912082094 -2.8288802598425318 -1.5366043434257315 0.17412523537137548]
    tempD = [0.0;;]
    dss(tempA, tempB, tempC, tempD)
end

Tr = let
    tempA = [-388.88888888888886 -253.18287037037038 -183.14733099708505 -79.49102907859596 -41.401577645102066 -23.959246322397036 -11.884546786903291; 256.0 0.0 0.0 0.0 0.0 0.0 0.0; 0.0 128.0 0.0 0.0 0.0 0.0 0.0; 0.0 0.0 128.0 0.0 0.0 0.0 0.0; 0.0 0.0 0.0 64.0 0.0 0.0 0.0; 0.0 0.0 0.0 0.0 32.0 0.0 0.0; 0.0 0.0 0.0 0.0 0.0 16.0 0.0]
    tempB = [4.0; 0.0; 0.0; 0.0; 0.0; 0.0; 0.0;;]
    tempC = [0.0 0.0 0.0 0.0 0.0 0.0 2.971136696725823]
    tempD = [0.0;;]
    dss(tempA, tempB, tempC, tempD)
end

R, info = grasol(P, Tr)
dss2ss(R)
julia> dss2ss(R)
ERROR: The system is possibly improper: try with simple_infeigs = false

julia> dss2ss(R, simple_infeigs = false)
ERROR: controllable higher order infinite eigenvalues present

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions