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

Add computation status to FlowResult #1058

Open pet-mit opened 3 months ago

pet-mit commented 3 months ago

Describe the current behavior

FlowResult does not carry computation status information. We have to use Double.isNaN on flow values to know if loadflow has converged.

Describe the expected behavior

Add a status per state, like with sensitivity results (see FillersUtil line 58 for example of use)

Describe the motivation

Cleaner code

Extra Information

No response