Skip to content

Make OneStateOnlyRaoResultImpl more robust #1476

@bqth29

Description

@bqth29

Describe the current behavior

When the RAO returns a OneStateOnlyRaoResultImpl RAO Result, any result query based on a state different from the optimization state will lead to an exception.

However, it is possible tha ta CRAC file contains a CRA and no curative CNECs.

To avoid throwing exceptions, it would be better to return default values when the methods are called on a state different from the optimization state.

Describe the expected behavior

Update the class to return default values.

Describe the motivation

No response

Extra Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions