Skip to content
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

Make Adder code more reusable when nesting the creation of network objects. #3143

Open
bc-rte opened this issue Sep 16, 2024 · 0 comments
Open

Comments

@bc-rte
Copy link
Contributor

bc-rte commented Sep 16, 2024

Describe the current behavior

The usual Adder logic can only be used when the parent object is created.

Currently, there are adders created from adders, but their implementation is not standardized (e.g. ReactiveCapabilityCurve's Points). Therefore, reusing their validation code somewhere else isn't easy.

Describe the expected behavior

Code to add a specific object should be usable when that adder can be summoned at different places. For instance, adding a CurrentLimit to a line should be doable from a created Line, but also from a LineAdder while creating the line.

The offered mechanism described in the picture linked is just one possible way to implement this.

Describe the motivation

No response

Extra Information

adder-system-issue-powsybl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant