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

Participating parameter in LfBus/LfGenerator #211

Merged
merged 11 commits into from
Feb 2, 2021
Merged

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Feb 1, 2021

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • 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? (Bug fix, feature, docs update, ...)
Feature

What is the current behavior? (You can also link to an open issue here)
One should keep track through lists if a LfGenerator / LfBus is participating or not to power control

What is the new behavior (if this is a feature change)?
LfGenerator and LfBus have a parameter to indicate if they participate or not

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

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@flo-dup flo-dup requested a review from annetill February 1, 2021 15:54
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
@annetill annetill changed the title [WIP] Participating parameter in LfBus/LfGenerator Participating parameter in LfBus/LfGenerator Feb 2, 2021
Copy link
Member

@geofjamg geofjamg left a comment

Choose a reason for hiding this comment

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

This is confusing with the participating of LfGenerator. What does it means compared to the generator one?
If the idea is to use it when a bus is not anymore in the component to skip it in the active power participation, why not just call it like 'separated' or 'disconnected' or something related to the fact it is not attached to the component?

annetill and others added 5 commits February 2, 2021 10:22
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
@annetill annetill requested a review from geofjamg February 2, 2021 09:47
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Copy link
Contributor Author

@flo-dup flo-dup left a comment

Choose a reason for hiding this comment

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

@annetill I'm ok with your changes (can't approve as I'm the author!)

@@ -105,6 +105,7 @@ SecurityAnalysisResult runSync(SecurityAnalysisParameters securityAnalysisParame

LoadFlowParameters lfParameters = securityAnalysisParameters.getLoadFlowParameters();
OpenLoadFlowParameters lfParametersExt = OpenLoadFlowProvider.getParametersExt(securityAnalysisParameters.getLoadFlowParameters());
lfParametersExt.setThrowsExceptionInCaseOfSlackDistributionFailure(false); //FIXME
Copy link
Contributor Author

@flo-dup flo-dup Feb 2, 2021

Choose a reason for hiding this comment

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

Could you still add a description to this fixme?

Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
@annetill annetill merged commit e537d71 into master Feb 2, 2021
@annetill annetill deleted the is_participating branch February 2, 2021 14:11
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.

3 participants