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

[WIP] Add a parameter to force targetQ within reactive limits #1154

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

vidaldid-rte
Copy link
Collaborator

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?
No

What kind of change does this PR introduce?
In some situations group reactive limits are more trusted that group targetQ
This PR adds a parameter forceTargetQInReactiveLimits . When this parameter is set to true and a generator's targetQ is outside the limit, the targetQ is set to the nearest possible value in the PQ diagram.

What is the current behavior?
targetQ has more priority than reactive limits

What is the new behavior (if this is a feature change)?
By default, targetQ has more priority than reactive limits. But if you set the forceTargetQInReactiveLimits parameter to true, reactiveLimits have more priority than targetQ.

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

  • Yes
  • No

Signed-off-by: PRABAKARAN Sylvestre <[email protected]>
@SylvestreSakti
Copy link
Contributor

Thank you for this PR, I added a small doc paragraph for the introduced parameter.

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