Skip to content
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

Fix CGM export dependencies issues #3128

Merged
merged 6 commits into from
Sep 16, 2024

Conversation

rcourtier
Copy link
Contributor

@rcourtier rcourtier commented Sep 3, 2024

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)

What kind of change does this PR introduce?
Bug fix

What is the current behavior?
Currently, when the user performs a CGM export by setting the CGM_EXPORT parameter to true, a common SV model is exported for the main network and updated SSH models for the subnetworks.
However, it has been reported that 2 dependencies are missing:

  • The common SV model should be dependentOn the original TP_BD model(s).
  • Each of the updated SSH should be dependentOn the original EQ model.

What is the new behavior (if this is a feature change)?
The missing dependencies have been added.
Note that if the same TP_BD model is used by multiple IGM (which is most likely the case), it will appear only once in the SV model as a dependentOn. Also, if the TP_BD model is provided both through the parameter and via the network extension, the parameter will prevail.

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

  • Yes
  • No

Other information:

… CGM export

Signed-off-by: Romain Courtier <romain.courtier@rte-france.com>
@rcourtier rcourtier changed the title Fix CGM export Fix CGM export dependencies issues Sep 3, 2024
Signed-off-by: Romain Courtier <romain.courtier@rte-france.com>
Signed-off-by: Romain Courtier <romain.courtier@rte-france.com>
…ependencies, and prevails on the CgmesMetadataModel network extension if both are present

Signed-off-by: Romain Courtier <romain.courtier@rte-france.com>
Copy link

sonarcloud bot commented Sep 13, 2024

@annetill annetill merged commit 8aff9a3 into main Sep 16, 2024
7 checks passed
@annetill annetill deleted the cgmes_cgm_export_fix_dependencies_issues branch September 16, 2024 06:28
geofjamg pushed a commit that referenced this pull request Sep 18, 2024
Signed-off-by: Romain Courtier <romain.courtier@rte-france.com>
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.

3 participants