powsybl / powsybl-open-rao

A toolbox based on powsybl framework dedicated to power systems coordinated capacity calculation and security analysis projects
Mozilla Public License 2.0
15 stars 6 forks source link

Add a border attribute to cnecs #1017

Closed phiedw closed 4 months ago

phiedw commented 4 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Feature

What is the current behavior?

Cnecs do not have a border attribute

What is the new behavior (if this is a feature change)? They now do (FlowCnecs, VoltageCnecs and AngleCnecs)

Does this PR introduce a breaking change or deprecate an API?

What changes might users need to make in their application due to this PR? (migration steps)

They may now add adapt importers to add the border information if they so wish.

Other information:

This is done for the cse swa process, where the dichotomy algorithm needs to know to which border each cnec belongs to, to know where to do counter trading.

phiedw commented 4 months ago

Documentation needs to be added.

phiedw commented 4 months ago

The csa importer could probably be updated as well to start using this.