Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues for larger state space models #101

Open
jamestjat opened this issue Jul 6, 2024 · 2 comments
Open

Performance issues for larger state space models #101

jamestjat opened this issue Jul 6, 2024 · 2 comments

Comments

@jamestjat
Copy link

Statespace models are too slow in creation and method calls when A matrix order is ~1900. have attached two sets of matrices to reproduce the issue.
ssm_a.zip
ssm_w.zip

@ilayn
Copy link
Owner

ilayn commented Jul 7, 2024

Oh my, I didn't know I have users for this library. You are right, typically this is not made for large arrays since most operations are O(n**3) or more (I hope you are not using 1900th order Transfer Functions 😃 ) . I am planning to come back to this and perform a rewrite but most of my time is going to SciPy these days.

After we finally finish off scipy/scipy#18566 I am hoping to do the overhaul. In the meantime, you can maybe give python-control a try ?

@jamestjat
Copy link
Author

I am working with a large MIMO model that has 26 inputs and 36 outputs. The individual models within this system are at most 4th order. Deadtime in the models is stored as perfectly cancelling poles and zeros.

I tried using the python-control library, and it is working fine for my needs. Initially, I was looking for a way to avoid compiling Slycot, but I am now comfortable proceeding with it using Windows subsystem for Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants