-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix small reference flow values instead of strict zero #828
Conversation
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
How to solve this? The way post contingency reference flows are calculated in a DC sensi analysis make it quite logic to not have strict zero values but a very small values (like 1e-13) because it is calculated from the pre-contingency reference flow substracted from contingency lost flow * sensi. So we cannot really end up to a perfect zero. |
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
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?
Bug fix
What is the current behavior?
When computing the post contingency reference flow of a line which is in series with another line which is itself the contingency, we would expected to post contingency active power flow to be zero. Instead we have a very small value.
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API?
Other information: