-
Notifications
You must be signed in to change notification settings - Fork 438
new iosys.interconnect is great, but... #530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The lack of autosumming is a bug and I can fix that one pretty quickly. Adding a splitter function might also be useful, so I'll probably do that at the same time. For
The idea is that |
🤙
Makes sense.
For the output of an autosumming version of the summing-parallel-systems example above, it makes sense that you would not want the output name be I think I understand now. I am curious to see how it will work in practice with autosumming. |
I’ve reread the text of this issue, and I think the name change is fair enough : ) |
The new naming functionality in
iosys.interconnect
function [1] has allowed me to create some very sophisticated systems much more easily than withappend
andconnect
. So far, no bugs that I have found. Very nice!a few remarks on usage:
inplist
andoutlist
arguments are confusing and tricky. When you are writing code, its easy to forget shortened argument names like this: was itoutplist
oroutlist
? Also, they seem to exist to serve as a means to provide new names to the overall inputs and outputs. Is that a necessary feature? (might have to do with how system was set up for explicit interconnection) Possible to remove them and force the overall system to have the same input names and output names as constituent systems, and instead just provideinputs
andoutputs
kwargs forinterconnect
? (edit: this is what matlab seems to do: https://www.mathworks.com/help/control/ref/connect.html)u
to bothsys1
andsys2
in the following code aValueError: signal u is not unique
is raised:ValueError: signal y is not unique
:I don't know how hard these are to fix, it depends on how the underlying interconnection code works. One option would be to just modify the docs to remove mention of auto splitting and summing and add a helper splitter functoin:
[1]
python-control/control/iosys.py
Line 1850 in 73f65df
The text was updated successfully, but these errors were encountered: