Skip to content

Import NC Profile crac in pypowsybl #1202

@Godelaine

Description

@Godelaine

Describe the current behavior

We can only import internal RAO crac format, ie json crac

Describe the expected behavior

We want to be able to import a NC Profile type CRAC, ie Crac.from_file_source method shall be extended to be able to work in the following situations:

This function will be mapped to the Java functions for importing nc cracs, see here: https://github.com/powsybl/powsybl-open-rao/tree/main/data/crac/crac-io/crac-io-nc. Unit tests per profile type exist in Java, they could be zipped together to create a complete test case in pypowsybl.

Dev steps:

  • be able to read a nc crac creation parameters json file to be able to correctly call nc profile importer. In future developments, we'll probably be importing different types of cracs with different extensions of crac creation parameters.
  • mapping functions to bind java nc profile importer
  • unit testing

This development will be based on developments in java to clean nc profile importer, see powsybl/powsybl-open-rao#1698

Describe the motivation

No response

Extra Information

No response

Metadata

Metadata

Assignees

Labels

Release 06/2026raoThis issue or PR relates to the Python API of OpenRAO

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions