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

Reservesand VREs with Num_VRE_Bins > 1 allows unconstrained vREG, vRSV #573

Closed
cfe316 opened this issue Nov 11, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@cfe316
Copy link
Collaborator

cfe316 commented Nov 11, 2023

The "VRE bins" feature seems potentially very useful, but right now it's not compatible with Reserves.

As currently formulated, vREG and vRSV are constrained for the top-level VRE_POWER_OUT resources (those with Num_VRE_Bins >= 0) but not the binned resources (which would need Num_VRE_Bins = 0).

This could be fixed by something like

for y in VRE_NO_POWER_OUT
    if y in REG
        fix.(EP[:vREG][y,:], 0.0, force=true)
    end
    if y in RSV
        fix.(EP[:vRSV][y,:], 0.0, force=true)
    end
end
@cfe316 cfe316 added the bug Something isn't working label Nov 11, 2023
cfe316 added a commit to cfe316/GenX that referenced this issue Nov 11, 2023
This fixes GenXProject#573, where Reserves + Num_VRE_Bins > 1 would lead to the
VRE_NO_POWER_OUT resources being able to contribute an infinite amount
to the reserves.

This fixes GenXProject#574, where VRE power output constraints were being applied
length(VRE) times to all VRE resources, when Reserves = 1.
cfe316 added a commit to cfe316/GenX that referenced this issue Nov 13, 2023
This fixes GenXProject#573, where Reserves + Num_VRE_Bins > 1 would lead to the
VRE_NO_POWER_OUT resources being able to contribute an infinite amount
to the reserves.

This fixes GenXProject#574, where VRE power output constraints were being applied
length(VRE) times to all VRE resources, when Reserves = 1.
cfe316 added a commit to cfe316/GenX that referenced this issue Nov 13, 2023
This fixes GenXProject#573, where Reserves + Num_VRE_Bins > 1 would lead to the
VRE_NO_POWER_OUT resources being able to contribute an infinite amount
to the reserves.

This fixes GenXProject#574, where VRE power output constraints were being applied
length(VRE) times to all VRE resources, when Reserves = 1.
cfe316 added a commit to cfe316/GenX that referenced this issue Nov 14, 2023
This fixes GenXProject#573, where Reserves + Num_VRE_Bins > 1 would lead to the
VRE_NO_POWER_OUT resources being able to contribute an infinite amount
to the reserves.

This fixes GenXProject#574, where VRE power output constraints were being applied
length(VRE) times to all VRE resources, when Reserves = 1.
cfe316 added a commit that referenced this issue Nov 18, 2023
This fixes #573, where Reserves + Num_VRE_Bins > 1 would lead to the
VRE_NO_POWER_OUT resources being able to contribute an infinite amount
to the reserves.

This fixes #574, where VRE power output constraints were being applied
length(VRE) times to all VRE resources, when Reserves = 1.

This fixed #566, where some constraints in storage_symmetric were redundant.
---------

Co-authored-by: Luca Bonaldo <[email protected]>
@cfe316
Copy link
Collaborator Author

cfe316 commented Nov 18, 2023

The fix for this has been merged to develop.

@cfe316 cfe316 closed this as completed Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant