Skip to content

Ignore duplicated equipment in by filter modifications - #246

Merged
EtienneLt merged 4 commits into
mainfrom
ignored-duplicated-equipment-for-by-filter
Oct 14, 2026
Merged

EtienneLt merged 4 commits into
mainfrom
ignored-duplicated-equipment-for-by-filter

Conversation

@EtienneLt

Copy link
Copy Markdown
Contributor

PR Summary

need to adapt network modification server tests

Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
@EtienneLt EtienneLt self-assigned this Oct 7, 2026
@coderabbitai

coderabbitai Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1b065da0-23c6-4c89-8a94-01e0aca6ec82
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

assertEquals(75, twt1.getG(), 0);
assertEquals(25, twt1.getRatedU1(), 0);
assertEquals(10, twt1.getRatedU2(), 0);
assertEquals(44, twt1.getRatedS(), 0);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logical because twt1 is in filter 1 and in filter 2

Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>

@etiennehomer etiennehomer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a similar problem with generation dispatch and duplicated equipment and different distribution key

network.modification.distributionKeys.missingEquipmentKey = Ventilation mode could not be applied: at least one equipment is missing a distribution key
network.modification.distributionKeys.unexpectedSum = Ventilation mode could not be applied: the total of the distribution keys of the selected equipment is zero
network.modification.distributionKeys.valid = Variation distribution keys have been validated
network.modification.distributionKeysNotFound = This mode is available only for equipment with distribution key

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed ?

network.modification.distributionKeys.missingEquipmentKey = Ventilation mode could not be applied: at least one equipment is missing a distribution key
network.modification.distributionKeys.unexpectedSum = Ventilation mode could not be applied: the total of the distribution keys of the selected equipment is zero
network.modification.distributionKeys.valid = Variation distribution keys have been validated
network.modification.distributionKeysNotFound = This mode is available only for equipment with distribution key

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed ?

@etiennehomer etiennehomer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a similar problem with generation dispatch and duplicated equipment and different distribution key

Signed-off-by: Etienne LESOT <etienne.lesot@rte-france.com>
@sonarqubecloud

Copy link
Copy Markdown

@EtienneLt
EtienneLt merged commit 30d9f43 into main Oct 14, 2026
5 checks passed
@EtienneLt
EtienneLt deleted the ignored-duplicated-equipment-for-by-filter branch October 14, 2026 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants