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
Redesign the Pyomo Connector component #375
Comments
It would be very useful for the IDAES project if there was some way to store the direction of a connector. Maybe if the connection constraints could have some deterministic ordering of connectors in the expression. The direction doesn't really mean anything for Pyomo, but in displaying process flowsheets and sequential modular initialization it is important. |
We could have an IDAES subclass of Connector that stores the directionality information? |
If we had directional connectors that would also solve the problem. Just define them as in or out. I kind of prefer the direction to be attached to the constraint, but I don't have a solid reason for that. If labeling connectors in/out is best way to handle it, I can create a IDAES issue and we can cross my comment off the list. |
I believe most of these issues will be solved by the new pyomo network Port/Arc package in #583. I would like to update this collection of issues and close what we can when the merge happens, but I also want to make sure these issues are actually solved, so please reply if you think some of these will not be resolved by the new system. #91, #96 will definitely be solved because the Arc expander only expands active Arcs and then deactivates them afterwards #107 will definitely be solved because the new transformation does not encounter this bug, for which I opened #618 #128 I'm pretty sure will be solved if I understood @blnicho correctly, since the new constraints are indexed by the same sets as the variables in the ports #227 I'm not sure. I think this will be fixed by @jsiirola's slice thing he's working on? #297 I'm not sure. The classes and methods are pretty well documented in the code, but I assume someone wants to me to put an rst file on sphinx so I guess I can throw one together #523 will probably be fixed, or it'll at least be addressed since the new transformation has performance improvements and advantages over the old Connector expander #376 does not appear to be relevant to connectors so I'll assume that was a typo #290 has several issues in it:
|
Just pinging @andrewlee94. He would be interested, and doesn't appear to be a participant in this issue yet. |
Well if you want to test them and see if they're still issues, then we can close as appropriate. |
Completed with #655 |
We have started accumulating a number of documented issues with the current implementation of Connector components. This issue is an umbrella issue to track them, as well as centralize discussion around a redesign of the Connector component.
Known Connector issues:
Support initialize=True/False for Disjuncts #376The text was updated successfully, but these errors were encountered: