Skip to content

NaN nominal voltages and A thresholds #1276

Open
@phiedw

Description

@phiedw

Describe the current behavior

If a nominal voltage is NaN in the json crac, the margins in A are infinite. This causes issues if trying to export margins in A or optimizing in A.

Describe the expected behavior

If the nominal voltage is not present in the crac file, we can use the network nominal voltage to convert from MW to A.

Describe the steps

  • Create a crac with a cnec that has a MW threshold and NaN nominal voltage
  • Optimize in A or try to export A margins

Environment

No response

Relevant Log Output

No response

Extra Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions