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

handle load in merit order conversion #130

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

TheoPascoli
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)

What is the current behavior?
In the merit order conversion, everything that is not a generator is considered a dangline line. I had the case where a load would be seen as a dangline line and would trigger a null pointer exception

What is the new behavior (if this is a feature change)?
I add a check to verify if a glskShiftKey is a generator, a load, or a dangline line

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

  • Yes
  • No

Signed-off-by: Theo Pascoli <theo.pascoli@rte-france.com>
Signed-off-by: Theo Pascoli <theo.pascoli@rte-france.com>
Copy link

@TheoPascoli TheoPascoli requested a review from phiedw January 10, 2024 12:48
@phiedw phiedw merged commit 38f420b into main Jan 10, 2024
6 checks passed
@phiedw phiedw deleted the handle-load-in-merit-order-conversion branch January 10, 2024 13:05
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.

4 participants