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
17 stars 6 forks source link

Harmonize I/O APIs for CRAC and RaoResult with PowSyBl's Network #1040

Closed bqth29 closed 4 months ago

bqth29 commented 5 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem? Fixes #891

To import / export a CRAC file, you can now do Crac.read(...) / Crac.write(...) and the same for RaoResult.

:warning: Artifact "open-rao-crac-io-api" has been removed

pet-mit commented 4 months ago

Maybe we can push this even further and extend it to native CRAC formats. However, the "read" method would then have to return a CracCreationContext. What do you think @phiedw?

pet-mit commented 4 months ago

Maybe we can push this even further and extend it to native CRAC formats. However, the "read" method would then have to return a CracCreationContext. What do you think @phiedw?

let's do it in another PR