Repository navigation
Replies: 1 comment
Correct. 'f.r' and 'c.e' are subsystem inputs. You have to connect them to the system input with Q =(
('g.u','f.uf','c.uc'),
('s.si','g.ym'),
('c.e','-s.y')
)
sys=control.InterconnectedSystem((f_io,g_io,c_io,s_io),
connections=Q,
inputs=('sys_in'), inplist=[['f.r', 'c.e']],
outputs=('sys_out'), outlist=['g.ym'])I = control.tf([1],[1])
i_io = control.tf2io(I, name='i', inputs='ii', outputs='ir')
Q2 =(
('g.u','f.uf','c.uc'),
('s.si','g.ym'),
('c.e','-s.y','i.ir'),
('f.r', 'i.ir'),
)
sys2=control.InterconnectedSystem((f_io,g_io,c_io,s_io,i_io),
connections=Q2,
inputs=('sys_in'), inplist=['i.ii'],
outputs=('sys_out'), outlist=['g.ym']) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions