Is the n4sid model an LTI model?

I have a prediction model derived by n4sid.
when I set the variables with setmpcsignals for MPC controller, it is warned "The first input argument of the "setmpcsignals" command must be a non-empty "lti" object".
Isn't an idss model LTI?

3 Commenti

LEI CAO
LEI CAO il 12 Apr 2012
My model is a 5-input-3-output state-space model which can be opened in LTI viewer. And I simulated the MPC controller in MPC tool GUI.
Now I would try with an arbitary distuabance other than step, sine or gaussian specified in MPC tool. But when I use "setmpcsignals" to define the variables, it still gives the alarm...
What could be the possible reason?
LEI CAO
LEI CAO il 12 Apr 2012
I guess the problem is in the matrix K.
The idss model is
x(t+Ts)=Ax(t)+Bu(t)+Ke(t)
y(t)=Cx(t)+Du(t)+e(t)
The matrix D=0, K is not zero.
When I set K=0, the alarm doen't occur any more. But the model is not good enough then.
Is there any mothod to overcome this issue?
What matlab release are you using? Could you post some reproduction steps? As such, an estimated idss model should be usable in MPC and you should not have to set K to zero.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Model Predictive Control Toolbox in Centro assistenza e File Exchange

Richiesto:

il 12 Apr 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by