[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem while obtaing matrixes into symbolic format

From: Beginner1
Subject: problem while obtaing matrixes into symbolic format
Date: Wed, 3 Oct 2018 12:13:44 -0500 (CDT)

I want to obtain the system defined by its state-space matrixes (A_ol,
B_ol,C_ol and D_ol) into symbolic format. The parameters these matrixes
depend on have specific values but in the current case I want to obtain the
A_ol, B_ol,C_ol and D_ol matrixes into symbolic. However, Octave gives an
error saying:
error: lti: set: key 'lti' requires an LTI model
error: called from
    set at line 135 column 13
    ss at line 249 column 9
    trysimbols_m at line 46 column 10

And it is a linear time invariant model. Any advice to solve this?

/*pkg load symbolic
pkg load control 

syms kv Tv kq Tq kdroop_AC FSM_slope enable 

  %Outer loop:Vdc-Q
   A_ol=[0 0;0 0];
  B_ol=[-kv/Tv kv/Tv 0 0 0 0 -kv*FSM_slope*enable/Tv kv*enable/Tv
-kv*enable/Tv kv*enable/Tv;0 0 kq/Tq -kq/Tq -(kq/Tq)*kdroop_AC
(kq/Tq)*kdroop_AC 0 0 0 0];
  C_ol=[1 0;0 1];
  D_ol=[-kv kv 0 0 0 0 -kv*FSM_slope*enable kv*enable -kv*enable kv*enable;0
0 kq -kq -kq*kdroop_AC kq*kdroop_AC 0 0 0 0];

 %Outer loop
  stname_ol = {'xv','xq'};
  sys_ol = ss


Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]