Python: Identifying a State Space Model for a System

Ahmed J picture Ahmed J · Jun 8, 2016 · Viewed 8.6k times · Source

I am looking to obtain a state space model for a system I have, using python.

I have tested the actual system, so I have the inputs to it and I have measured the outputs. so I have sets of corresponding inputs and outputs.

Is there a function somewhere, for python, where I can supply the function with the set of inputs and outputs of the system, and the function will then provide me with a state space model that represents the system?

Answer

EOGA picture EOGA · Apr 7, 2018

I tried this package available on GitHub: SIPPY (Systems Identification Package for PYthon).

It works well and it is quite simple to use. There are many identification algorithms that can be used for state-space models (N4SID, MOESP, CVA, PARSIM methods). I think it's the most complete code available in Python.