-
Notifications
You must be signed in to change notification settings - Fork 8
Active Power Distribution: better reports severities when residual mismatch remains #1215
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: PRABAKARAN Sylvestre <[email protected]>
Signed-off-by: PRABAKARAN Sylvestre <[email protected]>
Signed-off-by: PRABAKARAN Sylvestre <[email protected]>
Signed-off-by: PRABAKARAN Sylvestre <[email protected]>
Hello, we also have these report methods for AIC : powsybl-open-loadflow/src/main/java/com/powsybl/openloadflow/util/Reports.java Lines 195 to 209 in c8b3a56
But they are used in case of a mismatch higher than the threshold, not the epsilon. We could maybe also add a report for residual mismatch here but I am not sure it is very necessary, do you have an opinion on that ? |
@vmouradian The main driver for this PR was a report with Error severity inside a successulf loadflow computation. |
You are rigth, it is very similar to the situation when |
Hello @vmouradian , yes as @vidaldid-rte says, the main aim of this PR was to have the adequate level of severity for the report. We also found it counfising to compare with I don't know if it is necessary to have the same information for the usecase of AIC. If you are not sure, maybe we can leave it as it is. I just changed the severity level of the report. |
Signed-off-by: PRABAKARAN Sylvestre <[email protected]>
|
I suggest that we wait for #1216 (report internationalization) to be merged before merging this PR so that we can refactor the new reports of this PR too. |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
Reporting slack bus mismatch is slightly changed, to avoid confusion for users :
What is the current behavior?
Whenever there is a slack mismatch after distribution, even if it is residual, a report is sent with ERROR severity
What is the new behavior (if this is a feature change)?
When slack mismatch remains, the report showing this slack distribution failure is sent only if the mismatch exceeds
slackBusPMaxMismatch
.The severity of this report is now set to WARN, because there are cases where remaining mismatch happen without a failing load flow.
A new report with DEBUG severity is sent when slack distribution fails but the mismatch is residual (lower than
slackBusPMaxMismatch
)Severity of the corresponding reports for AreaInterchangeControl have also been modified from ERROR to WARN
Does this PR introduce a breaking change or deprecate an API?