Skip to content

Conversation

@rcourtier
Copy link
Member

@rcourtier rcourtier commented Dec 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?

In between bug fix and feature.

What is the current behavior?

CGMES conversion imports first the EQ file, and then updates the network with SSH and/or SV files. To prevent unnecessary code execution, the update is being done only if a SSH and/or SV file is detected. But when the header of the SSH/SV file is not complete and the md:FullModel element is missing some attributes (like md:Model.created or md:Model.scenarioTime or md:Model.version), the fullModels SPARQL query doesn't return a result. As a consequence, the network is not updated with SSH/SV values and stays in EQUIPMENT validation level.

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

The fullModels query is less restrictive and returns a result even when the following attributes are missing:

  • md:Model.description
  • md:Model.scenarioTime
  • md:Model.created
  • md:Model.version

In other words, only the id, modeling authority set and profile(s) are required.

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

  • Yes
  • No

Other information:

@rcourtier rcourtier force-pushed the cgmes_fullmodel_query_less_restrictive branch from f6f7eb2 to ae04b35 Compare December 19, 2025 19:13
@rcourtier rcourtier moved this from TODO to Waiting for review in Release 03/2026 Dec 19, 2025
olperr1
olperr1 previously approved these changes Dec 31, 2025
@github-project-automation github-project-automation bot moved this from Waiting for review to Approved in Release 03/2026 Dec 31, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Approved

Development

Successfully merging this pull request may close these issues.

3 participants