-
Notifications
You must be signed in to change notification settings - Fork 31
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
[FEATURE] asymmetric implementation of generic_branch #739
Comments
Hi @petersalemink95, Our suggestion would be to derive each of the different asymmetric types from the GenericBranch class and map them as a new ComponentType. E.g. a GenericBranchLine, GenericBranchTransYNyn, etc. Each of the derived classes would have its own implementation for calculating the asymmetric variables and its own input. Would that be a suitable solution? We would then implement GenericBranchLine and GenericBranchTransYNyn in our fork, if that is ok. You are welcome to make suggestions for naming the new components. |
maybe |
Hi @sudo-ac, thanks for the suggestion. If we define so many For now, is it sufficient for you @sudo-ac to first implement the symmetric |
@TonyXiang8787 added it as an option to this issue. @sudo-ac Thanks for the suggestion! As @TonyXiang8787 mentioned we might need to think a bit longer about the best solution. Would just implementing symmetric calculations for now suit your need? Your proposal would still be valid if we decide to implement that in a later stage if we implement only the symmetric calculations now. |
Thank you for the responses. We will first proceed with creating the merge request (though I’m currently on vacation :-)). Another idea would be to provide helper classes for calculating asymmetric parameters. The user would need to instantiate the appropriate helper class (e.g., The helper class object would register itself with a unique ID in a singleton class. The Class Diagram Description:
This is, of course, just a suggestion, and the final decision remains with the PGM team. |
Thanks for all the input @sudo-ac! We will include your latest suggestions in further discussions about the asymmetric generic branch. |
Hi @petersalemink95 |
Hi @sudo-ac, Thanks for working out your idea! Let's keep this issue open, so further discussions can take place here. |
For the discussions about
generic_branch
see #729.The asymmetric implementation is more difficult and needs more thinking. Some options could be:
GenericBranchLine
,GenericBranchTransYNyn
, etc. With many generic implementations, it is not so generic anymore.The text was updated successfully, but these errors were encountered: