powsybl / powsybl-core

A framework to build power system oriented software
https://www.powsybl.org
Mozilla Public License 2.0
126 stars 41 forks source link

Undefined permanent limit #1365

Open mathbagu opened 4 years ago

mathbagu commented 4 years ago

In #1360, a fix has been done in the CGMES importer to initialize the permanentLimit is its undefined, but I wonder if this fix should be put in the IIDM implementation. This would be a breaking change, except if we initialize the permanentLimits with the lower temporaryLimit as it's done in #1360.

(if a question doesn't apply, you can delete it)

annetill commented 3 years ago

@MioRtia Does the PR #1359 resolves this issue?

miovd commented 3 years ago

@annetill No, it does not because it breaks some compatibility on CGMES import but the code is commented in ValidationUtil.checkPermanentLimit