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

Do not ouptut individual load parameters if not in original network #112

Merged
merged 3 commits into from
Mar 4, 2024

Conversation

wperkins
Copy link
Collaborator

Merge request type

  • Resolves bug

Relates to

  • OPFLOW

This MR updates

  • Header files
  • Source code

Summary

Load shedding parameters can be individually by each load using the mpc.loadcost field in the MATPOWER network. These individual load loss parameters were added to the output even if they were never specified or used. This fixes that. Individual load shedding parameters are output only if they were read from the input network. Closes #109.

If load shedding parameters are not read from the input network, they are initialized with the OPFLOW blanket cost (-opflow_loadloss_penality), but only if needed (-opflow_include_loadloss_variables).

@wperkins wperkins added bug Something isn't working opflow Concerning the OPFLOW application labels Dec 28, 2023
@wperkins wperkins requested a review from abhyshr December 28, 2023 18:10
@wperkins wperkins self-assigned this Dec 28, 2023
@wperkins wperkins marked this pull request as ready for review December 28, 2023 18:58
Copy link
Collaborator

@abhyshr abhyshr 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 good to merge.

@abhyshr abhyshr merged commit b501e12 into develop Mar 4, 2024
4 of 5 checks passed
@abhyshr abhyshr deleted the fix/load-cost branch March 4, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working opflow Concerning the OPFLOW application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issues with individual load shedding costs
2 participants