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

Rao parameters use unit from is dc #1140

Open
wants to merge 6 commits into
base: rao_parameters_remove_curative_stop_criterion
Choose a base branch
from

Conversation

pjeanmarie
Copy link
Member

@pjeanmarie pjeanmarie commented Sep 18, 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)

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

What is the current behavior?

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

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

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

MAX_MIN_MARGIN_IN_MEGAWATT and MAX_MIN_MARGIN_IN_AMPERE are now MAX_MIN_MARGIN
MAX_MIN_RELATIVE_MARGIN_IN_MEGAWATT and MAX_MIN_RELATIVE_MARGIN_IN_AMPERE are now MAX_MIN_RELATIVE_MARGIN
the unit is computed from load-flow-and-sensitivity-computation -> sensitivity-parameters -> load-flow-parameters -> dc
if dc true we have MEGAWATT if false we have AMPERE

Other information:

@pjeanmarie pjeanmarie changed the title Rao parameters use unit from is dc [WIP] Rao parameters use unit from is dc Sep 18, 2024
@pjeanmarie pjeanmarie linked an issue Sep 18, 2024 that may be closed by this pull request
@pjeanmarie pjeanmarie force-pushed the rao_parameters_remove_curative_stop_criterion branch from 22ef4cf to 30c511d Compare September 23, 2024 08:07
@pjeanmarie pjeanmarie force-pushed the rao_parameters_use_unit_from_is_dc branch 3 times, most recently from 5ce3d76 to 1706a08 Compare September 24, 2024 09:10
@pjeanmarie pjeanmarie force-pushed the rao_parameters_remove_curative_stop_criterion branch from 30c511d to 443782c Compare October 1, 2024 09:33
@pjeanmarie pjeanmarie force-pushed the rao_parameters_use_unit_from_is_dc branch from 1706a08 to 7f7e969 Compare October 1, 2024 15:31
@pjeanmarie pjeanmarie force-pushed the rao_parameters_remove_curative_stop_criterion branch 2 times, most recently from dcc85bc to 7d68245 Compare October 2, 2024 13:59
@pjeanmarie pjeanmarie force-pushed the rao_parameters_use_unit_from_is_dc branch 2 times, most recently from b65e806 to 54aa50a Compare October 8, 2024 09:31
@@ -5,21 +5,21 @@

Feature: US 10.1: Linear RAO with relative margin

@fast @rao @mock @ac @preventive-only @relative
@fast @rao @mock @dc @preventive-only @relative
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason you moved from AC to DC? I am affraid this will change the LF results which could alter the test's results

Copy link
Collaborator

Choose a reason for hiding this comment

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

The same question goes for all the other tests, I would rather convert by hand the objective value from MW to A instead of changing the LF computation mode

what do you think @phiedw?

Copy link
Member Author

Choose a reason for hiding this comment

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

This dev will be replaced by a separate unit parameter in rao parameter, then no change in tests behavior is expected.

Pauline Jean-Marie added 3 commits October 28, 2024 11:18
… acceptable)

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
…nsecure' and partially replace them by 'enforce curative security'

NB. Curative min objective does no longer exist and is replaced by Curative have the same objective than the Preventive results

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
@pjeanmarie pjeanmarie force-pushed the rao_parameters_remove_curative_stop_criterion branch from 7d68245 to 9ad0337 Compare October 28, 2024 10:52
Pauline Jean-Marie and others added 3 commits October 28, 2024 15:42
…n 'is DC' otherwise AMPERE from load flow sensitivity parameters

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
…eters

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
…ect Unit

Signed-off-by: Pauline Jean-Marie <pauline.jean-marie@artelys.com>
@pjeanmarie pjeanmarie force-pushed the rao_parameters_use_unit_from_is_dc branch from 54aa50a to 802f70b Compare October 28, 2024 15:03
@pjeanmarie pjeanmarie changed the title [WIP] Rao parameters use unit from is dc Rao parameters use unit from is dc Oct 28, 2024
@pjeanmarie pjeanmarie added breaking-change Changes could break users' code PR : dont-merge-before-other PR mustn't be merged before another (referenced in the description or in the comments) labels Nov 5, 2024
@pjeanmarie pjeanmarie force-pushed the rao_parameters_remove_curative_stop_criterion branch 2 times, most recently from 43b027a to 78c32dc Compare November 15, 2024 11:17
@pjeanmarie pjeanmarie removed PR : dont-merge-before-other PR mustn't be merged before another (referenced in the description or in the comments) breaking-change Changes could break users' code labels Nov 19, 2024
@pjeanmarie pjeanmarie added the experiment This subject is experimental and needs to be discussed thoroughly first label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experiment This subject is experimental and needs to be discussed thoroughly first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make RaoParameters generic
3 participants