[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) |
Hi,
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'};
inname_ol={'vdcref','vdc','qacref','qac','vacref','vac','fmeas','pdcref','paux','FSMcoordpos'};
outname_ol={'idref','iqref'};
sys_ol = ss
(A_ol,B_ol,C_ol,D_ol,'stname',stname_ol,'inname',inname_ol,'outname',outname_ol);*/
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- problem while obtaing matrixes into symbolic format,
Beginner1 <=