Skip to content

Rework nodes mapping to allow export of isolated nodes #3372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rcourtier
Copy link
Member

@rcourtier rcourtier commented Mar 19, 2025

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • A PR or issue has been opened in all impacted repositories (if any)

Does this PR already have an issue describing the problem?

No.

What kind of change does this PR introduce?

Fix.

What is the current behavior?

The node of an isolated IIDM equipment (a connectable not linked to any other element either through switch or internal connection) isn't exported to CGMES. This leads to a cardinality issue in the CGMES EQ file where the terminal of the isolated equipment doesn't have a ConnectivityNode association.

What is the new behavior (if this is a feature change)?

The node of an isolated IIDM equipment is exported to CGMES.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Other information:

Nodes are now exported in order of their number. This shall ensure that nodes are exported in the same order they have been imported and thus in the case of a round-trip import/export the numbers should be the same.

@rcourtier rcourtier force-pushed the export_isolated_nodes branch from 95ddb6a to 2c2a508 Compare March 26, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants