Closed mzahana closed 4 years ago
Hi, can you detail which version of Python and control package you are using, and in which OS?
@CPCLAB-UNIPI I am using
Thanks.
ok, it may be a problem not related to our Sippy package, but to python-control package.
How is your time vector "t" defined? Is a vector imported from an external source? from a physical device? Note that it seems to be a not perfectly equispaced vector.
When using control.lsim, the time step within time vector t must an exact multiple of the sampling time dt (0.001 in the case of your identified system).
Note that there is also an Issues on the Control repository concerning this error:
"ValueError: Time steps T
must be multiples of sampling time": https://github.com/python-control/python-control/issues/332
For further info you may also contact the control support repository: https://github.com/python-control/python-control
We also recommend you switching to Python 3.x since Python 2.7 official support stops on January 1, 2020: https://www.python.org/dev/peps/pep-0373/
Thanks. I will try to switch to Python3 and check.
Greetings.
I was able to identify a system using ARMAX using the following command
with the following result,
However, when I try to simulate the identified system using the following command,
It gives the following error,
Any ideas on what the problem could be?
Thanks