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

Make use of JsonCracCreationContext #1083

Open pet-mit opened 2 months ago

pet-mit commented 2 months ago

Describe the current behavior

JsonCracCreationContext has been created in #1069 but is not generally used in Json CRAC import. For instance, CRAC import fails when an extension is met.

Describe the expected behavior

Make use of this object and avoid throwing exceptions during import: instead, import information that is correct and log issues in JsonCracCreationContext.

Describe the motivation

Cleaner code, more robust Json CRAC importer

Extra Information

No response