Skip to content
/ SIPPY Public
forked from CPCLAB-UNIPI/SIPPY

Systems Identification Package for PYthon

License

Notifications You must be signed in to change notification settings

don4get/SIPPY

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to SIPPY!

Systems Identification Package for PYthon (SIPPY)

The main objective of this code is to provide different identification methods to build linear models of dynamic systems, starting from input-output collected data. The models can be built as transfer functions or state-space models in discrete-time domain. The Python user has many options in terms of identification algorithms and in terms of settings to look for the best model. It is originally developed by Giuseppe Armenise at the Department of Civil and Industrial Engineering of University of Pisa under supervision of Prof. Gabriele Pannocchia. The identification code is distributed under the LGPL license, meaning the code can be used royalty-free even in commercial applications. The developed code is quite simple to use and, having default settings, it can be used by beginners but also by experts, having many adjustable settings that can be changed according to the particular case. Furthermore, there are some functions that the user can use, e.g. to test if the identified system follows the plant data. The two main structures (ARX and ARMAX) of input-output models are proposed, both in the SISO case, for which the information criteria are available, and in the MIMO case. For the state space model structure, different algorithms are available (also with the information criteria):

  • N4SID;
  • MOESP;
  • CVA;
  • PARSIM-S;
  • PARSIM-P;
  • PARSIM-K.

Installation and package content

The code has been implemented in Python 2.7, compatible with Python 3.6, (download it here) and requires the following packages: NumPy, SciPy, control, math, Slycot, Future (See installation instruction here). The Slycot package is available here or alternatively the binaries can be found here.

In order to make the installation easier, the user can simply use the quick command python setup.py install in order to gather all the required packages all together.

SIPPY is distributed as packed file SIPPY.zip (download it from here) that contains the following items:

  • user_guide.pdf: documentation for Identification_code usage.
  • SIPPY/__init__.py: main file containing the function that has to be recalled to perform the identifications.
  • Examples/armaxMIMO.py: example of usage of the Identification_code for ARMAX systems (multi input-multi output case).
  • Examples/arxMIMO.py: example of usage of the Identification_code for ARX systems (multi input-multi output case).
  • Examples/armax.py: example of usage of the Identification_code for ARMAX systems (single input-single output case, using the information criteria).
  • Examples/SS.py: example of usage of the Identification_code for State-space systems.
  • SIPPY/functionset.py: file containing most of the functions used by the identification functions and other useful functions (see the user_guide for the usage).
  • SIPPY/functionsetSIM.py: additional functions used by the Subspace identification functions and other useful functions for state space models (see the user_guide for the usage).

In the folder SIPPY/ there are other files .py, that are called by the main file, so the user has not to use them.

About

Systems Identification Package for PYthon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%