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

Add an IIDM import post-processor to fill geographical extensions from ODRE data #2998

Merged
merged 42 commits into from
May 31, 2024

Conversation

HugoKulesza
Copy link
Contributor

@HugoKulesza HugoKulesza commented May 2, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

This PR adds a new ImportPostProcessor that can be used to add geographical data of substations and lines to IIDM network automaticly at the import.
To get the information needed, it uses CSV files that are formatted like the ones that can be obtained on OpenData Réseaux-Energies website for RTE network.

See the documentation: https://powsybl.readthedocs.io/projects/powsybl-core/en/v6.4.0-rc1/grid_features/import_post_processor.html#geographical-data-import-post-processor

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

  • Yes
  • No

HugoKulesza and others added 13 commits March 27, 2024 15:45
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
@HugoKulesza HugoKulesza self-assigned this May 2, 2024
HugoKulesza and others added 5 commits May 2, 2024 12:59
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
HugoKulesza and others added 2 commits May 13, 2024 15:02
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
@HugoKulesza HugoKulesza requested a review from jonenst May 13, 2024 13:27
olperr1 and others added 3 commits May 14, 2024 14:21
Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Copy link
Member

@olperr1 olperr1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be nice to distinguish the generic classes from the ODRE-dependent ones.

The following classes could be shared:

  • the 3 classes of the dto package;
  • in the utils package:
    • DistanceCalculator;
    • GeoShapeDeserializer;
    • InputUtils;
    • LineGraph.
  • OdreGeoDataAdder could be split in 2: the 2 first methods could be shared, while the 2 others are really ODRE-dependent.

Could you introduce an odre subpackage to isolate ODRE-dependent classes and let the other in their current package?

HugoKulesza and others added 5 commits May 24, 2024 09:15
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
iidm/pom.xml Show resolved Hide resolved
docs/geographical_data.md Outdated Show resolved Hide resolved
docs/geographical_data.md Outdated Show resolved Hide resolved
docs/geographical_data.md Outdated Show resolved Hide resolved
docs/geographical_data.md Outdated Show resolved Hide resolved
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
docs/geographical_data.md Outdated Show resolved Hide resolved
docs/geographical_data.md Outdated Show resolved Hide resolved
HugoKulesza and others added 5 commits May 30, 2024 14:55
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
…ssage

Signed-off-by: Olivier Perrin <olivier.perrin@rte-france.com>
Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
Copy link

@olperr1 olperr1 merged commit 1af008c into main May 31, 2024
7 checks passed
@olperr1 olperr1 deleted the geodata branch May 31, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants