FFFF
Skip to content

Allow creating CNECs without thresholds #1682

@bqth29

Description

@bqth29

Describe the current behavior

When creating a new CNEC through the CracImplFactory, a CNEC must necessarily have a threshold defined otherwise the builder with throw an exception.

Describe the expected behavior

The user should be able to create a CNEC without any threshold and later add thresholds using a new newThreshold method.

Describe the motivation

More flexible creation API.

Extra Information

See how code can be put in common with the adders from the factory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0