
F = control.tf([1], [1, 1])
G = control.tf([100], [1, 5, 100])
C = control.tf([20, 20, 1200], [1, 40, 400, 0])
S = control.tf([10], [1, 10])
f_io = control.tf2io( F, name='f', inputs="r",outputs="uf")
g_io = control.tf2io(G, name='g', inputs="u", outputs="ym")
c_io = control.tf2io(C, name='c', inputs="e", outputs="uc")
s_io = control.tf2io(S, name='s', inputs="si", outputs="y")
Q =(
('g.u','f.uf','c.uc'),
('s.si','g.ym'),
('c.e','f.r','-s.y')
)
sys=control.InterconnectedSystem((f_io,g_io,c_io,s_io),
connections=Q,inplist=('f.r'),inputs=('sys_in'),outlist=('g.ym'),outputs=('sys_out'))
IndexError: index 4 is out of bounds for axis 1 with size 4
bug in here: ('c.e','f.r','-s.y')
I think 'f.r' can not be connections's outputlist ,because it is f_io's input. But how to make it.Thank you.
release 0.8.3
IndexError: index 4 is out of bounds for axis 1 with size 4
bug in here: ('c.e','f.r','-s.y')
I think 'f.r' can not be connections's outputlist ,because it is f_io's input. But how to make it.Thank you.
release 0.8.3